Documentation
¶
Index ¶
- type Account
- func (*Account) ElementType() reflect.Type
- func (i *Account) ToAccountOutput() AccountOutput
- func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (i *Account) ToAccountPtrOutput() AccountPtrOutput
- func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- func (AccountOutput) ElementType() reflect.Type
- func (o AccountOutput) ToAccountOutput() AccountOutput
- func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput
- func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
- type AccountPtrInput
- type AccountPtrOutput
- type AccountState
- type ControlPolicy
- func (*ControlPolicy) ElementType() reflect.Type
- func (i *ControlPolicy) ToControlPolicyOutput() ControlPolicyOutput
- func (i *ControlPolicy) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
- func (i *ControlPolicy) ToControlPolicyPtrOutput() ControlPolicyPtrOutput
- func (i *ControlPolicy) ToControlPolicyPtrOutputWithContext(ctx context.Context) ControlPolicyPtrOutput
- type ControlPolicyArgs
- type ControlPolicyArray
- type ControlPolicyArrayInput
- type ControlPolicyArrayOutput
- func (ControlPolicyArrayOutput) ElementType() reflect.Type
- func (o ControlPolicyArrayOutput) Index(i pulumi.IntInput) ControlPolicyOutput
- func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutput() ControlPolicyArrayOutput
- func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput
- type ControlPolicyAttachment
- func (*ControlPolicyAttachment) ElementType() reflect.Type
- func (i *ControlPolicyAttachment) ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput
- func (i *ControlPolicyAttachment) ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput
- func (i *ControlPolicyAttachment) ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput
- func (i *ControlPolicyAttachment) ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput
- type ControlPolicyAttachmentArgs
- type ControlPolicyAttachmentArray
- func (ControlPolicyAttachmentArray) ElementType() reflect.Type
- func (i ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput
- func (i ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutputWithContext(ctx context.Context) ControlPolicyAttachmentArrayOutput
- type ControlPolicyAttachmentArrayInput
- type ControlPolicyAttachmentArrayOutput
- func (ControlPolicyAttachmentArrayOutput) ElementType() reflect.Type
- func (o ControlPolicyAttachmentArrayOutput) Index(i pulumi.IntInput) ControlPolicyAttachmentOutput
- func (o ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput
- func (o ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutputWithContext(ctx context.Context) ControlPolicyAttachmentArrayOutput
- type ControlPolicyAttachmentInput
- type ControlPolicyAttachmentMap
- func (ControlPolicyAttachmentMap) ElementType() reflect.Type
- func (i ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput
- func (i ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutputWithContext(ctx context.Context) ControlPolicyAttachmentMapOutput
- type ControlPolicyAttachmentMapInput
- type ControlPolicyAttachmentMapOutput
- func (ControlPolicyAttachmentMapOutput) ElementType() reflect.Type
- func (o ControlPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) ControlPolicyAttachmentOutput
- func (o ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput
- func (o ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutputWithContext(ctx context.Context) ControlPolicyAttachmentMapOutput
- type ControlPolicyAttachmentOutput
- func (ControlPolicyAttachmentOutput) ElementType() reflect.Type
- func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput
- func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput
- func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput
- func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput
- type ControlPolicyAttachmentPtrInput
- type ControlPolicyAttachmentPtrOutput
- func (ControlPolicyAttachmentPtrOutput) ElementType() reflect.Type
- func (o ControlPolicyAttachmentPtrOutput) ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput
- func (o ControlPolicyAttachmentPtrOutput) ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput
- type ControlPolicyAttachmentState
- type ControlPolicyInput
- type ControlPolicyMap
- type ControlPolicyMapInput
- type ControlPolicyMapOutput
- func (ControlPolicyMapOutput) ElementType() reflect.Type
- func (o ControlPolicyMapOutput) MapIndex(k pulumi.StringInput) ControlPolicyOutput
- func (o ControlPolicyMapOutput) ToControlPolicyMapOutput() ControlPolicyMapOutput
- func (o ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput
- type ControlPolicyOutput
- func (ControlPolicyOutput) ElementType() reflect.Type
- func (o ControlPolicyOutput) ToControlPolicyOutput() ControlPolicyOutput
- func (o ControlPolicyOutput) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
- func (o ControlPolicyOutput) ToControlPolicyPtrOutput() ControlPolicyPtrOutput
- func (o ControlPolicyOutput) ToControlPolicyPtrOutputWithContext(ctx context.Context) ControlPolicyPtrOutput
- type ControlPolicyPtrInput
- type ControlPolicyPtrOutput
- type ControlPolicyState
- type Folder
- func (*Folder) ElementType() reflect.Type
- func (i *Folder) ToFolderOutput() FolderOutput
- func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput
- func (i *Folder) ToFolderPtrOutput() FolderPtrOutput
- func (i *Folder) ToFolderPtrOutputWithContext(ctx context.Context) FolderPtrOutput
- type FolderArgs
- type FolderArray
- type FolderArrayInput
- type FolderArrayOutput
- type FolderInput
- type FolderMap
- type FolderMapInput
- type FolderMapOutput
- type FolderOutput
- func (FolderOutput) ElementType() reflect.Type
- func (o FolderOutput) ToFolderOutput() FolderOutput
- func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutput
- func (o FolderOutput) ToFolderPtrOutput() FolderPtrOutput
- func (o FolderOutput) ToFolderPtrOutputWithContext(ctx context.Context) FolderPtrOutput
- type FolderPtrInput
- type FolderPtrOutput
- 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 GetControlPoliciesArgs
- type GetControlPoliciesPolicy
- type GetControlPoliciesPolicyArgs
- func (GetControlPoliciesPolicyArgs) ElementType() reflect.Type
- func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
- func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput
- type GetControlPoliciesPolicyArray
- func (GetControlPoliciesPolicyArray) ElementType() reflect.Type
- func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
- func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput
- type GetControlPoliciesPolicyArrayInput
- type GetControlPoliciesPolicyArrayOutput
- func (GetControlPoliciesPolicyArrayOutput) ElementType() reflect.Type
- func (o GetControlPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetControlPoliciesPolicyOutput
- func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
- func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput
- type GetControlPoliciesPolicyInput
- type GetControlPoliciesPolicyOutput
- func (o GetControlPoliciesPolicyOutput) AttachmentCount() pulumi.IntOutput
- func (o GetControlPoliciesPolicyOutput) ControlPolicyName() pulumi.StringOutput
- func (o GetControlPoliciesPolicyOutput) Description() pulumi.StringOutput
- func (o GetControlPoliciesPolicyOutput) EffectScope() pulumi.StringOutput
- func (GetControlPoliciesPolicyOutput) ElementType() reflect.Type
- func (o GetControlPoliciesPolicyOutput) Id() pulumi.StringOutput
- func (o GetControlPoliciesPolicyOutput) PolicyDocument() pulumi.StringOutput
- func (o GetControlPoliciesPolicyOutput) PolicyId() pulumi.StringOutput
- func (o GetControlPoliciesPolicyOutput) PolicyType() pulumi.StringOutput
- func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
- func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput
- type GetControlPoliciesResult
- type GetControlPolicyAttachmentsArgs
- type GetControlPolicyAttachmentsAttachment
- type GetControlPolicyAttachmentsAttachmentArgs
- func (GetControlPolicyAttachmentsAttachmentArgs) ElementType() reflect.Type
- func (i GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput
- func (i GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentOutput
- type GetControlPolicyAttachmentsAttachmentArray
- func (GetControlPolicyAttachmentsAttachmentArray) ElementType() reflect.Type
- func (i GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput
- func (i GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput
- type GetControlPolicyAttachmentsAttachmentArrayInput
- type GetControlPolicyAttachmentsAttachmentArrayOutput
- func (GetControlPolicyAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
- func (o GetControlPolicyAttachmentsAttachmentArrayOutput) Index(i pulumi.IntInput) GetControlPolicyAttachmentsAttachmentOutput
- func (o GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput
- func (o GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput
- type GetControlPolicyAttachmentsAttachmentInput
- type GetControlPolicyAttachmentsAttachmentOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) AttachDate() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) Description() pulumi.StringOutput
- func (GetControlPolicyAttachmentsAttachmentOutput) ElementType() reflect.Type
- func (o GetControlPolicyAttachmentsAttachmentOutput) Id() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyId() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyName() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyType() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput
- func (o GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentOutput
- type GetControlPolicyAttachmentsResult
- 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) ParentFolderId() 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) InvitedAccountRealName() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) MasterAccountId() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) MasterAccountName() pulumi.StringOutput
- func (o GetHandshakesHandshakeOutput) MasterAccountRealName() 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) 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 GetPolicyAttachmentsArgs
- type GetPolicyAttachmentsAttachment
- type GetPolicyAttachmentsAttachmentArgs
- func (GetPolicyAttachmentsAttachmentArgs) ElementType() reflect.Type
- func (i GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput
- func (i GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentOutput
- type GetPolicyAttachmentsAttachmentArray
- func (GetPolicyAttachmentsAttachmentArray) ElementType() reflect.Type
- func (i GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput
- func (i GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentArrayOutput
- type GetPolicyAttachmentsAttachmentArrayInput
- type GetPolicyAttachmentsAttachmentArrayOutput
- func (GetPolicyAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
- func (o GetPolicyAttachmentsAttachmentArrayOutput) Index(i pulumi.IntInput) GetPolicyAttachmentsAttachmentOutput
- func (o GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput
- func (o GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentArrayOutput
- type GetPolicyAttachmentsAttachmentInput
- type GetPolicyAttachmentsAttachmentOutput
- func (o GetPolicyAttachmentsAttachmentOutput) AttachDate() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) Description() pulumi.StringOutput
- func (GetPolicyAttachmentsAttachmentOutput) ElementType() reflect.Type
- func (o GetPolicyAttachmentsAttachmentOutput) Id() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) PolicyName() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) PolicyType() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) PrincipalName() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) PrincipalType() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput
- func (o GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentOutput
- type GetPolicyAttachmentsResult
- 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 (GetPolicyVersionsVersionOutput) ElementType() reflect.Type
- func (o GetPolicyVersionsVersionOutput) Id() pulumi.StringOutput
- func (o GetPolicyVersionsVersionOutput) IsDefaultVersion() pulumi.BoolOutput
- func (o GetPolicyVersionsVersionOutput) PolicyDocument() pulumi.StringOutput
- 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) Status() 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) DisplayName() pulumi.StringOutput
- func (GetResourceGroupsGroupOutput) ElementType() reflect.Type
- func (o GetResourceGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) Name() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) RegionStatuses() GetResourceGroupsGroupRegionStatusArrayOutput
- func (o GetResourceGroupsGroupOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) Status() pulumi.StringOutput
- func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput
- func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutputWithContext(ctx context.Context) GetResourceGroupsGroupOutput
- type GetResourceGroupsGroupRegionStatus
- type GetResourceGroupsGroupRegionStatusArgs
- func (GetResourceGroupsGroupRegionStatusArgs) ElementType() reflect.Type
- func (i GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput
- func (i GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusOutput
- type GetResourceGroupsGroupRegionStatusArray
- func (GetResourceGroupsGroupRegionStatusArray) ElementType() reflect.Type
- func (i GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput
- func (i GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusArrayOutput
- type GetResourceGroupsGroupRegionStatusArrayInput
- type GetResourceGroupsGroupRegionStatusArrayOutput
- func (GetResourceGroupsGroupRegionStatusArrayOutput) ElementType() reflect.Type
- func (o GetResourceGroupsGroupRegionStatusArrayOutput) Index(i pulumi.IntInput) GetResourceGroupsGroupRegionStatusOutput
- func (o GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput
- func (o GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusArrayOutput
- type GetResourceGroupsGroupRegionStatusInput
- type GetResourceGroupsGroupRegionStatusOutput
- func (GetResourceGroupsGroupRegionStatusOutput) ElementType() reflect.Type
- func (o GetResourceGroupsGroupRegionStatusOutput) RegionId() pulumi.StringOutput
- func (o GetResourceGroupsGroupRegionStatusOutput) Status() pulumi.StringOutput
- func (o GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput
- func (o GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusOutput
- type GetResourceGroupsResult
- type GetResourceSharesArgs
- type GetResourceSharesResult
- type GetResourceSharesShare
- type GetResourceSharesShareArgs
- type GetResourceSharesShareArray
- func (GetResourceSharesShareArray) ElementType() reflect.Type
- func (i GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutput() GetResourceSharesShareArrayOutput
- func (i GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutputWithContext(ctx context.Context) GetResourceSharesShareArrayOutput
- type GetResourceSharesShareArrayInput
- type GetResourceSharesShareArrayOutput
- func (GetResourceSharesShareArrayOutput) ElementType() reflect.Type
- func (o GetResourceSharesShareArrayOutput) Index(i pulumi.IntInput) GetResourceSharesShareOutput
- func (o GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutput() GetResourceSharesShareArrayOutput
- func (o GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutputWithContext(ctx context.Context) GetResourceSharesShareArrayOutput
- type GetResourceSharesShareInput
- type GetResourceSharesShareOutput
- func (GetResourceSharesShareOutput) ElementType() reflect.Type
- func (o GetResourceSharesShareOutput) Id() pulumi.StringOutput
- func (o GetResourceSharesShareOutput) ResourceShareId() pulumi.StringOutput
- func (o GetResourceSharesShareOutput) ResourceShareName() pulumi.StringOutput
- func (o GetResourceSharesShareOutput) ResourceShareOwner() pulumi.StringOutput
- func (o GetResourceSharesShareOutput) Status() pulumi.StringOutput
- func (o GetResourceSharesShareOutput) ToGetResourceSharesShareOutput() GetResourceSharesShareOutput
- func (o GetResourceSharesShareOutput) ToGetResourceSharesShareOutputWithContext(ctx context.Context) GetResourceSharesShareOutput
- 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) AssumeRolePolicyDocument() 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 GetSharedResourcesArgs
- type GetSharedResourcesResource
- type GetSharedResourcesResourceArgs
- func (GetSharedResourcesResourceArgs) ElementType() reflect.Type
- func (i GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutput() GetSharedResourcesResourceOutput
- func (i GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutputWithContext(ctx context.Context) GetSharedResourcesResourceOutput
- type GetSharedResourcesResourceArray
- func (GetSharedResourcesResourceArray) ElementType() reflect.Type
- func (i GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutput() GetSharedResourcesResourceArrayOutput
- func (i GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutputWithContext(ctx context.Context) GetSharedResourcesResourceArrayOutput
- type GetSharedResourcesResourceArrayInput
- type GetSharedResourcesResourceArrayOutput
- func (GetSharedResourcesResourceArrayOutput) ElementType() reflect.Type
- func (o GetSharedResourcesResourceArrayOutput) Index(i pulumi.IntInput) GetSharedResourcesResourceOutput
- func (o GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutput() GetSharedResourcesResourceArrayOutput
- func (o GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutputWithContext(ctx context.Context) GetSharedResourcesResourceArrayOutput
- type GetSharedResourcesResourceInput
- type GetSharedResourcesResourceOutput
- func (GetSharedResourcesResourceOutput) ElementType() reflect.Type
- func (o GetSharedResourcesResourceOutput) Id() pulumi.StringOutput
- func (o GetSharedResourcesResourceOutput) ResourceId() pulumi.StringOutput
- func (o GetSharedResourcesResourceOutput) ResourceShareId() pulumi.StringOutput
- func (o GetSharedResourcesResourceOutput) ResourceType() pulumi.StringOutput
- func (o GetSharedResourcesResourceOutput) Status() pulumi.StringOutput
- func (o GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutput() GetSharedResourcesResourceOutput
- func (o GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutputWithContext(ctx context.Context) GetSharedResourcesResourceOutput
- type GetSharedResourcesResult
- type GetSharedTargetsArgs
- type GetSharedTargetsResult
- type GetSharedTargetsTarget
- type GetSharedTargetsTargetArgs
- type GetSharedTargetsTargetArray
- func (GetSharedTargetsTargetArray) ElementType() reflect.Type
- func (i GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutput() GetSharedTargetsTargetArrayOutput
- func (i GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutputWithContext(ctx context.Context) GetSharedTargetsTargetArrayOutput
- type GetSharedTargetsTargetArrayInput
- type GetSharedTargetsTargetArrayOutput
- func (GetSharedTargetsTargetArrayOutput) ElementType() reflect.Type
- func (o GetSharedTargetsTargetArrayOutput) Index(i pulumi.IntInput) GetSharedTargetsTargetOutput
- func (o GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutput() GetSharedTargetsTargetArrayOutput
- func (o GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutputWithContext(ctx context.Context) GetSharedTargetsTargetArrayOutput
- type GetSharedTargetsTargetInput
- type GetSharedTargetsTargetOutput
- func (GetSharedTargetsTargetOutput) ElementType() reflect.Type
- func (o GetSharedTargetsTargetOutput) Id() pulumi.StringOutput
- func (o GetSharedTargetsTargetOutput) ResourceShareId() pulumi.StringOutput
- func (o GetSharedTargetsTargetOutput) Status() pulumi.StringOutput
- func (o GetSharedTargetsTargetOutput) TargetId() pulumi.StringOutput
- func (o GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutput() GetSharedTargetsTargetOutput
- func (o GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutputWithContext(ctx context.Context) GetSharedTargetsTargetOutput
- type Handshake
- func (*Handshake) ElementType() reflect.Type
- func (i *Handshake) ToHandshakeOutput() HandshakeOutput
- func (i *Handshake) ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput
- func (i *Handshake) ToHandshakePtrOutput() HandshakePtrOutput
- func (i *Handshake) ToHandshakePtrOutputWithContext(ctx context.Context) HandshakePtrOutput
- type HandshakeArgs
- type HandshakeArray
- type HandshakeArrayInput
- type HandshakeArrayOutput
- func (HandshakeArrayOutput) ElementType() reflect.Type
- func (o HandshakeArrayOutput) Index(i pulumi.IntInput) HandshakeOutput
- func (o HandshakeArrayOutput) ToHandshakeArrayOutput() HandshakeArrayOutput
- func (o HandshakeArrayOutput) ToHandshakeArrayOutputWithContext(ctx context.Context) HandshakeArrayOutput
- type HandshakeInput
- type HandshakeMap
- type HandshakeMapInput
- type HandshakeMapOutput
- type HandshakeOutput
- func (HandshakeOutput) ElementType() reflect.Type
- func (o HandshakeOutput) ToHandshakeOutput() HandshakeOutput
- func (o HandshakeOutput) ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput
- func (o HandshakeOutput) ToHandshakePtrOutput() HandshakePtrOutput
- func (o HandshakeOutput) ToHandshakePtrOutputWithContext(ctx context.Context) HandshakePtrOutput
- type HandshakePtrInput
- type HandshakePtrOutput
- type HandshakeState
- type Policy
- func (*Policy) ElementType() reflect.Type
- func (i *Policy) ToPolicyOutput() PolicyOutput
- func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
- func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyAttachment
- func (*PolicyAttachment) ElementType() reflect.Type
- func (i *PolicyAttachment) ToPolicyAttachmentOutput() PolicyAttachmentOutput
- func (i *PolicyAttachment) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
- func (i *PolicyAttachment) ToPolicyAttachmentPtrOutput() PolicyAttachmentPtrOutput
- func (i *PolicyAttachment) ToPolicyAttachmentPtrOutputWithContext(ctx context.Context) PolicyAttachmentPtrOutput
- type PolicyAttachmentArgs
- type PolicyAttachmentArray
- type PolicyAttachmentArrayInput
- type PolicyAttachmentArrayOutput
- func (PolicyAttachmentArrayOutput) ElementType() reflect.Type
- func (o PolicyAttachmentArrayOutput) Index(i pulumi.IntInput) PolicyAttachmentOutput
- func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
- func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
- type PolicyAttachmentInput
- type PolicyAttachmentMap
- type PolicyAttachmentMapInput
- type PolicyAttachmentMapOutput
- func (PolicyAttachmentMapOutput) ElementType() reflect.Type
- func (o PolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) PolicyAttachmentOutput
- func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
- func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
- type PolicyAttachmentOutput
- func (PolicyAttachmentOutput) ElementType() reflect.Type
- func (o PolicyAttachmentOutput) ToPolicyAttachmentOutput() PolicyAttachmentOutput
- func (o PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
- func (o PolicyAttachmentOutput) ToPolicyAttachmentPtrOutput() PolicyAttachmentPtrOutput
- func (o PolicyAttachmentOutput) ToPolicyAttachmentPtrOutputWithContext(ctx context.Context) PolicyAttachmentPtrOutput
- type PolicyAttachmentPtrInput
- type PolicyAttachmentPtrOutput
- type PolicyAttachmentState
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- func (PolicyOutput) ElementType() reflect.Type
- func (o PolicyOutput) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
- func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyPtrInput
- type PolicyPtrOutput
- type PolicyState
- type PolicyVersion
- func (*PolicyVersion) ElementType() reflect.Type
- func (i *PolicyVersion) ToPolicyVersionOutput() PolicyVersionOutput
- func (i *PolicyVersion) ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput
- func (i *PolicyVersion) ToPolicyVersionPtrOutput() PolicyVersionPtrOutput
- func (i *PolicyVersion) ToPolicyVersionPtrOutputWithContext(ctx context.Context) PolicyVersionPtrOutput
- type PolicyVersionArgs
- type PolicyVersionArray
- type PolicyVersionArrayInput
- type PolicyVersionArrayOutput
- func (PolicyVersionArrayOutput) ElementType() reflect.Type
- func (o PolicyVersionArrayOutput) Index(i pulumi.IntInput) PolicyVersionOutput
- func (o PolicyVersionArrayOutput) ToPolicyVersionArrayOutput() PolicyVersionArrayOutput
- func (o PolicyVersionArrayOutput) ToPolicyVersionArrayOutputWithContext(ctx context.Context) PolicyVersionArrayOutput
- type PolicyVersionInput
- type PolicyVersionMap
- type PolicyVersionMapInput
- type PolicyVersionMapOutput
- func (PolicyVersionMapOutput) ElementType() reflect.Type
- func (o PolicyVersionMapOutput) MapIndex(k pulumi.StringInput) PolicyVersionOutput
- func (o PolicyVersionMapOutput) ToPolicyVersionMapOutput() PolicyVersionMapOutput
- func (o PolicyVersionMapOutput) ToPolicyVersionMapOutputWithContext(ctx context.Context) PolicyVersionMapOutput
- type PolicyVersionOutput
- func (PolicyVersionOutput) ElementType() reflect.Type
- func (o PolicyVersionOutput) ToPolicyVersionOutput() PolicyVersionOutput
- func (o PolicyVersionOutput) ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput
- func (o PolicyVersionOutput) ToPolicyVersionPtrOutput() PolicyVersionPtrOutput
- func (o PolicyVersionOutput) ToPolicyVersionPtrOutputWithContext(ctx context.Context) PolicyVersionPtrOutput
- type PolicyVersionPtrInput
- type PolicyVersionPtrOutput
- type PolicyVersionState
- type ResourceDirectory
- func (*ResourceDirectory) ElementType() reflect.Type
- func (i *ResourceDirectory) ToResourceDirectoryOutput() ResourceDirectoryOutput
- func (i *ResourceDirectory) ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput
- func (i *ResourceDirectory) ToResourceDirectoryPtrOutput() ResourceDirectoryPtrOutput
- func (i *ResourceDirectory) ToResourceDirectoryPtrOutputWithContext(ctx context.Context) ResourceDirectoryPtrOutput
- type ResourceDirectoryArgs
- type ResourceDirectoryArray
- type ResourceDirectoryArrayInput
- type ResourceDirectoryArrayOutput
- func (ResourceDirectoryArrayOutput) ElementType() reflect.Type
- func (o ResourceDirectoryArrayOutput) Index(i pulumi.IntInput) ResourceDirectoryOutput
- func (o ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutput() ResourceDirectoryArrayOutput
- func (o ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutputWithContext(ctx context.Context) ResourceDirectoryArrayOutput
- type ResourceDirectoryInput
- type ResourceDirectoryMap
- type ResourceDirectoryMapInput
- type ResourceDirectoryMapOutput
- func (ResourceDirectoryMapOutput) ElementType() reflect.Type
- func (o ResourceDirectoryMapOutput) MapIndex(k pulumi.StringInput) ResourceDirectoryOutput
- func (o ResourceDirectoryMapOutput) ToResourceDirectoryMapOutput() ResourceDirectoryMapOutput
- func (o ResourceDirectoryMapOutput) ToResourceDirectoryMapOutputWithContext(ctx context.Context) ResourceDirectoryMapOutput
- type ResourceDirectoryOutput
- func (ResourceDirectoryOutput) ElementType() reflect.Type
- func (o ResourceDirectoryOutput) ToResourceDirectoryOutput() ResourceDirectoryOutput
- func (o ResourceDirectoryOutput) ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput
- func (o ResourceDirectoryOutput) ToResourceDirectoryPtrOutput() ResourceDirectoryPtrOutput
- func (o ResourceDirectoryOutput) ToResourceDirectoryPtrOutputWithContext(ctx context.Context) ResourceDirectoryPtrOutput
- type ResourceDirectoryPtrInput
- type ResourceDirectoryPtrOutput
- type ResourceDirectoryState
- type ResourceGroup
- func (*ResourceGroup) ElementType() reflect.Type
- func (i *ResourceGroup) ToResourceGroupOutput() ResourceGroupOutput
- func (i *ResourceGroup) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
- func (i *ResourceGroup) ToResourceGroupPtrOutput() ResourceGroupPtrOutput
- func (i *ResourceGroup) ToResourceGroupPtrOutputWithContext(ctx context.Context) ResourceGroupPtrOutput
- type ResourceGroupArgs
- type ResourceGroupArray
- type ResourceGroupArrayInput
- type ResourceGroupArrayOutput
- func (ResourceGroupArrayOutput) ElementType() reflect.Type
- func (o ResourceGroupArrayOutput) Index(i pulumi.IntInput) ResourceGroupOutput
- func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
- func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
- type ResourceGroupInput
- type ResourceGroupMap
- type ResourceGroupMapInput
- type ResourceGroupMapOutput
- func (ResourceGroupMapOutput) ElementType() reflect.Type
- func (o ResourceGroupMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupOutput
- func (o ResourceGroupMapOutput) ToResourceGroupMapOutput() ResourceGroupMapOutput
- func (o ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
- type ResourceGroupOutput
- func (ResourceGroupOutput) ElementType() reflect.Type
- func (o ResourceGroupOutput) ToResourceGroupOutput() ResourceGroupOutput
- func (o ResourceGroupOutput) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
- func (o ResourceGroupOutput) ToResourceGroupPtrOutput() ResourceGroupPtrOutput
- func (o ResourceGroupOutput) ToResourceGroupPtrOutputWithContext(ctx context.Context) ResourceGroupPtrOutput
- type ResourceGroupPtrInput
- type ResourceGroupPtrOutput
- 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 ResourceShare
- func (*ResourceShare) ElementType() reflect.Type
- func (i *ResourceShare) ToResourceShareOutput() ResourceShareOutput
- func (i *ResourceShare) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
- func (i *ResourceShare) ToResourceSharePtrOutput() ResourceSharePtrOutput
- func (i *ResourceShare) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
- type ResourceShareArgs
- type ResourceShareArray
- type ResourceShareArrayInput
- type ResourceShareArrayOutput
- func (ResourceShareArrayOutput) ElementType() reflect.Type
- func (o ResourceShareArrayOutput) Index(i pulumi.IntInput) ResourceShareOutput
- func (o ResourceShareArrayOutput) ToResourceShareArrayOutput() ResourceShareArrayOutput
- func (o ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
- type ResourceShareInput
- type ResourceShareMap
- type ResourceShareMapInput
- type ResourceShareMapOutput
- func (ResourceShareMapOutput) ElementType() reflect.Type
- func (o ResourceShareMapOutput) MapIndex(k pulumi.StringInput) ResourceShareOutput
- func (o ResourceShareMapOutput) ToResourceShareMapOutput() ResourceShareMapOutput
- func (o ResourceShareMapOutput) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
- type ResourceShareOutput
- func (ResourceShareOutput) ElementType() reflect.Type
- func (o ResourceShareOutput) ToResourceShareOutput() ResourceShareOutput
- func (o ResourceShareOutput) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
- func (o ResourceShareOutput) ToResourceSharePtrOutput() ResourceSharePtrOutput
- func (o ResourceShareOutput) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
- type ResourceSharePtrInput
- type ResourceSharePtrOutput
- type ResourceShareState
- type Role
- type RoleArgs
- type RoleArray
- type RoleArrayInput
- type RoleArrayOutput
- type RoleInput
- type RoleMap
- type RoleMapInput
- type RoleMapOutput
- type RoleOutput
- func (RoleOutput) ElementType() reflect.Type
- func (o RoleOutput) ToRoleOutput() RoleOutput
- func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput
- func (o RoleOutput) ToRolePtrOutput() RolePtrOutput
- func (o RoleOutput) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput
- type RolePtrInput
- type RolePtrOutput
- type RoleState
- type SharedResource
- func (*SharedResource) ElementType() reflect.Type
- func (i *SharedResource) ToSharedResourceOutput() SharedResourceOutput
- func (i *SharedResource) ToSharedResourceOutputWithContext(ctx context.Context) SharedResourceOutput
- func (i *SharedResource) ToSharedResourcePtrOutput() SharedResourcePtrOutput
- func (i *SharedResource) ToSharedResourcePtrOutputWithContext(ctx context.Context) SharedResourcePtrOutput
- type SharedResourceArgs
- type SharedResourceArray
- type SharedResourceArrayInput
- type SharedResourceArrayOutput
- func (SharedResourceArrayOutput) ElementType() reflect.Type
- func (o SharedResourceArrayOutput) Index(i pulumi.IntInput) SharedResourceOutput
- func (o SharedResourceArrayOutput) ToSharedResourceArrayOutput() SharedResourceArrayOutput
- func (o SharedResourceArrayOutput) ToSharedResourceArrayOutputWithContext(ctx context.Context) SharedResourceArrayOutput
- type SharedResourceInput
- type SharedResourceMap
- type SharedResourceMapInput
- type SharedResourceMapOutput
- func (SharedResourceMapOutput) ElementType() reflect.Type
- func (o SharedResourceMapOutput) MapIndex(k pulumi.StringInput) SharedResourceOutput
- func (o SharedResourceMapOutput) ToSharedResourceMapOutput() SharedResourceMapOutput
- func (o SharedResourceMapOutput) ToSharedResourceMapOutputWithContext(ctx context.Context) SharedResourceMapOutput
- type SharedResourceOutput
- func (SharedResourceOutput) ElementType() reflect.Type
- func (o SharedResourceOutput) ToSharedResourceOutput() SharedResourceOutput
- func (o SharedResourceOutput) ToSharedResourceOutputWithContext(ctx context.Context) SharedResourceOutput
- func (o SharedResourceOutput) ToSharedResourcePtrOutput() SharedResourcePtrOutput
- func (o SharedResourceOutput) ToSharedResourcePtrOutputWithContext(ctx context.Context) SharedResourcePtrOutput
- type SharedResourcePtrInput
- type SharedResourcePtrOutput
- type SharedResourceState
- type SharedTarget
- func (*SharedTarget) ElementType() reflect.Type
- func (i *SharedTarget) ToSharedTargetOutput() SharedTargetOutput
- func (i *SharedTarget) ToSharedTargetOutputWithContext(ctx context.Context) SharedTargetOutput
- func (i *SharedTarget) ToSharedTargetPtrOutput() SharedTargetPtrOutput
- func (i *SharedTarget) ToSharedTargetPtrOutputWithContext(ctx context.Context) SharedTargetPtrOutput
- type SharedTargetArgs
- type SharedTargetArray
- type SharedTargetArrayInput
- type SharedTargetArrayOutput
- func (SharedTargetArrayOutput) ElementType() reflect.Type
- func (o SharedTargetArrayOutput) Index(i pulumi.IntInput) SharedTargetOutput
- func (o SharedTargetArrayOutput) ToSharedTargetArrayOutput() SharedTargetArrayOutput
- func (o SharedTargetArrayOutput) ToSharedTargetArrayOutputWithContext(ctx context.Context) SharedTargetArrayOutput
- type SharedTargetInput
- type SharedTargetMap
- type SharedTargetMapInput
- type SharedTargetMapOutput
- func (SharedTargetMapOutput) ElementType() reflect.Type
- func (o SharedTargetMapOutput) MapIndex(k pulumi.StringInput) SharedTargetOutput
- func (o SharedTargetMapOutput) ToSharedTargetMapOutput() SharedTargetMapOutput
- func (o SharedTargetMapOutput) ToSharedTargetMapOutputWithContext(ctx context.Context) SharedTargetMapOutput
- type SharedTargetOutput
- func (SharedTargetOutput) ElementType() reflect.Type
- func (o SharedTargetOutput) ToSharedTargetOutput() SharedTargetOutput
- func (o SharedTargetOutput) ToSharedTargetOutputWithContext(ctx context.Context) SharedTargetOutput
- func (o SharedTargetOutput) ToSharedTargetPtrOutput() SharedTargetPtrOutput
- func (o SharedTargetOutput) ToSharedTargetPtrOutputWithContext(ctx context.Context) SharedTargetPtrOutput
- type SharedTargetPtrInput
- type SharedTargetPtrOutput
- type SharedTargetState
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 // The name prefix of account. AccountNamePrefix pulumi.StringPtrOutput `pulumi:"accountNamePrefix"` // 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.StringOutput `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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { f1, err := resourcemanager.NewFolder(ctx, "f1", &resourcemanager.FolderArgs{ FolderName: pulumi.String("test1"), }) if err != nil { return err } _, err = resourcemanager.NewAccount(ctx, "example", &resourcemanager.AccountArgs{ DisplayName: pulumi.String("RDAccount"), FolderId: f1.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Account can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/account:Account example 13148890145*****
```
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.
func (*Account) ElementType ¶ added in v2.25.1
func (*Account) ToAccountOutput ¶ added in v2.25.1
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶ added in v2.25.1
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
func (*Account) ToAccountPtrOutput ¶ added in v2.35.1
func (i *Account) ToAccountPtrOutput() AccountPtrOutput
func (*Account) ToAccountPtrOutputWithContext ¶ added in v2.35.1
func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountArgs ¶ added in v2.5.0
type AccountArgs struct { // The name prefix of account. AccountNamePrefix pulumi.StringPtrInput // 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 AccountArray ¶ added in v2.35.1
type AccountArray []AccountInput
func (AccountArray) ElementType ¶ added in v2.35.1
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶ added in v2.35.1
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶ added in v2.35.1
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶ added in v2.35.1
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶ added in v2.35.1
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶ added in v2.35.1
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶ added in v2.35.1
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶ added in v2.35.1
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶ added in v2.35.1
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountInput ¶ added in v2.25.1
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶ added in v2.35.1
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶ added in v2.35.1
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶ added in v2.35.1
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶ added in v2.35.1
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶ added in v2.35.1
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶ added in v2.35.1
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶ added in v2.35.1
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶ added in v2.35.1
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶ added in v2.35.1
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶ added in v2.35.1
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶ added in v2.25.1
type AccountOutput struct {
*pulumi.OutputState
}
func (AccountOutput) ElementType ¶ added in v2.25.1
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) ToAccountOutput ¶ added in v2.25.1
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶ added in v2.25.1
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
func (AccountOutput) ToAccountPtrOutput ¶ added in v2.35.1
func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput
func (AccountOutput) ToAccountPtrOutputWithContext ¶ added in v2.35.1
func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountPtrInput ¶ added in v2.35.1
type AccountPtrInput interface { pulumi.Input ToAccountPtrOutput() AccountPtrOutput ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput }
type AccountPtrOutput ¶ added in v2.35.1
type AccountPtrOutput struct {
*pulumi.OutputState
}
func (AccountPtrOutput) ElementType ¶ added in v2.35.1
func (AccountPtrOutput) ElementType() reflect.Type
func (AccountPtrOutput) ToAccountPtrOutput ¶ added in v2.35.1
func (o AccountPtrOutput) ToAccountPtrOutput() AccountPtrOutput
func (AccountPtrOutput) ToAccountPtrOutputWithContext ¶ added in v2.35.1
func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountState ¶ added in v2.5.0
type AccountState struct { // The name prefix of account. AccountNamePrefix pulumi.StringPtrInput // 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 ControlPolicy ¶ added in v2.39.0
type ControlPolicy struct { pulumi.CustomResourceState // The name of control policy. ControlPolicyName pulumi.StringOutput `pulumi:"controlPolicyName"` // The description of control policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The effect scope. Valid values `RAM`. EffectScope pulumi.StringOutput `pulumi:"effectScope"` // The policy document of control policy. PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"` }
Provides a Resource Manager Control Policy resource.
For information about Resource Manager Control Policy and how to use it, see [What is Control Policy](https://help.aliyun.com/document_detail/208287.html).
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewControlPolicy(ctx, "example", &resourcemanager.ControlPolicyArgs{ ControlPolicyName: pulumi.String("tf-testAccRDControlPolicy"), Description: pulumi.String("tf-testAccRDControlPolicy"), EffectScope: pulumi.String("RAM"), PolicyDocument: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"Version\": \"1\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Deny\",\n", " \"Action\": [\n", " \"ram:UpdateRole\",\n", " \"ram:DeleteRole\",\n", " \"ram:AttachPolicyToRole\",\n", " \"ram:DetachPolicyFromRole\"\n", " ],\n", " \"Resource\": \"acs:ram:*:*:role/ResourceDirectoryAccountAccessRole\"\n", " }\n", " ]\n", " }\n", " \n")), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Control Policy can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/controlPolicy:ControlPolicy example <id>
```
func GetControlPolicy ¶ added in v2.39.0
func GetControlPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ControlPolicyState, opts ...pulumi.ResourceOption) (*ControlPolicy, error)
GetControlPolicy gets an existing ControlPolicy 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 NewControlPolicy ¶ added in v2.39.0
func NewControlPolicy(ctx *pulumi.Context, name string, args *ControlPolicyArgs, opts ...pulumi.ResourceOption) (*ControlPolicy, error)
NewControlPolicy registers a new resource with the given unique name, arguments, and options.
func (*ControlPolicy) ElementType ¶ added in v2.39.0
func (*ControlPolicy) ElementType() reflect.Type
func (*ControlPolicy) ToControlPolicyOutput ¶ added in v2.39.0
func (i *ControlPolicy) ToControlPolicyOutput() ControlPolicyOutput
func (*ControlPolicy) ToControlPolicyOutputWithContext ¶ added in v2.39.0
func (i *ControlPolicy) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
func (*ControlPolicy) ToControlPolicyPtrOutput ¶ added in v2.39.0
func (i *ControlPolicy) ToControlPolicyPtrOutput() ControlPolicyPtrOutput
func (*ControlPolicy) ToControlPolicyPtrOutputWithContext ¶ added in v2.39.0
func (i *ControlPolicy) ToControlPolicyPtrOutputWithContext(ctx context.Context) ControlPolicyPtrOutput
type ControlPolicyArgs ¶ added in v2.39.0
type ControlPolicyArgs struct { // The name of control policy. ControlPolicyName pulumi.StringInput // The description of control policy. Description pulumi.StringPtrInput // The effect scope. Valid values `RAM`. EffectScope pulumi.StringInput // The policy document of control policy. PolicyDocument pulumi.StringInput }
The set of arguments for constructing a ControlPolicy resource.
func (ControlPolicyArgs) ElementType ¶ added in v2.39.0
func (ControlPolicyArgs) ElementType() reflect.Type
type ControlPolicyArray ¶ added in v2.39.0
type ControlPolicyArray []ControlPolicyInput
func (ControlPolicyArray) ElementType ¶ added in v2.39.0
func (ControlPolicyArray) ElementType() reflect.Type
func (ControlPolicyArray) ToControlPolicyArrayOutput ¶ added in v2.39.0
func (i ControlPolicyArray) ToControlPolicyArrayOutput() ControlPolicyArrayOutput
func (ControlPolicyArray) ToControlPolicyArrayOutputWithContext ¶ added in v2.39.0
func (i ControlPolicyArray) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput
type ControlPolicyArrayInput ¶ added in v2.39.0
type ControlPolicyArrayInput interface { pulumi.Input ToControlPolicyArrayOutput() ControlPolicyArrayOutput ToControlPolicyArrayOutputWithContext(context.Context) ControlPolicyArrayOutput }
ControlPolicyArrayInput is an input type that accepts ControlPolicyArray and ControlPolicyArrayOutput values. You can construct a concrete instance of `ControlPolicyArrayInput` via:
ControlPolicyArray{ ControlPolicyArgs{...} }
type ControlPolicyArrayOutput ¶ added in v2.39.0
type ControlPolicyArrayOutput struct{ *pulumi.OutputState }
func (ControlPolicyArrayOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyArrayOutput) ElementType() reflect.Type
func (ControlPolicyArrayOutput) Index ¶ added in v2.39.0
func (o ControlPolicyArrayOutput) Index(i pulumi.IntInput) ControlPolicyOutput
func (ControlPolicyArrayOutput) ToControlPolicyArrayOutput ¶ added in v2.39.0
func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutput() ControlPolicyArrayOutput
func (ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput
type ControlPolicyAttachment ¶ added in v2.39.0
type ControlPolicyAttachment struct { pulumi.CustomResourceState // The ID of control policy. PolicyId pulumi.StringOutput `pulumi:"policyId"` // The ID of target. TargetId pulumi.StringOutput `pulumi:"targetId"` }
Provides a Resource Manager Control Policy Attachment resource.
For information about Resource Manager Control Policy Attachment and how to use it, see [What is Control Policy Attachment](https://help.aliyun.com/document_detail/208330.html).
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceDirectory, err := resourcemanager.NewResourceDirectory(ctx, "exampleResourceDirectory", &resourcemanager.ResourceDirectoryArgs{ Status: pulumi.String("Enabled"), }) if err != nil { return err } exampleControlPolicy, err := resourcemanager.NewControlPolicy(ctx, "exampleControlPolicy", &resourcemanager.ControlPolicyArgs{ ControlPolicyName: pulumi.String("tf-testAccName"), Description: pulumi.String("tf-testAccRDControlPolicy"), EffectScope: pulumi.String("RAM"), PolicyDocument: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"Version\": \"1\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Deny\",\n", " \"Action\": [\n", " \"ram:UpdateRole\",\n", " \"ram:DeleteRole\",\n", " \"ram:AttachPolicyToRole\",\n", " \"ram:DetachPolicyFromRole\"\n", " ],\n", " \"Resource\": \"acs:ram:*:*:role/ResourceDirectoryAccountAccessRole\"\n", " }\n", " ]\n", " }\n")), }) if err != nil { return err } exampleFolder, err := resourcemanager.NewFolder(ctx, "exampleFolder", &resourcemanager.FolderArgs{ FolderName: pulumi.String("tf-testAccName"), }) if err != nil { return err } _, err = resourcemanager.NewControlPolicyAttachment(ctx, "exampleControlPolicyAttachment", &resourcemanager.ControlPolicyAttachmentArgs{ PolicyId: exampleControlPolicy.ID(), TargetId: exampleFolder.ID(), }, pulumi.DependsOn([]pulumi.Resource{ exampleResourceDirectory, })) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Control Policy Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/controlPolicyAttachment:ControlPolicyAttachment example <policy_id>:<target_id>
```
func GetControlPolicyAttachment ¶ added in v2.39.0
func GetControlPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ControlPolicyAttachmentState, opts ...pulumi.ResourceOption) (*ControlPolicyAttachment, error)
GetControlPolicyAttachment gets an existing ControlPolicyAttachment 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 NewControlPolicyAttachment ¶ added in v2.39.0
func NewControlPolicyAttachment(ctx *pulumi.Context, name string, args *ControlPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*ControlPolicyAttachment, error)
NewControlPolicyAttachment registers a new resource with the given unique name, arguments, and options.
func (*ControlPolicyAttachment) ElementType ¶ added in v2.39.0
func (*ControlPolicyAttachment) ElementType() reflect.Type
func (*ControlPolicyAttachment) ToControlPolicyAttachmentOutput ¶ added in v2.39.0
func (i *ControlPolicyAttachment) ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput
func (*ControlPolicyAttachment) ToControlPolicyAttachmentOutputWithContext ¶ added in v2.39.0
func (i *ControlPolicyAttachment) ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput
func (*ControlPolicyAttachment) ToControlPolicyAttachmentPtrOutput ¶ added in v2.39.0
func (i *ControlPolicyAttachment) ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput
func (*ControlPolicyAttachment) ToControlPolicyAttachmentPtrOutputWithContext ¶ added in v2.39.0
func (i *ControlPolicyAttachment) ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput
type ControlPolicyAttachmentArgs ¶ added in v2.39.0
type ControlPolicyAttachmentArgs struct { // The ID of control policy. PolicyId pulumi.StringInput // The ID of target. TargetId pulumi.StringInput }
The set of arguments for constructing a ControlPolicyAttachment resource.
func (ControlPolicyAttachmentArgs) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentArgs) ElementType() reflect.Type
type ControlPolicyAttachmentArray ¶ added in v2.39.0
type ControlPolicyAttachmentArray []ControlPolicyAttachmentInput
func (ControlPolicyAttachmentArray) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentArray) ElementType() reflect.Type
func (ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutput ¶ added in v2.39.0
func (i ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput
func (ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutputWithContext ¶ added in v2.39.0
func (i ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutputWithContext(ctx context.Context) ControlPolicyAttachmentArrayOutput
type ControlPolicyAttachmentArrayInput ¶ added in v2.39.0
type ControlPolicyAttachmentArrayInput interface { pulumi.Input ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput ToControlPolicyAttachmentArrayOutputWithContext(context.Context) ControlPolicyAttachmentArrayOutput }
ControlPolicyAttachmentArrayInput is an input type that accepts ControlPolicyAttachmentArray and ControlPolicyAttachmentArrayOutput values. You can construct a concrete instance of `ControlPolicyAttachmentArrayInput` via:
ControlPolicyAttachmentArray{ ControlPolicyAttachmentArgs{...} }
type ControlPolicyAttachmentArrayOutput ¶ added in v2.39.0
type ControlPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (ControlPolicyAttachmentArrayOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentArrayOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentArrayOutput) Index ¶ added in v2.39.0
func (o ControlPolicyAttachmentArrayOutput) Index(i pulumi.IntInput) ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutput ¶ added in v2.39.0
func (o ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput
func (ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutputWithContext(ctx context.Context) ControlPolicyAttachmentArrayOutput
type ControlPolicyAttachmentInput ¶ added in v2.39.0
type ControlPolicyAttachmentInput interface { pulumi.Input ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput }
type ControlPolicyAttachmentMap ¶ added in v2.39.0
type ControlPolicyAttachmentMap map[string]ControlPolicyAttachmentInput
func (ControlPolicyAttachmentMap) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentMap) ElementType() reflect.Type
func (ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutput ¶ added in v2.39.0
func (i ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput
func (ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutputWithContext ¶ added in v2.39.0
func (i ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutputWithContext(ctx context.Context) ControlPolicyAttachmentMapOutput
type ControlPolicyAttachmentMapInput ¶ added in v2.39.0
type ControlPolicyAttachmentMapInput interface { pulumi.Input ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput ToControlPolicyAttachmentMapOutputWithContext(context.Context) ControlPolicyAttachmentMapOutput }
ControlPolicyAttachmentMapInput is an input type that accepts ControlPolicyAttachmentMap and ControlPolicyAttachmentMapOutput values. You can construct a concrete instance of `ControlPolicyAttachmentMapInput` via:
ControlPolicyAttachmentMap{ "key": ControlPolicyAttachmentArgs{...} }
type ControlPolicyAttachmentMapOutput ¶ added in v2.39.0
type ControlPolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (ControlPolicyAttachmentMapOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentMapOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentMapOutput) MapIndex ¶ added in v2.39.0
func (o ControlPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutput ¶ added in v2.39.0
func (o ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput
func (ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutputWithContext(ctx context.Context) ControlPolicyAttachmentMapOutput
type ControlPolicyAttachmentOutput ¶ added in v2.39.0
type ControlPolicyAttachmentOutput struct {
*pulumi.OutputState
}
func (ControlPolicyAttachmentOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutput ¶ added in v2.39.0
func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentOutput) ToControlPolicyAttachmentPtrOutput ¶ added in v2.39.0
func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput
func (ControlPolicyAttachmentOutput) ToControlPolicyAttachmentPtrOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput
type ControlPolicyAttachmentPtrInput ¶ added in v2.39.0
type ControlPolicyAttachmentPtrInput interface { pulumi.Input ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput }
type ControlPolicyAttachmentPtrOutput ¶ added in v2.39.0
type ControlPolicyAttachmentPtrOutput struct {
*pulumi.OutputState
}
func (ControlPolicyAttachmentPtrOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentPtrOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentPtrOutput) ToControlPolicyAttachmentPtrOutput ¶ added in v2.39.0
func (o ControlPolicyAttachmentPtrOutput) ToControlPolicyAttachmentPtrOutput() ControlPolicyAttachmentPtrOutput
func (ControlPolicyAttachmentPtrOutput) ToControlPolicyAttachmentPtrOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyAttachmentPtrOutput) ToControlPolicyAttachmentPtrOutputWithContext(ctx context.Context) ControlPolicyAttachmentPtrOutput
type ControlPolicyAttachmentState ¶ added in v2.39.0
type ControlPolicyAttachmentState struct { // The ID of control policy. PolicyId pulumi.StringPtrInput // The ID of target. TargetId pulumi.StringPtrInput }
func (ControlPolicyAttachmentState) ElementType ¶ added in v2.39.0
func (ControlPolicyAttachmentState) ElementType() reflect.Type
type ControlPolicyInput ¶ added in v2.39.0
type ControlPolicyInput interface { pulumi.Input ToControlPolicyOutput() ControlPolicyOutput ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput }
type ControlPolicyMap ¶ added in v2.39.0
type ControlPolicyMap map[string]ControlPolicyInput
func (ControlPolicyMap) ElementType ¶ added in v2.39.0
func (ControlPolicyMap) ElementType() reflect.Type
func (ControlPolicyMap) ToControlPolicyMapOutput ¶ added in v2.39.0
func (i ControlPolicyMap) ToControlPolicyMapOutput() ControlPolicyMapOutput
func (ControlPolicyMap) ToControlPolicyMapOutputWithContext ¶ added in v2.39.0
func (i ControlPolicyMap) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput
type ControlPolicyMapInput ¶ added in v2.39.0
type ControlPolicyMapInput interface { pulumi.Input ToControlPolicyMapOutput() ControlPolicyMapOutput ToControlPolicyMapOutputWithContext(context.Context) ControlPolicyMapOutput }
ControlPolicyMapInput is an input type that accepts ControlPolicyMap and ControlPolicyMapOutput values. You can construct a concrete instance of `ControlPolicyMapInput` via:
ControlPolicyMap{ "key": ControlPolicyArgs{...} }
type ControlPolicyMapOutput ¶ added in v2.39.0
type ControlPolicyMapOutput struct{ *pulumi.OutputState }
func (ControlPolicyMapOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyMapOutput) ElementType() reflect.Type
func (ControlPolicyMapOutput) MapIndex ¶ added in v2.39.0
func (o ControlPolicyMapOutput) MapIndex(k pulumi.StringInput) ControlPolicyOutput
func (ControlPolicyMapOutput) ToControlPolicyMapOutput ¶ added in v2.39.0
func (o ControlPolicyMapOutput) ToControlPolicyMapOutput() ControlPolicyMapOutput
func (ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput
type ControlPolicyOutput ¶ added in v2.39.0
type ControlPolicyOutput struct {
*pulumi.OutputState
}
func (ControlPolicyOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyOutput) ElementType() reflect.Type
func (ControlPolicyOutput) ToControlPolicyOutput ¶ added in v2.39.0
func (o ControlPolicyOutput) ToControlPolicyOutput() ControlPolicyOutput
func (ControlPolicyOutput) ToControlPolicyOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyOutput) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
func (ControlPolicyOutput) ToControlPolicyPtrOutput ¶ added in v2.39.0
func (o ControlPolicyOutput) ToControlPolicyPtrOutput() ControlPolicyPtrOutput
func (ControlPolicyOutput) ToControlPolicyPtrOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyOutput) ToControlPolicyPtrOutputWithContext(ctx context.Context) ControlPolicyPtrOutput
type ControlPolicyPtrInput ¶ added in v2.39.0
type ControlPolicyPtrInput interface { pulumi.Input ToControlPolicyPtrOutput() ControlPolicyPtrOutput ToControlPolicyPtrOutputWithContext(ctx context.Context) ControlPolicyPtrOutput }
type ControlPolicyPtrOutput ¶ added in v2.39.0
type ControlPolicyPtrOutput struct {
*pulumi.OutputState
}
func (ControlPolicyPtrOutput) ElementType ¶ added in v2.39.0
func (ControlPolicyPtrOutput) ElementType() reflect.Type
func (ControlPolicyPtrOutput) ToControlPolicyPtrOutput ¶ added in v2.39.0
func (o ControlPolicyPtrOutput) ToControlPolicyPtrOutput() ControlPolicyPtrOutput
func (ControlPolicyPtrOutput) ToControlPolicyPtrOutputWithContext ¶ added in v2.39.0
func (o ControlPolicyPtrOutput) ToControlPolicyPtrOutputWithContext(ctx context.Context) ControlPolicyPtrOutput
type ControlPolicyState ¶ added in v2.39.0
type ControlPolicyState struct { // The name of control policy. ControlPolicyName pulumi.StringPtrInput // The description of control policy. Description pulumi.StringPtrInput // The effect scope. Valid values `RAM`. EffectScope pulumi.StringPtrInput // The policy document of control policy. PolicyDocument pulumi.StringPtrInput }
func (ControlPolicyState) ElementType ¶ added in v2.39.0
func (ControlPolicyState) 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.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewFolder(ctx, "example", &resourcemanager.FolderArgs{ FolderName: pulumi.String("test"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Folder can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/folder:Folder example fd-u8B321****
```
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.
func (*Folder) ElementType ¶ added in v2.25.1
func (*Folder) ToFolderOutput ¶ added in v2.25.1
func (i *Folder) ToFolderOutput() FolderOutput
func (*Folder) ToFolderOutputWithContext ¶ added in v2.25.1
func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput
func (*Folder) ToFolderPtrOutput ¶ added in v2.35.1
func (i *Folder) ToFolderPtrOutput() FolderPtrOutput
func (*Folder) ToFolderPtrOutputWithContext ¶ added in v2.35.1
func (i *Folder) ToFolderPtrOutputWithContext(ctx context.Context) FolderPtrOutput
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 FolderArray ¶ added in v2.35.1
type FolderArray []FolderInput
func (FolderArray) ElementType ¶ added in v2.35.1
func (FolderArray) ElementType() reflect.Type
func (FolderArray) ToFolderArrayOutput ¶ added in v2.35.1
func (i FolderArray) ToFolderArrayOutput() FolderArrayOutput
func (FolderArray) ToFolderArrayOutputWithContext ¶ added in v2.35.1
func (i FolderArray) ToFolderArrayOutputWithContext(ctx context.Context) FolderArrayOutput
type FolderArrayInput ¶ added in v2.35.1
type FolderArrayInput interface { pulumi.Input ToFolderArrayOutput() FolderArrayOutput ToFolderArrayOutputWithContext(context.Context) FolderArrayOutput }
FolderArrayInput is an input type that accepts FolderArray and FolderArrayOutput values. You can construct a concrete instance of `FolderArrayInput` via:
FolderArray{ FolderArgs{...} }
type FolderArrayOutput ¶ added in v2.35.1
type FolderArrayOutput struct{ *pulumi.OutputState }
func (FolderArrayOutput) ElementType ¶ added in v2.35.1
func (FolderArrayOutput) ElementType() reflect.Type
func (FolderArrayOutput) Index ¶ added in v2.35.1
func (o FolderArrayOutput) Index(i pulumi.IntInput) FolderOutput
func (FolderArrayOutput) ToFolderArrayOutput ¶ added in v2.35.1
func (o FolderArrayOutput) ToFolderArrayOutput() FolderArrayOutput
func (FolderArrayOutput) ToFolderArrayOutputWithContext ¶ added in v2.35.1
func (o FolderArrayOutput) ToFolderArrayOutputWithContext(ctx context.Context) FolderArrayOutput
type FolderInput ¶ added in v2.25.1
type FolderInput interface { pulumi.Input ToFolderOutput() FolderOutput ToFolderOutputWithContext(ctx context.Context) FolderOutput }
type FolderMap ¶ added in v2.35.1
type FolderMap map[string]FolderInput
func (FolderMap) ElementType ¶ added in v2.35.1
func (FolderMap) ToFolderMapOutput ¶ added in v2.35.1
func (i FolderMap) ToFolderMapOutput() FolderMapOutput
func (FolderMap) ToFolderMapOutputWithContext ¶ added in v2.35.1
func (i FolderMap) ToFolderMapOutputWithContext(ctx context.Context) FolderMapOutput
type FolderMapInput ¶ added in v2.35.1
type FolderMapInput interface { pulumi.Input ToFolderMapOutput() FolderMapOutput ToFolderMapOutputWithContext(context.Context) FolderMapOutput }
FolderMapInput is an input type that accepts FolderMap and FolderMapOutput values. You can construct a concrete instance of `FolderMapInput` via:
FolderMap{ "key": FolderArgs{...} }
type FolderMapOutput ¶ added in v2.35.1
type FolderMapOutput struct{ *pulumi.OutputState }
func (FolderMapOutput) ElementType ¶ added in v2.35.1
func (FolderMapOutput) ElementType() reflect.Type
func (FolderMapOutput) MapIndex ¶ added in v2.35.1
func (o FolderMapOutput) MapIndex(k pulumi.StringInput) FolderOutput
func (FolderMapOutput) ToFolderMapOutput ¶ added in v2.35.1
func (o FolderMapOutput) ToFolderMapOutput() FolderMapOutput
func (FolderMapOutput) ToFolderMapOutputWithContext ¶ added in v2.35.1
func (o FolderMapOutput) ToFolderMapOutputWithContext(ctx context.Context) FolderMapOutput
type FolderOutput ¶ added in v2.25.1
type FolderOutput struct {
*pulumi.OutputState
}
func (FolderOutput) ElementType ¶ added in v2.25.1
func (FolderOutput) ElementType() reflect.Type
func (FolderOutput) ToFolderOutput ¶ added in v2.25.1
func (o FolderOutput) ToFolderOutput() FolderOutput
func (FolderOutput) ToFolderOutputWithContext ¶ added in v2.25.1
func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutput
func (FolderOutput) ToFolderPtrOutput ¶ added in v2.35.1
func (o FolderOutput) ToFolderPtrOutput() FolderPtrOutput
func (FolderOutput) ToFolderPtrOutputWithContext ¶ added in v2.35.1
func (o FolderOutput) ToFolderPtrOutputWithContext(ctx context.Context) FolderPtrOutput
type FolderPtrInput ¶ added in v2.35.1
type FolderPtrInput interface { pulumi.Input ToFolderPtrOutput() FolderPtrOutput ToFolderPtrOutputWithContext(ctx context.Context) FolderPtrOutput }
type FolderPtrOutput ¶ added in v2.35.1
type FolderPtrOutput struct {
*pulumi.OutputState
}
func (FolderPtrOutput) ElementType ¶ added in v2.35.1
func (FolderPtrOutput) ElementType() reflect.Type
func (FolderPtrOutput) ToFolderPtrOutput ¶ added in v2.35.1
func (o FolderPtrOutput) ToFolderPtrOutput() FolderPtrOutput
func (FolderPtrOutput) ToFolderPtrOutputWithContext ¶ added in v2.35.1
func (o FolderPtrOutput) ToFolderPtrOutputWithContext(ctx context.Context) FolderPtrOutput
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 account, valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, and `PromoteVerifying`. 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 account, valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, and `PromoteVerifying`. 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 account, valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, and `PromoteVerifying`.
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"` // The status of account, valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, and `PromoteVerifying`. Status *string `pulumi:"status"` }
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"` // The status of the member account. Status *string `pulumi:"status"` }
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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := resourcemanager.GetAccounts(ctx, nil, nil) if err != nil { return err } ctx.Export("firstAccountId", _default.Accounts[0].Id) return nil }) }
```
type GetControlPoliciesArgs ¶ added in v2.39.0
type GetControlPoliciesArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Control Policy IDs. Ids []string `pulumi:"ids"` // The language. Valid value `zh-CN`, `en`, and `ja`. Default value `zh-CN`. Language *string `pulumi:"language"` // A regex string to filter results by Control Policy name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The type of policy. PolicyType *string `pulumi:"policyType"` }
A collection of arguments for invoking getControlPolicies.
type GetControlPoliciesPolicy ¶ added in v2.39.0
type GetControlPoliciesPolicy struct { // The count of policy attachment. AttachmentCount int `pulumi:"attachmentCount"` // The name of policy. ControlPolicyName string `pulumi:"controlPolicyName"` // The description of policy. Description string `pulumi:"description"` // The effect scope. EffectScope string `pulumi:"effectScope"` // The ID of the Control Policy. Id string `pulumi:"id"` // The policy document. PolicyDocument string `pulumi:"policyDocument"` // The ID of policy. PolicyId string `pulumi:"policyId"` // The type of policy. PolicyType string `pulumi:"policyType"` }
type GetControlPoliciesPolicyArgs ¶ added in v2.39.0
type GetControlPoliciesPolicyArgs struct { // The count of policy attachment. AttachmentCount pulumi.IntInput `pulumi:"attachmentCount"` // The name of policy. ControlPolicyName pulumi.StringInput `pulumi:"controlPolicyName"` // The description of policy. Description pulumi.StringInput `pulumi:"description"` // The effect scope. EffectScope pulumi.StringInput `pulumi:"effectScope"` // The ID of the Control Policy. Id pulumi.StringInput `pulumi:"id"` // The policy document. PolicyDocument pulumi.StringInput `pulumi:"policyDocument"` // The ID of policy. PolicyId pulumi.StringInput `pulumi:"policyId"` // The type of policy. PolicyType pulumi.StringInput `pulumi:"policyType"` }
func (GetControlPoliciesPolicyArgs) ElementType ¶ added in v2.39.0
func (GetControlPoliciesPolicyArgs) ElementType() reflect.Type
func (GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput ¶ added in v2.39.0
func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
func (GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext ¶ added in v2.39.0
func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput
type GetControlPoliciesPolicyArray ¶ added in v2.39.0
type GetControlPoliciesPolicyArray []GetControlPoliciesPolicyInput
func (GetControlPoliciesPolicyArray) ElementType ¶ added in v2.39.0
func (GetControlPoliciesPolicyArray) ElementType() reflect.Type
func (GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput ¶ added in v2.39.0
func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
func (GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext ¶ added in v2.39.0
func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput
type GetControlPoliciesPolicyArrayInput ¶ added in v2.39.0
type GetControlPoliciesPolicyArrayInput interface { pulumi.Input ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput ToGetControlPoliciesPolicyArrayOutputWithContext(context.Context) GetControlPoliciesPolicyArrayOutput }
GetControlPoliciesPolicyArrayInput is an input type that accepts GetControlPoliciesPolicyArray and GetControlPoliciesPolicyArrayOutput values. You can construct a concrete instance of `GetControlPoliciesPolicyArrayInput` via:
GetControlPoliciesPolicyArray{ GetControlPoliciesPolicyArgs{...} }
type GetControlPoliciesPolicyArrayOutput ¶ added in v2.39.0
type GetControlPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetControlPoliciesPolicyArrayOutput) ElementType ¶ added in v2.39.0
func (GetControlPoliciesPolicyArrayOutput) ElementType() reflect.Type
func (GetControlPoliciesPolicyArrayOutput) Index ¶ added in v2.39.0
func (o GetControlPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetControlPoliciesPolicyOutput
func (GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput ¶ added in v2.39.0
func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
func (GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext ¶ added in v2.39.0
func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput
type GetControlPoliciesPolicyInput ¶ added in v2.39.0
type GetControlPoliciesPolicyInput interface { pulumi.Input ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput ToGetControlPoliciesPolicyOutputWithContext(context.Context) GetControlPoliciesPolicyOutput }
GetControlPoliciesPolicyInput is an input type that accepts GetControlPoliciesPolicyArgs and GetControlPoliciesPolicyOutput values. You can construct a concrete instance of `GetControlPoliciesPolicyInput` via:
GetControlPoliciesPolicyArgs{...}
type GetControlPoliciesPolicyOutput ¶ added in v2.39.0
type GetControlPoliciesPolicyOutput struct{ *pulumi.OutputState }
func (GetControlPoliciesPolicyOutput) AttachmentCount ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) AttachmentCount() pulumi.IntOutput
The count of policy attachment.
func (GetControlPoliciesPolicyOutput) ControlPolicyName ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) ControlPolicyName() pulumi.StringOutput
The name of policy.
func (GetControlPoliciesPolicyOutput) Description ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) Description() pulumi.StringOutput
The description of policy.
func (GetControlPoliciesPolicyOutput) EffectScope ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) EffectScope() pulumi.StringOutput
The effect scope.
func (GetControlPoliciesPolicyOutput) ElementType ¶ added in v2.39.0
func (GetControlPoliciesPolicyOutput) ElementType() reflect.Type
func (GetControlPoliciesPolicyOutput) Id ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) Id() pulumi.StringOutput
The ID of the Control Policy.
func (GetControlPoliciesPolicyOutput) PolicyDocument ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) PolicyDocument() pulumi.StringOutput
The policy document.
func (GetControlPoliciesPolicyOutput) PolicyId ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) PolicyId() pulumi.StringOutput
The ID of policy.
func (GetControlPoliciesPolicyOutput) PolicyType ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) PolicyType() pulumi.StringOutput
The type of policy.
func (GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
func (GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext ¶ added in v2.39.0
func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput
type GetControlPoliciesResult ¶ added in v2.39.0
type GetControlPoliciesResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Language *string `pulumi:"language"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Policies []GetControlPoliciesPolicy `pulumi:"policies"` PolicyType *string `pulumi:"policyType"` }
A collection of values returned by getControlPolicies.
func GetControlPolicies ¶ added in v2.39.0
func GetControlPolicies(ctx *pulumi.Context, args *GetControlPoliciesArgs, opts ...pulumi.InvokeOption) (*GetControlPoliciesResult, error)
This data source provides the Resource Manager Control Policies of the current Alibaba Cloud user.
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "the_resource_name" example, err := resourcemanager.GetControlPolicies(ctx, &resourcemanager.GetControlPoliciesArgs{ Ids: []string{ "example_value", }, NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstResourceManagerControlPolicyId", example.Policies[0].Id) return nil }) }
```
type GetControlPolicyAttachmentsArgs ¶ added in v2.39.0
type GetControlPolicyAttachmentsArgs struct { // The language. Valid value `zh-CN`, `en`, and `ja`. Default value `zh-CN` Language *string `pulumi:"language"` OutputFile *string `pulumi:"outputFile"` // The type of policy. PolicyType *string `pulumi:"policyType"` // The Id of target. TargetId string `pulumi:"targetId"` }
A collection of arguments for invoking getControlPolicyAttachments.
type GetControlPolicyAttachmentsAttachment ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachment struct { // The attach date. AttachDate string `pulumi:"attachDate"` // The description of policy. Description string `pulumi:"description"` // The ID of the Control Policy Attachment. Id string `pulumi:"id"` // The ID of policy. PolicyId string `pulumi:"policyId"` // The name of policy. PolicyName string `pulumi:"policyName"` // The type of policy. PolicyType string `pulumi:"policyType"` }
type GetControlPolicyAttachmentsAttachmentArgs ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachmentArgs struct { // The attach date. AttachDate pulumi.StringInput `pulumi:"attachDate"` // The description of policy. Description pulumi.StringInput `pulumi:"description"` // The ID of the Control Policy Attachment. Id pulumi.StringInput `pulumi:"id"` // The ID of policy. PolicyId pulumi.StringInput `pulumi:"policyId"` // The name of policy. PolicyName pulumi.StringInput `pulumi:"policyName"` // The type of policy. PolicyType pulumi.StringInput `pulumi:"policyType"` }
func (GetControlPolicyAttachmentsAttachmentArgs) ElementType ¶ added in v2.39.0
func (GetControlPolicyAttachmentsAttachmentArgs) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutput ¶ added in v2.39.0
func (i GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput
func (GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutputWithContext ¶ added in v2.39.0
func (i GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentOutput
type GetControlPolicyAttachmentsAttachmentArray ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachmentArray []GetControlPolicyAttachmentsAttachmentInput
func (GetControlPolicyAttachmentsAttachmentArray) ElementType ¶ added in v2.39.0
func (GetControlPolicyAttachmentsAttachmentArray) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutput ¶ added in v2.39.0
func (i GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput
func (GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext ¶ added in v2.39.0
func (i GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput
type GetControlPolicyAttachmentsAttachmentArrayInput ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachmentArrayInput interface { pulumi.Input ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput }
GetControlPolicyAttachmentsAttachmentArrayInput is an input type that accepts GetControlPolicyAttachmentsAttachmentArray and GetControlPolicyAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetControlPolicyAttachmentsAttachmentArrayInput` via:
GetControlPolicyAttachmentsAttachmentArray{ GetControlPolicyAttachmentsAttachmentArgs{...} }
type GetControlPolicyAttachmentsAttachmentArrayOutput ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ElementType ¶ added in v2.39.0
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutput ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput
type GetControlPolicyAttachmentsAttachmentInput ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachmentInput interface { pulumi.Input ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput ToGetControlPolicyAttachmentsAttachmentOutputWithContext(context.Context) GetControlPolicyAttachmentsAttachmentOutput }
GetControlPolicyAttachmentsAttachmentInput is an input type that accepts GetControlPolicyAttachmentsAttachmentArgs and GetControlPolicyAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetControlPolicyAttachmentsAttachmentInput` via:
GetControlPolicyAttachmentsAttachmentArgs{...}
type GetControlPolicyAttachmentsAttachmentOutput ¶ added in v2.39.0
type GetControlPolicyAttachmentsAttachmentOutput struct{ *pulumi.OutputState }
func (GetControlPolicyAttachmentsAttachmentOutput) AttachDate ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) AttachDate() pulumi.StringOutput
The attach date.
func (GetControlPolicyAttachmentsAttachmentOutput) Description ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) Description() pulumi.StringOutput
The description of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) ElementType ¶ added in v2.39.0
func (GetControlPolicyAttachmentsAttachmentOutput) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentOutput) Id ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) Id() pulumi.StringOutput
The ID of the Control Policy Attachment.
func (GetControlPolicyAttachmentsAttachmentOutput) PolicyId ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyId() pulumi.StringOutput
The ID of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) PolicyName ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyName() pulumi.StringOutput
The name of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) PolicyType ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyType() pulumi.StringOutput
The type of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutput ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput
func (GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutputWithContext ¶ added in v2.39.0
func (o GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentOutput
type GetControlPolicyAttachmentsResult ¶ added in v2.39.0
type GetControlPolicyAttachmentsResult struct { Attachments []GetControlPolicyAttachmentsAttachment `pulumi:"attachments"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Language *string `pulumi:"language"` OutputFile *string `pulumi:"outputFile"` PolicyType *string `pulumi:"policyType"` TargetId string `pulumi:"targetId"` }
A collection of values returned by getControlPolicyAttachments.
func GetControlPolicyAttachments ¶ added in v2.39.0
func GetControlPolicyAttachments(ctx *pulumi.Context, args *GetControlPolicyAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetControlPolicyAttachmentsResult, error)
This data source provides the Resource Manager Control Policy Attachments of the current Alibaba Cloud user.
> **NOTE:** Available in v1.120.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := resourcemanager.GetControlPolicyAttachments(ctx, &resourcemanager.GetControlPolicyAttachmentsArgs{ TargetId: "example_value", }, nil) if err != nil { return err } ctx.Export("firstResourceManagerControlPolicyAttachmentId", example.Attachments[0].Id) return nil }) }
```
type GetFoldersArgs ¶ added in v2.6.0
type GetFoldersArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // 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"` // The query keyword. QueryKeyword *string `pulumi:"queryKeyword"` }
A collection of arguments for invoking getFolders.
type GetFoldersFolder ¶ added in v2.6.0
type GetFoldersFolder struct { FolderId string `pulumi:"folderId"` FolderName string `pulumi:"folderName"` // The ID of the folder. // * `folderId`- The ID of the folder. // * `folderName`- The name of the folder. // * `parentFolderId`- (Available in v1.114.0+)The ID of the parent folder. Id string `pulumi:"id"` // The ID of the parent folder. ParentFolderId string `pulumi:"parentFolderId"` }
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. // * `parentFolderId`- (Available in v1.114.0+)The ID of the parent folder. Id pulumi.StringInput `pulumi:"id"` // The ID of the parent folder. ParentFolderId pulumi.StringInput `pulumi:"parentFolderId"` }
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. * `parentFolderId`- (Available in v1.114.0+)The ID of the parent folder.
func (GetFoldersFolderOutput) ParentFolderId ¶ added in v2.34.0
func (o GetFoldersFolderOutput) ParentFolderId() pulumi.StringOutput
The ID of the parent 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 { EnableDetails *bool `pulumi:"enableDetails"` // 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"` QueryKeyword *string `pulumi:"queryKeyword"` }
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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tftest" example, err := resourcemanager.GetFolders(ctx, &resourcemanager.GetFoldersArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstFolderId", example.Folders[0].Id) return nil }) }
```
type GetHandshakesArgs ¶ added in v2.8.0
type GetHandshakesArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // A list of Resource Manager Handshake IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // The status of handshake, valid values: `Accepted`, `Cancelled`, `Declined`, `Deleted`, `Expired` and `Pending`. Status *string `pulumi:"status"` }
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"` // (Available in v1.114.0+) The real name of the invited account. InvitedAccountRealName string `pulumi:"invitedAccountRealName"` // 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"` // (Available in v1.114.0+) The real name of the master account of the resource directory. MasterAccountRealName string `pulumi:"masterAccountRealName"` // 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 handshake, valid values: `Accepted`, `Cancelled`, `Declined`, `Deleted`, `Expired` and `Pending`. 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"` // (Available in v1.114.0+) The real name of the invited account. InvitedAccountRealName pulumi.StringInput `pulumi:"invitedAccountRealName"` // 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"` // (Available in v1.114.0+) The real name of the master account of the resource directory. MasterAccountRealName pulumi.StringInput `pulumi:"masterAccountRealName"` // 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 handshake, valid values: `Accepted`, `Cancelled`, `Declined`, `Deleted`, `Expired` and `Pending`. 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) InvitedAccountRealName ¶ added in v2.34.0
func (o GetHandshakesHandshakeOutput) InvitedAccountRealName() pulumi.StringOutput
(Available in v1.114.0+) The real name of the invited account.
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) MasterAccountRealName ¶ added in v2.34.0
func (o GetHandshakesHandshakeOutput) MasterAccountRealName() pulumi.StringOutput
(Available in v1.114.0+) The real 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 handshake, valid values: `Accepted`, `Cancelled`, `Declined`, `Deleted`, `Expired` and `Pending`.
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 { EnableDetails *bool `pulumi:"enableDetails"` // 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"` // The status of the invitation. Status *string `pulumi:"status"` }
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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := resourcemanager.GetHandshakes(ctx, nil, nil) if err != nil { return err } ctx.Export("firstHandshakeId", example.Handshakes[0].Id) return nil }) }
```
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 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 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) 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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tftest" opt1 := "Custom" example, err := resourcemanager.GetPolicies(ctx, &resourcemanager.GetPoliciesArgs{ DescriptionRegex: "tftest_policy", NameRegex: &opt0, PolicyType: &opt1, }, nil) if err != nil { return err } ctx.Export("firstPolicyId", example.Policies[0].Id) return nil }) }
```
type GetPolicyAttachmentsArgs ¶ added in v2.14.0
type GetPolicyAttachmentsArgs struct { // The language that is used to return the description of the system policy. Valid values:`en`: English, `zh-CN`: Chinese, `ja`: Japanese. Language *string `pulumi:"language"` OutputFile *string `pulumi:"outputFile"` // The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName *string `pulumi:"policyName"` // The type of the policy. Valid values: `Custom` and `System`. PolicyType *string `pulumi:"policyType"` // The name of the object to which the policy is attached. PrincipalName *string `pulumi:"principalName"` // The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role. PrincipalType *string `pulumi:"principalType"` // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account. ResourceGroupId *string `pulumi:"resourceGroupId"` }
A collection of arguments for invoking getPolicyAttachments.
type GetPolicyAttachmentsAttachment ¶ added in v2.14.0
type GetPolicyAttachmentsAttachment struct { // The time when the policy was attached. AttachDate string `pulumi:"attachDate"` // The description of the policy. Description string `pulumi:"description"` // The ID of the Resource Manager Policy Attachment. // * `policyName`- The name of the policy. // * `policyType`- The type of the policy. // * `principalName`- The name of the object to which the policy is attached. // * `principalType`- The type of the object to which the policy is attached. Id string `pulumi:"id"` // The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName string `pulumi:"policyName"` // The type of the policy. Valid values: `Custom` and `System`. PolicyType string `pulumi:"policyType"` // The name of the object to which the policy is attached. PrincipalName string `pulumi:"principalName"` // The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role. PrincipalType string `pulumi:"principalType"` // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account. ResourceGroupId string `pulumi:"resourceGroupId"` }
type GetPolicyAttachmentsAttachmentArgs ¶ added in v2.14.0
type GetPolicyAttachmentsAttachmentArgs struct { // The time when the policy was attached. AttachDate pulumi.StringInput `pulumi:"attachDate"` // The description of the policy. Description pulumi.StringInput `pulumi:"description"` // The ID of the Resource Manager Policy Attachment. // * `policyName`- The name of the policy. // * `policyType`- The type of the policy. // * `principalName`- The name of the object to which the policy is attached. // * `principalType`- The type of the object to which the policy is attached. Id pulumi.StringInput `pulumi:"id"` // The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringInput `pulumi:"policyName"` // The type of the policy. Valid values: `Custom` and `System`. PolicyType pulumi.StringInput `pulumi:"policyType"` // The name of the object to which the policy is attached. PrincipalName pulumi.StringInput `pulumi:"principalName"` // The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role. PrincipalType pulumi.StringInput `pulumi:"principalType"` // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` }
func (GetPolicyAttachmentsAttachmentArgs) ElementType ¶ added in v2.14.0
func (GetPolicyAttachmentsAttachmentArgs) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutput ¶ added in v2.14.0
func (i GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput
func (GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutputWithContext ¶ added in v2.14.0
func (i GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentOutput
type GetPolicyAttachmentsAttachmentArray ¶ added in v2.14.0
type GetPolicyAttachmentsAttachmentArray []GetPolicyAttachmentsAttachmentInput
func (GetPolicyAttachmentsAttachmentArray) ElementType ¶ added in v2.14.0
func (GetPolicyAttachmentsAttachmentArray) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutput ¶ added in v2.14.0
func (i GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput
func (GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext ¶ added in v2.14.0
func (i GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentArrayOutput
type GetPolicyAttachmentsAttachmentArrayInput ¶ added in v2.14.0
type GetPolicyAttachmentsAttachmentArrayInput interface { pulumi.Input ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(context.Context) GetPolicyAttachmentsAttachmentArrayOutput }
GetPolicyAttachmentsAttachmentArrayInput is an input type that accepts GetPolicyAttachmentsAttachmentArray and GetPolicyAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetPolicyAttachmentsAttachmentArrayInput` via:
GetPolicyAttachmentsAttachmentArray{ GetPolicyAttachmentsAttachmentArgs{...} }
type GetPolicyAttachmentsAttachmentArrayOutput ¶ added in v2.14.0
type GetPolicyAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyAttachmentsAttachmentArrayOutput) ElementType ¶ added in v2.14.0
func (GetPolicyAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutput ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput
func (GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentArrayOutput
type GetPolicyAttachmentsAttachmentInput ¶ added in v2.14.0
type GetPolicyAttachmentsAttachmentInput interface { pulumi.Input ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput ToGetPolicyAttachmentsAttachmentOutputWithContext(context.Context) GetPolicyAttachmentsAttachmentOutput }
GetPolicyAttachmentsAttachmentInput is an input type that accepts GetPolicyAttachmentsAttachmentArgs and GetPolicyAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetPolicyAttachmentsAttachmentInput` via:
GetPolicyAttachmentsAttachmentArgs{...}
type GetPolicyAttachmentsAttachmentOutput ¶ added in v2.14.0
type GetPolicyAttachmentsAttachmentOutput struct{ *pulumi.OutputState }
func (GetPolicyAttachmentsAttachmentOutput) AttachDate ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) AttachDate() pulumi.StringOutput
The time when the policy was attached.
func (GetPolicyAttachmentsAttachmentOutput) Description ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) Description() pulumi.StringOutput
The description of the policy.
func (GetPolicyAttachmentsAttachmentOutput) ElementType ¶ added in v2.14.0
func (GetPolicyAttachmentsAttachmentOutput) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentOutput) Id ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) Id() pulumi.StringOutput
The ID of the Resource Manager Policy Attachment. * `policyName`- The name of the policy. * `policyType`- The type of the policy. * `principalName`- The name of the object to which the policy is attached. * `principalType`- The type of the object to which the policy is attached.
func (GetPolicyAttachmentsAttachmentOutput) PolicyName ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) PolicyName() pulumi.StringOutput
The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
func (GetPolicyAttachmentsAttachmentOutput) PolicyType ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) PolicyType() pulumi.StringOutput
The type of the policy. Valid values: `Custom` and `System`.
func (GetPolicyAttachmentsAttachmentOutput) PrincipalName ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) PrincipalName() pulumi.StringOutput
The name of the object to which the policy is attached.
func (GetPolicyAttachmentsAttachmentOutput) PrincipalType ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) PrincipalType() pulumi.StringOutput
The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role.
func (GetPolicyAttachmentsAttachmentOutput) ResourceGroupId ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account.
func (GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutput ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput
func (GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutputWithContext ¶ added in v2.14.0
func (o GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentOutput
type GetPolicyAttachmentsResult ¶ added in v2.14.0
type GetPolicyAttachmentsResult struct { // A list of Resource Manager Policy Attachment. Each element contains the following attributes: Attachments []GetPolicyAttachmentsAttachment `pulumi:"attachments"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Resource Manager Policy Attachment IDs. Ids []string `pulumi:"ids"` Language *string `pulumi:"language"` OutputFile *string `pulumi:"outputFile"` PolicyName *string `pulumi:"policyName"` PolicyType *string `pulumi:"policyType"` PrincipalName *string `pulumi:"principalName"` PrincipalType *string `pulumi:"principalType"` // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. ResourceGroupId *string `pulumi:"resourceGroupId"` }
A collection of values returned by getPolicyAttachments.
func GetPolicyAttachments ¶ added in v2.14.0
func GetPolicyAttachments(ctx *pulumi.Context, args *GetPolicyAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetPolicyAttachmentsResult, error)
This data source provides the Resource Manager Policy Attachments of the current Alibaba Cloud user.
> **NOTE:** Available in 1.93.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := resourcemanager.GetPolicyAttachments(ctx, nil, nil) if err != nil { return err } ctx.Export("firstAttachmentId", example.Attachments[0].Id) return nil }) }
```
type GetPolicyVersionsArgs ¶ added in v2.7.0
type GetPolicyVersionsArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // 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 { EnableDetails *bool `pulumi:"enableDetails"` // 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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := resourcemanager.GetPolicyVersions(ctx, &resourcemanager.GetPolicyVersionsArgs{ PolicyName: "tftest", PolicyType: "Custom", }, nil) if err != nil { return err } ctx.Export("firstPolicyVersionId", _default.Versions[0].Id) return nil }) }
```
type GetPolicyVersionsVersion ¶ added in v2.7.0
type GetPolicyVersionsVersion struct { // The ID of the resource, the value is `<policy_name>`:`<version_id>`. // * `versionId`- The ID of the policy version. // * `createDate`- (Removed form v1.114.0)The time when the policy version was created. // * `isDefaultVersion`- Indicates whether the policy version is the default version. // * `policyDocument`- (Available in v1.114.0+) The policy document of the policy version. Id string `pulumi:"id"` IsDefaultVersion bool `pulumi:"isDefaultVersion"` PolicyDocument string `pulumi:"policyDocument"` VersionId string `pulumi:"versionId"` }
type GetPolicyVersionsVersionArgs ¶ added in v2.7.0
type GetPolicyVersionsVersionArgs struct { // The ID of the resource, the value is `<policy_name>`:`<version_id>`. // * `versionId`- The ID of the policy version. // * `createDate`- (Removed form v1.114.0)The time when the policy version was created. // * `isDefaultVersion`- Indicates whether the policy version is the default version. // * `policyDocument`- (Available in v1.114.0+) The policy document of the policy version. Id pulumi.StringInput `pulumi:"id"` IsDefaultVersion pulumi.BoolInput `pulumi:"isDefaultVersion"` PolicyDocument pulumi.StringInput `pulumi:"policyDocument"` 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) 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`- (Removed form v1.114.0)The time when the policy version was created. * `isDefaultVersion`- Indicates whether the policy version is the default version. * `policyDocument`- (Available in v1.114.0+) The policy document of the policy version.
func (GetPolicyVersionsVersionOutput) IsDefaultVersion ¶ added in v2.7.0
func (o GetPolicyVersionsVersionOutput) IsDefaultVersion() pulumi.BoolOutput
func (GetPolicyVersionsVersionOutput) PolicyDocument ¶ added in v2.34.0
func (o GetPolicyVersionsVersionOutput) PolicyDocument() pulumi.StringOutput
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"` // (Available in 1.120.0+.) The status of the control policy. Status string `pulumi:"status"` }
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"` // (Available in 1.120.0+.) The status of the control policy. Status pulumi.StringInput `pulumi:"status"` }
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) Status ¶ added in v2.39.0
func (o GetResourceDirectoriesDirectoryOutput) Status() pulumi.StringOutput
(Available in 1.120.0+.) The status of the control policy.
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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := resourcemanager.GetResourceDirectories(ctx, nil, nil) if err != nil { return err } ctx.Export("resourceDirectoryId", _default.Directories[0].Id) return nil }) }
```
type GetResourceGroupsArgs ¶ added in v2.6.0
type GetResourceGroupsArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // 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`,`Deleting`(Available 1.114.0+) `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 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"` RegionStatuses []GetResourceGroupsGroupRegionStatus `pulumi:"regionStatuses"` // (Available in v1.114.0+) The unique identifier of the resource group. ResourceGroupName string `pulumi:"resourceGroupName"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`Deleting`(Available 1.114.0+) `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 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"` RegionStatuses GetResourceGroupsGroupRegionStatusArrayInput `pulumi:"regionStatuses"` // (Available in v1.114.0+) The unique identifier of the resource group. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`Deleting`(Available 1.114.0+) `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) 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) RegionStatuses ¶ added in v2.34.0
func (o GetResourceGroupsGroupOutput) RegionStatuses() GetResourceGroupsGroupRegionStatusArrayOutput
func (GetResourceGroupsGroupOutput) ResourceGroupName ¶ added in v2.34.0
func (o GetResourceGroupsGroupOutput) ResourceGroupName() pulumi.StringOutput
(Available in v1.114.0+) 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`,`Deleting`(Available 1.114.0+) `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 GetResourceGroupsGroupRegionStatus ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusArgs ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusArgs struct { // The region ID. RegionId pulumi.StringInput `pulumi:"regionId"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`Deleting`(Available 1.114.0+) `OK` and `PendingDelete`. Status pulumi.StringInput `pulumi:"status"` }
func (GetResourceGroupsGroupRegionStatusArgs) ElementType ¶ added in v2.34.0
func (GetResourceGroupsGroupRegionStatusArgs) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutput ¶ added in v2.34.0
func (i GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput
func (GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutputWithContext ¶ added in v2.34.0
func (i GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusOutput
type GetResourceGroupsGroupRegionStatusArray ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusArray []GetResourceGroupsGroupRegionStatusInput
func (GetResourceGroupsGroupRegionStatusArray) ElementType ¶ added in v2.34.0
func (GetResourceGroupsGroupRegionStatusArray) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutput ¶ added in v2.34.0
func (i GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput
func (GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext ¶ added in v2.34.0
func (i GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusArrayOutput
type GetResourceGroupsGroupRegionStatusArrayInput ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusArrayInput interface { pulumi.Input ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(context.Context) GetResourceGroupsGroupRegionStatusArrayOutput }
GetResourceGroupsGroupRegionStatusArrayInput is an input type that accepts GetResourceGroupsGroupRegionStatusArray and GetResourceGroupsGroupRegionStatusArrayOutput values. You can construct a concrete instance of `GetResourceGroupsGroupRegionStatusArrayInput` via:
GetResourceGroupsGroupRegionStatusArray{ GetResourceGroupsGroupRegionStatusArgs{...} }
type GetResourceGroupsGroupRegionStatusArrayOutput ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusArrayOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupRegionStatusArrayOutput) ElementType ¶ added in v2.34.0
func (GetResourceGroupsGroupRegionStatusArrayOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutput ¶ added in v2.34.0
func (o GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput
func (GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext ¶ added in v2.34.0
func (o GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusArrayOutput
type GetResourceGroupsGroupRegionStatusInput ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusInput interface { pulumi.Input ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput ToGetResourceGroupsGroupRegionStatusOutputWithContext(context.Context) GetResourceGroupsGroupRegionStatusOutput }
GetResourceGroupsGroupRegionStatusInput is an input type that accepts GetResourceGroupsGroupRegionStatusArgs and GetResourceGroupsGroupRegionStatusOutput values. You can construct a concrete instance of `GetResourceGroupsGroupRegionStatusInput` via:
GetResourceGroupsGroupRegionStatusArgs{...}
type GetResourceGroupsGroupRegionStatusOutput ¶ added in v2.34.0
type GetResourceGroupsGroupRegionStatusOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupRegionStatusOutput) ElementType ¶ added in v2.34.0
func (GetResourceGroupsGroupRegionStatusOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusOutput) RegionId ¶ added in v2.34.0
func (o GetResourceGroupsGroupRegionStatusOutput) RegionId() pulumi.StringOutput
The region ID.
func (GetResourceGroupsGroupRegionStatusOutput) Status ¶ added in v2.34.0
func (o GetResourceGroupsGroupRegionStatusOutput) Status() pulumi.StringOutput
The status of the resource group. Possible values:`Creating`,`Deleted`,`Deleting`(Available 1.114.0+) `OK` and `PendingDelete`.
func (GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutput ¶ added in v2.34.0
func (o GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput
func (GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutputWithContext ¶ added in v2.34.0
func (o GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusOutput
type GetResourceGroupsResult ¶ added in v2.6.0
type GetResourceGroupsResult struct { EnableDetails *bool `pulumi:"enableDetails"` // 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 regional resource group. 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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tftest" example, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstResourceGroupId", example.Groups[0].Id) return nil }) }
```
type GetResourceSharesArgs ¶ added in v2.30.0
type GetResourceSharesArgs struct { string `pulumi:"ids"` // A regex string to filter results by Resource Share name. ResourceShareName *string `pulumi:"resourceShareName"` ResourceShareOwner string `pulumi:"resourceShareOwner"` Status *string `pulumi:"status"` }Ids []
A collection of arguments for invoking getResourceShares.
type GetResourceSharesResult ¶ added in v2.30.0
type GetResourceSharesResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getResourceShares.
func GetResourceShares ¶ added in v2.30.0
func GetResourceShares(ctx *pulumi.Context, args *GetResourceSharesArgs, opts ...pulumi.InvokeOption) (*GetResourceSharesResult, error)
This data source provides the Resource Manager Resource Shares of the current Alibaba Cloud user.
> **NOTE:** Available in v1.111.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "the_resource_name" example, err := resourcemanager.GetResourceShares(ctx, &resourcemanager.GetResourceSharesArgs{ ResourceShareOwner: "Self", Ids: []string{ "example_value", }, NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstResourceManagerResourceShareId", example.Shares[0].Id) return nil }) }
```
type GetResourceSharesShare ¶ added in v2.30.0
type GetResourceSharesShareArgs ¶ added in v2.30.0
type GetResourceSharesShareArgs struct { pulumi.StringInput `pulumi:"id"` ResourceShareId pulumi.StringInput `pulumi:"resourceShareId"` ResourceShareName pulumi.StringInput `pulumi:"resourceShareName"` ResourceShareOwner pulumi.StringInput `pulumi:"resourceShareOwner"` Status pulumi.StringInput `pulumi:"status"` }Id
func (GetResourceSharesShareArgs) ElementType ¶ added in v2.30.0
func (GetResourceSharesShareArgs) ElementType() reflect.Type
func (GetResourceSharesShareArgs) ToGetResourceSharesShareOutput ¶ added in v2.30.0
func (i GetResourceSharesShareArgs) ToGetResourceSharesShareOutput() GetResourceSharesShareOutput
func (GetResourceSharesShareArgs) ToGetResourceSharesShareOutputWithContext ¶ added in v2.30.0
func (i GetResourceSharesShareArgs) ToGetResourceSharesShareOutputWithContext(ctx context.Context) GetResourceSharesShareOutput
type GetResourceSharesShareArray ¶ added in v2.30.0
type GetResourceSharesShareArray []GetResourceSharesShareInput
func (GetResourceSharesShareArray) ElementType ¶ added in v2.30.0
func (GetResourceSharesShareArray) ElementType() reflect.Type
func (GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutput ¶ added in v2.30.0
func (i GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutput() GetResourceSharesShareArrayOutput
func (GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutputWithContext ¶ added in v2.30.0
func (i GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutputWithContext(ctx context.Context) GetResourceSharesShareArrayOutput
type GetResourceSharesShareArrayInput ¶ added in v2.30.0
GetResourceSharesShareArrayInput is an input type that accepts GetResourceSharesShareArray and GetResourceSharesShareArrayOutput values. You can construct a concrete instance of `GetResourceSharesShareArrayInput` via:
GetResourceSharesShareArray{ GetResourceSharesShareArgs{...} }
type GetResourceSharesShareArrayOutput ¶ added in v2.30.0
func (GetResourceSharesShareArrayOutput) ElementType ¶ added in v2.30.0
func (GetResourceSharesShareArrayOutput) ElementType() reflect.Type
func (GetResourceSharesShareArrayOutput) Index ¶ added in v2.30.0
func (o GetResourceSharesShareArrayOutput) Index(i pulumi.IntInput) GetResourceSharesShareOutput
func (GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutput ¶ added in v2.30.0
func (o GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutput() GetResourceSharesShareArrayOutput
func (GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutputWithContext ¶ added in v2.30.0
func (o GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutputWithContext(ctx context.Context) GetResourceSharesShareArrayOutput
type GetResourceSharesShareInput ¶ added in v2.30.0
GetResourceSharesShareInput is an input type that accepts GetResourceSharesShareArgs and GetResourceSharesShareOutput values. You can construct a concrete instance of `GetResourceSharesShareInput` via:
GetResourceSharesShareArgs{...}
type GetResourceSharesShareOutput ¶ added in v2.30.0
func (GetResourceSharesShareOutput) ElementType ¶ added in v2.30.0
func (GetResourceSharesShareOutput) ElementType() reflect.Type
func (GetResourceSharesShareOutput) Id ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) Id() pulumi.StringOutput
The ID of the Resource Share.
func (GetResourceSharesShareOutput) ResourceShareId ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) ResourceShareId() pulumi.StringOutput
The ID of the resource share.
func (GetResourceSharesShareOutput) ResourceShareName ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) ResourceShareName() pulumi.StringOutput
The name of resource share.
func (GetResourceSharesShareOutput) ResourceShareOwner ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) ResourceShareOwner() pulumi.StringOutput
The owner of resource share.
func (GetResourceSharesShareOutput) Status ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) Status() pulumi.StringOutput
The status of resource share.
func (GetResourceSharesShareOutput) ToGetResourceSharesShareOutput ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) ToGetResourceSharesShareOutput() GetResourceSharesShareOutput
func (GetResourceSharesShareOutput) ToGetResourceSharesShareOutputWithContext ¶ added in v2.30.0
func (o GetResourceSharesShareOutput) ToGetResourceSharesShareOutputWithContext(ctx context.Context) GetResourceSharesShareOutput
type GetRolesArgs ¶ added in v2.8.0
type GetRolesArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails *bool `pulumi:"enableDetails"` // 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 { EnableDetails *bool `pulumi:"enableDetails"` // 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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "tftest" example, err := resourcemanager.GetRoles(ctx, &resourcemanager.GetRolesArgs{ NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstRoleId", example.Roles[0].Id) return nil }) }
```
type GetRolesRole ¶ added in v2.8.0
type GetRolesRole struct { Arn string `pulumi:"arn"` AssumeRolePolicyDocument string `pulumi:"assumeRolePolicyDocument"` 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`- (Removed form v1.114.0) 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. // * `assumeRolePolicyDocument`- (Available in v1.114.0+) The assume role policy document. 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"` AssumeRolePolicyDocument pulumi.StringInput `pulumi:"assumeRolePolicyDocument"` 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`- (Removed form v1.114.0) 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. // * `assumeRolePolicyDocument`- (Available in v1.114.0+) The assume role policy document. 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) AssumeRolePolicyDocument ¶ added in v2.34.0
func (o GetRolesRoleOutput) AssumeRolePolicyDocument() 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`- (Removed form v1.114.0) 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. * `assumeRolePolicyDocument`- (Available in v1.114.0+) The assume role policy document.
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 GetSharedResourcesArgs ¶ added in v2.30.0
type GetSharedResourcesArgs struct { // A list of shared resource ID. ResourceShareId *string `pulumi:"resourceShareId"` Status *string `pulumi:"status"` }
A collection of arguments for invoking getSharedResources.
type GetSharedResourcesResource ¶ added in v2.30.0
type GetSharedResourcesResourceArgs ¶ added in v2.30.0
type GetSharedResourcesResourceArgs struct { pulumi.StringInput `pulumi:"id"` ResourceId pulumi.StringInput `pulumi:"resourceId"` ResourceShareId pulumi.StringInput `pulumi:"resourceShareId"` ResourceType pulumi.StringInput `pulumi:"resourceType"` Status pulumi.StringInput `pulumi:"status"` }Id
func (GetSharedResourcesResourceArgs) ElementType ¶ added in v2.30.0
func (GetSharedResourcesResourceArgs) ElementType() reflect.Type
func (GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutput ¶ added in v2.30.0
func (i GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutput() GetSharedResourcesResourceOutput
func (GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutputWithContext ¶ added in v2.30.0
func (i GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutputWithContext(ctx context.Context) GetSharedResourcesResourceOutput
type GetSharedResourcesResourceArray ¶ added in v2.30.0
type GetSharedResourcesResourceArray []GetSharedResourcesResourceInput
func (GetSharedResourcesResourceArray) ElementType ¶ added in v2.30.0
func (GetSharedResourcesResourceArray) ElementType() reflect.Type
func (GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutput ¶ added in v2.30.0
func (i GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutput() GetSharedResourcesResourceArrayOutput
func (GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutputWithContext ¶ added in v2.30.0
func (i GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutputWithContext(ctx context.Context) GetSharedResourcesResourceArrayOutput
type GetSharedResourcesResourceArrayInput ¶ added in v2.30.0
GetSharedResourcesResourceArrayInput is an input type that accepts GetSharedResourcesResourceArray and GetSharedResourcesResourceArrayOutput values. You can construct a concrete instance of `GetSharedResourcesResourceArrayInput` via:
GetSharedResourcesResourceArray{ GetSharedResourcesResourceArgs{...} }
type GetSharedResourcesResourceArrayOutput ¶ added in v2.30.0
func (GetSharedResourcesResourceArrayOutput) ElementType ¶ added in v2.30.0
func (GetSharedResourcesResourceArrayOutput) ElementType() reflect.Type
func (GetSharedResourcesResourceArrayOutput) Index ¶ added in v2.30.0
func (o GetSharedResourcesResourceArrayOutput) Index(i pulumi.IntInput) GetSharedResourcesResourceOutput
func (GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutput ¶ added in v2.30.0
func (o GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutput() GetSharedResourcesResourceArrayOutput
func (GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutputWithContext ¶ added in v2.30.0
func (o GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutputWithContext(ctx context.Context) GetSharedResourcesResourceArrayOutput
type GetSharedResourcesResourceInput ¶ added in v2.30.0
GetSharedResourcesResourceInput is an input type that accepts GetSharedResourcesResourceArgs and GetSharedResourcesResourceOutput values. You can construct a concrete instance of `GetSharedResourcesResourceInput` via:
GetSharedResourcesResourceArgs{...}
type GetSharedResourcesResourceOutput ¶ added in v2.30.0
func (GetSharedResourcesResourceOutput) ElementType ¶ added in v2.30.0
func (GetSharedResourcesResourceOutput) ElementType() reflect.Type
func (GetSharedResourcesResourceOutput) Id ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) Id() pulumi.StringOutput
The ID of the Shared Resource.
func (GetSharedResourcesResourceOutput) ResourceId ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) ResourceId() pulumi.StringOutput
The ID of the shared resource.
func (GetSharedResourcesResourceOutput) ResourceShareId ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) ResourceShareId() pulumi.StringOutput
The resource share ID of resource manager.
func (GetSharedResourcesResourceOutput) ResourceType ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) ResourceType() pulumi.StringOutput
The type of shared resource.
func (GetSharedResourcesResourceOutput) Status ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) Status() pulumi.StringOutput
The status of shared resource.
func (GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutput ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutput() GetSharedResourcesResourceOutput
func (GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutputWithContext ¶ added in v2.30.0
func (o GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutputWithContext(ctx context.Context) GetSharedResourcesResourceOutput
type GetSharedResourcesResult ¶ added in v2.30.0
type GetSharedResourcesResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getSharedResources.
func GetSharedResources ¶ added in v2.30.0
func GetSharedResources(ctx *pulumi.Context, args *GetSharedResourcesArgs, opts ...pulumi.InvokeOption) (*GetSharedResourcesResult, error)
This data source provides the Resource Manager Shared Resources of the current Alibaba Cloud user.
> **NOTE:** Available in v1.111.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "rs-V2NV******" _, err := resourcemanager.GetSharedResources(ctx, &resourcemanager.GetSharedResourcesArgs{ ResourceShareId: &opt0, Ids: []string{ "vsw-bp1mzouzpmvie********:VSwitch", }, }, nil) if err != nil { return err } ctx.Export("firstResourceManagerSharedResourceId", data.Alicloud_resource_manager_shared_resources.Example.Resources[0].Id) return nil }) }
```
type GetSharedTargetsArgs ¶ added in v2.30.0
type GetSharedTargetsArgs struct { // A list of Shared Target IDs. ResourceShareId *string `pulumi:"resourceShareId"` Status *string `pulumi:"status"` }
A collection of arguments for invoking getSharedTargets.
type GetSharedTargetsResult ¶ added in v2.30.0
type GetSharedTargetsResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getSharedTargets.
func GetSharedTargets ¶ added in v2.30.0
func GetSharedTargets(ctx *pulumi.Context, args *GetSharedTargetsArgs, opts ...pulumi.InvokeOption) (*GetSharedTargetsResult, error)
This data source provides the Resource Manager Shared Targets of the current Alibaba Cloud user.
> **NOTE:** Available in v1.111.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := resourcemanager.GetSharedTargets(ctx, &resourcemanager.GetSharedTargetsArgs{ Ids: []string{ "15681091********", }, }, nil) if err != nil { return err } ctx.Export("firstResourceManagerSharedTargetId", example.Targets[0].Id) return nil }) }
```
type GetSharedTargetsTarget ¶ added in v2.30.0
type GetSharedTargetsTargetArgs ¶ added in v2.30.0
type GetSharedTargetsTargetArgs struct { pulumi.StringInput `pulumi:"id"` ResourceShareId pulumi.StringInput `pulumi:"resourceShareId"` Status pulumi.StringInput `pulumi:"status"` TargetId pulumi.StringInput `pulumi:"targetId"` }Id
func (GetSharedTargetsTargetArgs) ElementType ¶ added in v2.30.0
func (GetSharedTargetsTargetArgs) ElementType() reflect.Type
func (GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutput ¶ added in v2.30.0
func (i GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutput() GetSharedTargetsTargetOutput
func (GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutputWithContext ¶ added in v2.30.0
func (i GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutputWithContext(ctx context.Context) GetSharedTargetsTargetOutput
type GetSharedTargetsTargetArray ¶ added in v2.30.0
type GetSharedTargetsTargetArray []GetSharedTargetsTargetInput
func (GetSharedTargetsTargetArray) ElementType ¶ added in v2.30.0
func (GetSharedTargetsTargetArray) ElementType() reflect.Type
func (GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutput ¶ added in v2.30.0
func (i GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutput() GetSharedTargetsTargetArrayOutput
func (GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutputWithContext ¶ added in v2.30.0
func (i GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutputWithContext(ctx context.Context) GetSharedTargetsTargetArrayOutput
type GetSharedTargetsTargetArrayInput ¶ added in v2.30.0
GetSharedTargetsTargetArrayInput is an input type that accepts GetSharedTargetsTargetArray and GetSharedTargetsTargetArrayOutput values. You can construct a concrete instance of `GetSharedTargetsTargetArrayInput` via:
GetSharedTargetsTargetArray{ GetSharedTargetsTargetArgs{...} }
type GetSharedTargetsTargetArrayOutput ¶ added in v2.30.0
func (GetSharedTargetsTargetArrayOutput) ElementType ¶ added in v2.30.0
func (GetSharedTargetsTargetArrayOutput) ElementType() reflect.Type
func (GetSharedTargetsTargetArrayOutput) Index ¶ added in v2.30.0
func (o GetSharedTargetsTargetArrayOutput) Index(i pulumi.IntInput) GetSharedTargetsTargetOutput
func (GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutput ¶ added in v2.30.0
func (o GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutput() GetSharedTargetsTargetArrayOutput
func (GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutputWithContext ¶ added in v2.30.0
func (o GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutputWithContext(ctx context.Context) GetSharedTargetsTargetArrayOutput
type GetSharedTargetsTargetInput ¶ added in v2.30.0
GetSharedTargetsTargetInput is an input type that accepts GetSharedTargetsTargetArgs and GetSharedTargetsTargetOutput values. You can construct a concrete instance of `GetSharedTargetsTargetInput` via:
GetSharedTargetsTargetArgs{...}
type GetSharedTargetsTargetOutput ¶ added in v2.30.0
func (GetSharedTargetsTargetOutput) ElementType ¶ added in v2.30.0
func (GetSharedTargetsTargetOutput) ElementType() reflect.Type
func (GetSharedTargetsTargetOutput) Id ¶ added in v2.30.0
func (o GetSharedTargetsTargetOutput) Id() pulumi.StringOutput
The ID of the Shared Target.
func (GetSharedTargetsTargetOutput) ResourceShareId ¶ added in v2.30.0
func (o GetSharedTargetsTargetOutput) ResourceShareId() pulumi.StringOutput
The resource shared ID of resource manager.
func (GetSharedTargetsTargetOutput) Status ¶ added in v2.30.0
func (o GetSharedTargetsTargetOutput) Status() pulumi.StringOutput
The status of shared target.
func (GetSharedTargetsTargetOutput) TargetId ¶ added in v2.30.0
func (o GetSharedTargetsTargetOutput) TargetId() pulumi.StringOutput
The member account ID in resource directory.
func (GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutput ¶ added in v2.30.0
func (o GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutput() GetSharedTargetsTargetOutput
func (GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutputWithContext ¶ added in v2.30.0
func (o GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutputWithContext(ctx context.Context) GetSharedTargetsTargetOutput
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+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewHandshake(ctx, "example", &resourcemanager.HandshakeArgs{ Note: pulumi.String("test resource manager handshake"), TargetEntity: pulumi.String("1182775234******"), TargetType: pulumi.String("Account"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager handshake can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/handshake:Handshake example h-QmdexeFm1kE*****
```
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.
func (*Handshake) ElementType ¶ added in v2.25.1
func (*Handshake) ToHandshakeOutput ¶ added in v2.25.1
func (i *Handshake) ToHandshakeOutput() HandshakeOutput
func (*Handshake) ToHandshakeOutputWithContext ¶ added in v2.25.1
func (i *Handshake) ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput
func (*Handshake) ToHandshakePtrOutput ¶ added in v2.35.1
func (i *Handshake) ToHandshakePtrOutput() HandshakePtrOutput
func (*Handshake) ToHandshakePtrOutputWithContext ¶ added in v2.35.1
func (i *Handshake) ToHandshakePtrOutputWithContext(ctx context.Context) HandshakePtrOutput
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 HandshakeArray ¶ added in v2.35.1
type HandshakeArray []HandshakeInput
func (HandshakeArray) ElementType ¶ added in v2.35.1
func (HandshakeArray) ElementType() reflect.Type
func (HandshakeArray) ToHandshakeArrayOutput ¶ added in v2.35.1
func (i HandshakeArray) ToHandshakeArrayOutput() HandshakeArrayOutput
func (HandshakeArray) ToHandshakeArrayOutputWithContext ¶ added in v2.35.1
func (i HandshakeArray) ToHandshakeArrayOutputWithContext(ctx context.Context) HandshakeArrayOutput
type HandshakeArrayInput ¶ added in v2.35.1
type HandshakeArrayInput interface { pulumi.Input ToHandshakeArrayOutput() HandshakeArrayOutput ToHandshakeArrayOutputWithContext(context.Context) HandshakeArrayOutput }
HandshakeArrayInput is an input type that accepts HandshakeArray and HandshakeArrayOutput values. You can construct a concrete instance of `HandshakeArrayInput` via:
HandshakeArray{ HandshakeArgs{...} }
type HandshakeArrayOutput ¶ added in v2.35.1
type HandshakeArrayOutput struct{ *pulumi.OutputState }
func (HandshakeArrayOutput) ElementType ¶ added in v2.35.1
func (HandshakeArrayOutput) ElementType() reflect.Type
func (HandshakeArrayOutput) Index ¶ added in v2.35.1
func (o HandshakeArrayOutput) Index(i pulumi.IntInput) HandshakeOutput
func (HandshakeArrayOutput) ToHandshakeArrayOutput ¶ added in v2.35.1
func (o HandshakeArrayOutput) ToHandshakeArrayOutput() HandshakeArrayOutput
func (HandshakeArrayOutput) ToHandshakeArrayOutputWithContext ¶ added in v2.35.1
func (o HandshakeArrayOutput) ToHandshakeArrayOutputWithContext(ctx context.Context) HandshakeArrayOutput
type HandshakeInput ¶ added in v2.25.1
type HandshakeInput interface { pulumi.Input ToHandshakeOutput() HandshakeOutput ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput }
type HandshakeMap ¶ added in v2.35.1
type HandshakeMap map[string]HandshakeInput
func (HandshakeMap) ElementType ¶ added in v2.35.1
func (HandshakeMap) ElementType() reflect.Type
func (HandshakeMap) ToHandshakeMapOutput ¶ added in v2.35.1
func (i HandshakeMap) ToHandshakeMapOutput() HandshakeMapOutput
func (HandshakeMap) ToHandshakeMapOutputWithContext ¶ added in v2.35.1
func (i HandshakeMap) ToHandshakeMapOutputWithContext(ctx context.Context) HandshakeMapOutput
type HandshakeMapInput ¶ added in v2.35.1
type HandshakeMapInput interface { pulumi.Input ToHandshakeMapOutput() HandshakeMapOutput ToHandshakeMapOutputWithContext(context.Context) HandshakeMapOutput }
HandshakeMapInput is an input type that accepts HandshakeMap and HandshakeMapOutput values. You can construct a concrete instance of `HandshakeMapInput` via:
HandshakeMap{ "key": HandshakeArgs{...} }
type HandshakeMapOutput ¶ added in v2.35.1
type HandshakeMapOutput struct{ *pulumi.OutputState }
func (HandshakeMapOutput) ElementType ¶ added in v2.35.1
func (HandshakeMapOutput) ElementType() reflect.Type
func (HandshakeMapOutput) MapIndex ¶ added in v2.35.1
func (o HandshakeMapOutput) MapIndex(k pulumi.StringInput) HandshakeOutput
func (HandshakeMapOutput) ToHandshakeMapOutput ¶ added in v2.35.1
func (o HandshakeMapOutput) ToHandshakeMapOutput() HandshakeMapOutput
func (HandshakeMapOutput) ToHandshakeMapOutputWithContext ¶ added in v2.35.1
func (o HandshakeMapOutput) ToHandshakeMapOutputWithContext(ctx context.Context) HandshakeMapOutput
type HandshakeOutput ¶ added in v2.25.1
type HandshakeOutput struct {
*pulumi.OutputState
}
func (HandshakeOutput) ElementType ¶ added in v2.25.1
func (HandshakeOutput) ElementType() reflect.Type
func (HandshakeOutput) ToHandshakeOutput ¶ added in v2.25.1
func (o HandshakeOutput) ToHandshakeOutput() HandshakeOutput
func (HandshakeOutput) ToHandshakeOutputWithContext ¶ added in v2.25.1
func (o HandshakeOutput) ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput
func (HandshakeOutput) ToHandshakePtrOutput ¶ added in v2.35.1
func (o HandshakeOutput) ToHandshakePtrOutput() HandshakePtrOutput
func (HandshakeOutput) ToHandshakePtrOutputWithContext ¶ added in v2.35.1
func (o HandshakeOutput) ToHandshakePtrOutputWithContext(ctx context.Context) HandshakePtrOutput
type HandshakePtrInput ¶ added in v2.35.1
type HandshakePtrInput interface { pulumi.Input ToHandshakePtrOutput() HandshakePtrOutput ToHandshakePtrOutputWithContext(ctx context.Context) HandshakePtrOutput }
type HandshakePtrOutput ¶ added in v2.35.1
type HandshakePtrOutput struct {
*pulumi.OutputState
}
func (HandshakePtrOutput) ElementType ¶ added in v2.35.1
func (HandshakePtrOutput) ElementType() reflect.Type
func (HandshakePtrOutput) ToHandshakePtrOutput ¶ added in v2.35.1
func (o HandshakePtrOutput) ToHandshakePtrOutput() HandshakePtrOutput
func (HandshakePtrOutput) ToHandshakePtrOutputWithContext ¶ added in v2.35.1
func (o HandshakePtrOutput) ToHandshakePtrOutputWithContext(ctx context.Context) HandshakePtrOutput
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 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+.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewPolicy(ctx, "example", &resourcemanager.PolicyArgs{ PolicyDocument: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v", " {\n", " \"Statement\": [{\n", " \"Action\": [\"oss:*\"],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\"acs:oss:*:*:*\"]\n", " }],\n", " \"Version\": \"1\"\n", " }\n", " \n")), PolicyName: pulumi.String("abc12345"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Policy can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/policy:Policy example abc12345
```
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.
func (*Policy) ElementType ¶ added in v2.25.1
func (*Policy) ToPolicyOutput ¶ added in v2.25.1
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶ added in v2.25.1
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (*Policy) ToPolicyPtrOutput ¶ added in v2.35.1
func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
func (*Policy) ToPolicyPtrOutputWithContext ¶ added in v2.35.1
func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
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 PolicyArray ¶ added in v2.35.1
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶ added in v2.35.1
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶ added in v2.35.1
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶ added in v2.35.1
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶ added in v2.35.1
type PolicyArrayInput interface { pulumi.Input ToPolicyArrayOutput() PolicyArrayOutput ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput }
PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:
PolicyArray{ PolicyArgs{...} }
type PolicyArrayOutput ¶ added in v2.35.1
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶ added in v2.35.1
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶ added in v2.35.1
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶ added in v2.35.1
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶ added in v2.35.1
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyAttachment ¶ added in v2.14.0
type PolicyAttachment struct { pulumi.CustomResourceState // 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"` // - (Required, ForceNew) The type of the policy. Valid values: `Custom`, `System`. PolicyType pulumi.StringOutput `pulumi:"policyType"` // The name of the object to which you want to attach the policy. PrincipalName pulumi.StringOutput `pulumi:"principalName"` // The type of the object to which you want to attach the policy. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role. PrincipalType pulumi.StringOutput `pulumi:"principalType"` // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` }
Provides a Resource Manager Policy Attachment resource to attaches a policy to an object. After you attach a policy to an object, the object has the operation permissions on the current resource group or the resources under the current account. For information about Resource Manager Policy Attachment and how to use it, see [How to authorize and manage resource groups](https://www.alibabacloud.com/help/en/doc-detail/94490.htm).
> **NOTE:** Available in v1.93.0+.
## Import
Resource Manager Policy Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/policyAttachment:PolicyAttachment example tf-testaccrdpolicy:Custom:tf-testaccrdpolicy@11827252********.onaliyun.com:IMSUser:rg******
```
func GetPolicyAttachment ¶ added in v2.14.0
func GetPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyAttachmentState, opts ...pulumi.ResourceOption) (*PolicyAttachment, error)
GetPolicyAttachment gets an existing PolicyAttachment 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 NewPolicyAttachment ¶ added in v2.14.0
func NewPolicyAttachment(ctx *pulumi.Context, name string, args *PolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*PolicyAttachment, error)
NewPolicyAttachment registers a new resource with the given unique name, arguments, and options.
func (*PolicyAttachment) ElementType ¶ added in v2.25.1
func (*PolicyAttachment) ElementType() reflect.Type
func (*PolicyAttachment) ToPolicyAttachmentOutput ¶ added in v2.25.1
func (i *PolicyAttachment) ToPolicyAttachmentOutput() PolicyAttachmentOutput
func (*PolicyAttachment) ToPolicyAttachmentOutputWithContext ¶ added in v2.25.1
func (i *PolicyAttachment) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
func (*PolicyAttachment) ToPolicyAttachmentPtrOutput ¶ added in v2.35.1
func (i *PolicyAttachment) ToPolicyAttachmentPtrOutput() PolicyAttachmentPtrOutput
func (*PolicyAttachment) ToPolicyAttachmentPtrOutputWithContext ¶ added in v2.35.1
func (i *PolicyAttachment) ToPolicyAttachmentPtrOutputWithContext(ctx context.Context) PolicyAttachmentPtrOutput
type PolicyAttachmentArgs ¶ added in v2.14.0
type PolicyAttachmentArgs struct { // The name of the policy. name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringInput // - (Required, ForceNew) The type of the policy. Valid values: `Custom`, `System`. PolicyType pulumi.StringInput // The name of the object to which you want to attach the policy. PrincipalName pulumi.StringInput // The type of the object to which you want to attach the policy. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role. PrincipalType pulumi.StringInput // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. ResourceGroupId pulumi.StringInput }
The set of arguments for constructing a PolicyAttachment resource.
func (PolicyAttachmentArgs) ElementType ¶ added in v2.14.0
func (PolicyAttachmentArgs) ElementType() reflect.Type
type PolicyAttachmentArray ¶ added in v2.35.1
type PolicyAttachmentArray []PolicyAttachmentInput
func (PolicyAttachmentArray) ElementType ¶ added in v2.35.1
func (PolicyAttachmentArray) ElementType() reflect.Type
func (PolicyAttachmentArray) ToPolicyAttachmentArrayOutput ¶ added in v2.35.1
func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
func (PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext ¶ added in v2.35.1
func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
type PolicyAttachmentArrayInput ¶ added in v2.35.1
type PolicyAttachmentArrayInput interface { pulumi.Input ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput ToPolicyAttachmentArrayOutputWithContext(context.Context) PolicyAttachmentArrayOutput }
PolicyAttachmentArrayInput is an input type that accepts PolicyAttachmentArray and PolicyAttachmentArrayOutput values. You can construct a concrete instance of `PolicyAttachmentArrayInput` via:
PolicyAttachmentArray{ PolicyAttachmentArgs{...} }
type PolicyAttachmentArrayOutput ¶ added in v2.35.1
type PolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentArrayOutput) ElementType ¶ added in v2.35.1
func (PolicyAttachmentArrayOutput) ElementType() reflect.Type
func (PolicyAttachmentArrayOutput) Index ¶ added in v2.35.1
func (o PolicyAttachmentArrayOutput) Index(i pulumi.IntInput) PolicyAttachmentOutput
func (PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput ¶ added in v2.35.1
func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
func (PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext ¶ added in v2.35.1
func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
type PolicyAttachmentInput ¶ added in v2.25.1
type PolicyAttachmentInput interface { pulumi.Input ToPolicyAttachmentOutput() PolicyAttachmentOutput ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput }
type PolicyAttachmentMap ¶ added in v2.35.1
type PolicyAttachmentMap map[string]PolicyAttachmentInput
func (PolicyAttachmentMap) ElementType ¶ added in v2.35.1
func (PolicyAttachmentMap) ElementType() reflect.Type
func (PolicyAttachmentMap) ToPolicyAttachmentMapOutput ¶ added in v2.35.1
func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
func (PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext ¶ added in v2.35.1
func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
type PolicyAttachmentMapInput ¶ added in v2.35.1
type PolicyAttachmentMapInput interface { pulumi.Input ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput ToPolicyAttachmentMapOutputWithContext(context.Context) PolicyAttachmentMapOutput }
PolicyAttachmentMapInput is an input type that accepts PolicyAttachmentMap and PolicyAttachmentMapOutput values. You can construct a concrete instance of `PolicyAttachmentMapInput` via:
PolicyAttachmentMap{ "key": PolicyAttachmentArgs{...} }
type PolicyAttachmentMapOutput ¶ added in v2.35.1
type PolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentMapOutput) ElementType ¶ added in v2.35.1
func (PolicyAttachmentMapOutput) ElementType() reflect.Type
func (PolicyAttachmentMapOutput) MapIndex ¶ added in v2.35.1
func (o PolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) PolicyAttachmentOutput
func (PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput ¶ added in v2.35.1
func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
func (PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext ¶ added in v2.35.1
func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
type PolicyAttachmentOutput ¶ added in v2.25.1
type PolicyAttachmentOutput struct {
*pulumi.OutputState
}
func (PolicyAttachmentOutput) ElementType ¶ added in v2.25.1
func (PolicyAttachmentOutput) ElementType() reflect.Type
func (PolicyAttachmentOutput) ToPolicyAttachmentOutput ¶ added in v2.25.1
func (o PolicyAttachmentOutput) ToPolicyAttachmentOutput() PolicyAttachmentOutput
func (PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext ¶ added in v2.25.1
func (o PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
func (PolicyAttachmentOutput) ToPolicyAttachmentPtrOutput ¶ added in v2.35.1
func (o PolicyAttachmentOutput) ToPolicyAttachmentPtrOutput() PolicyAttachmentPtrOutput
func (PolicyAttachmentOutput) ToPolicyAttachmentPtrOutputWithContext ¶ added in v2.35.1
func (o PolicyAttachmentOutput) ToPolicyAttachmentPtrOutputWithContext(ctx context.Context) PolicyAttachmentPtrOutput
type PolicyAttachmentPtrInput ¶ added in v2.35.1
type PolicyAttachmentPtrInput interface { pulumi.Input ToPolicyAttachmentPtrOutput() PolicyAttachmentPtrOutput ToPolicyAttachmentPtrOutputWithContext(ctx context.Context) PolicyAttachmentPtrOutput }
type PolicyAttachmentPtrOutput ¶ added in v2.35.1
type PolicyAttachmentPtrOutput struct {
*pulumi.OutputState
}
func (PolicyAttachmentPtrOutput) ElementType ¶ added in v2.35.1
func (PolicyAttachmentPtrOutput) ElementType() reflect.Type
func (PolicyAttachmentPtrOutput) ToPolicyAttachmentPtrOutput ¶ added in v2.35.1
func (o PolicyAttachmentPtrOutput) ToPolicyAttachmentPtrOutput() PolicyAttachmentPtrOutput
func (PolicyAttachmentPtrOutput) ToPolicyAttachmentPtrOutputWithContext ¶ added in v2.35.1
func (o PolicyAttachmentPtrOutput) ToPolicyAttachmentPtrOutputWithContext(ctx context.Context) PolicyAttachmentPtrOutput
type PolicyAttachmentState ¶ added in v2.14.0
type PolicyAttachmentState struct { // The name of the policy. name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-). PolicyName pulumi.StringPtrInput // - (Required, ForceNew) The type of the policy. Valid values: `Custom`, `System`. PolicyType pulumi.StringPtrInput // The name of the object to which you want to attach the policy. PrincipalName pulumi.StringPtrInput // The type of the object to which you want to attach the policy. Valid values: `IMSUser`: RAM user, `IMSGroup`: RAM user group, `ServiceRole`: RAM role. PrincipalType pulumi.StringPtrInput // The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. ResourceGroupId pulumi.StringPtrInput }
func (PolicyAttachmentState) ElementType ¶ added in v2.14.0
func (PolicyAttachmentState) ElementType() reflect.Type
type PolicyInput ¶ added in v2.25.1
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶ added in v2.35.1
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶ added in v2.35.1
func (PolicyMap) ToPolicyMapOutput ¶ added in v2.35.1
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶ added in v2.35.1
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶ added in v2.35.1
type PolicyMapInput interface { pulumi.Input ToPolicyMapOutput() PolicyMapOutput ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput }
PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:
PolicyMap{ "key": PolicyArgs{...} }
type PolicyMapOutput ¶ added in v2.35.1
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶ added in v2.35.1
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶ added in v2.35.1
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶ added in v2.35.1
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶ added in v2.35.1
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶ added in v2.25.1
type PolicyOutput struct {
*pulumi.OutputState
}
func (PolicyOutput) ElementType ¶ added in v2.25.1
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) ToPolicyOutput ¶ added in v2.25.1
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶ added in v2.25.1
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (PolicyOutput) ToPolicyPtrOutput ¶ added in v2.35.1
func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyOutput) ToPolicyPtrOutputWithContext ¶ added in v2.35.1
func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyPtrInput ¶ added in v2.35.1
type PolicyPtrInput interface { pulumi.Input ToPolicyPtrOutput() PolicyPtrOutput ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput }
type PolicyPtrOutput ¶ added in v2.35.1
type PolicyPtrOutput struct {
*pulumi.OutputState
}
func (PolicyPtrOutput) ElementType ¶ added in v2.35.1
func (PolicyPtrOutput) ElementType() reflect.Type
func (PolicyPtrOutput) ToPolicyPtrOutput ¶ added in v2.35.1
func (o PolicyPtrOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyPtrOutput) ToPolicyPtrOutputWithContext ¶ added in v2.35.1
func (o PolicyPtrOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyState ¶ added in v2.5.0
type PolicyState 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.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 // 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"` }
## Import
Resource Manager Policy Version can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/policyVersion:PolicyVersion example tftest:v2
```
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.
func (*PolicyVersion) ElementType ¶ added in v2.25.1
func (*PolicyVersion) ElementType() reflect.Type
func (*PolicyVersion) ToPolicyVersionOutput ¶ added in v2.25.1
func (i *PolicyVersion) ToPolicyVersionOutput() PolicyVersionOutput
func (*PolicyVersion) ToPolicyVersionOutputWithContext ¶ added in v2.25.1
func (i *PolicyVersion) ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput
func (*PolicyVersion) ToPolicyVersionPtrOutput ¶ added in v2.35.1
func (i *PolicyVersion) ToPolicyVersionPtrOutput() PolicyVersionPtrOutput
func (*PolicyVersion) ToPolicyVersionPtrOutputWithContext ¶ added in v2.35.1
func (i *PolicyVersion) ToPolicyVersionPtrOutputWithContext(ctx context.Context) PolicyVersionPtrOutput
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 PolicyVersionArray ¶ added in v2.35.1
type PolicyVersionArray []PolicyVersionInput
func (PolicyVersionArray) ElementType ¶ added in v2.35.1
func (PolicyVersionArray) ElementType() reflect.Type
func (PolicyVersionArray) ToPolicyVersionArrayOutput ¶ added in v2.35.1
func (i PolicyVersionArray) ToPolicyVersionArrayOutput() PolicyVersionArrayOutput
func (PolicyVersionArray) ToPolicyVersionArrayOutputWithContext ¶ added in v2.35.1
func (i PolicyVersionArray) ToPolicyVersionArrayOutputWithContext(ctx context.Context) PolicyVersionArrayOutput
type PolicyVersionArrayInput ¶ added in v2.35.1
type PolicyVersionArrayInput interface { pulumi.Input ToPolicyVersionArrayOutput() PolicyVersionArrayOutput ToPolicyVersionArrayOutputWithContext(context.Context) PolicyVersionArrayOutput }
PolicyVersionArrayInput is an input type that accepts PolicyVersionArray and PolicyVersionArrayOutput values. You can construct a concrete instance of `PolicyVersionArrayInput` via:
PolicyVersionArray{ PolicyVersionArgs{...} }
type PolicyVersionArrayOutput ¶ added in v2.35.1
type PolicyVersionArrayOutput struct{ *pulumi.OutputState }
func (PolicyVersionArrayOutput) ElementType ¶ added in v2.35.1
func (PolicyVersionArrayOutput) ElementType() reflect.Type
func (PolicyVersionArrayOutput) Index ¶ added in v2.35.1
func (o PolicyVersionArrayOutput) Index(i pulumi.IntInput) PolicyVersionOutput
func (PolicyVersionArrayOutput) ToPolicyVersionArrayOutput ¶ added in v2.35.1
func (o PolicyVersionArrayOutput) ToPolicyVersionArrayOutput() PolicyVersionArrayOutput
func (PolicyVersionArrayOutput) ToPolicyVersionArrayOutputWithContext ¶ added in v2.35.1
func (o PolicyVersionArrayOutput) ToPolicyVersionArrayOutputWithContext(ctx context.Context) PolicyVersionArrayOutput
type PolicyVersionInput ¶ added in v2.25.1
type PolicyVersionInput interface { pulumi.Input ToPolicyVersionOutput() PolicyVersionOutput ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput }
type PolicyVersionMap ¶ added in v2.35.1
type PolicyVersionMap map[string]PolicyVersionInput
func (PolicyVersionMap) ElementType ¶ added in v2.35.1
func (PolicyVersionMap) ElementType() reflect.Type
func (PolicyVersionMap) ToPolicyVersionMapOutput ¶ added in v2.35.1
func (i PolicyVersionMap) ToPolicyVersionMapOutput() PolicyVersionMapOutput
func (PolicyVersionMap) ToPolicyVersionMapOutputWithContext ¶ added in v2.35.1
func (i PolicyVersionMap) ToPolicyVersionMapOutputWithContext(ctx context.Context) PolicyVersionMapOutput
type PolicyVersionMapInput ¶ added in v2.35.1
type PolicyVersionMapInput interface { pulumi.Input ToPolicyVersionMapOutput() PolicyVersionMapOutput ToPolicyVersionMapOutputWithContext(context.Context) PolicyVersionMapOutput }
PolicyVersionMapInput is an input type that accepts PolicyVersionMap and PolicyVersionMapOutput values. You can construct a concrete instance of `PolicyVersionMapInput` via:
PolicyVersionMap{ "key": PolicyVersionArgs{...} }
type PolicyVersionMapOutput ¶ added in v2.35.1
type PolicyVersionMapOutput struct{ *pulumi.OutputState }
func (PolicyVersionMapOutput) ElementType ¶ added in v2.35.1
func (PolicyVersionMapOutput) ElementType() reflect.Type
func (PolicyVersionMapOutput) MapIndex ¶ added in v2.35.1
func (o PolicyVersionMapOutput) MapIndex(k pulumi.StringInput) PolicyVersionOutput
func (PolicyVersionMapOutput) ToPolicyVersionMapOutput ¶ added in v2.35.1
func (o PolicyVersionMapOutput) ToPolicyVersionMapOutput() PolicyVersionMapOutput
func (PolicyVersionMapOutput) ToPolicyVersionMapOutputWithContext ¶ added in v2.35.1
func (o PolicyVersionMapOutput) ToPolicyVersionMapOutputWithContext(ctx context.Context) PolicyVersionMapOutput
type PolicyVersionOutput ¶ added in v2.25.1
type PolicyVersionOutput struct {
*pulumi.OutputState
}
func (PolicyVersionOutput) ElementType ¶ added in v2.25.1
func (PolicyVersionOutput) ElementType() reflect.Type
func (PolicyVersionOutput) ToPolicyVersionOutput ¶ added in v2.25.1
func (o PolicyVersionOutput) ToPolicyVersionOutput() PolicyVersionOutput
func (PolicyVersionOutput) ToPolicyVersionOutputWithContext ¶ added in v2.25.1
func (o PolicyVersionOutput) ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput
func (PolicyVersionOutput) ToPolicyVersionPtrOutput ¶ added in v2.35.1
func (o PolicyVersionOutput) ToPolicyVersionPtrOutput() PolicyVersionPtrOutput
func (PolicyVersionOutput) ToPolicyVersionPtrOutputWithContext ¶ added in v2.35.1
func (o PolicyVersionOutput) ToPolicyVersionPtrOutputWithContext(ctx context.Context) PolicyVersionPtrOutput
type PolicyVersionPtrInput ¶ added in v2.35.1
type PolicyVersionPtrInput interface { pulumi.Input ToPolicyVersionPtrOutput() PolicyVersionPtrOutput ToPolicyVersionPtrOutputWithContext(ctx context.Context) PolicyVersionPtrOutput }
type PolicyVersionPtrOutput ¶ added in v2.35.1
type PolicyVersionPtrOutput struct {
*pulumi.OutputState
}
func (PolicyVersionPtrOutput) ElementType ¶ added in v2.35.1
func (PolicyVersionPtrOutput) ElementType() reflect.Type
func (PolicyVersionPtrOutput) ToPolicyVersionPtrOutput ¶ added in v2.35.1
func (o PolicyVersionPtrOutput) ToPolicyVersionPtrOutput() PolicyVersionPtrOutput
func (PolicyVersionPtrOutput) ToPolicyVersionPtrOutputWithContext ¶ added in v2.35.1
func (o PolicyVersionPtrOutput) ToPolicyVersionPtrOutputWithContext(ctx context.Context) PolicyVersionPtrOutput
type PolicyVersionState ¶ added in v2.6.0
type PolicyVersionState 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.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 }
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"` // The status of control policy. Valid values:`Enabled` and `Disabled`. Default value is `Disabled`. Status pulumi.StringPtrOutput `pulumi:"status"` }
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.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewResourceDirectory(ctx, "example", &resourcemanager.ResourceDirectoryArgs{ Status: pulumi.String("Enabled"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Resource Directory can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/resourceDirectory:ResourceDirectory example rd-s3****
```
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.
func (*ResourceDirectory) ElementType ¶ added in v2.25.1
func (*ResourceDirectory) ElementType() reflect.Type
func (*ResourceDirectory) ToResourceDirectoryOutput ¶ added in v2.25.1
func (i *ResourceDirectory) ToResourceDirectoryOutput() ResourceDirectoryOutput
func (*ResourceDirectory) ToResourceDirectoryOutputWithContext ¶ added in v2.25.1
func (i *ResourceDirectory) ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput
func (*ResourceDirectory) ToResourceDirectoryPtrOutput ¶ added in v2.35.1
func (i *ResourceDirectory) ToResourceDirectoryPtrOutput() ResourceDirectoryPtrOutput
func (*ResourceDirectory) ToResourceDirectoryPtrOutputWithContext ¶ added in v2.35.1
func (i *ResourceDirectory) ToResourceDirectoryPtrOutputWithContext(ctx context.Context) ResourceDirectoryPtrOutput
type ResourceDirectoryArgs ¶ added in v2.6.0
type ResourceDirectoryArgs struct { // The status of control policy. Valid values:`Enabled` and `Disabled`. Default value is `Disabled`. Status pulumi.StringPtrInput }
The set of arguments for constructing a ResourceDirectory resource.
func (ResourceDirectoryArgs) ElementType ¶ added in v2.6.0
func (ResourceDirectoryArgs) ElementType() reflect.Type
type ResourceDirectoryArray ¶ added in v2.35.1
type ResourceDirectoryArray []ResourceDirectoryInput
func (ResourceDirectoryArray) ElementType ¶ added in v2.35.1
func (ResourceDirectoryArray) ElementType() reflect.Type
func (ResourceDirectoryArray) ToResourceDirectoryArrayOutput ¶ added in v2.35.1
func (i ResourceDirectoryArray) ToResourceDirectoryArrayOutput() ResourceDirectoryArrayOutput
func (ResourceDirectoryArray) ToResourceDirectoryArrayOutputWithContext ¶ added in v2.35.1
func (i ResourceDirectoryArray) ToResourceDirectoryArrayOutputWithContext(ctx context.Context) ResourceDirectoryArrayOutput
type ResourceDirectoryArrayInput ¶ added in v2.35.1
type ResourceDirectoryArrayInput interface { pulumi.Input ToResourceDirectoryArrayOutput() ResourceDirectoryArrayOutput ToResourceDirectoryArrayOutputWithContext(context.Context) ResourceDirectoryArrayOutput }
ResourceDirectoryArrayInput is an input type that accepts ResourceDirectoryArray and ResourceDirectoryArrayOutput values. You can construct a concrete instance of `ResourceDirectoryArrayInput` via:
ResourceDirectoryArray{ ResourceDirectoryArgs{...} }
type ResourceDirectoryArrayOutput ¶ added in v2.35.1
type ResourceDirectoryArrayOutput struct{ *pulumi.OutputState }
func (ResourceDirectoryArrayOutput) ElementType ¶ added in v2.35.1
func (ResourceDirectoryArrayOutput) ElementType() reflect.Type
func (ResourceDirectoryArrayOutput) Index ¶ added in v2.35.1
func (o ResourceDirectoryArrayOutput) Index(i pulumi.IntInput) ResourceDirectoryOutput
func (ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutput ¶ added in v2.35.1
func (o ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutput() ResourceDirectoryArrayOutput
func (ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutputWithContext ¶ added in v2.35.1
func (o ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutputWithContext(ctx context.Context) ResourceDirectoryArrayOutput
type ResourceDirectoryInput ¶ added in v2.25.1
type ResourceDirectoryInput interface { pulumi.Input ToResourceDirectoryOutput() ResourceDirectoryOutput ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput }
type ResourceDirectoryMap ¶ added in v2.35.1
type ResourceDirectoryMap map[string]ResourceDirectoryInput
func (ResourceDirectoryMap) ElementType ¶ added in v2.35.1
func (ResourceDirectoryMap) ElementType() reflect.Type
func (ResourceDirectoryMap) ToResourceDirectoryMapOutput ¶ added in v2.35.1
func (i ResourceDirectoryMap) ToResourceDirectoryMapOutput() ResourceDirectoryMapOutput
func (ResourceDirectoryMap) ToResourceDirectoryMapOutputWithContext ¶ added in v2.35.1
func (i ResourceDirectoryMap) ToResourceDirectoryMapOutputWithContext(ctx context.Context) ResourceDirectoryMapOutput
type ResourceDirectoryMapInput ¶ added in v2.35.1
type ResourceDirectoryMapInput interface { pulumi.Input ToResourceDirectoryMapOutput() ResourceDirectoryMapOutput ToResourceDirectoryMapOutputWithContext(context.Context) ResourceDirectoryMapOutput }
ResourceDirectoryMapInput is an input type that accepts ResourceDirectoryMap and ResourceDirectoryMapOutput values. You can construct a concrete instance of `ResourceDirectoryMapInput` via:
ResourceDirectoryMap{ "key": ResourceDirectoryArgs{...} }
type ResourceDirectoryMapOutput ¶ added in v2.35.1
type ResourceDirectoryMapOutput struct{ *pulumi.OutputState }
func (ResourceDirectoryMapOutput) ElementType ¶ added in v2.35.1
func (ResourceDirectoryMapOutput) ElementType() reflect.Type
func (ResourceDirectoryMapOutput) MapIndex ¶ added in v2.35.1
func (o ResourceDirectoryMapOutput) MapIndex(k pulumi.StringInput) ResourceDirectoryOutput
func (ResourceDirectoryMapOutput) ToResourceDirectoryMapOutput ¶ added in v2.35.1
func (o ResourceDirectoryMapOutput) ToResourceDirectoryMapOutput() ResourceDirectoryMapOutput
func (ResourceDirectoryMapOutput) ToResourceDirectoryMapOutputWithContext ¶ added in v2.35.1
func (o ResourceDirectoryMapOutput) ToResourceDirectoryMapOutputWithContext(ctx context.Context) ResourceDirectoryMapOutput
type ResourceDirectoryOutput ¶ added in v2.25.1
type ResourceDirectoryOutput struct {
*pulumi.OutputState
}
func (ResourceDirectoryOutput) ElementType ¶ added in v2.25.1
func (ResourceDirectoryOutput) ElementType() reflect.Type
func (ResourceDirectoryOutput) ToResourceDirectoryOutput ¶ added in v2.25.1
func (o ResourceDirectoryOutput) ToResourceDirectoryOutput() ResourceDirectoryOutput
func (ResourceDirectoryOutput) ToResourceDirectoryOutputWithContext ¶ added in v2.25.1
func (o ResourceDirectoryOutput) ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput
func (ResourceDirectoryOutput) ToResourceDirectoryPtrOutput ¶ added in v2.35.1
func (o ResourceDirectoryOutput) ToResourceDirectoryPtrOutput() ResourceDirectoryPtrOutput
func (ResourceDirectoryOutput) ToResourceDirectoryPtrOutputWithContext ¶ added in v2.35.1
func (o ResourceDirectoryOutput) ToResourceDirectoryPtrOutputWithContext(ctx context.Context) ResourceDirectoryPtrOutput
type ResourceDirectoryPtrInput ¶ added in v2.35.1
type ResourceDirectoryPtrInput interface { pulumi.Input ToResourceDirectoryPtrOutput() ResourceDirectoryPtrOutput ToResourceDirectoryPtrOutputWithContext(ctx context.Context) ResourceDirectoryPtrOutput }
type ResourceDirectoryPtrOutput ¶ added in v2.35.1
type ResourceDirectoryPtrOutput struct {
*pulumi.OutputState
}
func (ResourceDirectoryPtrOutput) ElementType ¶ added in v2.35.1
func (ResourceDirectoryPtrOutput) ElementType() reflect.Type
func (ResourceDirectoryPtrOutput) ToResourceDirectoryPtrOutput ¶ added in v2.35.1
func (o ResourceDirectoryPtrOutput) ToResourceDirectoryPtrOutput() ResourceDirectoryPtrOutput
func (ResourceDirectoryPtrOutput) ToResourceDirectoryPtrOutputWithContext ¶ added in v2.35.1
func (o ResourceDirectoryPtrOutput) ToResourceDirectoryPtrOutputWithContext(ctx context.Context) ResourceDirectoryPtrOutput
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 // The status of control policy. Valid values:`Enabled` and `Disabled`. Default value is `Disabled`. Status 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 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"` // Field `name` has been deprecated from version 1.114.0. Use `resourceGroupName` instead. // // Deprecated: Field 'name' has been deprecated from version 1.114.0. Use 'resource_group_name' instead. Name pulumi.StringOutput `pulumi:"name"` RegionStatuses ResourceGroupRegionStatusArrayOutput `pulumi:"regionStatuses"` ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The status of the regional 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+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewResourceGroup(ctx, "example", &resourcemanager.ResourceGroupArgs{ DisplayName: pulumi.String("testrd"), ResourceGroupName: pulumi.String("testrd"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Resource Group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/resourceGroup:ResourceGroup example abc123456
```
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.
func (*ResourceGroup) ElementType ¶ added in v2.25.1
func (*ResourceGroup) ElementType() reflect.Type
func (*ResourceGroup) ToResourceGroupOutput ¶ added in v2.25.1
func (i *ResourceGroup) ToResourceGroupOutput() ResourceGroupOutput
func (*ResourceGroup) ToResourceGroupOutputWithContext ¶ added in v2.25.1
func (i *ResourceGroup) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
func (*ResourceGroup) ToResourceGroupPtrOutput ¶ added in v2.35.1
func (i *ResourceGroup) ToResourceGroupPtrOutput() ResourceGroupPtrOutput
func (*ResourceGroup) ToResourceGroupPtrOutputWithContext ¶ added in v2.35.1
func (i *ResourceGroup) ToResourceGroupPtrOutputWithContext(ctx context.Context) ResourceGroupPtrOutput
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 // Field `name` has been deprecated from version 1.114.0. Use `resourceGroupName` instead. // // Deprecated: Field 'name' has been deprecated from version 1.114.0. Use 'resource_group_name' instead. Name pulumi.StringPtrInput ResourceGroupName pulumi.StringPtrInput }
The set of arguments for constructing a ResourceGroup resource.
func (ResourceGroupArgs) ElementType ¶
func (ResourceGroupArgs) ElementType() reflect.Type
type ResourceGroupArray ¶ added in v2.35.1
type ResourceGroupArray []ResourceGroupInput
func (ResourceGroupArray) ElementType ¶ added in v2.35.1
func (ResourceGroupArray) ElementType() reflect.Type
func (ResourceGroupArray) ToResourceGroupArrayOutput ¶ added in v2.35.1
func (i ResourceGroupArray) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
func (ResourceGroupArray) ToResourceGroupArrayOutputWithContext ¶ added in v2.35.1
func (i ResourceGroupArray) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
type ResourceGroupArrayInput ¶ added in v2.35.1
type ResourceGroupArrayInput interface { pulumi.Input ToResourceGroupArrayOutput() ResourceGroupArrayOutput ToResourceGroupArrayOutputWithContext(context.Context) ResourceGroupArrayOutput }
ResourceGroupArrayInput is an input type that accepts ResourceGroupArray and ResourceGroupArrayOutput values. You can construct a concrete instance of `ResourceGroupArrayInput` via:
ResourceGroupArray{ ResourceGroupArgs{...} }
type ResourceGroupArrayOutput ¶ added in v2.35.1
type ResourceGroupArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupArrayOutput) ElementType ¶ added in v2.35.1
func (ResourceGroupArrayOutput) ElementType() reflect.Type
func (ResourceGroupArrayOutput) Index ¶ added in v2.35.1
func (o ResourceGroupArrayOutput) Index(i pulumi.IntInput) ResourceGroupOutput
func (ResourceGroupArrayOutput) ToResourceGroupArrayOutput ¶ added in v2.35.1
func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
func (ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext ¶ added in v2.35.1
func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
type ResourceGroupInput ¶ added in v2.25.1
type ResourceGroupInput interface { pulumi.Input ToResourceGroupOutput() ResourceGroupOutput ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput }
type ResourceGroupMap ¶ added in v2.35.1
type ResourceGroupMap map[string]ResourceGroupInput
func (ResourceGroupMap) ElementType ¶ added in v2.35.1
func (ResourceGroupMap) ElementType() reflect.Type
func (ResourceGroupMap) ToResourceGroupMapOutput ¶ added in v2.35.1
func (i ResourceGroupMap) ToResourceGroupMapOutput() ResourceGroupMapOutput
func (ResourceGroupMap) ToResourceGroupMapOutputWithContext ¶ added in v2.35.1
func (i ResourceGroupMap) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
type ResourceGroupMapInput ¶ added in v2.35.1
type ResourceGroupMapInput interface { pulumi.Input ToResourceGroupMapOutput() ResourceGroupMapOutput ToResourceGroupMapOutputWithContext(context.Context) ResourceGroupMapOutput }
ResourceGroupMapInput is an input type that accepts ResourceGroupMap and ResourceGroupMapOutput values. You can construct a concrete instance of `ResourceGroupMapInput` via:
ResourceGroupMap{ "key": ResourceGroupArgs{...} }
type ResourceGroupMapOutput ¶ added in v2.35.1
type ResourceGroupMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupMapOutput) ElementType ¶ added in v2.35.1
func (ResourceGroupMapOutput) ElementType() reflect.Type
func (ResourceGroupMapOutput) MapIndex ¶ added in v2.35.1
func (o ResourceGroupMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupOutput
func (ResourceGroupMapOutput) ToResourceGroupMapOutput ¶ added in v2.35.1
func (o ResourceGroupMapOutput) ToResourceGroupMapOutput() ResourceGroupMapOutput
func (ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext ¶ added in v2.35.1
func (o ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
type ResourceGroupOutput ¶ added in v2.25.1
type ResourceGroupOutput struct {
*pulumi.OutputState
}
func (ResourceGroupOutput) ElementType ¶ added in v2.25.1
func (ResourceGroupOutput) ElementType() reflect.Type
func (ResourceGroupOutput) ToResourceGroupOutput ¶ added in v2.25.1
func (o ResourceGroupOutput) ToResourceGroupOutput() ResourceGroupOutput
func (ResourceGroupOutput) ToResourceGroupOutputWithContext ¶ added in v2.25.1
func (o ResourceGroupOutput) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
func (ResourceGroupOutput) ToResourceGroupPtrOutput ¶ added in v2.35.1
func (o ResourceGroupOutput) ToResourceGroupPtrOutput() ResourceGroupPtrOutput
func (ResourceGroupOutput) ToResourceGroupPtrOutputWithContext ¶ added in v2.35.1
func (o ResourceGroupOutput) ToResourceGroupPtrOutputWithContext(ctx context.Context) ResourceGroupPtrOutput
type ResourceGroupPtrInput ¶ added in v2.35.1
type ResourceGroupPtrInput interface { pulumi.Input ToResourceGroupPtrOutput() ResourceGroupPtrOutput ToResourceGroupPtrOutputWithContext(ctx context.Context) ResourceGroupPtrOutput }
type ResourceGroupPtrOutput ¶ added in v2.35.1
type ResourceGroupPtrOutput struct {
*pulumi.OutputState
}
func (ResourceGroupPtrOutput) ElementType ¶ added in v2.35.1
func (ResourceGroupPtrOutput) ElementType() reflect.Type
func (ResourceGroupPtrOutput) ToResourceGroupPtrOutput ¶ added in v2.35.1
func (o ResourceGroupPtrOutput) ToResourceGroupPtrOutput() ResourceGroupPtrOutput
func (ResourceGroupPtrOutput) ToResourceGroupPtrOutputWithContext ¶ added in v2.35.1
func (o ResourceGroupPtrOutput) ToResourceGroupPtrOutputWithContext(ctx context.Context) ResourceGroupPtrOutput
type ResourceGroupRegionStatusArgs ¶
type ResourceGroupRegionStatusArgs struct { // The region ID. RegionId pulumi.StringPtrInput `pulumi:"regionId"` // The status of the regional 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
The region ID.
func (ResourceGroupRegionStatusOutput) Status ¶
func (o ResourceGroupRegionStatusOutput) Status() pulumi.StringPtrOutput
The status of the regional 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 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 // Field `name` has been deprecated from version 1.114.0. Use `resourceGroupName` instead. // // Deprecated: Field 'name' has been deprecated from version 1.114.0. Use 'resource_group_name' instead. Name pulumi.StringPtrInput RegionStatuses ResourceGroupRegionStatusArrayInput ResourceGroupName pulumi.StringPtrInput // The status of the regional resource group. Status pulumi.StringPtrInput }
func (ResourceGroupState) ElementType ¶
func (ResourceGroupState) ElementType() reflect.Type
type ResourceShare ¶ added in v2.30.0
type ResourceShare struct { pulumi.StringOutput `pulumi:"resourceShareName"` ResourceShareOwner pulumi.StringOutput `pulumi:"resourceShareOwner"` Status pulumi.StringOutput `pulumi:"status"` }ResourceShareName
Provides a Resource Manager Resource Share resource.
For information about Resource Manager Resource Share and how to use it, see [What is Resource Share](https://www.alibabacloud.com/help/en/doc-detail/94475.htm).
> **NOTE:** Available in v1.111.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewResourceShare(ctx, "example", &resourcemanager.ResourceShareArgs{ ResourceShareName: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager Resource Share can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/resourceShare:ResourceShare example <id>
```
func GetResourceShare ¶ added in v2.30.0
func GetResourceShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceShareState, opts ...pulumi.ResourceOption) (*ResourceShare, error)
GetResourceShare gets an existing ResourceShare 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 NewResourceShare ¶ added in v2.30.0
func NewResourceShare(ctx *pulumi.Context, name string, args *ResourceShareArgs, opts ...pulumi.ResourceOption) (*ResourceShare, error)
NewResourceShare registers a new resource with the given unique name, arguments, and options.
func (*ResourceShare) ElementType ¶ added in v2.30.0
func (*ResourceShare) ElementType() reflect.Type
func (*ResourceShare) ToResourceShareOutput ¶ added in v2.30.0
func (i *ResourceShare) ToResourceShareOutput() ResourceShareOutput
func (*ResourceShare) ToResourceShareOutputWithContext ¶ added in v2.30.0
func (i *ResourceShare) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
func (*ResourceShare) ToResourceSharePtrOutput ¶ added in v2.35.1
func (i *ResourceShare) ToResourceSharePtrOutput() ResourceSharePtrOutput
func (*ResourceShare) ToResourceSharePtrOutputWithContext ¶ added in v2.35.1
func (i *ResourceShare) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
type ResourceShareArgs ¶ added in v2.30.0
type ResourceShareArgs struct { pulumi.StringInput }ResourceShareName
The set of arguments for constructing a ResourceShare resource.
func (ResourceShareArgs) ElementType ¶ added in v2.30.0
func (ResourceShareArgs) ElementType() reflect.Type
type ResourceShareArray ¶ added in v2.35.1
type ResourceShareArray []ResourceShareInput
func (ResourceShareArray) ElementType ¶ added in v2.35.1
func (ResourceShareArray) ElementType() reflect.Type
func (ResourceShareArray) ToResourceShareArrayOutput ¶ added in v2.35.1
func (i ResourceShareArray) ToResourceShareArrayOutput() ResourceShareArrayOutput
func (ResourceShareArray) ToResourceShareArrayOutputWithContext ¶ added in v2.35.1
func (i ResourceShareArray) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
type ResourceShareArrayInput ¶ added in v2.35.1
ResourceShareArrayInput is an input type that accepts ResourceShareArray and ResourceShareArrayOutput values. You can construct a concrete instance of `ResourceShareArrayInput` via:
ResourceShareArray{ ResourceShareArgs{...} }
type ResourceShareArrayOutput ¶ added in v2.35.1
func (ResourceShareArrayOutput) ElementType ¶ added in v2.35.1
func (ResourceShareArrayOutput) ElementType() reflect.Type
func (ResourceShareArrayOutput) Index ¶ added in v2.35.1
func (o ResourceShareArrayOutput) Index(i pulumi.IntInput) ResourceShareOutput
func (ResourceShareArrayOutput) ToResourceShareArrayOutput ¶ added in v2.35.1
func (o ResourceShareArrayOutput) ToResourceShareArrayOutput() ResourceShareArrayOutput
func (ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext ¶ added in v2.35.1
func (o ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
type ResourceShareInput ¶ added in v2.30.0
type ResourceShareMap ¶ added in v2.35.1
type ResourceShareMap map[string]ResourceShareInput
func (ResourceShareMap) ElementType ¶ added in v2.35.1
func (ResourceShareMap) ElementType() reflect.Type
func (ResourceShareMap) ToResourceShareMapOutput ¶ added in v2.35.1
func (i ResourceShareMap) ToResourceShareMapOutput() ResourceShareMapOutput
func (ResourceShareMap) ToResourceShareMapOutputWithContext ¶ added in v2.35.1
func (i ResourceShareMap) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
type ResourceShareMapInput ¶ added in v2.35.1
ResourceShareMapInput is an input type that accepts ResourceShareMap and ResourceShareMapOutput values. You can construct a concrete instance of `ResourceShareMapInput` via:
ResourceShareMap{ "key": ResourceShareArgs{...} }
type ResourceShareMapOutput ¶ added in v2.35.1
func (ResourceShareMapOutput) ElementType ¶ added in v2.35.1
func (ResourceShareMapOutput) ElementType() reflect.Type
func (ResourceShareMapOutput) MapIndex ¶ added in v2.35.1
func (o ResourceShareMapOutput) MapIndex(k pulumi.StringInput) ResourceShareOutput
func (ResourceShareMapOutput) ToResourceShareMapOutput ¶ added in v2.35.1
func (o ResourceShareMapOutput) ToResourceShareMapOutput() ResourceShareMapOutput
func (ResourceShareMapOutput) ToResourceShareMapOutputWithContext ¶ added in v2.35.1
func (o ResourceShareMapOutput) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
type ResourceShareOutput ¶ added in v2.30.0
type ResourceShareOutput struct {
}func (ResourceShareOutput) ElementType ¶ added in v2.30.0
func (ResourceShareOutput) ElementType() reflect.Type
func (ResourceShareOutput) ToResourceShareOutput ¶ added in v2.30.0
func (o ResourceShareOutput) ToResourceShareOutput() ResourceShareOutput
func (ResourceShareOutput) ToResourceShareOutputWithContext ¶ added in v2.30.0
func (o ResourceShareOutput) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
func (ResourceShareOutput) ToResourceSharePtrOutput ¶ added in v2.35.1
func (o ResourceShareOutput) ToResourceSharePtrOutput() ResourceSharePtrOutput
func (ResourceShareOutput) ToResourceSharePtrOutputWithContext ¶ added in v2.35.1
func (o ResourceShareOutput) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
type ResourceSharePtrInput ¶ added in v2.35.1
type ResourceSharePtrOutput ¶ added in v2.35.1
type ResourceSharePtrOutput struct {
}func (ResourceSharePtrOutput) ElementType ¶ added in v2.35.1
func (ResourceSharePtrOutput) ElementType() reflect.Type
func (ResourceSharePtrOutput) ToResourceSharePtrOutput ¶ added in v2.35.1
func (o ResourceSharePtrOutput) ToResourceSharePtrOutput() ResourceSharePtrOutput
func (ResourceSharePtrOutput) ToResourceSharePtrOutputWithContext ¶ added in v2.35.1
func (o ResourceSharePtrOutput) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
type ResourceShareState ¶ added in v2.30.0
type ResourceShareState struct { pulumi.StringPtrInput ResourceShareOwner pulumi.StringPtrInput Status pulumi.StringPtrInput }ResourceShareName
func (ResourceShareState) ElementType ¶ added in v2.30.0
func (ResourceShareState) ElementType() reflect.Type
type Role ¶
type Role struct { pulumi.CustomResourceState // The resource descriptor of the role. // * `createDate` (Removed form v1.114.0) - Role creation time. Arn pulumi.StringOutput `pulumi:"arn"` // The content of the permissions strategy that plays a role. AssumeRolePolicyDocument pulumi.StringOutput `pulumi:"assumeRolePolicyDocument"` // 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+.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourcemanager.NewRole(ctx, "example", &resourcemanager.RoleArgs{ AssumeRolePolicyDocument: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"RAM\":[\n", " \"acs:ram::103755469187****:root\",\n", " \"acs:ram::104408977069****:root\"\n", " ]\n", " }\n", " }\n", " ],\n", " \"Version\": \"1\"\n", " }\n", " \n")), RoleName: pulumi.String("testrd"), }) if err != nil { return err } return nil }) }
```
## Import
Resource Manager can be imported using the id or role_name, e.g.
```sh
$ pulumi import alicloud:resourcemanager/role:Role example testrd
```
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).
func NewRole ¶
func NewRole(ctx *pulumi.Context, name string, args *RoleArgs, opts ...pulumi.ResourceOption) (*Role, error)
NewRole registers a new resource with the given unique name, arguments, and options.
func (*Role) ElementType ¶ added in v2.25.1
func (*Role) ToRoleOutput ¶ added in v2.25.1
func (i *Role) ToRoleOutput() RoleOutput
func (*Role) ToRoleOutputWithContext ¶ added in v2.25.1
func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput
func (*Role) ToRolePtrOutput ¶ added in v2.35.1
func (i *Role) ToRolePtrOutput() RolePtrOutput
func (*Role) ToRolePtrOutputWithContext ¶ added in v2.35.1
func (i *Role) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput
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 RoleArray ¶ added in v2.35.1
type RoleArray []RoleInput
func (RoleArray) ElementType ¶ added in v2.35.1
func (RoleArray) ToRoleArrayOutput ¶ added in v2.35.1
func (i RoleArray) ToRoleArrayOutput() RoleArrayOutput
func (RoleArray) ToRoleArrayOutputWithContext ¶ added in v2.35.1
func (i RoleArray) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput
type RoleArrayInput ¶ added in v2.35.1
type RoleArrayInput interface { pulumi.Input ToRoleArrayOutput() RoleArrayOutput ToRoleArrayOutputWithContext(context.Context) RoleArrayOutput }
RoleArrayInput is an input type that accepts RoleArray and RoleArrayOutput values. You can construct a concrete instance of `RoleArrayInput` via:
RoleArray{ RoleArgs{...} }
type RoleArrayOutput ¶ added in v2.35.1
type RoleArrayOutput struct{ *pulumi.OutputState }
func (RoleArrayOutput) ElementType ¶ added in v2.35.1
func (RoleArrayOutput) ElementType() reflect.Type
func (RoleArrayOutput) Index ¶ added in v2.35.1
func (o RoleArrayOutput) Index(i pulumi.IntInput) RoleOutput
func (RoleArrayOutput) ToRoleArrayOutput ¶ added in v2.35.1
func (o RoleArrayOutput) ToRoleArrayOutput() RoleArrayOutput
func (RoleArrayOutput) ToRoleArrayOutputWithContext ¶ added in v2.35.1
func (o RoleArrayOutput) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput
type RoleInput ¶ added in v2.25.1
type RoleInput interface { pulumi.Input ToRoleOutput() RoleOutput ToRoleOutputWithContext(ctx context.Context) RoleOutput }
type RoleMap ¶ added in v2.35.1
func (RoleMap) ElementType ¶ added in v2.35.1
func (RoleMap) ToRoleMapOutput ¶ added in v2.35.1
func (i RoleMap) ToRoleMapOutput() RoleMapOutput
func (RoleMap) ToRoleMapOutputWithContext ¶ added in v2.35.1
func (i RoleMap) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput
type RoleMapInput ¶ added in v2.35.1
type RoleMapInput interface { pulumi.Input ToRoleMapOutput() RoleMapOutput ToRoleMapOutputWithContext(context.Context) RoleMapOutput }
RoleMapInput is an input type that accepts RoleMap and RoleMapOutput values. You can construct a concrete instance of `RoleMapInput` via:
RoleMap{ "key": RoleArgs{...} }
type RoleMapOutput ¶ added in v2.35.1
type RoleMapOutput struct{ *pulumi.OutputState }
func (RoleMapOutput) ElementType ¶ added in v2.35.1
func (RoleMapOutput) ElementType() reflect.Type
func (RoleMapOutput) MapIndex ¶ added in v2.35.1
func (o RoleMapOutput) MapIndex(k pulumi.StringInput) RoleOutput
func (RoleMapOutput) ToRoleMapOutput ¶ added in v2.35.1
func (o RoleMapOutput) ToRoleMapOutput() RoleMapOutput
func (RoleMapOutput) ToRoleMapOutputWithContext ¶ added in v2.35.1
func (o RoleMapOutput) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput
type RoleOutput ¶ added in v2.25.1
type RoleOutput struct {
*pulumi.OutputState
}
func (RoleOutput) ElementType ¶ added in v2.25.1
func (RoleOutput) ElementType() reflect.Type
func (RoleOutput) ToRoleOutput ¶ added in v2.25.1
func (o RoleOutput) ToRoleOutput() RoleOutput
func (RoleOutput) ToRoleOutputWithContext ¶ added in v2.25.1
func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput
func (RoleOutput) ToRolePtrOutput ¶ added in v2.35.1
func (o RoleOutput) ToRolePtrOutput() RolePtrOutput
func (RoleOutput) ToRolePtrOutputWithContext ¶ added in v2.35.1
func (o RoleOutput) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput
type RolePtrInput ¶ added in v2.35.1
type RolePtrInput interface { pulumi.Input ToRolePtrOutput() RolePtrOutput ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput }
type RolePtrOutput ¶ added in v2.35.1
type RolePtrOutput struct {
*pulumi.OutputState
}
func (RolePtrOutput) ElementType ¶ added in v2.35.1
func (RolePtrOutput) ElementType() reflect.Type
func (RolePtrOutput) ToRolePtrOutput ¶ added in v2.35.1
func (o RolePtrOutput) ToRolePtrOutput() RolePtrOutput
func (RolePtrOutput) ToRolePtrOutputWithContext ¶ added in v2.35.1
func (o RolePtrOutput) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput
type RoleState ¶
type RoleState struct { // The resource descriptor of the role. // * `createDate` (Removed form v1.114.0) - Role creation time. Arn pulumi.StringPtrInput // The content of the permissions strategy that plays a role. AssumeRolePolicyDocument 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 }
func (RoleState) ElementType ¶
type SharedResource ¶ added in v2.30.0
type SharedResource struct { pulumi.StringOutput `pulumi:"resourceId"` ResourceShareId pulumi.StringOutput `pulumi:"resourceShareId"` ResourceType pulumi.StringOutput `pulumi:"resourceType"` Status pulumi.StringOutput `pulumi:"status"` }ResourceId
Provides a Resource Manager Shared Resource resource.
For information about Resource Manager Shared Resource and how to use it, see [What is Shared Resource](https://www.alibabacloud.com/help/en/doc-detail/94475.htm).
> **NOTE:** Available in v1.111.0+.
## Import
Resource Manager Shared Resource can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/sharedResource:SharedResource example <resource_share_id>:<resource_id>:<resource_type>
```
func GetSharedResource ¶ added in v2.30.0
func GetSharedResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SharedResourceState, opts ...pulumi.ResourceOption) (*SharedResource, error)
GetSharedResource gets an existing SharedResource 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 NewSharedResource ¶ added in v2.30.0
func NewSharedResource(ctx *pulumi.Context, name string, args *SharedResourceArgs, opts ...pulumi.ResourceOption) (*SharedResource, error)
NewSharedResource registers a new resource with the given unique name, arguments, and options.
func (*SharedResource) ElementType ¶ added in v2.30.0
func (*SharedResource) ElementType() reflect.Type
func (*SharedResource) ToSharedResourceOutput ¶ added in v2.30.0
func (i *SharedResource) ToSharedResourceOutput() SharedResourceOutput
func (*SharedResource) ToSharedResourceOutputWithContext ¶ added in v2.30.0
func (i *SharedResource) ToSharedResourceOutputWithContext(ctx context.Context) SharedResourceOutput
func (*SharedResource) ToSharedResourcePtrOutput ¶ added in v2.35.1
func (i *SharedResource) ToSharedResourcePtrOutput() SharedResourcePtrOutput
func (*SharedResource) ToSharedResourcePtrOutputWithContext ¶ added in v2.35.1
func (i *SharedResource) ToSharedResourcePtrOutputWithContext(ctx context.Context) SharedResourcePtrOutput
type SharedResourceArgs ¶ added in v2.30.0
type SharedResourceArgs struct { pulumi.StringInput ResourceShareId pulumi.StringInput ResourceType pulumi.StringInput }ResourceId
The set of arguments for constructing a SharedResource resource.
func (SharedResourceArgs) ElementType ¶ added in v2.30.0
func (SharedResourceArgs) ElementType() reflect.Type
type SharedResourceArray ¶ added in v2.35.1
type SharedResourceArray []SharedResourceInput
func (SharedResourceArray) ElementType ¶ added in v2.35.1
func (SharedResourceArray) ElementType() reflect.Type
func (SharedResourceArray) ToSharedResourceArrayOutput ¶ added in v2.35.1
func (i SharedResourceArray) ToSharedResourceArrayOutput() SharedResourceArrayOutput
func (SharedResourceArray) ToSharedResourceArrayOutputWithContext ¶ added in v2.35.1
func (i SharedResourceArray) ToSharedResourceArrayOutputWithContext(ctx context.Context) SharedResourceArrayOutput
type SharedResourceArrayInput ¶ added in v2.35.1
SharedResourceArrayInput is an input type that accepts SharedResourceArray and SharedResourceArrayOutput values. You can construct a concrete instance of `SharedResourceArrayInput` via:
SharedResourceArray{ SharedResourceArgs{...} }
type SharedResourceArrayOutput ¶ added in v2.35.1
func (SharedResourceArrayOutput) ElementType ¶ added in v2.35.1
func (SharedResourceArrayOutput) ElementType() reflect.Type
func (SharedResourceArrayOutput) Index ¶ added in v2.35.1
func (o SharedResourceArrayOutput) Index(i pulumi.IntInput) SharedResourceOutput
func (SharedResourceArrayOutput) ToSharedResourceArrayOutput ¶ added in v2.35.1
func (o SharedResourceArrayOutput) ToSharedResourceArrayOutput() SharedResourceArrayOutput
func (SharedResourceArrayOutput) ToSharedResourceArrayOutputWithContext ¶ added in v2.35.1
func (o SharedResourceArrayOutput) ToSharedResourceArrayOutputWithContext(ctx context.Context) SharedResourceArrayOutput
type SharedResourceInput ¶ added in v2.30.0
type SharedResourceMap ¶ added in v2.35.1
type SharedResourceMap map[string]SharedResourceInput
func (SharedResourceMap) ElementType ¶ added in v2.35.1
func (SharedResourceMap) ElementType() reflect.Type
func (SharedResourceMap) ToSharedResourceMapOutput ¶ added in v2.35.1
func (i SharedResourceMap) ToSharedResourceMapOutput() SharedResourceMapOutput
func (SharedResourceMap) ToSharedResourceMapOutputWithContext ¶ added in v2.35.1
func (i SharedResourceMap) ToSharedResourceMapOutputWithContext(ctx context.Context) SharedResourceMapOutput
type SharedResourceMapInput ¶ added in v2.35.1
SharedResourceMapInput is an input type that accepts SharedResourceMap and SharedResourceMapOutput values. You can construct a concrete instance of `SharedResourceMapInput` via:
SharedResourceMap{ "key": SharedResourceArgs{...} }
type SharedResourceMapOutput ¶ added in v2.35.1
func (SharedResourceMapOutput) ElementType ¶ added in v2.35.1
func (SharedResourceMapOutput) ElementType() reflect.Type
func (SharedResourceMapOutput) MapIndex ¶ added in v2.35.1
func (o SharedResourceMapOutput) MapIndex(k pulumi.StringInput) SharedResourceOutput
func (SharedResourceMapOutput) ToSharedResourceMapOutput ¶ added in v2.35.1
func (o SharedResourceMapOutput) ToSharedResourceMapOutput() SharedResourceMapOutput
func (SharedResourceMapOutput) ToSharedResourceMapOutputWithContext ¶ added in v2.35.1
func (o SharedResourceMapOutput) ToSharedResourceMapOutputWithContext(ctx context.Context) SharedResourceMapOutput
type SharedResourceOutput ¶ added in v2.30.0
type SharedResourceOutput struct {
}func (SharedResourceOutput) ElementType ¶ added in v2.30.0
func (SharedResourceOutput) ElementType() reflect.Type
func (SharedResourceOutput) ToSharedResourceOutput ¶ added in v2.30.0
func (o SharedResourceOutput) ToSharedResourceOutput() SharedResourceOutput
func (SharedResourceOutput) ToSharedResourceOutputWithContext ¶ added in v2.30.0
func (o SharedResourceOutput) ToSharedResourceOutputWithContext(ctx context.Context) SharedResourceOutput
func (SharedResourceOutput) ToSharedResourcePtrOutput ¶ added in v2.35.1
func (o SharedResourceOutput) ToSharedResourcePtrOutput() SharedResourcePtrOutput
func (SharedResourceOutput) ToSharedResourcePtrOutputWithContext ¶ added in v2.35.1
func (o SharedResourceOutput) ToSharedResourcePtrOutputWithContext(ctx context.Context) SharedResourcePtrOutput
type SharedResourcePtrInput ¶ added in v2.35.1
type SharedResourcePtrOutput ¶ added in v2.35.1
type SharedResourcePtrOutput struct {
}func (SharedResourcePtrOutput) ElementType ¶ added in v2.35.1
func (SharedResourcePtrOutput) ElementType() reflect.Type
func (SharedResourcePtrOutput) ToSharedResourcePtrOutput ¶ added in v2.35.1
func (o SharedResourcePtrOutput) ToSharedResourcePtrOutput() SharedResourcePtrOutput
func (SharedResourcePtrOutput) ToSharedResourcePtrOutputWithContext ¶ added in v2.35.1
func (o SharedResourcePtrOutput) ToSharedResourcePtrOutputWithContext(ctx context.Context) SharedResourcePtrOutput
type SharedResourceState ¶ added in v2.30.0
type SharedResourceState struct { pulumi.StringPtrInput ResourceShareId pulumi.StringPtrInput ResourceType pulumi.StringPtrInput Status pulumi.StringPtrInput }ResourceId
func (SharedResourceState) ElementType ¶ added in v2.30.0
func (SharedResourceState) ElementType() reflect.Type
type SharedTarget ¶ added in v2.30.0
type SharedTarget struct { pulumi.StringOutput `pulumi:"resourceShareId"` Status pulumi.StringOutput `pulumi:"status"` TargetId pulumi.StringOutput `pulumi:"targetId"` }ResourceShareId
Provides a Resource Manager Shared Target resource.
For information about Resource Manager Shared Target and how to use it, see [What is Shared Target](https://www.alibabacloud.com/help/en/doc-detail/94475.htm).
> **NOTE:** Available in v1.111.0+.
## Import
Resource Manager Shared Target can be imported using the id, e.g.
```sh
$ pulumi import alicloud:resourcemanager/sharedTarget:SharedTarget example <resource_share_id>:<target_id>
```
func GetSharedTarget ¶ added in v2.30.0
func GetSharedTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SharedTargetState, opts ...pulumi.ResourceOption) (*SharedTarget, error)
GetSharedTarget gets an existing SharedTarget 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 NewSharedTarget ¶ added in v2.30.0
func NewSharedTarget(ctx *pulumi.Context, name string, args *SharedTargetArgs, opts ...pulumi.ResourceOption) (*SharedTarget, error)
NewSharedTarget registers a new resource with the given unique name, arguments, and options.
func (*SharedTarget) ElementType ¶ added in v2.30.0
func (*SharedTarget) ElementType() reflect.Type
func (*SharedTarget) ToSharedTargetOutput ¶ added in v2.30.0
func (i *SharedTarget) ToSharedTargetOutput() SharedTargetOutput
func (*SharedTarget) ToSharedTargetOutputWithContext ¶ added in v2.30.0
func (i *SharedTarget) ToSharedTargetOutputWithContext(ctx context.Context) SharedTargetOutput
func (*SharedTarget) ToSharedTargetPtrOutput ¶ added in v2.35.1
func (i *SharedTarget) ToSharedTargetPtrOutput() SharedTargetPtrOutput
func (*SharedTarget) ToSharedTargetPtrOutputWithContext ¶ added in v2.35.1
func (i *SharedTarget) ToSharedTargetPtrOutputWithContext(ctx context.Context) SharedTargetPtrOutput
type SharedTargetArgs ¶ added in v2.30.0
type SharedTargetArgs struct { pulumi.StringInput TargetId pulumi.StringInput }ResourceShareId
The set of arguments for constructing a SharedTarget resource.
func (SharedTargetArgs) ElementType ¶ added in v2.30.0
func (SharedTargetArgs) ElementType() reflect.Type
type SharedTargetArray ¶ added in v2.35.1
type SharedTargetArray []SharedTargetInput
func (SharedTargetArray) ElementType ¶ added in v2.35.1
func (SharedTargetArray) ElementType() reflect.Type
func (SharedTargetArray) ToSharedTargetArrayOutput ¶ added in v2.35.1
func (i SharedTargetArray) ToSharedTargetArrayOutput() SharedTargetArrayOutput
func (SharedTargetArray) ToSharedTargetArrayOutputWithContext ¶ added in v2.35.1
func (i SharedTargetArray) ToSharedTargetArrayOutputWithContext(ctx context.Context) SharedTargetArrayOutput
type SharedTargetArrayInput ¶ added in v2.35.1
SharedTargetArrayInput is an input type that accepts SharedTargetArray and SharedTargetArrayOutput values. You can construct a concrete instance of `SharedTargetArrayInput` via:
SharedTargetArray{ SharedTargetArgs{...} }
type SharedTargetArrayOutput ¶ added in v2.35.1
func (SharedTargetArrayOutput) ElementType ¶ added in v2.35.1
func (SharedTargetArrayOutput) ElementType() reflect.Type
func (SharedTargetArrayOutput) Index ¶ added in v2.35.1
func (o SharedTargetArrayOutput) Index(i pulumi.IntInput) SharedTargetOutput
func (SharedTargetArrayOutput) ToSharedTargetArrayOutput ¶ added in v2.35.1
func (o SharedTargetArrayOutput) ToSharedTargetArrayOutput() SharedTargetArrayOutput
func (SharedTargetArrayOutput) ToSharedTargetArrayOutputWithContext ¶ added in v2.35.1
func (o SharedTargetArrayOutput) ToSharedTargetArrayOutputWithContext(ctx context.Context) SharedTargetArrayOutput
type SharedTargetInput ¶ added in v2.30.0
type SharedTargetMap ¶ added in v2.35.1
type SharedTargetMap map[string]SharedTargetInput
func (SharedTargetMap) ElementType ¶ added in v2.35.1
func (SharedTargetMap) ElementType() reflect.Type
func (SharedTargetMap) ToSharedTargetMapOutput ¶ added in v2.35.1
func (i SharedTargetMap) ToSharedTargetMapOutput() SharedTargetMapOutput
func (SharedTargetMap) ToSharedTargetMapOutputWithContext ¶ added in v2.35.1
func (i SharedTargetMap) ToSharedTargetMapOutputWithContext(ctx context.Context) SharedTargetMapOutput
type SharedTargetMapInput ¶ added in v2.35.1
SharedTargetMapInput is an input type that accepts SharedTargetMap and SharedTargetMapOutput values. You can construct a concrete instance of `SharedTargetMapInput` via:
SharedTargetMap{ "key": SharedTargetArgs{...} }
type SharedTargetMapOutput ¶ added in v2.35.1
func (SharedTargetMapOutput) ElementType ¶ added in v2.35.1
func (SharedTargetMapOutput) ElementType() reflect.Type
func (SharedTargetMapOutput) MapIndex ¶ added in v2.35.1
func (o SharedTargetMapOutput) MapIndex(k pulumi.StringInput) SharedTargetOutput
func (SharedTargetMapOutput) ToSharedTargetMapOutput ¶ added in v2.35.1
func (o SharedTargetMapOutput) ToSharedTargetMapOutput() SharedTargetMapOutput
func (SharedTargetMapOutput) ToSharedTargetMapOutputWithContext ¶ added in v2.35.1
func (o SharedTargetMapOutput) ToSharedTargetMapOutputWithContext(ctx context.Context) SharedTargetMapOutput
type SharedTargetOutput ¶ added in v2.30.0
type SharedTargetOutput struct {
}func (SharedTargetOutput) ElementType ¶ added in v2.30.0
func (SharedTargetOutput) ElementType() reflect.Type
func (SharedTargetOutput) ToSharedTargetOutput ¶ added in v2.30.0
func (o SharedTargetOutput) ToSharedTargetOutput() SharedTargetOutput
func (SharedTargetOutput) ToSharedTargetOutputWithContext ¶ added in v2.30.0
func (o SharedTargetOutput) ToSharedTargetOutputWithContext(ctx context.Context) SharedTargetOutput
func (SharedTargetOutput) ToSharedTargetPtrOutput ¶ added in v2.35.1
func (o SharedTargetOutput) ToSharedTargetPtrOutput() SharedTargetPtrOutput
func (SharedTargetOutput) ToSharedTargetPtrOutputWithContext ¶ added in v2.35.1
func (o SharedTargetOutput) ToSharedTargetPtrOutputWithContext(ctx context.Context) SharedTargetPtrOutput
type SharedTargetPtrInput ¶ added in v2.35.1
type SharedTargetPtrOutput ¶ added in v2.35.1
type SharedTargetPtrOutput struct {
}func (SharedTargetPtrOutput) ElementType ¶ added in v2.35.1
func (SharedTargetPtrOutput) ElementType() reflect.Type
func (SharedTargetPtrOutput) ToSharedTargetPtrOutput ¶ added in v2.35.1
func (o SharedTargetPtrOutput) ToSharedTargetPtrOutput() SharedTargetPtrOutput
func (SharedTargetPtrOutput) ToSharedTargetPtrOutputWithContext ¶ added in v2.35.1
func (o SharedTargetPtrOutput) ToSharedTargetPtrOutputWithContext(ctx context.Context) SharedTargetPtrOutput
type SharedTargetState ¶ added in v2.30.0
type SharedTargetState struct { pulumi.StringPtrInput Status pulumi.StringPtrInput TargetId pulumi.StringPtrInput }ResourceShareId
func (SharedTargetState) ElementType ¶ added in v2.30.0
func (SharedTargetState) ElementType() reflect.Type
Source Files
¶
- account.go
- controlPolicy.go
- controlPolicyAttachment.go
- folder.go
- getAccounts.go
- getControlPolicies.go
- getControlPolicyAttachments.go
- getFolders.go
- getHandshakes.go
- getPolicies.go
- getPolicyAttachments.go
- getPolicyVersions.go
- getResourceDirectories.go
- getResourceGroups.go
- getResourceShares.go
- getRoles.go
- getSharedResources.go
- getSharedTargets.go
- handshake.go
- init.go
- policy.go
- policyAttachment.go
- policyVersion.go
- pulumiTypes.go
- resourceDirectory.go
- resourceGroup.go
- resourceShare.go
- role.go
- sharedResource.go
- sharedTarget.go