Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Identity.getTagStandardTagNamespaceTemplate
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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/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:
- Compartment
Id string - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- Standard
Tag stringNamespace Name - The name of the standard tag namespace tempate that is requested
- Compartment
Id string - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- Standard
Tag stringNamespace Name - The name of the standard tag namespace tempate that is requested
- compartment
Id String - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- standard
Tag StringNamespace Name - The name of the standard tag namespace tempate that is requested
- compartment
Id string - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- standard
Tag 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
- compartment
Id String - The OCID of the compartment (remember that the tenancy is simply the root compartment).
- standard
Tag StringNamespace Name - The name of the standard tag namespace tempate that is requested
getTagStandardTagNamespaceTemplate Result
The following output properties are available:
- Compartment
Id 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.
- Standard
Tag stringNamespace Name - The reserved name of this standard tag namespace
- Status string
- The status of the standard tag namespace
- Tag
Definition 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.
- Compartment
Id 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.
- Standard
Tag stringNamespace Name - The reserved name of this standard tag namespace
- Status string
- The status of the standard tag namespace
- Tag
Definition []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 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.
- standard
Tag StringNamespace Name - The reserved name of this standard tag namespace
- status String
- The status of the standard tag namespace
- tag
Definition 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.
- compartment
Id 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.
- standard
Tag stringNamespace Name - The reserved name of this standard tag namespace
- status string
- The status of the standard tag namespace
- tag
Definition 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[identity.templates Get 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 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.
- standard
Tag StringNamespace Name - The reserved name of this standard tag namespace
- status String
- The status of the standard tag namespace
- tag
Definition 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
- Enum
Mutability string - 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 List<string> - List of possible values. An optional parameter that will be present if the type of definition is enum.
- Tag
Definition 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
- Enum
Mutability string - 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 []string - List of possible values. An optional parameter that will be present if the type of definition is enum.
- Tag
Definition 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
- enum
Mutability String - The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
- is
Cost BooleanTracking - Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
- possible
Values List<String> - List of possible values. An optional parameter that will be present if the type of definition is enum.
- tag
Definition 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
- enum
Mutability string - The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
- is
Cost booleanTracking - Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
- possible
Values string[] - List of possible values. An optional parameter that will be present if the type of definition is enum.
- tag
Definition 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
- enum
Mutability String - The mutability of the possible values list for enum tags. This will default to IMMUTABLE for string value tags
- is
Cost BooleanTracking - Is the tag a cost tracking tag. Default will be false as cost tracking tags have been deprecated
- possible
Values List<String> - List of possible values. An optional parameter that will be present if the type of definition is enum.
- tag
Definition 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi