1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Identity
  5. ImportStandardTagsManagement
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

oci.Identity.ImportStandardTagsManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

    This resource provides the Import Standard Tags Management resource in Oracle Cloud Infrastructure Identity service.

    OCI will release Tag Namespaces that our customers can import. These Tag Namespaces will provide Tags for our customers and Partners to provide consistency and enable data reporting.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testImportStandardTagsManagement = new oci.identity.ImportStandardTagsManagement("testImportStandardTagsManagement", {
        compartmentId: _var.compartment_id,
        standardTagNamespaceName: oci_identity_tag_namespace.test_tag_namespace.name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_import_standard_tags_management = oci.identity.ImportStandardTagsManagement("testImportStandardTagsManagement",
        compartment_id=var["compartment_id"],
        standard_tag_namespace_name=oci_identity_tag_namespace["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.NewImportStandardTagsManagement(ctx, "testImportStandardTagsManagement", &Identity.ImportStandardTagsManagementArgs{
    			CompartmentId:            pulumi.Any(_var.Compartment_id),
    			StandardTagNamespaceName: pulumi.Any(oci_identity_tag_namespace.Test_tag_namespace.Name),
    		})
    		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 testImportStandardTagsManagement = new Oci.Identity.ImportStandardTagsManagement("testImportStandardTagsManagement", new()
        {
            CompartmentId = @var.Compartment_id,
            StandardTagNamespaceName = oci_identity_tag_namespace.Test_tag_namespace.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Identity.ImportStandardTagsManagement;
    import com.pulumi.oci.Identity.ImportStandardTagsManagementArgs;
    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) {
            var testImportStandardTagsManagement = new ImportStandardTagsManagement("testImportStandardTagsManagement", ImportStandardTagsManagementArgs.builder()        
                .compartmentId(var_.compartment_id())
                .standardTagNamespaceName(oci_identity_tag_namespace.test_tag_namespace().name())
                .build());
    
        }
    }
    
    resources:
      testImportStandardTagsManagement:
        type: oci:Identity:ImportStandardTagsManagement
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          standardTagNamespaceName: ${oci_identity_tag_namespace.test_tag_namespace.name}
    

    Create ImportStandardTagsManagement Resource

    new ImportStandardTagsManagement(name: string, args: ImportStandardTagsManagementArgs, opts?: CustomResourceOptions);
    @overload
    def ImportStandardTagsManagement(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     compartment_id: Optional[str] = None,
                                     standard_tag_namespace_name: Optional[str] = None)
    @overload
    def ImportStandardTagsManagement(resource_name: str,
                                     args: ImportStandardTagsManagementArgs,
                                     opts: Optional[ResourceOptions] = None)
    func NewImportStandardTagsManagement(ctx *Context, name string, args ImportStandardTagsManagementArgs, opts ...ResourceOption) (*ImportStandardTagsManagement, error)
    public ImportStandardTagsManagement(string name, ImportStandardTagsManagementArgs args, CustomResourceOptions? opts = null)
    public ImportStandardTagsManagement(String name, ImportStandardTagsManagementArgs args)
    public ImportStandardTagsManagement(String name, ImportStandardTagsManagementArgs args, CustomResourceOptions options)
    
    type: oci:Identity:ImportStandardTagsManagement
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ImportStandardTagsManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ImportStandardTagsManagementArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ImportStandardTagsManagementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ImportStandardTagsManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ImportStandardTagsManagementArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ImportStandardTagsManagement Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ImportStandardTagsManagement resource accepts the following input properties:

    CompartmentId string
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    StandardTagNamespaceName string

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    StandardTagNamespaceName string

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standardTagNamespaceName String

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standardTagNamespaceName string

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standard_tag_namespace_name str

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standardTagNamespaceName String

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ImportStandardTagsManagement resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    WorkRequestId string
    Id string
    The provider-assigned unique ID for this managed resource.
    WorkRequestId string
    id String
    The provider-assigned unique ID for this managed resource.
    workRequestId String
    id string
    The provider-assigned unique ID for this managed resource.
    workRequestId string
    id str
    The provider-assigned unique ID for this managed resource.
    work_request_id str
    id String
    The provider-assigned unique ID for this managed resource.
    workRequestId String

    Look up Existing ImportStandardTagsManagement Resource

    Get an existing ImportStandardTagsManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ImportStandardTagsManagementState, opts?: CustomResourceOptions): ImportStandardTagsManagement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            standard_tag_namespace_name: Optional[str] = None,
            work_request_id: Optional[str] = None) -> ImportStandardTagsManagement
    func GetImportStandardTagsManagement(ctx *Context, name string, id IDInput, state *ImportStandardTagsManagementState, opts ...ResourceOption) (*ImportStandardTagsManagement, error)
    public static ImportStandardTagsManagement Get(string name, Input<string> id, ImportStandardTagsManagementState? state, CustomResourceOptions? opts = null)
    public static ImportStandardTagsManagement get(String name, Output<String> id, ImportStandardTagsManagementState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    StandardTagNamespaceName string

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    WorkRequestId string
    CompartmentId string
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    StandardTagNamespaceName string

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    WorkRequestId string
    compartmentId String
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standardTagNamespaceName String

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    workRequestId String
    compartmentId string
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standardTagNamespaceName string

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    workRequestId string
    compartment_id str
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standard_tag_namespace_name str

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    work_request_id str
    compartmentId String
    The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
    standardTagNamespaceName String

    The name of standard tag namespace that will be imported in bulk

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    workRequestId String

    Import

    ImportStandardTagsManagement can be imported using the id, e.g.

    $ pulumi import oci:Identity/importStandardTagsManagement:ImportStandardTagsManagement test_import_standard_tags_management "id"
    

    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 v1.27.0 published on Friday, Mar 15, 2024 by Pulumi