Class CreateSecurityPolicyDeploymentDetails
Details to create the security policy deployment.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CreateSecurityPolicyDeploymentDetails
Properties
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 in which to create the unified audit policy. |
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 | The description of the security policy. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The display name of the security policy deployment. The name does not have to be unique, and it is changeable. |
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
|
SecurityPolicyId
Declaration
[Required(ErrorMessage = "SecurityPolicyId is required.")]
[JsonProperty(PropertyName = "securityPolicyId")]
public string SecurityPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the security policy corresponding to the security policy deployment. |
Remarks
Required
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the target where the security policy is deployed. |
Remarks
Required
TargetType
Declaration
[Required(ErrorMessage = "TargetType is required.")]
[JsonProperty(PropertyName = "targetType")]
[JsonConverter(typeof(StringEnumConverter))]
public SecurityPolicyDeployment.TargetTypeEnum? TargetType { get; set; }
Property Value
Type | Description |
---|---|
SecurityPolicyDeployment.TargetTypeEnum? | Indicates whether the security policy deployment is for a target database or a target database group. |
Remarks
Required