google-native.cloudresourcemanager/v3.getTagValue
Retrieves a TagValue. This method will return PERMISSION_DENIED
if the value does not exist or the user does not have permission to view it.
Using getTagValue
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTagValue(args: GetTagValueArgs, opts?: InvokeOptions): Promise<GetTagValueResult>
function getTagValueOutput(args: GetTagValueOutputArgs, opts?: InvokeOptions): Output<GetTagValueResult>
def get_tag_value(tag_value_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagValueResult
def get_tag_value_output(tag_value_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagValueResult]
func LookupTagValue(ctx *Context, args *LookupTagValueArgs, opts ...InvokeOption) (*LookupTagValueResult, error)
func LookupTagValueOutput(ctx *Context, args *LookupTagValueOutputArgs, opts ...InvokeOption) LookupTagValueResultOutput
> Note: This function is named LookupTagValue
in the Go SDK.
public static class GetTagValue
{
public static Task<GetTagValueResult> InvokeAsync(GetTagValueArgs args, InvokeOptions? opts = null)
public static Output<GetTagValueResult> Invoke(GetTagValueInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagValueResult> getTagValue(GetTagValueArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:cloudresourcemanager/v3:getTagValue
arguments:
# arguments dictionary
The following arguments are supported:
- Tag
Value stringId
- Tag
Value stringId
- tag
Value StringId
- tag
Value stringId
- tag_
value_ strid
- tag
Value StringId
getTagValue Result
The following output properties are available:
- Create
Time string Creation time.
- 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
.- Namespaced
Name 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.- Parent string
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form
tagKeys/{tag_key_id}
.- Short
Name 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.
- Update
Time string Update time.
- Create
Time string Creation time.
- 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
.- Namespaced
Name 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.- Parent string
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form
tagKeys/{tag_key_id}
.- Short
Name 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.
- Update
Time string Update time.
- create
Time String Creation time.
- 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
.- namespaced
Name 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.- parent String
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form
tagKeys/{tag_key_id}
.- short
Name 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.
- update
Time String Update time.
- create
Time string Creation time.
- 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
.- namespaced
Name 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.- parent string
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form
tagKeys/{tag_key_id}
.- short
Name 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.
- update
Time string Update time.
- create_
time str Creation time.
- 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
.- 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.- parent str
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form
tagKeys/{tag_key_id}
.- 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.
- update_
time str Update time.
- create
Time String Creation time.
- 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
.- namespaced
Name 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.- parent String
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form
tagKeys/{tag_key_id}
.- short
Name 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.
- update
Time String Update time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0