google-native logo
Google Cloud Native v0.27.0, Oct 21 22

google-native.cloudresourcemanager/v3.TagValue

Creates a TagValue as a child of the specified TagKey. If a another request with the same parameters is sent while the original request is in process the second request will receive an error. A maximum of 1000 TagValues can exist under a TagKey at any given time.

Create TagValue Resource

new TagValue(name: string, args: TagValueArgs, opts?: CustomResourceOptions);
@overload
def TagValue(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             etag: Optional[str] = None,
             name: Optional[str] = None,
             parent: Optional[str] = None,
             short_name: Optional[str] = None,
             validate_only: Optional[bool] = None)
@overload
def TagValue(resource_name: str,
             args: TagValueArgs,
             opts: Optional[ResourceOptions] = None)
func NewTagValue(ctx *Context, name string, args TagValueArgs, opts ...ResourceOption) (*TagValue, error)
public TagValue(string name, TagValueArgs args, CustomResourceOptions? opts = null)
public TagValue(String name, TagValueArgs args)
public TagValue(String name, TagValueArgs args, CustomResourceOptions options)
type: google-native:cloudresourcemanager/v3:TagValue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TagValueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TagValueArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TagValueArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TagValueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TagValueArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TagValue Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The TagValue resource accepts the following input properties:

ShortName string

Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

Description string

Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.

Etag string

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

Name string

Immutable. Resource name for TagValue in the format tagValues/456.

Parent string

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

ValidateOnly bool

Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.

ShortName string

Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

Description string

Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.

Etag string

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

Name string

Immutable. Resource name for TagValue in the format tagValues/456.

Parent string

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

ValidateOnly bool

Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.

shortName String

Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

description String

Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.

etag String

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

name String

Immutable. Resource name for TagValue in the format tagValues/456.

parent String

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

validateOnly Boolean

Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.

shortName string

Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

description string

Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.

etag string

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

name string

Immutable. Resource name for TagValue in the format tagValues/456.

parent string

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

validateOnly boolean

Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.

short_name str

Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

description str

Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.

etag str

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

name str

Immutable. Resource name for TagValue in the format tagValues/456.

parent str

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

validate_only bool

Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.

shortName String

Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

description String

Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.

etag String

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

name String

Immutable. Resource name for TagValue in the format tagValues/456.

parent String

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

validateOnly Boolean

Optional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.

Outputs

All input properties are implicitly available as output properties. Additionally, the TagValue resource produces the following output properties:

CreateTime string

Creation time.

Id string

The provider-assigned unique ID for this managed resource.

NamespacedName string

Namespaced name of the TagValue. Now only supported in the format {organization_id}/{tag_key_short_name}/{short_name}. Other formats will be supported when we add non-org parented tags.

UpdateTime string

Update time.

CreateTime string

Creation time.

Id string

The provider-assigned unique ID for this managed resource.

NamespacedName string

Namespaced name of the TagValue. Now only supported in the format {organization_id}/{tag_key_short_name}/{short_name}. Other formats will be supported when we add non-org parented tags.

UpdateTime string

Update time.

createTime String

Creation time.

id String

The provider-assigned unique ID for this managed resource.

namespacedName String

Namespaced name of the TagValue. Now only supported in the format {organization_id}/{tag_key_short_name}/{short_name}. Other formats will be supported when we add non-org parented tags.

updateTime String

Update time.

createTime string

Creation time.

id string

The provider-assigned unique ID for this managed resource.

namespacedName string

Namespaced name of the TagValue. Now only supported in the format {organization_id}/{tag_key_short_name}/{short_name}. Other formats will be supported when we add non-org parented tags.

updateTime string

Update time.

create_time str

Creation time.

id str

The provider-assigned unique ID for this managed resource.

namespaced_name str

Namespaced name of the TagValue. Now only supported in the format {organization_id}/{tag_key_short_name}/{short_name}. Other formats will be supported when we add non-org parented tags.

update_time str

Update time.

createTime String

Creation time.

id String

The provider-assigned unique ID for this managed resource.

namespacedName String

Namespaced name of the TagValue. Now only supported in the format {organization_id}/{tag_key_short_name}/{short_name}. Other formats will be supported when we add non-org parented tags.

updateTime String

Update time.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0