import * as pulumi from "@pulumi/pulumi"; /** * ## Import * * IAM resource tags can be imported using the resource URN: * * bash * * ```sh * $ pulumi import ovh:index/iamResourceTags:IamResourceTags my_tags "urn:v1:eu:resource:cloudProject:1234567890abcdef" * ``` * * After importing, you should update your Terraform configuration to match the imported state. The import will bring in all tags currently applied to the resource, but only tags defined in your configuration will be managed by Terraform. */ export declare class IamResourceTags extends pulumi.CustomResource { /** * Get an existing IamResourceTags resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: IamResourceTagsState, opts?: pulumi.CustomResourceOptions): IamResourceTags; /** * Returns true if the given object is an instance of IamResourceTags. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IamResourceTags; /** * A map of tags to apply to the resource. Each tag consists of a key-value pair. Tag keys must match the pattern `^[a-zA-Z0-9_.:/=+@-]{1,128}$` (1-128 characters) and values must match `^[a-zA-Z0-9_.:/=+@-]{0,256}$` (0-256 characters). Both keys and values can contain alphanumeric characters, underscores, dots, colons, slashes, equals signs, plus signs, at signs, and hyphens. **Note:** Tags with keys prefixed by `ovh:` are managed by OVH and cannot be set via the API. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The URN (Uniform Resource Name) of the resource to manage tags for. Changing this forces a new resource to be created. The URN format is typically `urn:v1:{region}:resource:{resourceType}:{resourceId}`. */ readonly urn: pulumi.Output; /** * Create a IamResourceTags resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IamResourceTagsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IamResourceTags resources. */ export interface IamResourceTagsState { /** * A map of tags to apply to the resource. Each tag consists of a key-value pair. Tag keys must match the pattern `^[a-zA-Z0-9_.:/=+@-]{1,128}$` (1-128 characters) and values must match `^[a-zA-Z0-9_.:/=+@-]{0,256}$` (0-256 characters). Both keys and values can contain alphanumeric characters, underscores, dots, colons, slashes, equals signs, plus signs, at signs, and hyphens. **Note:** Tags with keys prefixed by `ovh:` are managed by OVH and cannot be set via the API. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The URN (Uniform Resource Name) of the resource to manage tags for. Changing this forces a new resource to be created. The URN format is typically `urn:v1:{region}:resource:{resourceType}:{resourceId}`. */ urn?: pulumi.Input; } /** * The set of arguments for constructing a IamResourceTags resource. */ export interface IamResourceTagsArgs { /** * A map of tags to apply to the resource. Each tag consists of a key-value pair. Tag keys must match the pattern `^[a-zA-Z0-9_.:/=+@-]{1,128}$` (1-128 characters) and values must match `^[a-zA-Z0-9_.:/=+@-]{0,256}$` (0-256 characters). Both keys and values can contain alphanumeric characters, underscores, dots, colons, slashes, equals signs, plus signs, at signs, and hyphens. **Note:** Tags with keys prefixed by `ovh:` are managed by OVH and cannot be set via the API. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The URN (Uniform Resource Name) of the resource to manage tags for. Changing this forces a new resource to be created. The URN format is typically `urn:v1:{region}:resource:{resourceType}:{resourceId}`. */ urn: pulumi.Input; }