Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.datacatalog/v1.getTagTemplate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a tag template.
Using getTagTemplate
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 getTagTemplate(args: GetTagTemplateArgs, opts?: InvokeOptions): Promise<GetTagTemplateResult>
function getTagTemplateOutput(args: GetTagTemplateOutputArgs, opts?: InvokeOptions): Output<GetTagTemplateResult>
def get_tag_template(location: Optional[str] = None,
project: Optional[str] = None,
tag_template_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagTemplateResult
def get_tag_template_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
tag_template_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagTemplateResult]
func LookupTagTemplate(ctx *Context, args *LookupTagTemplateArgs, opts ...InvokeOption) (*LookupTagTemplateResult, error)
func LookupTagTemplateOutput(ctx *Context, args *LookupTagTemplateOutputArgs, opts ...InvokeOption) LookupTagTemplateResultOutput
> Note: This function is named LookupTagTemplate
in the Go SDK.
public static class GetTagTemplate
{
public static Task<GetTagTemplateResult> InvokeAsync(GetTagTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetTagTemplateResult> Invoke(GetTagTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagTemplateResult> getTagTemplate(GetTagTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datacatalog/v1:getTagTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Tag
Template stringId - Project string
- Location string
- Tag
Template stringId - Project string
- location String
- tag
Template StringId - project String
- location string
- tag
Template stringId - project string
- location str
- tag_
template_ strid - project str
- location String
- tag
Template StringId - project String
getTagTemplate Result
The following output properties are available:
- Display
Name string - Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
- Fields Dictionary<string, string>
- Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
- Is
Publicly boolReadable - Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a
tag:
predicate. - Name string
- The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
- Display
Name string - Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
- Fields map[string]string
- Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
- Is
Publicly boolReadable - Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a
tag:
predicate. - Name string
- The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
- display
Name String - Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
- fields Map<String,String>
- Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
- is
Publicly BooleanReadable - Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a
tag:
predicate. - name String
- The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
- display
Name string - Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
- fields {[key: string]: string}
- Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
- is
Publicly booleanReadable - Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a
tag:
predicate. - name string
- The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
- display_
name str - Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
- fields Mapping[str, str]
- Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
- is_
publicly_ boolreadable - Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a
tag:
predicate. - name str
- The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
- display
Name String - Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.
- fields Map<String>
- Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
- is
Publicly BooleanReadable - Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a
tag:
predicate. - name String
- The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi