Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getPolicyTag

Gets a policy tag.

Using getPolicyTag

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 getPolicyTag(args: GetPolicyTagArgs, opts?: InvokeOptions): Promise<GetPolicyTagResult>
function getPolicyTagOutput(args: GetPolicyTagOutputArgs, opts?: InvokeOptions): Output<GetPolicyTagResult>
def get_policy_tag(location: Optional[str] = None,
                   policy_tag_id: Optional[str] = None,
                   project: Optional[str] = None,
                   taxonomy_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetPolicyTagResult
def get_policy_tag_output(location: Optional[pulumi.Input[str]] = None,
                   policy_tag_id: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   taxonomy_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetPolicyTagResult]
func LookupPolicyTag(ctx *Context, args *LookupPolicyTagArgs, opts ...InvokeOption) (*LookupPolicyTagResult, error)
func LookupPolicyTagOutput(ctx *Context, args *LookupPolicyTagOutputArgs, opts ...InvokeOption) LookupPolicyTagResultOutput

> Note: This function is named LookupPolicyTag in the Go SDK.

public static class GetPolicyTag 
{
    public static Task<GetPolicyTagResult> InvokeAsync(GetPolicyTagArgs args, InvokeOptions? opts = null)
    public static Output<GetPolicyTagResult> Invoke(GetPolicyTagInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicyTagResult> getPolicyTag(GetPolicyTagArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:datacatalog/v1:getPolicyTag
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Location string
PolicyTagId string
TaxonomyId string
Project string
Location string
PolicyTagId string
TaxonomyId string
Project string
location String
policyTagId String
taxonomyId String
project String
location string
policyTagId string
taxonomyId string
project string
location String
policyTagId String
taxonomyId String
project String

getPolicyTag Result

The following output properties are available:

ChildPolicyTags List<string>

Resource names of child policy tags of this policy tag.

Description string

Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

DisplayName string

User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

Name string

Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

ParentPolicyTag string

Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.

ChildPolicyTags []string

Resource names of child policy tags of this policy tag.

Description string

Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

DisplayName string

User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

Name string

Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

ParentPolicyTag string

Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.

childPolicyTags List<String>

Resource names of child policy tags of this policy tag.

description String

Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

displayName String

User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

name String

Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

parentPolicyTag String

Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.

childPolicyTags string[]

Resource names of child policy tags of this policy tag.

description string

Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

displayName string

User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

name string

Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

parentPolicyTag string

Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.

child_policy_tags Sequence[str]

Resource names of child policy tags of this policy tag.

description str

Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

display_name str

User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

name str

Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

parent_policy_tag str

Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.

childPolicyTags List<String>

Resource names of child policy tags of this policy tag.

description String

Description of this policy tag. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

displayName String

User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and spaces, and be at most 200 bytes long when encoded in UTF-8.

name String

Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.

parentPolicyTag String

Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty.

Package Details

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