Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi
oci.Identity.getTagStandardTagNamespaceTemplates
Explore with Pulumi AI
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:
- Compartment
Id string - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- Filters
List<Get
Tag Standard Tag Namespace Templates Filter>
- Compartment
Id string - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- Filters
[]Get
Tag Standard Tag Namespace Templates Filter
- compartment
Id String - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- filters
List<Get
Tag Standard Tag Namespace Templates Filter>
- compartment
Id string - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- filters
Get
Tag Standard Tag Namespace Templates Filter[]
- compartment_
id str - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- filters
Sequence[identity.
Get Tag Standard Tag Namespace Templates Filter]
- compartment
Id 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:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Standard
Tag List<GetNamespace Templates Tag Standard Tag Namespace Templates Standard Tag Namespace Template> - The list of standard_tag_namespace_templates.
- Filters
List<Get
Tag Standard Tag Namespace Templates Filter>
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Standard
Tag []GetNamespace Templates Tag Standard Tag Namespace Templates Standard Tag Namespace Template - The list of standard_tag_namespace_templates.
- Filters
[]Get
Tag Standard Tag Namespace Templates Filter
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- standard
Tag List<GetNamespace Templates Tag Standard Tag Namespace Templates Standard Tag Namespace Template> - The list of standard_tag_namespace_templates.
- filters
List<Get
Tag Standard Tag Namespace Templates Filter>
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- standard
Tag GetNamespace Templates Tag Standard Tag Namespace Templates Standard Tag Namespace Template[] - The list of standard_tag_namespace_templates.
- filters
Get
Tag Standard Tag Namespace Templates Filter[]
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- standard_
tag_ Sequence[identity.namespace_ templates Get Tag Standard Tag Namespace Templates Standard Tag Namespace Template] - The list of standard_tag_namespace_templates.
- filters
Sequence[identity.
Get Tag Standard Tag Namespace Templates Filter]
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- standard
Tag List<Property Map>Namespace Templates - The list of standard_tag_namespace_templates.
- filters List<Property Map>
Supporting Types
GetTagStandardTagNamespaceTemplatesFilter
GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplate
- Description string
- The default description of the tag namespace that users can use to create the tag namespace
- Standard
Tag stringNamespace Name - 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
- Standard
Tag stringNamespace Name - 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
- standard
Tag StringNamespace Name - 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
- standard
Tag stringNamespace Name - 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_ strnamespace_ name - 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
- standard
Tag StringNamespace Name - 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.