Show / Hide Table of Contents

Class CreateTagDefaultDetails

Inheritance
System.Object
CreateTagDefaultDetails
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class CreateTagDefaultDetails : object

Properties

CompartmentId

Declaration
public string CompartmentId { get; set; }
Property Value
Type Description
System.String

The OCID of the compartment. The tag default will be applied to all new resources created in this compartment.

Remarks

Required

IsRequired

Declaration
public System.Nullable<bool> IsRequired { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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.

  • If the isRequired flag is set to &quot;true&quot;, the value is set during resource creation.
  • If the isRequired flag is set to &quot;false&quot;, the value you enter is set during resource creation.
    Example: false

Locks

Declaration
public System.Collections.Generic.List<AddLockDetails> Locks { get; set; }
Property Value
Type Description
System.Collections.Generic.List<AddLockDetails>

Locks associated with this resource.

TagDefinitionId

Declaration
public string TagDefinitionId { get; set; }
Property Value
Type Description
System.String

The OCID of the tag definition. The tag default will always assign a default value for this tag definition.

Remarks

Required

Value

Declaration
public string Value { get; set; }
Property Value
Type Description
System.String

The default value for the tag definition. This will be applied to all new resources created in the compartment.

Remarks

Required

In This Article
Back to top