Class CreateTagDefaultDetails
Inherited Members
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class CreateTagDefaultDetails
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. The tag default will be applied to all new resources created in this compartment. |
Remarks
Required
IsRequired
Declaration
[JsonProperty(PropertyName = "isRequired")]
public bool? IsRequired { get; set; }
Property Value
Type | Description |
---|---|
bool? | If you specify that a value is required, a value is set during resource creation (either by
the user creating the resource or another tag defualt). If no value is set, resource
creation is blocked.
|
Locks
Declaration
[JsonProperty(PropertyName = "locks")]
public List<AddLockDetails> Locks { get; set; }
Property Value
Type | Description |
---|---|
List<AddLockDetails> | Locks associated with this resource. |
TagDefinitionId
Declaration
[Required(ErrorMessage = "TagDefinitionId is required.")]
[JsonProperty(PropertyName = "tagDefinitionId")]
public string TagDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tag definition. The tag default will always assign a default value for this tag definition. |
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string | The default value for the tag definition. This will be applied to all new resources created in the compartment. |
Remarks
Required