oci.Identity.ImportStandardTagsManagement
Explore with Pulumi AI
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:
- Compartment
Id string - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- Standard
Tag stringNamespace Name 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 string - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- Standard
Tag stringNamespace Name 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 String - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- standard
Tag StringNamespace Name 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 string - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- standard
Tag stringNamespace Name 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_ strnamespace_ name 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 String - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- standard
Tag StringNamespace Name 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.
- Work
Request stringId
- Id string
- The provider-assigned unique ID for this managed resource.
- Work
Request stringId
- id String
- The provider-assigned unique ID for this managed resource.
- work
Request StringId
- id string
- The provider-assigned unique ID for this managed resource.
- work
Request stringId
- id str
- The provider-assigned unique ID for this managed resource.
- work_
request_ strid
- id String
- The provider-assigned unique ID for this managed resource.
- work
Request StringId
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.
- Compartment
Id string - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- Standard
Tag stringNamespace Name 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 stringId
- Compartment
Id string - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- Standard
Tag stringNamespace Name 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 stringId
- compartment
Id String - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- standard
Tag StringNamespace Name 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 StringId
- compartment
Id string - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- standard
Tag stringNamespace Name 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 stringId
- 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_ strnamespace_ name 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_ strid
- compartment
Id String - The OCID of the compartment where the bulk create request is submitted and where the tag namespaces will be created.
- standard
Tag StringNamespace Name 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 StringId
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.