1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Identity
  5. getTagStandardTagNamespaceTemplates
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Identity.getTagStandardTagNamespaceTemplates

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Tag Standard Tag Namespace Templates in Oracle Cloud Infrastructure Identity service.

    Lists available standard tag namespaces that users can create.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testTagStandardTagNamespaceTemplates = oci.Identity.getTagStandardTagNamespaceTemplates({
        compartmentId: compartmentId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_tag_standard_tag_namespace_templates = oci.Identity.get_tag_standard_tag_namespace_templates(compartment_id=compartment_id)
    
    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.GetTagStandardTagNamespaceTemplates(ctx, &identity.GetTagStandardTagNamespaceTemplatesArgs{
    			CompartmentId: compartmentId,
    		}, 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 testTagStandardTagNamespaceTemplates = Oci.Identity.GetTagStandardTagNamespaceTemplates.Invoke(new()
        {
            CompartmentId = compartmentId,
        });
    
    });
    
    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.GetTagStandardTagNamespaceTemplatesArgs;
    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 testTagStandardTagNamespaceTemplates = IdentityFunctions.getTagStandardTagNamespaceTemplates(GetTagStandardTagNamespaceTemplatesArgs.builder()
                .compartmentId(compartmentId)
                .build());
    
        }
    }
    
    variables:
      testTagStandardTagNamespaceTemplates:
        fn::invoke:
          Function: oci:Identity:getTagStandardTagNamespaceTemplates
          Arguments:
            compartmentId: ${compartmentId}
    

    Using getTagStandardTagNamespaceTemplates

    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 getTagStandardTagNamespaceTemplates(args: GetTagStandardTagNamespaceTemplatesArgs, opts?: InvokeOptions): Promise<GetTagStandardTagNamespaceTemplatesResult>
    function getTagStandardTagNamespaceTemplatesOutput(args: GetTagStandardTagNamespaceTemplatesOutputArgs, opts?: InvokeOptions): Output<GetTagStandardTagNamespaceTemplatesResult>
    def get_tag_standard_tag_namespace_templates(compartment_id: Optional[str] = None,
                                                 filters: Optional[Sequence[_identity.GetTagStandardTagNamespaceTemplatesFilter]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetTagStandardTagNamespaceTemplatesResult
    def get_tag_standard_tag_namespace_templates_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[_identity.GetTagStandardTagNamespaceTemplatesFilterArgs]]]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetTagStandardTagNamespaceTemplatesResult]
    func GetTagStandardTagNamespaceTemplates(ctx *Context, args *GetTagStandardTagNamespaceTemplatesArgs, opts ...InvokeOption) (*GetTagStandardTagNamespaceTemplatesResult, error)
    func GetTagStandardTagNamespaceTemplatesOutput(ctx *Context, args *GetTagStandardTagNamespaceTemplatesOutputArgs, opts ...InvokeOption) GetTagStandardTagNamespaceTemplatesResultOutput

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

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

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    Filters List<GetTagStandardTagNamespaceTemplatesFilter>
    CompartmentId string
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    Filters []GetTagStandardTagNamespaceTemplatesFilter
    compartmentId String
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    filters List<GetTagStandardTagNamespaceTemplatesFilter>
    compartmentId string
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    filters GetTagStandardTagNamespaceTemplatesFilter[]
    compartment_id str
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    filters Sequence[identity.GetTagStandardTagNamespaceTemplatesFilter]
    compartmentId String
    The OCID of the compartment (remember that the tenancy is simply the root compartment).
    filters List<Property Map>

    getTagStandardTagNamespaceTemplates Result

    The following output properties are available:

    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    StandardTagNamespaceTemplates List<GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplate>
    The list of standard_tag_namespace_templates.
    Filters List<GetTagStandardTagNamespaceTemplatesFilter>
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    StandardTagNamespaceTemplates []GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplate
    The list of standard_tag_namespace_templates.
    Filters []GetTagStandardTagNamespaceTemplatesFilter
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    standardTagNamespaceTemplates List<GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplate>
    The list of standard_tag_namespace_templates.
    filters List<GetTagStandardTagNamespaceTemplatesFilter>
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    standardTagNamespaceTemplates GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplate[]
    The list of standard_tag_namespace_templates.
    filters GetTagStandardTagNamespaceTemplatesFilter[]
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    standardTagNamespaceTemplates List<Property Map>
    The list of standard_tag_namespace_templates.
    filters List<Property Map>

    Supporting Types

    GetTagStandardTagNamespaceTemplatesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplate

    Description string
    The default description of the tag namespace that users can use to create the tag namespace
    StandardTagNamespaceName string
    The reserved name of this standard tag namespace
    Status string
    The status of the standard tag namespace
    Description string
    The default description of the tag namespace that users can use to create the tag namespace
    StandardTagNamespaceName string
    The reserved name of this standard tag namespace
    Status string
    The status of the standard tag namespace
    description String
    The default description of the tag namespace that users can use to create the tag namespace
    standardTagNamespaceName String
    The reserved name of this standard tag namespace
    status String
    The status of the standard tag namespace
    description string
    The default description of the tag namespace that users can use to create the tag namespace
    standardTagNamespaceName string
    The reserved name of this standard tag namespace
    status string
    The status of the standard tag namespace
    description str
    The default description of the tag namespace that users can use to create the tag namespace
    standard_tag_namespace_name str
    The reserved name of this standard tag namespace
    status str
    The status of the standard tag namespace
    description String
    The default description of the tag namespace that users can use to create the tag namespace
    standardTagNamespaceName String
    The reserved name of this standard tag namespace
    status String
    The status of the standard tag namespace

    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.17.0 published on Friday, Nov 15, 2024 by Pulumi