Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Identity.getTagStandardTagNamespaceTemplate
Explore with Pulumi AI
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)
public static Output<GetTagStandardTagNamespaceTemplateResult> getTagStandardTagNamespaceTemplate(GetTagStandardTagNamespaceTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Identity/getTagStandardTagNamespaceTemplate:getTagStandardTagNamespaceTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment (remember that the tenancy is simply the root compartment).
- StandardTag stringNamespace Name 
- 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).
- StandardTag stringNamespace Name 
- 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).
- standardTag StringNamespace Name 
- 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).
- standardTag stringNamespace Name 
- 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_ strnamespace_ name 
- 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).
- standardTag StringNamespace Name 
- 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.
- StandardTag stringNamespace Name 
- The reserved name of this standard tag namespace
- Status string
- The status of the standard tag namespace
- TagDefinition List<GetTemplates Tag Standard Tag Namespace Template Tag Definition Template> 
- 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.
- StandardTag stringNamespace Name 
- The reserved name of this standard tag namespace
- Status string
- The status of the standard tag namespace
- TagDefinition []GetTemplates Tag Standard Tag Namespace Template Tag Definition Template 
- 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.
- standardTag StringNamespace Name 
- The reserved name of this standard tag namespace
- status String
- The status of the standard tag namespace
- tagDefinition List<GetTemplates Tag Standard Tag Namespace Template Tag Definition Template> 
- 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.
- standardTag stringNamespace Name 
- The reserved name of this standard tag namespace
- status string
- The status of the standard tag namespace
- tagDefinition GetTemplates Tag Standard Tag Namespace Template Tag Definition Template[] 
- 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_ strnamespace_ name 
- The reserved name of this standard tag namespace
- status str
- The status of the standard tag namespace
- tag_definition_ Sequence[Gettemplates Tag Standard Tag Namespace Template Tag Definition Template] 
- 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.
- standardTag StringNamespace Name 
- The reserved name of this standard tag namespace
- status String
- The status of the standard tag namespace
- tagDefinition List<Property Map>Templates 
- 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
- IsCost boolTracking 
- 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.
- TagDefinition stringName 
- 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
- IsCost boolTracking 
- 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.
- TagDefinition stringName 
- 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
- isCost BooleanTracking 
- 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.
- tagDefinition StringName 
- 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
- isCost booleanTracking 
- 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.
- tagDefinition stringName 
- 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_ booltracking 
- 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_ strname 
- 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
- isCost BooleanTracking 
- 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.
- tagDefinition StringName 
- 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 ociTerraform Provider.