getTagTemplate

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/v1beta1:getTagTemplate
  arguments:
    # arguments dictionary

The following arguments are supported:

Location string
TagTemplateId string
Project string
Location string
TagTemplateId string
Project string
location String
tagTemplateId String
project String
location string
tagTemplateId string
project string
location String
tagTemplateId String
project String

getTagTemplate Result

The following output properties are available:

DisplayName string

The display name for this template. Defaults to an empty string.

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. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

Name string

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

DisplayName string

The display name for this template. Defaults to an empty string.

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. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

Name string

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

displayName String

The display name for this template. Defaults to an empty string.

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. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

name String

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

displayName string

The display name for this template. Defaults to an empty string.

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. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

name string

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

display_name str

The display name for this template. Defaults to an empty string.

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. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

name str

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

displayName String

The display name for this template. Defaults to an empty string.

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. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

name String

The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0