ResourceDirectory

class ResourceDirectory : KotlinCustomResource

Provides a Resource Manager Resource Directory resource. Resource Directory enables you to establish an organizational structure for the resources used by applications of your enterprise. You can plan, build, and manage the resources in a centralized manner by using only one resource directory. For information about Resource Manager Resource Directory and how to use it, see What is Resource Manager Resource Directory.

NOTE: Available since v1.84.0. NOTE: An account can only be used to enable a resource directory after it passes enterprise real-name verification. An account that only passed individual real-name verification cannot be used to enable a resource directory. NOTE: Before you destroy the resource, make sure that the following requirements are met:

  • All member accounts must be removed from the resource directory.

  • All folders except the root folder must be deleted from the resource directory.

Import

Resource Manager Resource Directory can be imported using the id, e.g.

$ pulumi import alicloud:resourcemanager/resourceDirectory:ResourceDirectory example rd-s3****

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val masterAccountId: Output<String>

The ID of the master account.

Link copied to clipboard

The name of the master account.

Link copied to clipboard

Specifies whether to enable the member deletion feature. Valid values:Enabled and Disabled.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rootFolderId: Output<String>

The ID of the root folder.

Link copied to clipboard
val status: Output<String>

The status of control policy. Valid values:Enabled and Disabled.

Link copied to clipboard
val urn: Output<String>