Documentation
¶
Index ¶
- type Account
- type AccountArgs
- type AccountState
- type Folder
- type FolderArgs
- type FolderState
- type GetAccountsAccount
- type GetAccountsAccountArgs
- type GetAccountsAccountArray
- type GetAccountsAccountArrayInput
- type GetAccountsAccountArrayOutput
- func (GetAccountsAccountArrayOutput) ElementType() reflect.Type
- func (o GetAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetAccountsAccountOutput
- func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput
- func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput
- type GetAccountsAccountInput
- type GetAccountsAccountOutput
- func (o GetAccountsAccountOutput) AccountId() pulumi.StringOutput
- func (o GetAccountsAccountOutput) DisplayName() pulumi.StringOutput
- func (GetAccountsAccountOutput) ElementType() reflect.Type
- func (o GetAccountsAccountOutput) FolderId() pulumi.StringOutput
- func (o GetAccountsAccountOutput) Id() pulumi.StringOutput
- func (o GetAccountsAccountOutput) JoinMethod() pulumi.StringOutput
- func (o GetAccountsAccountOutput) JoinTime() pulumi.StringOutput
- func (o GetAccountsAccountOutput) ModifyTime() pulumi.StringOutput
- func (o GetAccountsAccountOutput) ResourceDirectoryId() pulumi.StringOutput
- func (o GetAccountsAccountOutput) Status() pulumi.StringOutput
- func (o GetAccountsAccountOutput) ToGetAccountsAccountOutput() GetAccountsAccountOutput
- func (o GetAccountsAccountOutput) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput
- func (o GetAccountsAccountOutput) Type() pulumi.StringOutput
- type GetAccountsArgs
- type GetAccountsResult
- type GetFoldersArgs
- type GetFoldersFolder
- type GetFoldersFolderArgs
- type GetFoldersFolderArray
- type GetFoldersFolderArrayInput
- type GetFoldersFolderArrayOutput
- func (GetFoldersFolderArrayOutput) ElementType() reflect.Type
- func (o GetFoldersFolderArrayOutput) Index(i pulumi.IntInput) GetFoldersFolderOutput
- func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
- func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
- type GetFoldersFolderInput
- type GetFoldersFolderOutput
- func (GetFoldersFolderOutput) ElementType() reflect.Type
- func (o GetFoldersFolderOutput) FolderId() pulumi.StringOutput
- func (o GetFoldersFolderOutput) FolderName() pulumi.StringOutput
- func (o GetFoldersFolderOutput) Id() pulumi.StringOutput
- func (o GetFoldersFolderOutput) ToGetFoldersFolderOutput() GetFoldersFolderOutput
- func (o GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
- type GetFoldersResult
- type GetHandshakesArgs
- type GetHandshakesHandshake
- type GetHandshakesHandshakeArgs
- type GetHandshakesHandshakeArray
- func (GetHandshakesHandshakeArray) ElementType() reflect.Type
- func (i GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput
- func (i GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutputWithContext(ctx context.Context) GetHandshakesHandshakeArrayOutput
- type GetHandshakesHandshakeArrayInput
- type GetHandshakesHandshakeArrayOutput
- func (GetHandshakesHandshakeArrayOutput) ElementType() reflect.Type
- func (o GetHandshakesHandshakeArrayOutput) Index(i pulumi.IntInput) GetHandshakesHandshakeOutput
- func (o GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput
- func (o GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutputWithContext(ctx context.Context) GetHandshakesHandshakeArrayOutput
- type GetHandshakesHandshakeInput
- type GetHandshakesHandshakeOutput
- func (GetHandshakesHandshakeOutput) ElementType() reflect.Type
- func (o GetHandshakesHandshakeOutput) ExpireTime() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) HandshakeId() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) Id() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) MasterAccountId() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) MasterAccountName() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) ModifyTime() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) Note() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) ResourceDirectoryId() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) Status() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) TargetEntity() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) TargetType() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutput() GetHandshakesHandshakeOutput
- func (o GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutputWithContext(ctx context.Context) GetHandshakesHandshakeOutput
- type GetHandshakesResult
- type GetPoliciesArgs
- type GetPoliciesPolicy
- type GetPoliciesPolicyArgs
- type GetPoliciesPolicyArray
- type GetPoliciesPolicyArrayInput
- type GetPoliciesPolicyArrayOutput
- func (GetPoliciesPolicyArrayOutput) ElementType() reflect.Type
- func (o GetPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetPoliciesPolicyOutput
- func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutput() GetPoliciesPolicyArrayOutput
- func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetPoliciesPolicyArrayOutput
- type GetPoliciesPolicyInput
- type GetPoliciesPolicyOutput
- func (o GetPoliciesPolicyOutput) AttachmentCount() pulumi.IntOutput
- func (o GetPoliciesPolicyOutput) CreateDate() pulumi.StringOutput
- func (o GetPoliciesPolicyOutput) DefaultVersion() pulumi.StringOutput
- func (o GetPoliciesPolicyOutput) Description() pulumi.StringOutput
- func (GetPoliciesPolicyOutput) ElementType() reflect.Type
- func (o GetPoliciesPolicyOutput) Id() pulumi.StringOutput
- func (o GetPoliciesPolicyOutput) PolicyName() pulumi.StringOutput
- func (o GetPoliciesPolicyOutput) PolicyType() pulumi.StringOutput
- func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutput() GetPoliciesPolicyOutput
- func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutputWithContext(ctx context.Context) GetPoliciesPolicyOutput
- func (o GetPoliciesPolicyOutput) UpdateDate() pulumi.StringOutput
- type GetPoliciesResult
- type GetPolicyVersionsArgs
- type GetPolicyVersionsResult
- type GetPolicyVersionsVersion
- type GetPolicyVersionsVersionArgs
- func (GetPolicyVersionsVersionArgs) ElementType() reflect.Type
- func (i GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput
- func (i GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutputWithContext(ctx context.Context) GetPolicyVersionsVersionOutput
- type GetPolicyVersionsVersionArray
- func (GetPolicyVersionsVersionArray) ElementType() reflect.Type
- func (i GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput
- func (i GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutputWithContext(ctx context.Context) GetPolicyVersionsVersionArrayOutput
- type GetPolicyVersionsVersionArrayInput
- type GetPolicyVersionsVersionArrayOutput
- func (GetPolicyVersionsVersionArrayOutput) ElementType() reflect.Type
- func (o GetPolicyVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetPolicyVersionsVersionOutput
- func (o GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput
- func (o GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutputWithContext(ctx context.Context) GetPolicyVersionsVersionArrayOutput
- type GetPolicyVersionsVersionInput
- type GetPolicyVersionsVersionOutput
- func (o GetPolicyVersionsVersionOutput) CreateDate() pulumi.StringOutput
- func (GetPolicyVersionsVersionOutput) ElementType() reflect.Type
- func (o GetPolicyVersionsVersionOutput) Id() pulumi.StringOutput
- func (o GetPolicyVersionsVersionOutput) IsDefaultVersion() pulumi.BoolOutput
- func (o GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput
- func (o GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutputWithContext(ctx context.Context) GetPolicyVersionsVersionOutput
- func (o GetPolicyVersionsVersionOutput) VersionId() pulumi.StringOutput
- type GetResourceDirectoriesArgs
- type GetResourceDirectoriesDirectory
- type GetResourceDirectoriesDirectoryArgs
- func (GetResourceDirectoriesDirectoryArgs) ElementType() reflect.Type
- func (i GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput
- func (i GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryOutput
- type GetResourceDirectoriesDirectoryArray
- func (GetResourceDirectoriesDirectoryArray) ElementType() reflect.Type
- func (i GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput
- func (i GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryArrayOutput
- type GetResourceDirectoriesDirectoryArrayInput
- type GetResourceDirectoriesDirectoryArrayOutput
- func (GetResourceDirectoriesDirectoryArrayOutput) ElementType() reflect.Type
- func (o GetResourceDirectoriesDirectoryArrayOutput) Index(i pulumi.IntInput) GetResourceDirectoriesDirectoryOutput
- func (o GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput
- func (o GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryArrayOutput
- type GetResourceDirectoriesDirectoryInput
- type GetResourceDirectoriesDirectoryOutput
- func (GetResourceDirectoriesDirectoryOutput) ElementType() reflect.Type
- func (o GetResourceDirectoriesDirectoryOutput) Id() pulumi.StringOutput
- func (o GetResourceDirectoriesDirectoryOutput) MasterAccountId() pulumi.StringOutput
- func (o GetResourceDirectoriesDirectoryOutput) MasterAccountName() pulumi.StringOutput
- func (o GetResourceDirectoriesDirectoryOutput) ResourceDirectoryId() pulumi.StringOutput
- func (o GetResourceDirectoriesDirectoryOutput) RootFolderId() pulumi.StringOutput
- func (o GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput
- func (o GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryOutput
- type GetResourceDirectoriesResult
- type GetResourceGroupsArgs
- type GetResourceGroupsGroup
- type GetResourceGroupsGroupArgs
- type GetResourceGroupsGroupArray
- func (GetResourceGroupsGroupArray) ElementType() reflect.Type
- func (i GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput
- func (i GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupArrayOutput
- type GetResourceGroupsGroupArrayInput
- type GetResourceGroupsGroupArrayOutput
- func (GetResourceGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetResourceGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetResourceGroupsGroupOutput
- func (o GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput
- func (o GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupArrayOutput
- type GetResourceGroupsGroupInput
- type GetResourceGroupsGroupOutput
- func (o GetResourceGroupsGroupOutput) AccountId() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) CreateDate() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) DisplayName() pulumi.StringOutput
- func (GetResourceGroupsGroupOutput) ElementType() reflect.Type
- func (o GetResourceGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) Name() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) Status() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput
- func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutputWithContext(ctx context.Context) GetResourceGroupsGroupOutput
- type GetResourceGroupsResult
- type GetRolesArgs
- type GetRolesResult
- type GetRolesRole
- type GetRolesRoleArgs
- type GetRolesRoleArray
- type GetRolesRoleArrayInput
- type GetRolesRoleArrayOutput
- func (GetRolesRoleArrayOutput) ElementType() reflect.Type
- func (o GetRolesRoleArrayOutput) Index(i pulumi.IntInput) GetRolesRoleOutput
- func (o GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutput() GetRolesRoleArrayOutput
- func (o GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutputWithContext(ctx context.Context) GetRolesRoleArrayOutput
- type GetRolesRoleInput
- type GetRolesRoleOutput
- func (o GetRolesRoleOutput) Arn() pulumi.StringOutput
- func (o GetRolesRoleOutput) CreateDate() pulumi.StringOutput
- func (o GetRolesRoleOutput) Description() pulumi.StringOutput
- func (GetRolesRoleOutput) ElementType() reflect.Type
- func (o GetRolesRoleOutput) Id() pulumi.StringOutput
- func (o GetRolesRoleOutput) MaxSessionDuration() pulumi.IntOutput
- func (o GetRolesRoleOutput) RoleId() pulumi.StringOutput
- func (o GetRolesRoleOutput) RoleName() pulumi.StringOutput
- func (o GetRolesRoleOutput) ToGetRolesRoleOutput() GetRolesRoleOutput
- func (o GetRolesRoleOutput) ToGetRolesRoleOutputWithContext(ctx context.Context) GetRolesRoleOutput
- func (o GetRolesRoleOutput) UpdateDate() pulumi.StringOutput
- type Handshake
- type HandshakeArgs
- type HandshakeState
- type Policy
- type PolicyArgs
- type PolicyState
- type PolicyVersion
- type PolicyVersionArgs
- type PolicyVersionState
- type ResourceDirectory
- type ResourceDirectoryArgs
- type ResourceDirectoryState
- type ResourceGroup
- type ResourceGroupArgs
- type ResourceGroupRegionStatus
- type ResourceGroupRegionStatusArgs
- func (ResourceGroupRegionStatusArgs) ElementType() reflect.Type
- func (i ResourceGroupRegionStatusArgs) ToResourceGroupRegionStatusOutput() ResourceGroupRegionStatusOutput
- func (i ResourceGroupRegionStatusArgs) ToResourceGroupRegionStatusOutputWithContext(ctx context.Context) ResourceGroupRegionStatusOutput
- type ResourceGroupRegionStatusArray
- func (ResourceGroupRegionStatusArray) ElementType() reflect.Type
- func (i ResourceGroupRegionStatusArray) ToResourceGroupRegionStatusArrayOutput() ResourceGroupRegionStatusArrayOutput
- func (i ResourceGroupRegionStatusArray) ToResourceGroupRegionStatusArrayOutputWithContext(ctx context.Context) ResourceGroupRegionStatusArrayOutput
- type ResourceGroupRegionStatusArrayInput
- type ResourceGroupRegionStatusArrayOutput
- func (ResourceGroupRegionStatusArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupRegionStatusArrayOutput) Index(i pulumi.IntInput) ResourceGroupRegionStatusOutput
- func (o ResourceGroupRegionStatusArrayOutput) ToResourceGroupRegionStatusArrayOutput() ResourceGroupRegionStatusArrayOutput
- func (o ResourceGroupRegionStatusArrayOutput) ToResourceGroupRegionStatusArrayOutputWithContext(ctx context.Context) ResourceGroupRegionStatusArrayOutput
- type ResourceGroupRegionStatusInput
- type ResourceGroupRegionStatusOutput
- func (ResourceGroupRegionStatusOutput) ElementType() reflect.Type
- func (o ResourceGroupRegionStatusOutput) RegionId() pulumi.StringPtrOutput
- func (o ResourceGroupRegionStatusOutput) Status() pulumi.StringPtrOutput
- func (o ResourceGroupRegionStatusOutput) ToResourceGroupRegionStatusOutput() ResourceGroupRegionStatusOutput
- func (o ResourceGroupRegionStatusOutput) ToResourceGroupRegionStatusOutputWithContext(ctx context.Context) ResourceGroupRegionStatusOutput
- type ResourceGroupState
- type Role
- type RoleArgs
- type RoleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v2.5.0
type Account struct { pulumi.CustomResourceState // Member name. The length is 2 ~ 50 characters or Chinese characters, which can include Chinese characters, English letters, numbers, underscores (_), dots (.) And dashes (-). DisplayName pulumi.StringOutput `pulumi:"displayName"` // The ID of the parent folder. FolderId pulumi.StringPtrOutput `pulumi:"folderId"` // Ways for members to join the resource directory. Valid values: `invited`, `created`. JoinMethod pulumi.StringOutput `pulumi:"joinMethod"` // The time when the member joined the resource directory. JoinTime pulumi.StringOutput `pulumi:"joinTime"` // The modification time of the invitation. ModifyTime pulumi.StringOutput `pulumi:"modifyTime"` // Settlement account ID. If the value is empty, the current account will be used for settlement. PayerAccountId pulumi.StringPtrOutput `pulumi:"payerAccountId"` // Resource directory ID. ResourceDirectoryId pulumi.StringOutput `pulumi:"resourceDirectoryId"` // Member joining status. Valid values: `CreateSuccess`,`CreateVerifying`,`CreateFailed`,`CreateExpired`,`CreateCancelled`,`PromoteVerifying`,`PromoteFailed`,`PromoteExpired`,`PromoteCancelled`,`PromoteSuccess`,`InviteSuccess`,`Removed`. Status pulumi.StringOutput `pulumi:"status"` // Member type. The value of `ResourceAccount` indicates the resource account. Type pulumi.StringOutput `pulumi:"type"` }
Provides a Resource Manager Account resource. Member accounts are containers for resources in a resource directory. These accounts isolate resources and serve as organizational units in the resource directory. You can create member accounts in a folder and then manage them in a unified manner. For information about Resource Manager Account and how to use it, see [What is Resource Manager Account](https://www.alibabacloud.com/help/en/doc-detail/111231.htm).
> **NOTE:** Available in v1.83.0+.
func GetAccount ¶ added in v2.5.0
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAccount ¶ added in v2.5.0
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
type AccountArgs ¶ added in v2.5.0
type AccountArgs struct { // Member name. The length is 2 ~ 50 characters or Chinese characters, which can include Chinese characters, English letters, numbers, underscores (_), dots (.) And dashes (-). DisplayName pulumi.StringInput // The ID of the parent folder. FolderId pulumi.StringPtrInput // Settlement account ID. If the value is empty, the current account will be used for settlement. PayerAccountId pulumi.StringPtrInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶ added in v2.5.0
func (AccountArgs) ElementType() reflect.Type
type AccountState ¶ added in v2.5.0
type AccountState struct { // Member name. The length is 2 ~ 50 characters or Chinese characters, which can include Chinese characters, English letters, numbers, underscores (_), dots (.) And dashes (-). DisplayName pulumi.StringPtrInput // The ID of the parent folder. FolderId pulumi.StringPtrInput // Ways for members to join the resource directory. Valid values: `invited`, `created`. JoinMethod pulumi.StringPtrInput // The time when the member joined the resource directory. JoinTime pulumi.StringPtrInput // The modification time of the invitation. ModifyTime pulumi.StringPtrInput // Settlement account ID. If the value is empty, the current account will be used for settlement. PayerAccountId pulumi.StringPtrInput // Resource directory ID. ResourceDirectoryId pulumi.StringPtrInput // Member joining status. Valid values: `CreateSuccess`,`CreateVerifying`,`CreateFailed`,`CreateExpired`,`CreateCancelled`,`PromoteVerifying`,`PromoteFailed`,`PromoteExpired`,`PromoteCancelled`,`PromoteSuccess`,`InviteSuccess`,`Removed`. Status pulumi.StringPtrInput // Member type. The value of `ResourceAccount` indicates the resource account. Type pulumi.StringPtrInput }
func (AccountState) ElementType ¶ added in v2.5.0
func (AccountState) ElementType() reflect.Type
type Folder ¶
type Folder struct { pulumi.CustomResourceState // The name of the folder. The name must be 1 to 24 characters in length and can contain letters, digits, underscores (_), periods (.), and hyphens (-). FolderName pulumi.StringOutput `pulumi:"folderName"` // The ID of the parent folder. If not set, the system default value will be used. ParentFolderId pulumi.StringOutput `pulumi:"parentFolderId"` }
Provides a Resource Manager Folder resource. A folder is an organizational unit in a resource directory. You can use folders to build an organizational structure for resources. For information about Resource Manager Foler and how to use it, see [What is Resource Manager Folder](https://www.alibabacloud.com/help/en/doc-detail/111221.htm).
> **NOTE:** Available in v1.82.0+.
> **NOTE:** A maximum of five levels of folders can be created under the root folder.
func GetFolder ¶
func GetFolder(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FolderState, opts ...pulumi.ResourceOption) (*Folder, error)
GetFolder gets an existing Folder resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFolder ¶
func NewFolder(ctx *pulumi.Context, name string, args *FolderArgs, opts ...pulumi.ResourceOption) (*Folder, error)
NewFolder registers a new resource with the given unique name, arguments, and options.
type FolderArgs ¶
type FolderArgs struct { // The name of the folder. The name must be 1 to 24 characters in length and can contain letters, digits, underscores (_), periods (.), and hyphens (-). FolderName pulumi.StringInput // The ID of the parent folder. If not set, the system default value will be used. ParentFolderId pulumi.StringPtrInput }
The set of arguments for constructing a Folder resource.
func (FolderArgs) ElementType ¶
func (FolderArgs) ElementType() reflect.Type
type FolderState ¶
type FolderState struct { // The name of the folder. The name must be 1 to 24 characters in length and can contain letters, digits, underscores (_), periods (.), and hyphens (-). FolderName pulumi.StringPtrInput // The ID of the parent folder. If not set, the system default value will be used. ParentFolderId pulumi.StringPtrInput }
func (FolderState) ElementType ¶
func (FolderState) ElementType() reflect.Type
type GetAccountsAccount ¶ added in v2.8.0
type GetAccountsAccount struct { AccountId string `pulumi:"accountId"` DisplayName string `pulumi:"displayName"` // The ID of the folder. FolderId string `pulumi:"folderId"` // The ID of the resource. // * `accountId`- The ID of the account. // * `displayName`- The name of the member account. Id string `pulumi:"id"` // The way in which the member account joined the resource directory. JoinMethod string `pulumi:"joinMethod"` // The time when the member account joined the resource directory. JoinTime string `pulumi:"joinTime"` // The time when the member account was modified. ModifyTime string `pulumi:"modifyTime"` // The ID of the resource directory. ResourceDirectoryId string `pulumi:"resourceDirectoryId"` // The status of the member account. Status string `pulumi:"status"` // The type of the member account. Type string `pulumi:"type"` }
type GetAccountsAccountArgs ¶ added in v2.8.0
type GetAccountsAccountArgs struct { AccountId pulumi.StringInput `pulumi:"accountId"` DisplayName pulumi.StringInput `pulumi:"displayName"` // The ID of the folder. FolderId pulumi.StringInput `pulumi:"folderId"` // The ID of the resource. // * `accountId`- The ID of the account. // * `displayName`- The name of the member account. Id pulumi.StringInput `pulumi:"id"` // The way in which the member account joined the resource directory. JoinMethod pulumi.StringInput `pulumi:"joinMethod"` // The time when the member account joined the resource directory. JoinTime pulumi.StringInput `pulumi:"joinTime"` // The time when the member account was modified. ModifyTime pulumi.StringInput `pulumi:"modifyTime"` // The ID of the resource directory. ResourceDirectoryId pulumi.StringInput `pulumi:"resourceDirectoryId"` // The status of the member account. Status pulumi.StringInput `pulumi:"status"` // The type of the member account. Type pulumi.StringInput `pulumi:"type"` }
func (GetAccountsAccountArgs) ElementType ¶ added in v2.8.0
func (GetAccountsAccountArgs) ElementType() reflect.Type
func (GetAccountsAccountArgs) ToGetAccountsAccountOutput ¶ added in v2.8.0
func (i GetAccountsAccountArgs) ToGetAccountsAccountOutput() GetAccountsAccountOutput
func (GetAccountsAccountArgs) ToGetAccountsAccountOutputWithContext ¶ added in v2.8.0
func (i GetAccountsAccountArgs) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput
type GetAccountsAccountArray ¶ added in v2.8.0
type GetAccountsAccountArray []GetAccountsAccountInput
func (GetAccountsAccountArray) ElementType ¶ added in v2.8.0
func (GetAccountsAccountArray) ElementType() reflect.Type
func (GetAccountsAccountArray) ToGetAccountsAccountArrayOutput ¶ added in v2.8.0
func (i GetAccountsAccountArray) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput
func (GetAccountsAccountArray) ToGetAccountsAccountArrayOutputWithContext ¶ added in v2.8.0
func (i GetAccountsAccountArray) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput
type GetAccountsAccountArrayInput ¶ added in v2.8.0
type GetAccountsAccountArrayInput interface { pulumi.Input ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput ToGetAccountsAccountArrayOutputWithContext(context.Context) GetAccountsAccountArrayOutput }
GetAccountsAccountArrayInput is an input type that accepts GetAccountsAccountArray and GetAccountsAccountArrayOutput values. You can construct a concrete instance of `GetAccountsAccountArrayInput` via:
GetAccountsAccountArray{ GetAccountsAccountArgs{...} }
type GetAccountsAccountArrayOutput ¶ added in v2.8.0
type GetAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetAccountsAccountArrayOutput) ElementType ¶ added in v2.8.0
func (GetAccountsAccountArrayOutput) ElementType() reflect.Type
func (GetAccountsAccountArrayOutput) Index ¶ added in v2.8.0
func (o GetAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetAccountsAccountOutput
func (GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutput ¶ added in v2.8.0
func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput
func (GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutputWithContext ¶ added in v2.8.0
func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput
type GetAccountsAccountInput ¶ added in v2.8.0
type GetAccountsAccountInput interface { pulumi.Input ToGetAccountsAccountOutput() GetAccountsAccountOutput ToGetAccountsAccountOutputWithContext(context.Context) GetAccountsAccountOutput }
GetAccountsAccountInput is an input type that accepts GetAccountsAccountArgs and GetAccountsAccountOutput values. You can construct a concrete instance of `GetAccountsAccountInput` via:
GetAccountsAccountArgs{...}
type GetAccountsAccountOutput ¶ added in v2.8.0
type GetAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetAccountsAccountOutput) AccountId ¶ added in v2.8.0
func (o GetAccountsAccountOutput) AccountId() pulumi.StringOutput
func (GetAccountsAccountOutput) DisplayName ¶ added in v2.8.0
func (o GetAccountsAccountOutput) DisplayName() pulumi.StringOutput
func (GetAccountsAccountOutput) ElementType ¶ added in v2.8.0
func (GetAccountsAccountOutput) ElementType() reflect.Type
func (GetAccountsAccountOutput) FolderId ¶ added in v2.8.0
func (o GetAccountsAccountOutput) FolderId() pulumi.StringOutput
The ID of the folder.
func (GetAccountsAccountOutput) Id ¶ added in v2.8.0
func (o GetAccountsAccountOutput) Id() pulumi.StringOutput
The ID of the resource. * `accountId`- The ID of the account. * `displayName`- The name of the member account.
func (GetAccountsAccountOutput) JoinMethod ¶ added in v2.8.0
func (o GetAccountsAccountOutput) JoinMethod() pulumi.StringOutput
The way in which the member account joined the resource directory.
func (GetAccountsAccountOutput) JoinTime ¶ added in v2.8.0
func (o GetAccountsAccountOutput) JoinTime() pulumi.StringOutput
The time when the member account joined the resource directory.
func (GetAccountsAccountOutput) ModifyTime ¶ added in v2.8.0
func (o GetAccountsAccountOutput) ModifyTime() pulumi.StringOutput
The time when the member account was modified.
func (GetAccountsAccountOutput) ResourceDirectoryId ¶ added in v2.8.0
func (o GetAccountsAccountOutput) ResourceDirectoryId() pulumi.StringOutput
The ID of the resource directory.
func (GetAccountsAccountOutput) Status ¶ added in v2.8.0
func (o GetAccountsAccountOutput) Status() pulumi.StringOutput
The status of the member account.
func (GetAccountsAccountOutput) ToGetAccountsAccountOutput ¶ added in v2.8.0
func (o GetAccountsAccountOutput) ToGetAccountsAccountOutput() GetAccountsAccountOutput
func (GetAccountsAccountOutput) ToGetAccountsAccountOutputWithContext ¶ added in v2.8.0
func (o GetAccountsAccountOutput) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput
func (GetAccountsAccountOutput) Type ¶ added in v2.8.0
func (o GetAccountsAccountOutput) Type() pulumi.StringOutput
The type of the member account.
type GetAccountsArgs ¶ added in v2.8.0
type GetAccountsArgs struct { // A list of account IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getAccounts.
type GetAccountsResult ¶ added in v2.8.0
type GetAccountsResult struct { // A list of accounts. Each element contains the following attributes: Accounts []GetAccountsAccount `pulumi:"accounts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of account IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getAccounts.
func GetAccounts ¶ added in v2.8.0
func GetAccounts(ctx *pulumi.Context, args *GetAccountsArgs, opts ...pulumi.InvokeOption) (*GetAccountsResult, error)
This data source provides the Resource Manager Accounts of the current Alibaba Cloud user.
> **NOTE:** Available in 1.86.0+.
type GetFoldersArgs ¶ added in v2.6.0
type GetFoldersArgs struct { // A list of resource manager folders IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by folder name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The ID of the parent folder. ParentFolderId *string `pulumi:"parentFolderId"` }
A collection of arguments for invoking getFolders.
type GetFoldersFolder ¶ added in v2.6.0
type GetFoldersFolderArgs ¶ added in v2.6.0
type GetFoldersFolderArgs struct { FolderId pulumi.StringInput `pulumi:"folderId"` FolderName pulumi.StringInput `pulumi:"folderName"` // The ID of the folder. // * `folderId`- The ID of the folder. // * `folderName`- The name of the folder. Id pulumi.StringInput `pulumi:"id"` }
func (GetFoldersFolderArgs) ElementType ¶ added in v2.6.0
func (GetFoldersFolderArgs) ElementType() reflect.Type
func (GetFoldersFolderArgs) ToGetFoldersFolderOutput ¶ added in v2.6.0
func (i GetFoldersFolderArgs) ToGetFoldersFolderOutput() GetFoldersFolderOutput
func (GetFoldersFolderArgs) ToGetFoldersFolderOutputWithContext ¶ added in v2.6.0
func (i GetFoldersFolderArgs) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
type GetFoldersFolderArray ¶ added in v2.6.0
type GetFoldersFolderArray []GetFoldersFolderInput
func (GetFoldersFolderArray) ElementType ¶ added in v2.6.0
func (GetFoldersFolderArray) ElementType() reflect.Type
func (GetFoldersFolderArray) ToGetFoldersFolderArrayOutput ¶ added in v2.6.0
func (i GetFoldersFolderArray) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
func (GetFoldersFolderArray) ToGetFoldersFolderArrayOutputWithContext ¶ added in v2.6.0
func (i GetFoldersFolderArray) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
type GetFoldersFolderArrayInput ¶ added in v2.6.0
type GetFoldersFolderArrayInput interface { pulumi.Input ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput ToGetFoldersFolderArrayOutputWithContext(context.Context) GetFoldersFolderArrayOutput }
GetFoldersFolderArrayInput is an input type that accepts GetFoldersFolderArray and GetFoldersFolderArrayOutput values. You can construct a concrete instance of `GetFoldersFolderArrayInput` via:
GetFoldersFolderArray{ GetFoldersFolderArgs{...} }
type GetFoldersFolderArrayOutput ¶ added in v2.6.0
type GetFoldersFolderArrayOutput struct{ *pulumi.OutputState }
func (GetFoldersFolderArrayOutput) ElementType ¶ added in v2.6.0
func (GetFoldersFolderArrayOutput) ElementType() reflect.Type
func (GetFoldersFolderArrayOutput) Index ¶ added in v2.6.0
func (o GetFoldersFolderArrayOutput) Index(i pulumi.IntInput) GetFoldersFolderOutput
func (GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput ¶ added in v2.6.0
func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
func (GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext ¶ added in v2.6.0
func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
type GetFoldersFolderInput ¶ added in v2.6.0
type GetFoldersFolderInput interface { pulumi.Input ToGetFoldersFolderOutput() GetFoldersFolderOutput ToGetFoldersFolderOutputWithContext(context.Context) GetFoldersFolderOutput }
GetFoldersFolderInput is an input type that accepts GetFoldersFolderArgs and GetFoldersFolderOutput values. You can construct a concrete instance of `GetFoldersFolderInput` via:
GetFoldersFolderArgs{...}
type GetFoldersFolderOutput ¶ added in v2.6.0
type GetFoldersFolderOutput struct{ *pulumi.OutputState }
func (GetFoldersFolderOutput) ElementType ¶ added in v2.6.0
func (GetFoldersFolderOutput) ElementType() reflect.Type
func (GetFoldersFolderOutput) FolderId ¶ added in v2.6.0
func (o GetFoldersFolderOutput) FolderId() pulumi.StringOutput
func (GetFoldersFolderOutput) FolderName ¶ added in v2.6.0
func (o GetFoldersFolderOutput) FolderName() pulumi.StringOutput
func (GetFoldersFolderOutput) Id ¶ added in v2.6.0
func (o GetFoldersFolderOutput) Id() pulumi.StringOutput
The ID of the folder. * `folderId`- The ID of the folder. * `folderName`- The name of the folder.
func (GetFoldersFolderOutput) ToGetFoldersFolderOutput ¶ added in v2.6.0
func (o GetFoldersFolderOutput) ToGetFoldersFolderOutput() GetFoldersFolderOutput
func (GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext ¶ added in v2.6.0
func (o GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
type GetFoldersResult ¶ added in v2.6.0
type GetFoldersResult struct { // A list of folders. Each element contains the following attributes: Folders []GetFoldersFolder `pulumi:"folders"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of folder IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of folder names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` ParentFolderId *string `pulumi:"parentFolderId"` }
A collection of values returned by getFolders.
func GetFolders ¶ added in v2.6.0
func GetFolders(ctx *pulumi.Context, args *GetFoldersArgs, opts ...pulumi.InvokeOption) (*GetFoldersResult, error)
This data source provides the resource manager folders of the current Alibaba Cloud user.
> **NOTE:** Available in 1.84.0+.
> **NOTE:** You can view only the information of the first-level child folders of the specified folder.
type GetHandshakesArgs ¶ added in v2.8.0
type GetHandshakesArgs struct { // A list of Resource Manager Handshake IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getHandshakes.
type GetHandshakesHandshake ¶ added in v2.8.0
type GetHandshakesHandshake struct { // The time when the invitation expires. ExpireTime string `pulumi:"expireTime"` HandshakeId string `pulumi:"handshakeId"` // The ID of the resource. // * `handshakeId`- The ID of the invitation. Id string `pulumi:"id"` // The ID of the master account of the resource directory. MasterAccountId string `pulumi:"masterAccountId"` // The name of the master account of the resource directory. MasterAccountName string `pulumi:"masterAccountName"` // The time when the invitation was modified. ModifyTime string `pulumi:"modifyTime"` // The invitation note. Note string `pulumi:"note"` // The ID of the resource directory. ResourceDirectoryId string `pulumi:"resourceDirectoryId"` // The status of the invitation. Status string `pulumi:"status"` // The ID or logon email address of the invited account. TargetEntity string `pulumi:"targetEntity"` // The type of the invited account. TargetType string `pulumi:"targetType"` }
type GetHandshakesHandshakeArgs ¶ added in v2.8.0
type GetHandshakesHandshakeArgs struct { // The time when the invitation expires. ExpireTime pulumi.StringInput `pulumi:"expireTime"` HandshakeId pulumi.StringInput `pulumi:"handshakeId"` // The ID of the resource. // * `handshakeId`- The ID of the invitation. Id pulumi.StringInput `pulumi:"id"` // The ID of the master account of the resource directory. MasterAccountId pulumi.StringInput `pulumi:"masterAccountId"` // The name of the master account of the resource directory. MasterAccountName pulumi.StringInput `pulumi:"masterAccountName"` // The time when the invitation was modified. ModifyTime pulumi.StringInput `pulumi:"modifyTime"` // The invitation note. Note pulumi.StringInput `pulumi:"note"` // The ID of the resource directory. ResourceDirectoryId pulumi.StringInput `pulumi:"resourceDirectoryId"` // The status of the invitation. Status pulumi.StringInput `pulumi:"status"` // The ID or logon email address of the invited account. TargetEntity pulumi.StringInput `pulumi:"targetEntity"` // The type of the invited account. TargetType pulumi.StringInput `pulumi:"targetType"` }
func (GetHandshakesHandshakeArgs) ElementType ¶ added in v2.8.0
func (GetHandshakesHandshakeArgs) ElementType() reflect.Type
func (GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutput ¶ added in v2.8.0
func (i GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutput() GetHandshakesHandshakeOutput
func (GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutputWithContext ¶ added in v2.8.0
func (i GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutputWithContext(ctx context.Context) GetHandshakesHandshakeOutput
type GetHandshakesHandshakeArray ¶ added in v2.8.0
type GetHandshakesHandshakeArray []GetHandshakesHandshakeInput
func (GetHandshakesHandshakeArray) ElementType ¶ added in v2.8.0
func (GetHandshakesHandshakeArray) ElementType() reflect.Type
func (GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutput ¶ added in v2.8.0
func (i GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput
func (GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutputWithContext ¶ added in v2.8.0
func (i GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutputWithContext(ctx context.Context) GetHandshakesHandshakeArrayOutput
type GetHandshakesHandshakeArrayInput ¶ added in v2.8.0
type GetHandshakesHandshakeArrayInput interface { pulumi.Input ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput ToGetHandshakesHandshakeArrayOutputWithContext(context.Context) GetHandshakesHandshakeArrayOutput }
GetHandshakesHandshakeArrayInput is an input type that accepts GetHandshakesHandshakeArray and GetHandshakesHandshakeArrayOutput values. You can construct a concrete instance of `GetHandshakesHandshakeArrayInput` via:
GetHandshakesHandshakeArray{ GetHandshakesHandshakeArgs{...} }
type GetHandshakesHandshakeArrayOutput ¶ added in v2.8.0
type GetHandshakesHandshakeArrayOutput struct{ *pulumi.OutputState }
func (GetHandshakesHandshakeArrayOutput) ElementType ¶ added in v2.8.0
func (GetHandshakesHandshakeArrayOutput) ElementType() reflect.Type
func (GetHandshakesHandshakeArrayOutput) Index ¶ added in v2.8.0
func (o GetHandshakesHandshakeArrayOutput) Index(i pulumi.IntInput) GetHandshakesHandshakeOutput
func (GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutput ¶ added in v2.8.0
func (o GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput
func (GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutputWithContext ¶ added in v2.8.0
func (o GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutputWithContext(ctx context.Context) GetHandshakesHandshakeArrayOutput
type GetHandshakesHandshakeInput ¶ added in v2.8.0
type GetHandshakesHandshakeInput interface { pulumi.Input ToGetHandshakesHandshakeOutput() GetHandshakesHandshakeOutput ToGetHandshakesHandshakeOutputWithContext(context.Context) GetHandshakesHandshakeOutput }
GetHandshakesHandshakeInput is an input type that accepts GetHandshakesHandshakeArgs and GetHandshakesHandshakeOutput values. You can construct a concrete instance of `GetHandshakesHandshakeInput` via:
GetHandshakesHandshakeArgs{...}
type GetHandshakesHandshakeOutput ¶ added in v2.8.0
type GetHandshakesHandshakeOutput struct{ *pulumi.OutputState }
func (GetHandshakesHandshakeOutput) ElementType ¶ added in v2.8.0
func (GetHandshakesHandshakeOutput) ElementType() reflect.Type
func (GetHandshakesHandshakeOutput) ExpireTime ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) ExpireTime() pulumi.StringOutput
The time when the invitation expires.
func (GetHandshakesHandshakeOutput) HandshakeId ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) HandshakeId() pulumi.StringOutput
func (GetHandshakesHandshakeOutput) Id ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) Id() pulumi.StringOutput
The ID of the resource. * `handshakeId`- The ID of the invitation.
func (GetHandshakesHandshakeOutput) MasterAccountId ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) MasterAccountId() pulumi.StringOutput
The ID of the master account of the resource directory.
func (GetHandshakesHandshakeOutput) MasterAccountName ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) MasterAccountName() pulumi.StringOutput
The name of the master account of the resource directory.
func (GetHandshakesHandshakeOutput) ModifyTime ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) ModifyTime() pulumi.StringOutput
The time when the invitation was modified.
func (GetHandshakesHandshakeOutput) Note ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) Note() pulumi.StringOutput
The invitation note.
func (GetHandshakesHandshakeOutput) ResourceDirectoryId ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) ResourceDirectoryId() pulumi.StringOutput
The ID of the resource directory.
func (GetHandshakesHandshakeOutput) Status ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) Status() pulumi.StringOutput
The status of the invitation.
func (GetHandshakesHandshakeOutput) TargetEntity ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) TargetEntity() pulumi.StringOutput
The ID or logon email address of the invited account.
func (GetHandshakesHandshakeOutput) TargetType ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) TargetType() pulumi.StringOutput
The type of the invited account.
func (GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutput ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutput() GetHandshakesHandshakeOutput
func (GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutputWithContext ¶ added in v2.8.0
func (o GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutputWithContext(ctx context.Context) GetHandshakesHandshakeOutput
type GetHandshakesResult ¶ added in v2.8.0
type GetHandshakesResult struct { // A list of Resource Manager Handshakes. Each element contains the following attributes: Handshakes []GetHandshakesHandshake `pulumi:"handshakes"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Resource Manager Handshake IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getHandshakes.
func GetHandshakes ¶ added in v2.8.0
func GetHandshakes(ctx *pulumi.Context, args *GetHandshakesArgs, opts ...pulumi.InvokeOption) (*GetHandshakesResult, error)
This data source provides the Resource Manager Handshakes of the current Alibaba Cloud user.
> **NOTE:** Available in 1.86.0+.
type GetPoliciesArgs ¶ added in v2.8.0
type GetPoliciesArgs struct { // A list of Resource Manager Policy IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by policy name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values: `Custom` and `System`. PolicyType *string `pulumi:"policyType"` }
A collection of arguments for invoking getPolicies.
type GetPoliciesPolicy ¶ added in v2.8.0
type GetPoliciesPolicy struct { // The number of times the policy is referenced. AttachmentCount int `pulumi:"attachmentCount"` // The time when the policy was created. CreateDate string `pulumi:"createDate"` // The default version of the policy. DefaultVersion string `pulumi:"defaultVersion"` // The description of the policy. Description string `pulumi:"description"` // The ID of the policy. // * `policyName`- The name of the policy. // * `policyType`- The type of the policy. Id string `pulumi:"id"` PolicyName string `pulumi:"policyName"` // The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values: `Custom` and `System`. PolicyType string `pulumi:"policyType"` // The time when the policy was updated. UpdateDate string `pulumi:"updateDate"` }
type GetPoliciesPolicyArgs ¶ added in v2.8.0
type GetPoliciesPolicyArgs struct { // The number of times the policy is referenced. AttachmentCount pulumi.IntInput `pulumi:"attachmentCount"` // The time when the policy was created. CreateDate pulumi.StringInput `pulumi:"createDate"` // The default version of the policy. DefaultVersion pulumi.StringInput `pulumi:"defaultVersion"` // The description of the policy. Description pulumi.StringInput `pulumi:"description"` // The ID of the policy. // * `policyName`- The name of the policy. // * `policyType`- The type of the policy. Id pulumi.StringInput `pulumi:"id"` PolicyName pulumi.StringInput `pulumi:"policyName"` // The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values: `Custom` and `System`. PolicyType pulumi.StringInput `pulumi:"policyType"` // The time when the policy was updated. UpdateDate pulumi.StringInput `pulumi:"updateDate"` }
func (GetPoliciesPolicyArgs) ElementType ¶ added in v2.8.0
func (GetPoliciesPolicyArgs) ElementType() reflect.Type
func (GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutput ¶ added in v2.8.0
func (i GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutput() GetPoliciesPolicyOutput
func (GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutputWithContext ¶ added in v2.8.0
func (i GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutputWithContext(ctx context.Context) GetPoliciesPolicyOutput
type GetPoliciesPolicyArray ¶ added in v2.8.0
type GetPoliciesPolicyArray []GetPoliciesPolicyInput
func (GetPoliciesPolicyArray) ElementType ¶ added in v2.8.0
func (GetPoliciesPolicyArray) ElementType() reflect.Type
func (GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutput ¶ added in v2.8.0
func (i GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutput() GetPoliciesPolicyArrayOutput
func (GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutputWithContext ¶ added in v2.8.0
func (i GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetPoliciesPolicyArrayOutput
type GetPoliciesPolicyArrayInput ¶ added in v2.8.0
type GetPoliciesPolicyArrayInput interface { pulumi.Input ToGetPoliciesPolicyArrayOutput() GetPoliciesPolicyArrayOutput ToGetPoliciesPolicyArrayOutputWithContext(context.Context) GetPoliciesPolicyArrayOutput }
GetPoliciesPolicyArrayInput is an input type that accepts GetPoliciesPolicyArray and GetPoliciesPolicyArrayOutput values. You can construct a concrete instance of `GetPoliciesPolicyArrayInput` via:
GetPoliciesPolicyArray{ GetPoliciesPolicyArgs{...} }
type GetPoliciesPolicyArrayOutput ¶ added in v2.8.0
type GetPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetPoliciesPolicyArrayOutput) ElementType ¶ added in v2.8.0
func (GetPoliciesPolicyArrayOutput) ElementType() reflect.Type
func (GetPoliciesPolicyArrayOutput) Index ¶ added in v2.8.0
func (o GetPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetPoliciesPolicyOutput
func (GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutput ¶ added in v2.8.0
func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutput() GetPoliciesPolicyArrayOutput
func (GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutputWithContext ¶ added in v2.8.0
func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetPoliciesPolicyArrayOutput
type GetPoliciesPolicyInput ¶ added in v2.8.0
type GetPoliciesPolicyInput interface { pulumi.Input ToGetPoliciesPolicyOutput() GetPoliciesPolicyOutput ToGetPoliciesPolicyOutputWithContext(context.Context) GetPoliciesPolicyOutput }
GetPoliciesPolicyInput is an input type that accepts GetPoliciesPolicyArgs and GetPoliciesPolicyOutput values. You can construct a concrete instance of `GetPoliciesPolicyInput` via:
GetPoliciesPolicyArgs{...}
type GetPoliciesPolicyOutput ¶ added in v2.8.0
type GetPoliciesPolicyOutput struct{ *pulumi.OutputState }
func (GetPoliciesPolicyOutput) AttachmentCount ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) AttachmentCount() pulumi.IntOutput
The number of times the policy is referenced.
func (GetPoliciesPolicyOutput) CreateDate ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) CreateDate() pulumi.StringOutput
The time when the policy was created.
func (GetPoliciesPolicyOutput) DefaultVersion ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) DefaultVersion() pulumi.StringOutput
The default version of the policy.
func (GetPoliciesPolicyOutput) Description ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) Description() pulumi.StringOutput
The description of the policy.
func (GetPoliciesPolicyOutput) ElementType ¶ added in v2.8.0
func (GetPoliciesPolicyOutput) ElementType() reflect.Type
func (GetPoliciesPolicyOutput) Id ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) Id() pulumi.StringOutput
The ID of the policy. * `policyName`- The name of the policy. * `policyType`- The type of the policy.
func (GetPoliciesPolicyOutput) PolicyName ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) PolicyName() pulumi.StringOutput
func (GetPoliciesPolicyOutput) PolicyType ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) PolicyType() pulumi.StringOutput
The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values: `Custom` and `System`.
func (GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutput ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutput() GetPoliciesPolicyOutput
func (GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutputWithContext ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutputWithContext(ctx context.Context) GetPoliciesPolicyOutput
func (GetPoliciesPolicyOutput) UpdateDate ¶ added in v2.8.0
func (o GetPoliciesPolicyOutput) UpdateDate() pulumi.StringOutput
The time when the policy was updated.
type GetPoliciesResult ¶ added in v2.8.0
type GetPoliciesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of policy IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of policy names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of policies. Each element contains the following attributes: Policies []GetPoliciesPolicy `pulumi:"policies"` PolicyType *string `pulumi:"policyType"` }
A collection of values returned by getPolicies.
func GetPolicies ¶ added in v2.8.0
func GetPolicies(ctx *pulumi.Context, args *GetPoliciesArgs, opts ...pulumi.InvokeOption) (*GetPoliciesResult, error)
This data source provides the Resource Manager Policies of the current Alibaba Cloud user.
> **NOTE:** Available in 1.86.0+.
type GetPolicyVersionsArgs ¶ added in v2.7.0
type GetPolicyVersionsArgs struct { // A list of policy version IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // The name of the policy. PolicyName string `pulumi:"policyName"` // The type of the policy. Valid values:`Custom` and `System`. PolicyType string `pulumi:"policyType"` }
A collection of arguments for invoking getPolicyVersions.
type GetPolicyVersionsResult ¶ added in v2.7.0
type GetPolicyVersionsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of policy version IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` PolicyName string `pulumi:"policyName"` PolicyType string `pulumi:"policyType"` // A list of policy versions. Each element contains the following attributes: Versions []GetPolicyVersionsVersion `pulumi:"versions"` }
A collection of values returned by getPolicyVersions.
func GetPolicyVersions ¶ added in v2.7.0
func GetPolicyVersions(ctx *pulumi.Context, args *GetPolicyVersionsArgs, opts ...pulumi.InvokeOption) (*GetPolicyVersionsResult, error)
This data source provides the Resource Manager Policy Versions of the current Alibaba Cloud user.
> **NOTE:** Available in 1.85.0+.
type GetPolicyVersionsVersion ¶ added in v2.7.0
type GetPolicyVersionsVersion struct { CreateDate string `pulumi:"createDate"` // The ID of the resource, the value is `<policy_name>`:`<version_id>`. // * `versionId`- The ID of the policy version. // * `createDate`- The time when the policy version was created. // * `isDefaultVersion`- Indicates whether the policy version is the default version. Id string `pulumi:"id"` IsDefaultVersion bool `pulumi:"isDefaultVersion"` VersionId string `pulumi:"versionId"` }
type GetPolicyVersionsVersionArgs ¶ added in v2.7.0
type GetPolicyVersionsVersionArgs struct { CreateDate pulumi.StringInput `pulumi:"createDate"` // The ID of the resource, the value is `<policy_name>`:`<version_id>`. // * `versionId`- The ID of the policy version. // * `createDate`- The time when the policy version was created. // * `isDefaultVersion`- Indicates whether the policy version is the default version. Id pulumi.StringInput `pulumi:"id"` IsDefaultVersion pulumi.BoolInput `pulumi:"isDefaultVersion"` VersionId pulumi.StringInput `pulumi:"versionId"` }
func (GetPolicyVersionsVersionArgs) ElementType ¶ added in v2.7.0
func (GetPolicyVersionsVersionArgs) ElementType() reflect.Type
func (GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutput ¶ added in v2.7.0
func (i GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutputWithContext ¶ added in v2.7.0
func (i GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutputWithContext(ctx context.Context) GetPolicyVersionsVersionOutput
type GetPolicyVersionsVersionArray ¶ added in v2.7.0
type GetPolicyVersionsVersionArray []GetPolicyVersionsVersionInput
func (GetPolicyVersionsVersionArray) ElementType ¶ added in v2.7.0
func (GetPolicyVersionsVersionArray) ElementType() reflect.Type
func (GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutput ¶ added in v2.7.0
func (i GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput
func (GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutputWithContext ¶ added in v2.7.0
func (i GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutputWithContext(ctx context.Context) GetPolicyVersionsVersionArrayOutput
type GetPolicyVersionsVersionArrayInput ¶ added in v2.7.0
type GetPolicyVersionsVersionArrayInput interface { pulumi.Input ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput ToGetPolicyVersionsVersionArrayOutputWithContext(context.Context) GetPolicyVersionsVersionArrayOutput }
GetPolicyVersionsVersionArrayInput is an input type that accepts GetPolicyVersionsVersionArray and GetPolicyVersionsVersionArrayOutput values. You can construct a concrete instance of `GetPolicyVersionsVersionArrayInput` via:
GetPolicyVersionsVersionArray{ GetPolicyVersionsVersionArgs{...} }
type GetPolicyVersionsVersionArrayOutput ¶ added in v2.7.0
type GetPolicyVersionsVersionArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyVersionsVersionArrayOutput) ElementType ¶ added in v2.7.0
func (GetPolicyVersionsVersionArrayOutput) ElementType() reflect.Type
func (GetPolicyVersionsVersionArrayOutput) Index ¶ added in v2.7.0
func (o GetPolicyVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutput ¶ added in v2.7.0
func (o GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput
func (GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutputWithContext ¶ added in v2.7.0
func (o GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutputWithContext(ctx context.Context) GetPolicyVersionsVersionArrayOutput
type GetPolicyVersionsVersionInput ¶ added in v2.7.0
type GetPolicyVersionsVersionInput interface { pulumi.Input ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput ToGetPolicyVersionsVersionOutputWithContext(context.Context) GetPolicyVersionsVersionOutput }
GetPolicyVersionsVersionInput is an input type that accepts GetPolicyVersionsVersionArgs and GetPolicyVersionsVersionOutput values. You can construct a concrete instance of `GetPolicyVersionsVersionInput` via:
GetPolicyVersionsVersionArgs{...}
type GetPolicyVersionsVersionOutput ¶ added in v2.7.0
type GetPolicyVersionsVersionOutput struct{ *pulumi.OutputState }
func (GetPolicyVersionsVersionOutput) CreateDate ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) CreateDate() pulumi.StringOutput
func (GetPolicyVersionsVersionOutput) ElementType ¶ added in v2.7.0
func (GetPolicyVersionsVersionOutput) ElementType() reflect.Type
func (GetPolicyVersionsVersionOutput) Id ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) Id() pulumi.StringOutput
The ID of the resource, the value is `<policy_name>`:`<version_id>`. * `versionId`- The ID of the policy version. * `createDate`- The time when the policy version was created. * `isDefaultVersion`- Indicates whether the policy version is the default version.
func (GetPolicyVersionsVersionOutput) IsDefaultVersion ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) IsDefaultVersion() pulumi.BoolOutput
func (GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutput ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutputWithContext ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutputWithContext(ctx context.Context) GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionOutput) VersionId ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) VersionId() pulumi.StringOutput
type GetResourceDirectoriesArgs ¶ added in v2.8.0
type GetResourceDirectoriesArgs struct {
OutputFile *string `pulumi:"outputFile"`
}
A collection of arguments for invoking getResourceDirectories.
type GetResourceDirectoriesDirectory ¶ added in v2.8.0
type GetResourceDirectoriesDirectory struct { // The ID of resource directory. // * `masterAccountId`- The ID of the master account. // * `masterAccountName`- The name of the master account. Id string `pulumi:"id"` MasterAccountId string `pulumi:"masterAccountId"` MasterAccountName string `pulumi:"masterAccountName"` // The ID of the resource directory. ResourceDirectoryId string `pulumi:"resourceDirectoryId"` // The ID of the root folder. RootFolderId string `pulumi:"rootFolderId"` }
type GetResourceDirectoriesDirectoryArgs ¶ added in v2.8.0
type GetResourceDirectoriesDirectoryArgs struct { // The ID of resource directory. // * `masterAccountId`- The ID of the master account. // * `masterAccountName`- The name of the master account. Id pulumi.StringInput `pulumi:"id"` MasterAccountId pulumi.StringInput `pulumi:"masterAccountId"` MasterAccountName pulumi.StringInput `pulumi:"masterAccountName"` // The ID of the resource directory. ResourceDirectoryId pulumi.StringInput `pulumi:"resourceDirectoryId"` // The ID of the root folder. RootFolderId pulumi.StringInput `pulumi:"rootFolderId"` }
func (GetResourceDirectoriesDirectoryArgs) ElementType ¶ added in v2.8.0
func (GetResourceDirectoriesDirectoryArgs) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutput ¶ added in v2.8.0
func (i GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput
func (GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutputWithContext ¶ added in v2.8.0
func (i GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryOutput
type GetResourceDirectoriesDirectoryArray ¶ added in v2.8.0
type GetResourceDirectoriesDirectoryArray []GetResourceDirectoriesDirectoryInput
func (GetResourceDirectoriesDirectoryArray) ElementType ¶ added in v2.8.0
func (GetResourceDirectoriesDirectoryArray) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutput ¶ added in v2.8.0
func (i GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput
func (GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutputWithContext ¶ added in v2.8.0
func (i GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryArrayOutput
type GetResourceDirectoriesDirectoryArrayInput ¶ added in v2.8.0
type GetResourceDirectoriesDirectoryArrayInput interface { pulumi.Input ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput ToGetResourceDirectoriesDirectoryArrayOutputWithContext(context.Context) GetResourceDirectoriesDirectoryArrayOutput }
GetResourceDirectoriesDirectoryArrayInput is an input type that accepts GetResourceDirectoriesDirectoryArray and GetResourceDirectoriesDirectoryArrayOutput values. You can construct a concrete instance of `GetResourceDirectoriesDirectoryArrayInput` via:
GetResourceDirectoriesDirectoryArray{ GetResourceDirectoriesDirectoryArgs{...} }
type GetResourceDirectoriesDirectoryArrayOutput ¶ added in v2.8.0
type GetResourceDirectoriesDirectoryArrayOutput struct{ *pulumi.OutputState }
func (GetResourceDirectoriesDirectoryArrayOutput) ElementType ¶ added in v2.8.0
func (GetResourceDirectoriesDirectoryArrayOutput) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutput ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput
func (GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutputWithContext ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryArrayOutput
type GetResourceDirectoriesDirectoryInput ¶ added in v2.8.0
type GetResourceDirectoriesDirectoryInput interface { pulumi.Input ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput ToGetResourceDirectoriesDirectoryOutputWithContext(context.Context) GetResourceDirectoriesDirectoryOutput }
GetResourceDirectoriesDirectoryInput is an input type that accepts GetResourceDirectoriesDirectoryArgs and GetResourceDirectoriesDirectoryOutput values. You can construct a concrete instance of `GetResourceDirectoriesDirectoryInput` via:
GetResourceDirectoriesDirectoryArgs{...}
type GetResourceDirectoriesDirectoryOutput ¶ added in v2.8.0
type GetResourceDirectoriesDirectoryOutput struct{ *pulumi.OutputState }
func (GetResourceDirectoriesDirectoryOutput) ElementType ¶ added in v2.8.0
func (GetResourceDirectoriesDirectoryOutput) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryOutput) Id ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) Id() pulumi.StringOutput
The ID of resource directory. * `masterAccountId`- The ID of the master account. * `masterAccountName`- The name of the master account.
func (GetResourceDirectoriesDirectoryOutput) MasterAccountId ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) MasterAccountId() pulumi.StringOutput
func (GetResourceDirectoriesDirectoryOutput) MasterAccountName ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) MasterAccountName() pulumi.StringOutput
func (GetResourceDirectoriesDirectoryOutput) ResourceDirectoryId ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) ResourceDirectoryId() pulumi.StringOutput
The ID of the resource directory.
func (GetResourceDirectoriesDirectoryOutput) RootFolderId ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) RootFolderId() pulumi.StringOutput
The ID of the root folder.
func (GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutput ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput
func (GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutputWithContext ¶ added in v2.8.0
func (o GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryOutput
type GetResourceDirectoriesResult ¶ added in v2.8.0
type GetResourceDirectoriesResult struct { // A list of resource directories. Each element contains the following attributes: Directories []GetResourceDirectoriesDirectory `pulumi:"directories"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getResourceDirectories.
func GetResourceDirectories ¶ added in v2.8.0
func GetResourceDirectories(ctx *pulumi.Context, args *GetResourceDirectoriesArgs, opts ...pulumi.InvokeOption) (*GetResourceDirectoriesResult, error)
This data source provides the Resource Manager Resource Directories of the current Alibaba Cloud user.
> **NOTE:** Available in 1.86.0+.
type GetResourceGroupsArgs ¶ added in v2.6.0
type GetResourceGroupsArgs struct { // A list of resource group IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by resource group name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`OK` and `PendingDelete`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getResourceGroups.
type GetResourceGroupsGroup ¶ added in v2.6.0
type GetResourceGroupsGroup struct { // The ID of the Alibaba Cloud account to which the resource group belongs. AccountId string `pulumi:"accountId"` // The time when the resource group was created. CreateDate string `pulumi:"createDate"` // The display name of the resource group. DisplayName string `pulumi:"displayName"` // The ID of the resource group. Id string `pulumi:"id"` // The unique identifier of the resource group. Name string `pulumi:"name"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`OK` and `PendingDelete`. Status string `pulumi:"status"` }
type GetResourceGroupsGroupArgs ¶ added in v2.6.0
type GetResourceGroupsGroupArgs struct { // The ID of the Alibaba Cloud account to which the resource group belongs. AccountId pulumi.StringInput `pulumi:"accountId"` // The time when the resource group was created. CreateDate pulumi.StringInput `pulumi:"createDate"` // The display name of the resource group. DisplayName pulumi.StringInput `pulumi:"displayName"` // The ID of the resource group. Id pulumi.StringInput `pulumi:"id"` // The unique identifier of the resource group. Name pulumi.StringInput `pulumi:"name"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`OK` and `PendingDelete`. Status pulumi.StringInput `pulumi:"status"` }
func (GetResourceGroupsGroupArgs) ElementType ¶ added in v2.6.0
func (GetResourceGroupsGroupArgs) ElementType() reflect.Type
func (GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutput ¶ added in v2.6.0
func (i GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput
func (GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutputWithContext ¶ added in v2.6.0
func (i GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutputWithContext(ctx context.Context) GetResourceGroupsGroupOutput
type GetResourceGroupsGroupArray ¶ added in v2.6.0
type GetResourceGroupsGroupArray []GetResourceGroupsGroupInput
func (GetResourceGroupsGroupArray) ElementType ¶ added in v2.6.0
func (GetResourceGroupsGroupArray) ElementType() reflect.Type
func (GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutput ¶ added in v2.6.0
func (i GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput
func (GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutputWithContext ¶ added in v2.6.0
func (i GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupArrayOutput
type GetResourceGroupsGroupArrayInput ¶ added in v2.6.0
type GetResourceGroupsGroupArrayInput interface { pulumi.Input ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput ToGetResourceGroupsGroupArrayOutputWithContext(context.Context) GetResourceGroupsGroupArrayOutput }
GetResourceGroupsGroupArrayInput is an input type that accepts GetResourceGroupsGroupArray and GetResourceGroupsGroupArrayOutput values. You can construct a concrete instance of `GetResourceGroupsGroupArrayInput` via:
GetResourceGroupsGroupArray{ GetResourceGroupsGroupArgs{...} }
type GetResourceGroupsGroupArrayOutput ¶ added in v2.6.0
type GetResourceGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupArrayOutput) ElementType ¶ added in v2.6.0
func (GetResourceGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupArrayOutput) Index ¶ added in v2.6.0
func (o GetResourceGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetResourceGroupsGroupOutput
func (GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutput ¶ added in v2.6.0
func (o GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput
func (GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutputWithContext ¶ added in v2.6.0
func (o GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupArrayOutput
type GetResourceGroupsGroupInput ¶ added in v2.6.0
type GetResourceGroupsGroupInput interface { pulumi.Input ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput ToGetResourceGroupsGroupOutputWithContext(context.Context) GetResourceGroupsGroupOutput }
GetResourceGroupsGroupInput is an input type that accepts GetResourceGroupsGroupArgs and GetResourceGroupsGroupOutput values. You can construct a concrete instance of `GetResourceGroupsGroupInput` via:
GetResourceGroupsGroupArgs{...}
type GetResourceGroupsGroupOutput ¶ added in v2.6.0
type GetResourceGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupOutput) AccountId ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) AccountId() pulumi.StringOutput
The ID of the Alibaba Cloud account to which the resource group belongs.
func (GetResourceGroupsGroupOutput) CreateDate ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) CreateDate() pulumi.StringOutput
The time when the resource group was created.
func (GetResourceGroupsGroupOutput) DisplayName ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) DisplayName() pulumi.StringOutput
The display name of the resource group.
func (GetResourceGroupsGroupOutput) ElementType ¶ added in v2.6.0
func (GetResourceGroupsGroupOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupOutput) Id ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) Id() pulumi.StringOutput
The ID of the resource group.
func (GetResourceGroupsGroupOutput) Name ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) Name() pulumi.StringOutput
The unique identifier of the resource group.
func (GetResourceGroupsGroupOutput) Status ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) Status() pulumi.StringOutput
The status of the resource group. Possible values:`Creating`,`Deleted`,`OK` and `PendingDelete`.
func (GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutput ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput
func (GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutputWithContext ¶ added in v2.6.0
func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutputWithContext(ctx context.Context) GetResourceGroupsGroupOutput
type GetResourceGroupsResult ¶ added in v2.6.0
type GetResourceGroupsResult struct { // A list of resource groups. Each element contains the following attributes: Groups []GetResourceGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of resource group IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of resource group names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`OK` and `PendingDelete`. Status *string `pulumi:"status"` }
A collection of values returned by getResourceGroups.
func GetResourceGroups ¶ added in v2.6.0
func GetResourceGroups(ctx *pulumi.Context, args *GetResourceGroupsArgs, opts ...pulumi.InvokeOption) (*GetResourceGroupsResult, error)
This data source provides resource groups of the current Alibaba Cloud user.
> **NOTE:** Available in v1.84.0+.
type GetRolesArgs ¶ added in v2.8.0
type GetRolesArgs struct { // A list of Resource Manager Role IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by role name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRoles.
type GetRolesResult ¶ added in v2.8.0
type GetRolesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of role IDs. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of role names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of roles. Each element contains the following attributes: Roles []GetRolesRole `pulumi:"roles"` }
A collection of values returned by getRoles.
func GetRoles ¶ added in v2.8.0
func GetRoles(ctx *pulumi.Context, args *GetRolesArgs, opts ...pulumi.InvokeOption) (*GetRolesResult, error)
This data source provides the Resource Manager Roles of the current Alibaba Cloud user.
> **NOTE:** Available in 1.86.0+.
type GetRolesRole ¶ added in v2.8.0
type GetRolesRole struct { Arn string `pulumi:"arn"` CreateDate string `pulumi:"createDate"` Description string `pulumi:"description"` // The ID of the role. // * `roleId`- The ID of the role. // * `roleName`- The name of the role. // * `arn`- The Alibaba Cloud Resource Name (ARN) of the RAM role. // * `createDate`- The time when the RAM role was created. // * `updateDate`- The time when the RAM role was updated. // * `description`- The description of the RAM role. // * `maxSessionDuration`- The maximum session duration of the RAM role. Id string `pulumi:"id"` MaxSessionDuration int `pulumi:"maxSessionDuration"` RoleId string `pulumi:"roleId"` RoleName string `pulumi:"roleName"` UpdateDate string `pulumi:"updateDate"` }
type GetRolesRoleArgs ¶ added in v2.8.0
type GetRolesRoleArgs struct { Arn pulumi.StringInput `pulumi:"arn"` CreateDate pulumi.StringInput `pulumi:"createDate"` Description pulumi.StringInput `pulumi:"description"` // The ID of the role. // * `roleId`- The ID of the role. // * `roleName`- The name of the role. // * `arn`- The Alibaba Cloud Resource Name (ARN) of the RAM role. // * `createDate`- The time when the RAM role was created. // * `updateDate`- The time when the RAM role was updated. // * `description`- The description of the RAM role. // * `maxSessionDuration`- The maximum session duration of the RAM role. Id pulumi.StringInput `pulumi:"id"` MaxSessionDuration pulumi.IntInput `pulumi:"maxSessionDuration"` RoleId pulumi.StringInput `pulumi:"roleId"` RoleName pulumi.StringInput `pulumi:"roleName"` UpdateDate pulumi.StringInput `pulumi:"updateDate"` }
func (GetRolesRoleArgs) ElementType ¶ added in v2.8.0
func (GetRolesRoleArgs) ElementType() reflect.Type
func (GetRolesRoleArgs) ToGetRolesRoleOutput ¶ added in v2.8.0
func (i GetRolesRoleArgs) ToGetRolesRoleOutput() GetRolesRoleOutput
func (GetRolesRoleArgs) ToGetRolesRoleOutputWithContext ¶ added in v2.8.0
func (i GetRolesRoleArgs) ToGetRolesRoleOutputWithContext(ctx context.Context) GetRolesRoleOutput
type GetRolesRoleArray ¶ added in v2.8.0
type GetRolesRoleArray []GetRolesRoleInput
func (GetRolesRoleArray) ElementType ¶ added in v2.8.0
func (GetRolesRoleArray) ElementType() reflect.Type
func (GetRolesRoleArray) ToGetRolesRoleArrayOutput ¶ added in v2.8.0
func (i GetRolesRoleArray) ToGetRolesRoleArrayOutput() GetRolesRoleArrayOutput
func (GetRolesRoleArray) ToGetRolesRoleArrayOutputWithContext ¶ added in v2.8.0
func (i GetRolesRoleArray) ToGetRolesRoleArrayOutputWithContext(ctx context.Context) GetRolesRoleArrayOutput
type GetRolesRoleArrayInput ¶ added in v2.8.0
type GetRolesRoleArrayInput interface { pulumi.Input ToGetRolesRoleArrayOutput() GetRolesRoleArrayOutput ToGetRolesRoleArrayOutputWithContext(context.Context) GetRolesRoleArrayOutput }
GetRolesRoleArrayInput is an input type that accepts GetRolesRoleArray and GetRolesRoleArrayOutput values. You can construct a concrete instance of `GetRolesRoleArrayInput` via:
GetRolesRoleArray{ GetRolesRoleArgs{...} }
type GetRolesRoleArrayOutput ¶ added in v2.8.0
type GetRolesRoleArrayOutput struct{ *pulumi.OutputState }
func (GetRolesRoleArrayOutput) ElementType ¶ added in v2.8.0
func (GetRolesRoleArrayOutput) ElementType() reflect.Type
func (GetRolesRoleArrayOutput) Index ¶ added in v2.8.0
func (o GetRolesRoleArrayOutput) Index(i pulumi.IntInput) GetRolesRoleOutput
func (GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutput ¶ added in v2.8.0
func (o GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutput() GetRolesRoleArrayOutput
func (GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutputWithContext ¶ added in v2.8.0
func (o GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutputWithContext(ctx context.Context) GetRolesRoleArrayOutput
type GetRolesRoleInput ¶ added in v2.8.0
type GetRolesRoleInput interface { pulumi.Input ToGetRolesRoleOutput() GetRolesRoleOutput ToGetRolesRoleOutputWithContext(context.Context) GetRolesRoleOutput }
GetRolesRoleInput is an input type that accepts GetRolesRoleArgs and GetRolesRoleOutput values. You can construct a concrete instance of `GetRolesRoleInput` via:
GetRolesRoleArgs{...}
type GetRolesRoleOutput ¶ added in v2.8.0
type GetRolesRoleOutput struct{ *pulumi.OutputState }
func (GetRolesRoleOutput) Arn ¶ added in v2.8.0
func (o GetRolesRoleOutput) Arn() pulumi.StringOutput
func (GetRolesRoleOutput) CreateDate ¶ added in v2.8.0
func (o GetRolesRoleOutput) CreateDate() pulumi.StringOutput
func (GetRolesRoleOutput) Description ¶ added in v2.8.0
func (o GetRolesRoleOutput) Description() pulumi.StringOutput
func (GetRolesRoleOutput) ElementType ¶ added in v2.8.0
func (GetRolesRoleOutput) ElementType() reflect.Type
func (GetRolesRoleOutput) Id ¶ added in v2.8.0
func (o GetRolesRoleOutput) Id() pulumi.StringOutput
The ID of the role. * `roleId`- The ID of the role. * `roleName`- The name of the role. * `arn`- The Alibaba Cloud Resource Name (ARN) of the RAM role. * `createDate`- The time when the RAM role was created. * `updateDate`- The time when the RAM role was updated. * `description`- The description of the RAM role. * `maxSessionDuration`- The maximum session duration of the RAM role.
func (GetRolesRoleOutput) MaxSessionDuration ¶ added in v2.8.0
func (o GetRolesRoleOutput) MaxSessionDuration() pulumi.IntOutput
func (GetRolesRoleOutput) RoleId ¶ added in v2.8.0
func (o GetRolesRoleOutput) RoleId() pulumi.StringOutput
func (GetRolesRoleOutput) RoleName ¶ added in v2.8.0
func (o GetRolesRoleOutput) RoleName() pulumi.StringOutput
func (GetRolesRoleOutput) ToGetRolesRoleOutput ¶ added in v2.8.0
func (o GetRolesRoleOutput) ToGetRolesRoleOutput() GetRolesRoleOutput
func (GetRolesRoleOutput) ToGetRolesRoleOutputWithContext ¶ added in v2.8.0
func (o GetRolesRoleOutput) ToGetRolesRoleOutputWithContext(ctx context.Context) GetRolesRoleOutput
func (GetRolesRoleOutput) UpdateDate ¶ added in v2.8.0
func (o GetRolesRoleOutput) UpdateDate() pulumi.StringOutput
type Handshake ¶
type Handshake struct { pulumi.CustomResourceState // The expiration time of the invitation. ExpireTime pulumi.StringOutput `pulumi:"expireTime"` // Resource account master account ID. MasterAccountId pulumi.StringOutput `pulumi:"masterAccountId"` // The name of the main account of the resource directory. MasterAccountName pulumi.StringOutput `pulumi:"masterAccountName"` // The modification time of the invitation. ModifyTime pulumi.StringOutput `pulumi:"modifyTime"` // Remarks. The maximum length is 1024 characters. Note pulumi.StringPtrOutput `pulumi:"note"` // Resource directory ID. ResourceDirectoryId pulumi.StringOutput `pulumi:"resourceDirectoryId"` // Invitation status. Valid values: `Pending` waiting for confirmation, `Accepted`, `Cancelled`, `Declined`, `Expired`. Status pulumi.StringOutput `pulumi:"status"` // Invited account ID or login email. TargetEntity pulumi.StringOutput `pulumi:"targetEntity"` // Type of account being invited. Valid values: `Account`, `Email`. TargetType pulumi.StringOutput `pulumi:"targetType"` }
Provides a Resource Manager handshake resource. You can invite accounts to join a resource directory for unified management. For information about Resource Manager handshake and how to use it, see [What is Resource Manager handshake](https://www.alibabacloud.com/help/en/doc-detail/135287.htm).
> **NOTE:** Available in v1.82.0+.
func GetHandshake ¶
func GetHandshake(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HandshakeState, opts ...pulumi.ResourceOption) (*Handshake, error)
GetHandshake gets an existing Handshake resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewHandshake ¶
func NewHandshake(ctx *pulumi.Context, name string, args *HandshakeArgs, opts ...pulumi.ResourceOption) (*Handshake, error)
NewHandshake registers a new resource with the given unique name, arguments, and options.
type HandshakeArgs ¶
type HandshakeArgs struct { // Remarks. The maximum length is 1024 characters. Note pulumi.StringPtrInput // Invited account ID or login email. TargetEntity pulumi.StringInput // Type of account being invited. Valid values: `Account`, `Email`. TargetType pulumi.StringInput }
The set of arguments for constructing a Handshake resource.
func (HandshakeArgs) ElementType ¶
func (HandshakeArgs) ElementType() reflect.Type
type HandshakeState ¶
type HandshakeState struct { // The expiration time of the invitation. ExpireTime pulumi.StringPtrInput // Resource account master account ID. MasterAccountId pulumi.StringPtrInput // The name of the main account of the resource directory. MasterAccountName pulumi.StringPtrInput // The modification time of the invitation. ModifyTime pulumi.StringPtrInput // Remarks. The maximum length is 1024 characters. Note pulumi.StringPtrInput // Resource directory ID. ResourceDirectoryId pulumi.StringPtrInput // Invitation status. Valid values: `Pending` waiting for confirmation, `Accepted`, `Cancelled`, `Declined`, `Expired`. Status pulumi.StringPtrInput // Invited account ID or login email. TargetEntity pulumi.StringPtrInput // Type of account being invited. Valid values: `Account`, `Email`. TargetType pulumi.StringPtrInput }
func (HandshakeState) ElementType ¶
func (HandshakeState) ElementType() reflect.Type
type Policy ¶ added in v2.5.0
type Policy struct { pulumi.CustomResourceState // The time when the policy was created. CreateDate pulumi.StringOutput `pulumi:"createDate"` // The version of the policy. Default to v1. // // Deprecated: Field 'default_version' has been deprecated from provider version 1.90.0 DefaultVersion pulumi.StringOutput `pulumi:"defaultVersion"` // The description of the policy. The description must be 1 to 1,024 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // The content of the policy. The content must be 1 to 2,048 characters in length. PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"` // The name of the policy. name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringOutput `pulumi:"policyName"` // The type of the policy. Valid values: `Custom`, `System`. PolicyType pulumi.StringOutput `pulumi:"policyType"` }
Provides a Resource Manager Policy resource. For information about Resource Manager Policy and how to use it, see [What is Resource Manager Policy](https://www.alibabacloud.com/help/en/doc-detail/93732.htm).
> **NOTE:** Available in v1.83.0+.
func GetPolicy ¶ added in v2.5.0
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicy ¶ added in v2.5.0
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
type PolicyArgs ¶ added in v2.5.0
type PolicyArgs struct { // The version of the policy. Default to v1. // // Deprecated: Field 'default_version' has been deprecated from provider version 1.90.0 DefaultVersion pulumi.StringPtrInput // The description of the policy. The description must be 1 to 1,024 characters in length. Description pulumi.StringPtrInput // The content of the policy. The content must be 1 to 2,048 characters in length. PolicyDocument pulumi.StringInput // The name of the policy. name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶ added in v2.5.0
func (PolicyArgs) ElementType() reflect.Type
type PolicyState ¶ added in v2.5.0
type PolicyState struct { // The time when the policy was created. CreateDate pulumi.StringPtrInput // The version of the policy. Default to v1. // // Deprecated: Field 'default_version' has been deprecated from provider version 1.90.0 DefaultVersion pulumi.StringPtrInput // The description of the policy. The description must be 1 to 1,024 characters in length. Description pulumi.StringPtrInput // The content of the policy. The content must be 1 to 2,048 characters in length. PolicyDocument pulumi.StringPtrInput // The name of the policy. name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringPtrInput // The type of the policy. Valid values: `Custom`, `System`. PolicyType pulumi.StringPtrInput }
func (PolicyState) ElementType ¶ added in v2.5.0
func (PolicyState) ElementType() reflect.Type
type PolicyVersion ¶ added in v2.6.0
type PolicyVersion struct { pulumi.CustomResourceState // The time when the policy version was created. CreateDate pulumi.StringOutput `pulumi:"createDate"` // Specifies whether to set the policy version as the default version. Default to `false`. // // Deprecated: Field 'is_default_version' has been deprecated from provider version 1.90.0 IsDefaultVersion pulumi.BoolPtrOutput `pulumi:"isDefaultVersion"` // The content of the policy. The content must be 1 to 2,048 characters in length. PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"` // The name of the policy. Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringOutput `pulumi:"policyName"` // The ID of the policy version. VersionId pulumi.StringOutput `pulumi:"versionId"` }
func GetPolicyVersion ¶ added in v2.6.0
func GetPolicyVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyVersionState, opts ...pulumi.ResourceOption) (*PolicyVersion, error)
GetPolicyVersion gets an existing PolicyVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicyVersion ¶ added in v2.6.0
func NewPolicyVersion(ctx *pulumi.Context, name string, args *PolicyVersionArgs, opts ...pulumi.ResourceOption) (*PolicyVersion, error)
NewPolicyVersion registers a new resource with the given unique name, arguments, and options.
type PolicyVersionArgs ¶ added in v2.6.0
type PolicyVersionArgs struct { // Specifies whether to set the policy version as the default version. Default to `false`. // // Deprecated: Field 'is_default_version' has been deprecated from provider version 1.90.0 IsDefaultVersion pulumi.BoolPtrInput // The content of the policy. The content must be 1 to 2,048 characters in length. PolicyDocument pulumi.StringInput // The name of the policy. Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringInput }
The set of arguments for constructing a PolicyVersion resource.
func (PolicyVersionArgs) ElementType ¶ added in v2.6.0
func (PolicyVersionArgs) ElementType() reflect.Type
type PolicyVersionState ¶ added in v2.6.0
type PolicyVersionState struct { // The time when the policy version was created. CreateDate pulumi.StringPtrInput // Specifies whether to set the policy version as the default version. Default to `false`. // // Deprecated: Field 'is_default_version' has been deprecated from provider version 1.90.0 IsDefaultVersion pulumi.BoolPtrInput // The content of the policy. The content must be 1 to 2,048 characters in length. PolicyDocument pulumi.StringPtrInput // The name of the policy. Name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringPtrInput // The ID of the policy version. VersionId pulumi.StringPtrInput }
func (PolicyVersionState) ElementType ¶ added in v2.6.0
func (PolicyVersionState) ElementType() reflect.Type
type ResourceDirectory ¶ added in v2.6.0
type ResourceDirectory struct { pulumi.CustomResourceState // The ID of the master account. MasterAccountId pulumi.StringOutput `pulumi:"masterAccountId"` // The name of the master account. MasterAccountName pulumi.StringOutput `pulumi:"masterAccountName"` // The ID of the root folder. RootFolderId pulumi.StringOutput `pulumi:"rootFolderId"` }
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](https://www.alibabacloud.com/help/en/doc-detail/94475.htm).
> **NOTE:** Available in 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.
func GetResourceDirectory ¶ added in v2.6.0
func GetResourceDirectory(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceDirectoryState, opts ...pulumi.ResourceOption) (*ResourceDirectory, error)
GetResourceDirectory gets an existing ResourceDirectory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceDirectory ¶ added in v2.6.0
func NewResourceDirectory(ctx *pulumi.Context, name string, args *ResourceDirectoryArgs, opts ...pulumi.ResourceOption) (*ResourceDirectory, error)
NewResourceDirectory registers a new resource with the given unique name, arguments, and options.
type ResourceDirectoryArgs ¶ added in v2.6.0
type ResourceDirectoryArgs struct { }
The set of arguments for constructing a ResourceDirectory resource.
func (ResourceDirectoryArgs) ElementType ¶ added in v2.6.0
func (ResourceDirectoryArgs) ElementType() reflect.Type
type ResourceDirectoryState ¶ added in v2.6.0
type ResourceDirectoryState struct { // The ID of the master account. MasterAccountId pulumi.StringPtrInput // The name of the master account. MasterAccountName pulumi.StringPtrInput // The ID of the root folder. RootFolderId pulumi.StringPtrInput }
func (ResourceDirectoryState) ElementType ¶ added in v2.6.0
func (ResourceDirectoryState) ElementType() reflect.Type
type ResourceGroup ¶
type ResourceGroup struct { pulumi.CustomResourceState // The ID of the Alibaba Cloud account to which the resource group belongs. AccountId pulumi.StringOutput `pulumi:"accountId"` // The time when the resource group was created. // * `regionStatuses` -The status of the resource group in all regions. // - `regionId` - The region ID. // - `status` - The status of the regional resource group. CreateDate pulumi.StringOutput `pulumi:"createDate"` // The display name of the resource group. The name must be 1 to 30 characters in length and can contain letters, digits, periods (.), at signs (@), and hyphens (-). DisplayName pulumi.StringOutput `pulumi:"displayName"` // The unique identifier of the resource group.The identifier must be 3 to 12 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). The identifier must start with a letter. Name pulumi.StringOutput `pulumi:"name"` RegionStatuses ResourceGroupRegionStatusArrayOutput `pulumi:"regionStatuses"` // The status of the resource group. Status pulumi.StringOutput `pulumi:"status"` }
Provides a Resource Manager Resource Group resource. If you need to group cloud resources according to business departments, projects, and other dimensions, you can create resource groups. For information about Resource Manager Resoource Group and how to use it, see [What is Resource Manager Resource Group](https://www.alibabacloud.com/help/en/doc-detail/94485.htm)
> **NOTE:** Available in v1.82.0+.
func GetResourceGroup ¶
func GetResourceGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceGroupState, opts ...pulumi.ResourceOption) (*ResourceGroup, error)
GetResourceGroup gets an existing ResourceGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourceGroup ¶
func NewResourceGroup(ctx *pulumi.Context, name string, args *ResourceGroupArgs, opts ...pulumi.ResourceOption) (*ResourceGroup, error)
NewResourceGroup registers a new resource with the given unique name, arguments, and options.
type ResourceGroupArgs ¶
type ResourceGroupArgs struct { // The display name of the resource group. The name must be 1 to 30 characters in length and can contain letters, digits, periods (.), at signs (@), and hyphens (-). DisplayName pulumi.StringInput // The unique identifier of the resource group.The identifier must be 3 to 12 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). The identifier must start with a letter. Name pulumi.StringPtrInput }
The set of arguments for constructing a ResourceGroup resource.
func (ResourceGroupArgs) ElementType ¶
func (ResourceGroupArgs) ElementType() reflect.Type
type ResourceGroupRegionStatusArgs ¶
type ResourceGroupRegionStatusArgs struct { RegionId pulumi.StringPtrInput `pulumi:"regionId"` // The status of the resource group. Status pulumi.StringPtrInput `pulumi:"status"` }
func (ResourceGroupRegionStatusArgs) ElementType ¶
func (ResourceGroupRegionStatusArgs) ElementType() reflect.Type
func (ResourceGroupRegionStatusArgs) ToResourceGroupRegionStatusOutput ¶
func (i ResourceGroupRegionStatusArgs) ToResourceGroupRegionStatusOutput() ResourceGroupRegionStatusOutput
func (ResourceGroupRegionStatusArgs) ToResourceGroupRegionStatusOutputWithContext ¶
func (i ResourceGroupRegionStatusArgs) ToResourceGroupRegionStatusOutputWithContext(ctx context.Context) ResourceGroupRegionStatusOutput
type ResourceGroupRegionStatusArray ¶
type ResourceGroupRegionStatusArray []ResourceGroupRegionStatusInput
func (ResourceGroupRegionStatusArray) ElementType ¶
func (ResourceGroupRegionStatusArray) ElementType() reflect.Type
func (ResourceGroupRegionStatusArray) ToResourceGroupRegionStatusArrayOutput ¶
func (i ResourceGroupRegionStatusArray) ToResourceGroupRegionStatusArrayOutput() ResourceGroupRegionStatusArrayOutput
func (ResourceGroupRegionStatusArray) ToResourceGroupRegionStatusArrayOutputWithContext ¶
func (i ResourceGroupRegionStatusArray) ToResourceGroupRegionStatusArrayOutputWithContext(ctx context.Context) ResourceGroupRegionStatusArrayOutput
type ResourceGroupRegionStatusArrayInput ¶
type ResourceGroupRegionStatusArrayInput interface { pulumi.Input ToResourceGroupRegionStatusArrayOutput() ResourceGroupRegionStatusArrayOutput ToResourceGroupRegionStatusArrayOutputWithContext(context.Context) ResourceGroupRegionStatusArrayOutput }
ResourceGroupRegionStatusArrayInput is an input type that accepts ResourceGroupRegionStatusArray and ResourceGroupRegionStatusArrayOutput values. You can construct a concrete instance of `ResourceGroupRegionStatusArrayInput` via:
ResourceGroupRegionStatusArray{ ResourceGroupRegionStatusArgs{...} }
type ResourceGroupRegionStatusArrayOutput ¶
type ResourceGroupRegionStatusArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupRegionStatusArrayOutput) ElementType ¶
func (ResourceGroupRegionStatusArrayOutput) ElementType() reflect.Type
func (ResourceGroupRegionStatusArrayOutput) Index ¶
func (o ResourceGroupRegionStatusArrayOutput) Index(i pulumi.IntInput) ResourceGroupRegionStatusOutput
func (ResourceGroupRegionStatusArrayOutput) ToResourceGroupRegionStatusArrayOutput ¶
func (o ResourceGroupRegionStatusArrayOutput) ToResourceGroupRegionStatusArrayOutput() ResourceGroupRegionStatusArrayOutput
func (ResourceGroupRegionStatusArrayOutput) ToResourceGroupRegionStatusArrayOutputWithContext ¶
func (o ResourceGroupRegionStatusArrayOutput) ToResourceGroupRegionStatusArrayOutputWithContext(ctx context.Context) ResourceGroupRegionStatusArrayOutput
type ResourceGroupRegionStatusInput ¶
type ResourceGroupRegionStatusInput interface { pulumi.Input ToResourceGroupRegionStatusOutput() ResourceGroupRegionStatusOutput ToResourceGroupRegionStatusOutputWithContext(context.Context) ResourceGroupRegionStatusOutput }
ResourceGroupRegionStatusInput is an input type that accepts ResourceGroupRegionStatusArgs and ResourceGroupRegionStatusOutput values. You can construct a concrete instance of `ResourceGroupRegionStatusInput` via:
ResourceGroupRegionStatusArgs{...}
type ResourceGroupRegionStatusOutput ¶
type ResourceGroupRegionStatusOutput struct{ *pulumi.OutputState }
func (ResourceGroupRegionStatusOutput) ElementType ¶
func (ResourceGroupRegionStatusOutput) ElementType() reflect.Type
func (ResourceGroupRegionStatusOutput) RegionId ¶
func (o ResourceGroupRegionStatusOutput) RegionId() pulumi.StringPtrOutput
func (ResourceGroupRegionStatusOutput) Status ¶
func (o ResourceGroupRegionStatusOutput) Status() pulumi.StringPtrOutput
The status of the resource group.
func (ResourceGroupRegionStatusOutput) ToResourceGroupRegionStatusOutput ¶
func (o ResourceGroupRegionStatusOutput) ToResourceGroupRegionStatusOutput() ResourceGroupRegionStatusOutput
func (ResourceGroupRegionStatusOutput) ToResourceGroupRegionStatusOutputWithContext ¶
func (o ResourceGroupRegionStatusOutput) ToResourceGroupRegionStatusOutputWithContext(ctx context.Context) ResourceGroupRegionStatusOutput
type ResourceGroupState ¶
type ResourceGroupState struct { // The ID of the Alibaba Cloud account to which the resource group belongs. AccountId pulumi.StringPtrInput // The time when the resource group was created. // * `regionStatuses` -The status of the resource group in all regions. // - `regionId` - The region ID. // - `status` - The status of the regional resource group. CreateDate pulumi.StringPtrInput // The display name of the resource group. The name must be 1 to 30 characters in length and can contain letters, digits, periods (.), at signs (@), and hyphens (-). DisplayName pulumi.StringPtrInput // The unique identifier of the resource group.The identifier must be 3 to 12 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). The identifier must start with a letter. Name pulumi.StringPtrInput RegionStatuses ResourceGroupRegionStatusArrayInput // The status of the resource group. Status pulumi.StringPtrInput }
func (ResourceGroupState) ElementType ¶
func (ResourceGroupState) ElementType() reflect.Type
type Role ¶
type Role struct { pulumi.CustomResourceState // The resource descriptor of the role. Arn pulumi.StringOutput `pulumi:"arn"` // The content of the permissions strategy that plays a role. AssumeRolePolicyDocument pulumi.StringOutput `pulumi:"assumeRolePolicyDocument"` // Role creation time. CreateDate pulumi.StringOutput `pulumi:"createDate"` // The description of the Resource Manager role. Description pulumi.StringPtrOutput `pulumi:"description"` // Role maximum session time. Valid values: [3600-43200]. Default to `3600`. MaxSessionDuration pulumi.IntPtrOutput `pulumi:"maxSessionDuration"` RoleId pulumi.StringOutput `pulumi:"roleId"` // Role Name. The length is 1 ~ 64 characters, which can include English letters, numbers, dots "." and dashes "-". RoleName pulumi.StringOutput `pulumi:"roleName"` // Role update time. UpdateDate pulumi.StringOutput `pulumi:"updateDate"` }
Provides a Resource Manager role resource. Members are resource containers in the resource directory, which can physically isolate resources to form an independent resource grouping unit. You can create members in the resource folder to manage them in a unified manner. For information about Resource Manager role and how to use it, see [What is Resource Manager role](https://www.alibabacloud.com/help/en/doc-detail/111231.htm).
> **NOTE:** Available in v1.82.0+.
func GetRole ¶
func GetRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoleState, opts ...pulumi.ResourceOption) (*Role, error)
GetRole gets an existing Role resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type RoleArgs ¶
type RoleArgs struct { // The content of the permissions strategy that plays a role. AssumeRolePolicyDocument pulumi.StringInput // The description of the Resource Manager role. Description pulumi.StringPtrInput // Role maximum session time. Valid values: [3600-43200]. Default to `3600`. MaxSessionDuration pulumi.IntPtrInput // Role Name. The length is 1 ~ 64 characters, which can include English letters, numbers, dots "." and dashes "-". RoleName pulumi.StringInput }
The set of arguments for constructing a Role resource.
func (RoleArgs) ElementType ¶
type RoleState ¶
type RoleState struct { // The resource descriptor of the role. Arn pulumi.StringPtrInput // The content of the permissions strategy that plays a role. AssumeRolePolicyDocument pulumi.StringPtrInput // Role creation time. CreateDate pulumi.StringPtrInput // The description of the Resource Manager role. Description pulumi.StringPtrInput // Role maximum session time. Valid values: [3600-43200]. Default to `3600`. MaxSessionDuration pulumi.IntPtrInput RoleId pulumi.StringPtrInput // Role Name. The length is 1 ~ 64 characters, which can include English letters, numbers, dots "." and dashes "-". RoleName pulumi.StringPtrInput // Role update time. UpdateDate pulumi.StringPtrInput }