Class CreateCertificateDetails
The details of the certificate to create.
Inherited Members
Namespace: Oci.CertificatesmanagementService.Models
Assembly: OCI.DotNetSDK.Certificatesmanagement.dll
Syntax
public class CreateCertificateDetailsProperties
CertificateConfig
Declaration
[Required(ErrorMessage = "CertificateConfig is required.")]
[JsonProperty(PropertyName = "certificateConfig")]
public CreateCertificateConfigDetails CertificateConfig { get; set; }Property Value
| Type | Description | 
|---|---|
| CreateCertificateConfigDetails | 
Remarks
Required
CertificateRules
Declaration
[JsonProperty(PropertyName = "certificateRules")]
public List<CertificateRule> CertificateRules { get; set; }Property Value
| Type | Description | 
|---|---|
| List<CertificateRule> | An optional list of rules that control how the certificate is used and managed. | 
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment where you want to create the certificate. | 
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} | 
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A brief description of the certificate. Avoid entering confidential information. | 
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} | 
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. | 
Remarks
Required