1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Identity
  5. getTagStandardTagNamespaceTemplate
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

oci.Identity.getTagStandardTagNamespaceTemplate

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

    This data source provides details about a specific Tag Standard Tag Namespace Template resource in Oracle Cloud Infrastructure Identity service.

    Retrieve the standard tag namespace template given the standard tag namespace name.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testTagStandardTagNamespaceTemplate = oci.Identity.getTagStandardTagNamespaceTemplate({
        compartmentId: compartmentId,
        standardTagNamespaceName: testTagNamespace.name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_tag_standard_tag_namespace_template = oci.Identity.get_tag_standard_tag_namespace_template(compartment_id=compartment_id,
        standard_tag_namespace_name=test_tag_namespace["name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Identity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Identity.GetTagStandardTagNamespaceTemplate(ctx, &identity.GetTagStandardTagNamespaceTemplateArgs{
    			CompartmentId:            compartmentId,
    			StandardTagNamespaceName: testTagNamespace.Name,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testTagStandardTagNamespaceTemplate = Oci.Identity.GetTagStandardTagNamespaceTemplate.Invoke(new()
        {
            CompartmentId = compartmentId,
            StandardTagNamespaceName = testTagNamespace.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Identity.IdentityFunctions;
    import com.pulumi.oci.Identity.inputs.GetTagStandardTagNamespaceTemplateArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testTagStandardTagNamespaceTemplate = IdentityFunctions.getTagStandardTagNamespaceTemplate(GetTagStandardTagNamespaceTemplateArgs.builder()
                .compartmentId(compartmentId)
                .standardTagNamespaceName(testTagNamespace.name())
                .build());
    
        }
    }
    
    variables:
      testTagStandardTagNamespaceTemplate:
        fn::invoke:
          Function: oci:Identity:getTagStandardTagNamespaceTemplate
          Arguments:
            compartmentId: ${compartmentId}
            standardTagNamespaceName: ${testTagNamespace.name}
    

    Using getTagStandardTagNamespaceTemplate

    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 getTagStandardTagNamespaceTemplate(args: GetTagStandardTagNamespaceTemplateArgs, opts?: InvokeOptions): Promise<GetTagStandardTagNamespaceTemplateResult>
    function getTagStandardTagNamespaceTemplateOutput(args: GetTagStandardTagNamespaceTemplateOutputArgs, opts?: InvokeOptions): Output<GetTagStandardTagNamespaceTemplateResult>
    def get_tag_standard_tag_namespace_template(compartment_id: Optional[str] = None,
                                                standard_tag_namespace_name: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetTagStandardTagNamespaceTemplateResult
    def get_tag_standard_tag_namespace_template_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                standard_tag_namespace_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetTagStandardTagNamespaceTemplateResult]
    func GetTagStandardTagNamespaceTemplate(ctx *Context, args *GetTagStandardTagNamespaceTemplateArgs, opts ...InvokeOption) (*GetTagStandardTagNamespaceTemplateResult, error)
    func GetTagStandardTagNamespaceTemplateOutput(ctx *Context, args *GetTagStandardTagNamespaceTemplateOutputArgs, opts ...InvokeOption) GetTagStandardTagNamespaceTemplateResultOutput

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

    public static class GetTagStandardTagNamespaceTemplate 
    {
        public static Task<GetTagStandardTagNamespaceTemplateResult> InvokeAsync(GetTagStandardTagNamespaceTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetTagStandardTagNamespaceTemplateResult> Invoke(GetTagStandardTagNamespaceTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTagStandardTagNamespaceTemplateResult> getTagStandardTagNamespaceTemplate(GetTagStandardTagNamespaceTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Identity/getTagStandardTagNamespaceTemplate:getTagStandardTagNamespaceTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    StandardTagNamespaceName string
    The name of the standard tag namespace tempate that is requested
    CompartmentId string
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    StandardTagNamespaceName string
    The name of the standard tag namespace tempate that is requested
    compartmentId String
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    standardTagNamespaceName String
    The name of the standard tag namespace tempate that is requested
    compartmentId string
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    standardTagNamespaceName string
    The name of the standard tag namespace tempate that is requested
    compartment_id str
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    standard_tag_namespace_name str
    The name of the standard tag namespace tempate that is requested
    compartmentId String
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    standardTagNamespaceName String
    The name of the standard tag namespace tempate that is requested

    getTagStandardTagNamespaceTemplate Result

    The following output properties are available:

    CompartmentId string
    Description string
    The default description of the tag namespace that users can use to create the tag definition
    Id string
    The provider-assigned unique ID for this managed resource.
    StandardTagNamespaceName string
    The reserved name of this standard tag namespace
    Status string
    The status of the standard tag namespace
    TagDefinitionTemplates List<GetTagStandardTagNamespaceTemplateTagDefinitionTemplate>
    The template of the tag definition. This object includes necessary details to create the provided standard tag definition.
    CompartmentId string
    Description string
    The default description of the tag namespace that users can use to create the tag definition
    Id string
    The provider-assigned unique ID for this managed resource.
    StandardTagNamespaceName string
    The reserved name of this standard tag namespace
    Status string
    The status of the standard tag namespace
    TagDefinitionTemplates []GetTagStandardTagNamespaceTemplateTagDefinitionTemplate
    The template of the tag definition. This object includes necessary details to create the provided standard tag definition.
    compartmentId String
    description String
    The default description of the tag namespace that users can use to create the tag definition
    id String
    The provider-assigned unique ID for this managed resource.
    standardTagNamespaceName String
    The reserved name of this standard tag namespace
    status String
    The status of the standard tag namespace
    tagDefinitionTemplates List<GetTagStandardTagNamespaceTemplateTagDefinitionTemplate>
    The template of the tag definition. This object includes necessary details to create the provided standard tag definition.
    compartmentId string
    description string
    The default description of the tag namespace that users can use to create the tag definition
    id string
    The provider-assigned unique ID for this managed resource.
    standardTagNamespaceName string
    The reserved name of this standard tag namespace
    status string
    The status of the standard tag namespace
    tagDefinitionTemplates GetTagStandardTagNamespaceTemplateTagDefinitionTemplate[]
    The template of the tag definition. This object includes necessary details to create the provided standard tag definition.
    compartment_id str
    description str
    The default description of the tag namespace that users can use to create the tag definition
    id str
    The provider-assigned unique ID for this managed resource.
    standard_tag_namespace_name str
    The reserved name of this standard tag namespace
    status str
    The status of the standard tag namespace
    tag_definition_templates Sequence[identity.GetTagStandardTagNamespaceTemplateTagDefinitionTemplate]
    The template of the tag definition. This object includes necessary details to create the provided standard tag definition.
    compartmentId String
    description String
    The default description of the tag namespace that users can use to create the tag definition
    id String
    The provider-assigned unique ID for this managed resource.
    standardTagNamespaceName String
    The reserved name of this standard tag namespace
    status String
    The status of the standard tag namespace
    tagDefinitionTemplates List<Property Map>
    The template of the tag definition. This object includes necessary details to create the provided standard tag definition.

    Supporting Types

    GetTagStandardTagNamespaceTemplateTagDefinitionTemplate

    Description string
    The default description of the tag namespace that users can use to create the tag definition
    EnumMutability string
    The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
    IsCostTracking bool
    Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
    PossibleValues List<string>
    List of possible values. An optional parameter that will be present if the type of definition is enum.
    TagDefinitionName string
    The name of this standard tag definition
    Type string
    The type of tag definition. Enum or string.
    Description string
    The default description of the tag namespace that users can use to create the tag definition
    EnumMutability string
    The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
    IsCostTracking bool
    Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
    PossibleValues []string
    List of possible values. An optional parameter that will be present if the type of definition is enum.
    TagDefinitionName string
    The name of this standard tag definition
    Type string
    The type of tag definition. Enum or string.
    description String
    The default description of the tag namespace that users can use to create the tag definition
    enumMutability String
    The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
    isCostTracking Boolean
    Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
    possibleValues List<String>
    List of possible values. An optional parameter that will be present if the type of definition is enum.
    tagDefinitionName String
    The name of this standard tag definition
    type String
    The type of tag definition. Enum or string.
    description string
    The default description of the tag namespace that users can use to create the tag definition
    enumMutability string
    The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
    isCostTracking boolean
    Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
    possibleValues string[]
    List of possible values. An optional parameter that will be present if the type of definition is enum.
    tagDefinitionName string
    The name of this standard tag definition
    type string
    The type of tag definition. Enum or string.
    description str
    The default description of the tag namespace that users can use to create the tag definition
    enum_mutability str
    The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
    is_cost_tracking bool
    Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
    possible_values Sequence[str]
    List of possible values. An optional parameter that will be present if the type of definition is enum.
    tag_definition_name str
    The name of this standard tag definition
    type str
    The type of tag definition. Enum or string.
    description String
    The default description of the tag namespace that users can use to create the tag definition
    enumMutability String
    The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
    isCostTracking Boolean
    Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
    possibleValues List<String>
    List of possible values. An optional parameter that will be present if the type of definition is enum.
    tagDefinitionName String
    The name of this standard tag definition
    type String
    The type of tag definition. Enum or string.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi