Documentation
¶
Index ¶
- type Account
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- type AccountState
- type ControlPolicy
- 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
- 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
- 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
- type ControlPolicyState
- type Folder
- type FolderArgs
- type FolderArray
- type FolderArrayInput
- type FolderArrayOutput
- type FolderInput
- type FolderMap
- type FolderMapInput
- type FolderMapOutput
- type FolderOutput
- 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) AccountName() 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) PayerAccountId() 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 GetAccountsOutputArgs
- type GetAccountsResult
- type GetAccountsResultOutput
- func (o GetAccountsResultOutput) Accounts() GetAccountsAccountArrayOutput
- func (GetAccountsResultOutput) ElementType() reflect.Type
- func (o GetAccountsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetAccountsResultOutput) Id() pulumi.StringOutput
- func (o GetAccountsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetAccountsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetAccountsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetAccountsResultOutput) ToGetAccountsResultOutput() GetAccountsResultOutput
- func (o GetAccountsResultOutput) ToGetAccountsResultOutputWithContext(ctx context.Context) GetAccountsResultOutput
- type GetControlPoliciesArgs
- type GetControlPoliciesOutputArgs
- 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 GetControlPoliciesResultOutput
- func (GetControlPoliciesResultOutput) ElementType() reflect.Type
- func (o GetControlPoliciesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetControlPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetControlPoliciesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetControlPoliciesResultOutput) Language() pulumi.StringPtrOutput
- func (o GetControlPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetControlPoliciesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetControlPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetControlPoliciesResultOutput) Policies() GetControlPoliciesPolicyArrayOutput
- func (o GetControlPoliciesResultOutput) PolicyType() pulumi.StringPtrOutput
- func (o GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutput() GetControlPoliciesResultOutput
- func (o GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutputWithContext(ctx context.Context) GetControlPoliciesResultOutput
- 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 GetControlPolicyAttachmentsOutputArgs
- type GetControlPolicyAttachmentsResult
- type GetControlPolicyAttachmentsResultOutput
- func (o GetControlPolicyAttachmentsResultOutput) Attachments() GetControlPolicyAttachmentsAttachmentArrayOutput
- func (GetControlPolicyAttachmentsResultOutput) ElementType() reflect.Type
- func (o GetControlPolicyAttachmentsResultOutput) Id() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetControlPolicyAttachmentsResultOutput) Language() pulumi.StringPtrOutput
- func (o GetControlPolicyAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetControlPolicyAttachmentsResultOutput) PolicyType() pulumi.StringPtrOutput
- func (o GetControlPolicyAttachmentsResultOutput) TargetId() pulumi.StringOutput
- func (o GetControlPolicyAttachmentsResultOutput) ToGetControlPolicyAttachmentsResultOutput() GetControlPolicyAttachmentsResultOutput
- func (o GetControlPolicyAttachmentsResultOutput) ToGetControlPolicyAttachmentsResultOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsResultOutput
- 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 GetFoldersOutputArgs
- type GetFoldersResult
- type GetFoldersResultOutput
- func (GetFoldersResultOutput) ElementType() reflect.Type
- func (o GetFoldersResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetFoldersResultOutput) Folders() GetFoldersFolderArrayOutput
- func (o GetFoldersResultOutput) Id() pulumi.StringOutput
- func (o GetFoldersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetFoldersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetFoldersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetFoldersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetFoldersResultOutput) ParentFolderId() pulumi.StringPtrOutput
- func (o GetFoldersResultOutput) QueryKeyword() pulumi.StringPtrOutput
- func (o GetFoldersResultOutput) ToGetFoldersResultOutput() GetFoldersResultOutput
- func (o GetFoldersResultOutput) ToGetFoldersResultOutputWithContext(ctx context.Context) GetFoldersResultOutput
- 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 GetHandshakesOutputArgs
- type GetHandshakesResult
- type GetHandshakesResultOutput
- func (GetHandshakesResultOutput) ElementType() reflect.Type
- func (o GetHandshakesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetHandshakesResultOutput) Handshakes() GetHandshakesHandshakeArrayOutput
- func (o GetHandshakesResultOutput) Id() pulumi.StringOutput
- func (o GetHandshakesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetHandshakesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetHandshakesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetHandshakesResultOutput) ToGetHandshakesResultOutput() GetHandshakesResultOutput
- func (o GetHandshakesResultOutput) ToGetHandshakesResultOutputWithContext(ctx context.Context) GetHandshakesResultOutput
- type GetPoliciesArgs
- type GetPoliciesOutputArgs
- 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 GetPoliciesResultOutput
- func (GetPoliciesResultOutput) ElementType() reflect.Type
- func (o GetPoliciesResultOutput) Id() pulumi.StringOutput
- func (o GetPoliciesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetPoliciesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetPoliciesResultOutput) Policies() GetPoliciesPolicyArrayOutput
- func (o GetPoliciesResultOutput) PolicyType() pulumi.StringPtrOutput
- func (o GetPoliciesResultOutput) ToGetPoliciesResultOutput() GetPoliciesResultOutput
- func (o GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext(ctx context.Context) GetPoliciesResultOutput
- 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 GetPolicyAttachmentsOutputArgs
- type GetPolicyAttachmentsResult
- type GetPolicyAttachmentsResultOutput
- func (o GetPolicyAttachmentsResultOutput) Attachments() GetPolicyAttachmentsAttachmentArrayOutput
- func (GetPolicyAttachmentsResultOutput) ElementType() reflect.Type
- func (o GetPolicyAttachmentsResultOutput) Id() pulumi.StringOutput
- func (o GetPolicyAttachmentsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetPolicyAttachmentsResultOutput) Language() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) PolicyName() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) PolicyType() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) PrincipalName() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) PrincipalType() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o GetPolicyAttachmentsResultOutput) ToGetPolicyAttachmentsResultOutput() GetPolicyAttachmentsResultOutput
- func (o GetPolicyAttachmentsResultOutput) ToGetPolicyAttachmentsResultOutputWithContext(ctx context.Context) GetPolicyAttachmentsResultOutput
- type GetPolicyVersionsArgs
- type GetPolicyVersionsOutputArgs
- type GetPolicyVersionsResult
- type GetPolicyVersionsResultOutput
- func (GetPolicyVersionsResultOutput) ElementType() reflect.Type
- func (o GetPolicyVersionsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetPolicyVersionsResultOutput) Id() pulumi.StringOutput
- func (o GetPolicyVersionsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetPolicyVersionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetPolicyVersionsResultOutput) PolicyName() pulumi.StringOutput
- func (o GetPolicyVersionsResultOutput) PolicyType() pulumi.StringOutput
- func (o GetPolicyVersionsResultOutput) ToGetPolicyVersionsResultOutput() GetPolicyVersionsResultOutput
- func (o GetPolicyVersionsResultOutput) ToGetPolicyVersionsResultOutputWithContext(ctx context.Context) GetPolicyVersionsResultOutput
- func (o GetPolicyVersionsResultOutput) Versions() GetPolicyVersionsVersionArrayOutput
- 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 GetResourceDirectoriesOutputArgs
- type GetResourceDirectoriesResult
- type GetResourceDirectoriesResultOutput
- func (o GetResourceDirectoriesResultOutput) Directories() GetResourceDirectoriesDirectoryArrayOutput
- func (GetResourceDirectoriesResultOutput) ElementType() reflect.Type
- func (o GetResourceDirectoriesResultOutput) Id() pulumi.StringOutput
- func (o GetResourceDirectoriesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetResourceDirectoriesResultOutput) ToGetResourceDirectoriesResultOutput() GetResourceDirectoriesResultOutput
- func (o GetResourceDirectoriesResultOutput) ToGetResourceDirectoriesResultOutputWithContext(ctx context.Context) GetResourceDirectoriesResultOutput
- 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 GetResourceGroupsOutputArgs
- type GetResourceGroupsResult
- type GetResourceGroupsResultOutput
- func (GetResourceGroupsResultOutput) ElementType() reflect.Type
- func (o GetResourceGroupsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetResourceGroupsResultOutput) Groups() GetResourceGroupsGroupArrayOutput
- func (o GetResourceGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetResourceGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetResourceGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetResourceGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetResourceGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetResourceGroupsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetResourceGroupsResultOutput) ToGetResourceGroupsResultOutput() GetResourceGroupsResultOutput
- func (o GetResourceGroupsResultOutput) ToGetResourceGroupsResultOutputWithContext(ctx context.Context) GetResourceGroupsResultOutput
- type GetResourceSharesArgs
- type GetResourceSharesOutputArgs
- type GetResourceSharesResult
- type GetResourceSharesResultOutput
- func (GetResourceSharesResultOutput) ElementType() reflect.Type
- func (o GetResourceSharesResultOutput) Id() pulumi.StringOutput
- func (o GetResourceSharesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetResourceSharesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetResourceSharesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetResourceSharesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetResourceSharesResultOutput) ResourceShareName() pulumi.StringPtrOutput
- func (o GetResourceSharesResultOutput) ResourceShareOwner() pulumi.StringOutput
- func (o GetResourceSharesResultOutput) Shares() GetResourceSharesShareArrayOutput
- func (o GetResourceSharesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetResourceSharesResultOutput) ToGetResourceSharesResultOutput() GetResourceSharesResultOutput
- func (o GetResourceSharesResultOutput) ToGetResourceSharesResultOutputWithContext(ctx context.Context) GetResourceSharesResultOutput
- 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 GetRolesOutputArgs
- type GetRolesResult
- type GetRolesResultOutput
- func (GetRolesResultOutput) ElementType() reflect.Type
- func (o GetRolesResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetRolesResultOutput) Id() pulumi.StringOutput
- func (o GetRolesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRolesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetRolesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetRolesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetRolesResultOutput) Roles() GetRolesRoleArrayOutput
- func (o GetRolesResultOutput) ToGetRolesResultOutput() GetRolesResultOutput
- func (o GetRolesResultOutput) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput
- 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 GetSharedResourcesOutputArgs
- 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 GetSharedResourcesResultOutput
- func (GetSharedResourcesResultOutput) ElementType() reflect.Type
- func (o GetSharedResourcesResultOutput) Id() pulumi.StringOutput
- func (o GetSharedResourcesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSharedResourcesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSharedResourcesResultOutput) ResourceShareId() pulumi.StringPtrOutput
- func (o GetSharedResourcesResultOutput) Resources() GetSharedResourcesResourceArrayOutput
- func (o GetSharedResourcesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSharedResourcesResultOutput) ToGetSharedResourcesResultOutput() GetSharedResourcesResultOutput
- func (o GetSharedResourcesResultOutput) ToGetSharedResourcesResultOutputWithContext(ctx context.Context) GetSharedResourcesResultOutput
- type GetSharedTargetsArgs
- type GetSharedTargetsOutputArgs
- type GetSharedTargetsResult
- type GetSharedTargetsResultOutput
- func (GetSharedTargetsResultOutput) ElementType() reflect.Type
- func (o GetSharedTargetsResultOutput) Id() pulumi.StringOutput
- func (o GetSharedTargetsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSharedTargetsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSharedTargetsResultOutput) ResourceShareId() pulumi.StringPtrOutput
- func (o GetSharedTargetsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSharedTargetsResultOutput) Targets() GetSharedTargetsTargetArrayOutput
- func (o GetSharedTargetsResultOutput) ToGetSharedTargetsResultOutput() GetSharedTargetsResultOutput
- func (o GetSharedTargetsResultOutput) ToGetSharedTargetsResultOutputWithContext(ctx context.Context) GetSharedTargetsResultOutput
- 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
- 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
- type HandshakeState
- type Policy
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyAttachment
- 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
- type PolicyAttachmentState
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- type PolicyState
- type PolicyVersion
- 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
- type PolicyVersionState
- type ResourceDirectory
- 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
- type ResourceDirectoryState
- type ResourceGroup
- 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
- 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
- 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
- type ResourceShareState
- type Role
- type RoleArgs
- type RoleArray
- type RoleArrayInput
- type RoleArrayOutput
- type RoleInput
- type RoleMap
- type RoleMapInput
- type RoleMapOutput
- type RoleOutput
- type RoleState
- type SharedResource
- 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
- type SharedResourceState
- type SharedTarget
- 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
- type SharedTargetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
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 ¶
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 ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountArgs ¶
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 ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
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 ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
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 ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct{ *pulumi.OutputState }
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountState ¶
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 ¶
func (AccountState) ElementType() reflect.Type
type ControlPolicy ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
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 ¶
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 ¶
func (*ControlPolicy) ElementType() reflect.Type
func (*ControlPolicy) ToControlPolicyOutput ¶
func (i *ControlPolicy) ToControlPolicyOutput() ControlPolicyOutput
func (*ControlPolicy) ToControlPolicyOutputWithContext ¶
func (i *ControlPolicy) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
type ControlPolicyArgs ¶
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 ¶
func (ControlPolicyArgs) ElementType() reflect.Type
type ControlPolicyArray ¶
type ControlPolicyArray []ControlPolicyInput
func (ControlPolicyArray) ElementType ¶
func (ControlPolicyArray) ElementType() reflect.Type
func (ControlPolicyArray) ToControlPolicyArrayOutput ¶
func (i ControlPolicyArray) ToControlPolicyArrayOutput() ControlPolicyArrayOutput
func (ControlPolicyArray) ToControlPolicyArrayOutputWithContext ¶
func (i ControlPolicyArray) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput
type ControlPolicyArrayInput ¶
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 ¶
type ControlPolicyArrayOutput struct{ *pulumi.OutputState }
func (ControlPolicyArrayOutput) ElementType ¶
func (ControlPolicyArrayOutput) ElementType() reflect.Type
func (ControlPolicyArrayOutput) Index ¶
func (o ControlPolicyArrayOutput) Index(i pulumi.IntInput) ControlPolicyOutput
func (ControlPolicyArrayOutput) ToControlPolicyArrayOutput ¶
func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutput() ControlPolicyArrayOutput
func (ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext ¶
func (o ControlPolicyArrayOutput) ToControlPolicyArrayOutputWithContext(ctx context.Context) ControlPolicyArrayOutput
type ControlPolicyAttachment ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
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 ¶
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 ¶
func (*ControlPolicyAttachment) ElementType() reflect.Type
func (*ControlPolicyAttachment) ToControlPolicyAttachmentOutput ¶
func (i *ControlPolicyAttachment) ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput
func (*ControlPolicyAttachment) ToControlPolicyAttachmentOutputWithContext ¶
func (i *ControlPolicyAttachment) ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput
type ControlPolicyAttachmentArgs ¶
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 ¶
func (ControlPolicyAttachmentArgs) ElementType() reflect.Type
type ControlPolicyAttachmentArray ¶
type ControlPolicyAttachmentArray []ControlPolicyAttachmentInput
func (ControlPolicyAttachmentArray) ElementType ¶
func (ControlPolicyAttachmentArray) ElementType() reflect.Type
func (ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutput ¶
func (i ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput
func (ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutputWithContext ¶
func (i ControlPolicyAttachmentArray) ToControlPolicyAttachmentArrayOutputWithContext(ctx context.Context) ControlPolicyAttachmentArrayOutput
type ControlPolicyAttachmentArrayInput ¶
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 ¶
type ControlPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (ControlPolicyAttachmentArrayOutput) ElementType ¶
func (ControlPolicyAttachmentArrayOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentArrayOutput) Index ¶
func (o ControlPolicyAttachmentArrayOutput) Index(i pulumi.IntInput) ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutput ¶
func (o ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutput() ControlPolicyAttachmentArrayOutput
func (ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutputWithContext ¶
func (o ControlPolicyAttachmentArrayOutput) ToControlPolicyAttachmentArrayOutputWithContext(ctx context.Context) ControlPolicyAttachmentArrayOutput
type ControlPolicyAttachmentInput ¶
type ControlPolicyAttachmentInput interface { pulumi.Input ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput }
type ControlPolicyAttachmentMap ¶
type ControlPolicyAttachmentMap map[string]ControlPolicyAttachmentInput
func (ControlPolicyAttachmentMap) ElementType ¶
func (ControlPolicyAttachmentMap) ElementType() reflect.Type
func (ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutput ¶
func (i ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput
func (ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutputWithContext ¶
func (i ControlPolicyAttachmentMap) ToControlPolicyAttachmentMapOutputWithContext(ctx context.Context) ControlPolicyAttachmentMapOutput
type ControlPolicyAttachmentMapInput ¶
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 ¶
type ControlPolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (ControlPolicyAttachmentMapOutput) ElementType ¶
func (ControlPolicyAttachmentMapOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentMapOutput) MapIndex ¶
func (o ControlPolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutput ¶
func (o ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutput() ControlPolicyAttachmentMapOutput
func (ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutputWithContext ¶
func (o ControlPolicyAttachmentMapOutput) ToControlPolicyAttachmentMapOutputWithContext(ctx context.Context) ControlPolicyAttachmentMapOutput
type ControlPolicyAttachmentOutput ¶
type ControlPolicyAttachmentOutput struct{ *pulumi.OutputState }
func (ControlPolicyAttachmentOutput) ElementType ¶
func (ControlPolicyAttachmentOutput) ElementType() reflect.Type
func (ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutput ¶
func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutput() ControlPolicyAttachmentOutput
func (ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutputWithContext ¶
func (o ControlPolicyAttachmentOutput) ToControlPolicyAttachmentOutputWithContext(ctx context.Context) ControlPolicyAttachmentOutput
type ControlPolicyAttachmentState ¶
type ControlPolicyAttachmentState struct { // The ID of control policy. PolicyId pulumi.StringPtrInput // The ID of target. TargetId pulumi.StringPtrInput }
func (ControlPolicyAttachmentState) ElementType ¶
func (ControlPolicyAttachmentState) ElementType() reflect.Type
type ControlPolicyInput ¶
type ControlPolicyInput interface { pulumi.Input ToControlPolicyOutput() ControlPolicyOutput ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput }
type ControlPolicyMap ¶
type ControlPolicyMap map[string]ControlPolicyInput
func (ControlPolicyMap) ElementType ¶
func (ControlPolicyMap) ElementType() reflect.Type
func (ControlPolicyMap) ToControlPolicyMapOutput ¶
func (i ControlPolicyMap) ToControlPolicyMapOutput() ControlPolicyMapOutput
func (ControlPolicyMap) ToControlPolicyMapOutputWithContext ¶
func (i ControlPolicyMap) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput
type ControlPolicyMapInput ¶
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 ¶
type ControlPolicyMapOutput struct{ *pulumi.OutputState }
func (ControlPolicyMapOutput) ElementType ¶
func (ControlPolicyMapOutput) ElementType() reflect.Type
func (ControlPolicyMapOutput) MapIndex ¶
func (o ControlPolicyMapOutput) MapIndex(k pulumi.StringInput) ControlPolicyOutput
func (ControlPolicyMapOutput) ToControlPolicyMapOutput ¶
func (o ControlPolicyMapOutput) ToControlPolicyMapOutput() ControlPolicyMapOutput
func (ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext ¶
func (o ControlPolicyMapOutput) ToControlPolicyMapOutputWithContext(ctx context.Context) ControlPolicyMapOutput
type ControlPolicyOutput ¶
type ControlPolicyOutput struct{ *pulumi.OutputState }
func (ControlPolicyOutput) ElementType ¶
func (ControlPolicyOutput) ElementType() reflect.Type
func (ControlPolicyOutput) ToControlPolicyOutput ¶
func (o ControlPolicyOutput) ToControlPolicyOutput() ControlPolicyOutput
func (ControlPolicyOutput) ToControlPolicyOutputWithContext ¶
func (o ControlPolicyOutput) ToControlPolicyOutputWithContext(ctx context.Context) ControlPolicyOutput
type ControlPolicyState ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*Folder) ToFolderOutput ¶
func (i *Folder) ToFolderOutput() FolderOutput
func (*Folder) ToFolderOutputWithContext ¶
func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput
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 ¶
type FolderArray []FolderInput
func (FolderArray) ElementType ¶
func (FolderArray) ElementType() reflect.Type
func (FolderArray) ToFolderArrayOutput ¶
func (i FolderArray) ToFolderArrayOutput() FolderArrayOutput
func (FolderArray) ToFolderArrayOutputWithContext ¶
func (i FolderArray) ToFolderArrayOutputWithContext(ctx context.Context) FolderArrayOutput
type FolderArrayInput ¶
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 ¶
type FolderArrayOutput struct{ *pulumi.OutputState }
func (FolderArrayOutput) ElementType ¶
func (FolderArrayOutput) ElementType() reflect.Type
func (FolderArrayOutput) Index ¶
func (o FolderArrayOutput) Index(i pulumi.IntInput) FolderOutput
func (FolderArrayOutput) ToFolderArrayOutput ¶
func (o FolderArrayOutput) ToFolderArrayOutput() FolderArrayOutput
func (FolderArrayOutput) ToFolderArrayOutputWithContext ¶
func (o FolderArrayOutput) ToFolderArrayOutputWithContext(ctx context.Context) FolderArrayOutput
type FolderInput ¶
type FolderInput interface { pulumi.Input ToFolderOutput() FolderOutput ToFolderOutputWithContext(ctx context.Context) FolderOutput }
type FolderMap ¶
type FolderMap map[string]FolderInput
func (FolderMap) ElementType ¶
func (FolderMap) ToFolderMapOutput ¶
func (i FolderMap) ToFolderMapOutput() FolderMapOutput
func (FolderMap) ToFolderMapOutputWithContext ¶
func (i FolderMap) ToFolderMapOutputWithContext(ctx context.Context) FolderMapOutput
type FolderMapInput ¶
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 ¶
type FolderMapOutput struct{ *pulumi.OutputState }
func (FolderMapOutput) ElementType ¶
func (FolderMapOutput) ElementType() reflect.Type
func (FolderMapOutput) MapIndex ¶
func (o FolderMapOutput) MapIndex(k pulumi.StringInput) FolderOutput
func (FolderMapOutput) ToFolderMapOutput ¶
func (o FolderMapOutput) ToFolderMapOutput() FolderMapOutput
func (FolderMapOutput) ToFolderMapOutputWithContext ¶
func (o FolderMapOutput) ToFolderMapOutputWithContext(ctx context.Context) FolderMapOutput
type FolderOutput ¶
type FolderOutput struct{ *pulumi.OutputState }
func (FolderOutput) ElementType ¶
func (FolderOutput) ElementType() reflect.Type
func (FolderOutput) ToFolderOutput ¶
func (o FolderOutput) ToFolderOutput() FolderOutput
func (FolderOutput) ToFolderOutputWithContext ¶
func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutput
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 ¶
type GetAccountsAccount struct { AccountId string `pulumi:"accountId"` // (Available in v1.125.0+) The Alibaba Cloud account name of the member account. AccountName string `pulumi:"accountName"` 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"` // (Available in v1.124.3+) Settlement account ID. If the value is empty, the current account will be used for settlement. PayerAccountId string `pulumi:"payerAccountId"` // 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 ¶
type GetAccountsAccountArgs struct { AccountId pulumi.StringInput `pulumi:"accountId"` // (Available in v1.125.0+) The Alibaba Cloud account name of the member account. AccountName pulumi.StringInput `pulumi:"accountName"` 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"` // (Available in v1.124.3+) Settlement account ID. If the value is empty, the current account will be used for settlement. PayerAccountId pulumi.StringInput `pulumi:"payerAccountId"` // 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 ¶
func (GetAccountsAccountArgs) ElementType() reflect.Type
func (GetAccountsAccountArgs) ToGetAccountsAccountOutput ¶
func (i GetAccountsAccountArgs) ToGetAccountsAccountOutput() GetAccountsAccountOutput
func (GetAccountsAccountArgs) ToGetAccountsAccountOutputWithContext ¶
func (i GetAccountsAccountArgs) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput
type GetAccountsAccountArray ¶
type GetAccountsAccountArray []GetAccountsAccountInput
func (GetAccountsAccountArray) ElementType ¶
func (GetAccountsAccountArray) ElementType() reflect.Type
func (GetAccountsAccountArray) ToGetAccountsAccountArrayOutput ¶
func (i GetAccountsAccountArray) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput
func (GetAccountsAccountArray) ToGetAccountsAccountArrayOutputWithContext ¶
func (i GetAccountsAccountArray) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput
type GetAccountsAccountArrayInput ¶
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 ¶
type GetAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetAccountsAccountArrayOutput) ElementType ¶
func (GetAccountsAccountArrayOutput) ElementType() reflect.Type
func (GetAccountsAccountArrayOutput) Index ¶
func (o GetAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetAccountsAccountOutput
func (GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutput ¶
func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutput() GetAccountsAccountArrayOutput
func (GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutputWithContext ¶
func (o GetAccountsAccountArrayOutput) ToGetAccountsAccountArrayOutputWithContext(ctx context.Context) GetAccountsAccountArrayOutput
type GetAccountsAccountInput ¶
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 ¶
type GetAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetAccountsAccountOutput) AccountId ¶
func (o GetAccountsAccountOutput) AccountId() pulumi.StringOutput
func (GetAccountsAccountOutput) AccountName ¶ added in v3.3.0
func (o GetAccountsAccountOutput) AccountName() pulumi.StringOutput
(Available in v1.125.0+) The Alibaba Cloud account name of the member account.
func (GetAccountsAccountOutput) DisplayName ¶
func (o GetAccountsAccountOutput) DisplayName() pulumi.StringOutput
func (GetAccountsAccountOutput) ElementType ¶
func (GetAccountsAccountOutput) ElementType() reflect.Type
func (GetAccountsAccountOutput) FolderId ¶
func (o GetAccountsAccountOutput) FolderId() pulumi.StringOutput
The ID of the folder.
func (GetAccountsAccountOutput) Id ¶
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 ¶
func (o GetAccountsAccountOutput) JoinMethod() pulumi.StringOutput
The way in which the member account joined the resource directory.
func (GetAccountsAccountOutput) JoinTime ¶
func (o GetAccountsAccountOutput) JoinTime() pulumi.StringOutput
The time when the member account joined the resource directory.
func (GetAccountsAccountOutput) ModifyTime ¶
func (o GetAccountsAccountOutput) ModifyTime() pulumi.StringOutput
The time when the member account was modified.
func (GetAccountsAccountOutput) PayerAccountId ¶ added in v3.3.0
func (o GetAccountsAccountOutput) PayerAccountId() pulumi.StringOutput
(Available in v1.124.3+) Settlement account ID. If the value is empty, the current account will be used for settlement.
func (GetAccountsAccountOutput) ResourceDirectoryId ¶
func (o GetAccountsAccountOutput) ResourceDirectoryId() pulumi.StringOutput
The ID of the resource directory.
func (GetAccountsAccountOutput) Status ¶
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 ¶
func (o GetAccountsAccountOutput) ToGetAccountsAccountOutput() GetAccountsAccountOutput
func (GetAccountsAccountOutput) ToGetAccountsAccountOutputWithContext ¶
func (o GetAccountsAccountOutput) ToGetAccountsAccountOutputWithContext(ctx context.Context) GetAccountsAccountOutput
func (GetAccountsAccountOutput) Type ¶
func (o GetAccountsAccountOutput) Type() pulumi.StringOutput
The type of the member account.
type GetAccountsArgs ¶
type GetAccountsArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // 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 GetAccountsOutputArgs ¶ added in v3.9.0
type GetAccountsOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of account IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of account, valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, and `PromoteVerifying`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAccounts.
func (GetAccountsOutputArgs) ElementType ¶ added in v3.9.0
func (GetAccountsOutputArgs) ElementType() reflect.Type
type GetAccountsResult ¶
type GetAccountsResult struct { // A list of accounts. Each element contains the following attributes: Accounts []GetAccountsAccount `pulumi:"accounts"` EnableDetails *bool `pulumi:"enableDetails"` // 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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetAccountsResultOutput ¶ added in v3.9.0
type GetAccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccounts.
func GetAccountsOutput ¶ added in v3.9.0
func GetAccountsOutput(ctx *pulumi.Context, args GetAccountsOutputArgs, opts ...pulumi.InvokeOption) GetAccountsResultOutput
func (GetAccountsResultOutput) Accounts ¶ added in v3.9.0
func (o GetAccountsResultOutput) Accounts() GetAccountsAccountArrayOutput
A list of accounts. Each element contains the following attributes:
func (GetAccountsResultOutput) ElementType ¶ added in v3.9.0
func (GetAccountsResultOutput) ElementType() reflect.Type
func (GetAccountsResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetAccountsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetAccountsResultOutput) Id ¶ added in v3.9.0
func (o GetAccountsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAccountsResultOutput) Ids ¶ added in v3.9.0
func (o GetAccountsResultOutput) Ids() pulumi.StringArrayOutput
A list of account IDs.
func (GetAccountsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetAccountsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetAccountsResultOutput) Status ¶ added in v3.9.0
func (o GetAccountsResultOutput) Status() pulumi.StringPtrOutput
The status of the member account.
func (GetAccountsResultOutput) ToGetAccountsResultOutput ¶ added in v3.9.0
func (o GetAccountsResultOutput) ToGetAccountsResultOutput() GetAccountsResultOutput
func (GetAccountsResultOutput) ToGetAccountsResultOutputWithContext ¶ added in v3.9.0
func (o GetAccountsResultOutput) ToGetAccountsResultOutputWithContext(ctx context.Context) GetAccountsResultOutput
type GetControlPoliciesArgs ¶
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 GetControlPoliciesOutputArgs ¶ added in v3.9.0
type GetControlPoliciesOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Control Policy IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The language. Valid value `zh-CN`, `en`, and `ja`. Default value `zh-CN`. Language pulumi.StringPtrInput `pulumi:"language"` // A regex string to filter results by Control Policy name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The type of policy. PolicyType pulumi.StringPtrInput `pulumi:"policyType"` }
A collection of arguments for invoking getControlPolicies.
func (GetControlPoliciesOutputArgs) ElementType ¶ added in v3.9.0
func (GetControlPoliciesOutputArgs) ElementType() reflect.Type
type GetControlPoliciesPolicy ¶
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 ¶
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 ¶
func (GetControlPoliciesPolicyArgs) ElementType() reflect.Type
func (GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput ¶
func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
func (GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext ¶
func (i GetControlPoliciesPolicyArgs) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput
type GetControlPoliciesPolicyArray ¶
type GetControlPoliciesPolicyArray []GetControlPoliciesPolicyInput
func (GetControlPoliciesPolicyArray) ElementType ¶
func (GetControlPoliciesPolicyArray) ElementType() reflect.Type
func (GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput ¶
func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
func (GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext ¶
func (i GetControlPoliciesPolicyArray) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput
type GetControlPoliciesPolicyArrayInput ¶
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 ¶
type GetControlPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetControlPoliciesPolicyArrayOutput) ElementType ¶
func (GetControlPoliciesPolicyArrayOutput) ElementType() reflect.Type
func (GetControlPoliciesPolicyArrayOutput) Index ¶
func (o GetControlPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetControlPoliciesPolicyOutput
func (GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput ¶
func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutput() GetControlPoliciesPolicyArrayOutput
func (GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext ¶
func (o GetControlPoliciesPolicyArrayOutput) ToGetControlPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetControlPoliciesPolicyArrayOutput
type GetControlPoliciesPolicyInput ¶
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 ¶
type GetControlPoliciesPolicyOutput struct{ *pulumi.OutputState }
func (GetControlPoliciesPolicyOutput) AttachmentCount ¶
func (o GetControlPoliciesPolicyOutput) AttachmentCount() pulumi.IntOutput
The count of policy attachment.
func (GetControlPoliciesPolicyOutput) ControlPolicyName ¶
func (o GetControlPoliciesPolicyOutput) ControlPolicyName() pulumi.StringOutput
The name of policy.
func (GetControlPoliciesPolicyOutput) Description ¶
func (o GetControlPoliciesPolicyOutput) Description() pulumi.StringOutput
The description of policy.
func (GetControlPoliciesPolicyOutput) EffectScope ¶
func (o GetControlPoliciesPolicyOutput) EffectScope() pulumi.StringOutput
The effect scope.
func (GetControlPoliciesPolicyOutput) ElementType ¶
func (GetControlPoliciesPolicyOutput) ElementType() reflect.Type
func (GetControlPoliciesPolicyOutput) Id ¶
func (o GetControlPoliciesPolicyOutput) Id() pulumi.StringOutput
The ID of the Control Policy.
func (GetControlPoliciesPolicyOutput) PolicyDocument ¶
func (o GetControlPoliciesPolicyOutput) PolicyDocument() pulumi.StringOutput
The policy document.
func (GetControlPoliciesPolicyOutput) PolicyId ¶
func (o GetControlPoliciesPolicyOutput) PolicyId() pulumi.StringOutput
The ID of policy.
func (GetControlPoliciesPolicyOutput) PolicyType ¶
func (o GetControlPoliciesPolicyOutput) PolicyType() pulumi.StringOutput
The type of policy.
func (GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput ¶
func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutput() GetControlPoliciesPolicyOutput
func (GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext ¶
func (o GetControlPoliciesPolicyOutput) ToGetControlPoliciesPolicyOutputWithContext(ctx context.Context) GetControlPoliciesPolicyOutput
type GetControlPoliciesResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetControlPoliciesResultOutput ¶ added in v3.9.0
type GetControlPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getControlPolicies.
func GetControlPoliciesOutput ¶ added in v3.9.0
func GetControlPoliciesOutput(ctx *pulumi.Context, args GetControlPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetControlPoliciesResultOutput
func (GetControlPoliciesResultOutput) ElementType ¶ added in v3.9.0
func (GetControlPoliciesResultOutput) ElementType() reflect.Type
func (GetControlPoliciesResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetControlPoliciesResultOutput) Id ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetControlPoliciesResultOutput) Ids ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) Ids() pulumi.StringArrayOutput
func (GetControlPoliciesResultOutput) Language ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) Language() pulumi.StringPtrOutput
func (GetControlPoliciesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetControlPoliciesResultOutput) Names ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) Names() pulumi.StringArrayOutput
func (GetControlPoliciesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetControlPoliciesResultOutput) Policies ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) Policies() GetControlPoliciesPolicyArrayOutput
func (GetControlPoliciesResultOutput) PolicyType ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) PolicyType() pulumi.StringPtrOutput
func (GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutput ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutput() GetControlPoliciesResultOutput
func (GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutputWithContext ¶ added in v3.9.0
func (o GetControlPoliciesResultOutput) ToGetControlPoliciesResultOutputWithContext(ctx context.Context) GetControlPoliciesResultOutput
type GetControlPolicyAttachmentsArgs ¶
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 ¶
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 ¶
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 ¶
func (GetControlPolicyAttachmentsAttachmentArgs) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutput ¶
func (i GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput
func (GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutputWithContext ¶
func (i GetControlPolicyAttachmentsAttachmentArgs) ToGetControlPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentOutput
type GetControlPolicyAttachmentsAttachmentArray ¶
type GetControlPolicyAttachmentsAttachmentArray []GetControlPolicyAttachmentsAttachmentInput
func (GetControlPolicyAttachmentsAttachmentArray) ElementType ¶
func (GetControlPolicyAttachmentsAttachmentArray) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutput ¶
func (i GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput
func (GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext ¶
func (i GetControlPolicyAttachmentsAttachmentArray) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput
type GetControlPolicyAttachmentsAttachmentArrayInput ¶
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 ¶
type GetControlPolicyAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ElementType ¶
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutput ¶
func (o GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutput() GetControlPolicyAttachmentsAttachmentArrayOutput
func (GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext ¶
func (o GetControlPolicyAttachmentsAttachmentArrayOutput) ToGetControlPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentArrayOutput
type GetControlPolicyAttachmentsAttachmentInput ¶
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 ¶
type GetControlPolicyAttachmentsAttachmentOutput struct{ *pulumi.OutputState }
func (GetControlPolicyAttachmentsAttachmentOutput) AttachDate ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) AttachDate() pulumi.StringOutput
The attach date.
func (GetControlPolicyAttachmentsAttachmentOutput) Description ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) Description() pulumi.StringOutput
The description of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) ElementType ¶
func (GetControlPolicyAttachmentsAttachmentOutput) ElementType() reflect.Type
func (GetControlPolicyAttachmentsAttachmentOutput) Id ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) Id() pulumi.StringOutput
The ID of the Control Policy Attachment.
func (GetControlPolicyAttachmentsAttachmentOutput) PolicyId ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyId() pulumi.StringOutput
The ID of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) PolicyName ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyName() pulumi.StringOutput
The name of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) PolicyType ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) PolicyType() pulumi.StringOutput
The type of policy.
func (GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutput ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutput() GetControlPolicyAttachmentsAttachmentOutput
func (GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutputWithContext ¶
func (o GetControlPolicyAttachmentsAttachmentOutput) ToGetControlPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsAttachmentOutput
type GetControlPolicyAttachmentsOutputArgs ¶ added in v3.9.0
type GetControlPolicyAttachmentsOutputArgs struct { // The language. Valid value `zh-CN`, `en`, and `ja`. Default value `zh-CN` Language pulumi.StringPtrInput `pulumi:"language"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The type of policy. PolicyType pulumi.StringPtrInput `pulumi:"policyType"` // The Id of target. TargetId pulumi.StringInput `pulumi:"targetId"` }
A collection of arguments for invoking getControlPolicyAttachments.
func (GetControlPolicyAttachmentsOutputArgs) ElementType ¶ added in v3.9.0
func (GetControlPolicyAttachmentsOutputArgs) ElementType() reflect.Type
type GetControlPolicyAttachmentsResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetControlPolicyAttachmentsResultOutput ¶ added in v3.9.0
type GetControlPolicyAttachmentsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getControlPolicyAttachments.
func GetControlPolicyAttachmentsOutput ¶ added in v3.9.0
func GetControlPolicyAttachmentsOutput(ctx *pulumi.Context, args GetControlPolicyAttachmentsOutputArgs, opts ...pulumi.InvokeOption) GetControlPolicyAttachmentsResultOutput
func (GetControlPolicyAttachmentsResultOutput) Attachments ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) Attachments() GetControlPolicyAttachmentsAttachmentArrayOutput
func (GetControlPolicyAttachmentsResultOutput) ElementType ¶ added in v3.9.0
func (GetControlPolicyAttachmentsResultOutput) ElementType() reflect.Type
func (GetControlPolicyAttachmentsResultOutput) Id ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetControlPolicyAttachmentsResultOutput) Ids ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) Ids() pulumi.StringArrayOutput
func (GetControlPolicyAttachmentsResultOutput) Language ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) Language() pulumi.StringPtrOutput
func (GetControlPolicyAttachmentsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetControlPolicyAttachmentsResultOutput) PolicyType ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) PolicyType() pulumi.StringPtrOutput
func (GetControlPolicyAttachmentsResultOutput) TargetId ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) TargetId() pulumi.StringOutput
func (GetControlPolicyAttachmentsResultOutput) ToGetControlPolicyAttachmentsResultOutput ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) ToGetControlPolicyAttachmentsResultOutput() GetControlPolicyAttachmentsResultOutput
func (GetControlPolicyAttachmentsResultOutput) ToGetControlPolicyAttachmentsResultOutputWithContext ¶ added in v3.9.0
func (o GetControlPolicyAttachmentsResultOutput) ToGetControlPolicyAttachmentsResultOutputWithContext(ctx context.Context) GetControlPolicyAttachmentsResultOutput
type GetFoldersArgs ¶
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 ¶
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 ¶
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 ¶
func (GetFoldersFolderArgs) ElementType() reflect.Type
func (GetFoldersFolderArgs) ToGetFoldersFolderOutput ¶
func (i GetFoldersFolderArgs) ToGetFoldersFolderOutput() GetFoldersFolderOutput
func (GetFoldersFolderArgs) ToGetFoldersFolderOutputWithContext ¶
func (i GetFoldersFolderArgs) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
type GetFoldersFolderArray ¶
type GetFoldersFolderArray []GetFoldersFolderInput
func (GetFoldersFolderArray) ElementType ¶
func (GetFoldersFolderArray) ElementType() reflect.Type
func (GetFoldersFolderArray) ToGetFoldersFolderArrayOutput ¶
func (i GetFoldersFolderArray) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
func (GetFoldersFolderArray) ToGetFoldersFolderArrayOutputWithContext ¶
func (i GetFoldersFolderArray) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
type GetFoldersFolderArrayInput ¶
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 ¶
type GetFoldersFolderArrayOutput struct{ *pulumi.OutputState }
func (GetFoldersFolderArrayOutput) ElementType ¶
func (GetFoldersFolderArrayOutput) ElementType() reflect.Type
func (GetFoldersFolderArrayOutput) Index ¶
func (o GetFoldersFolderArrayOutput) Index(i pulumi.IntInput) GetFoldersFolderOutput
func (GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput ¶
func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
func (GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext ¶
func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
type GetFoldersFolderInput ¶
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 ¶
type GetFoldersFolderOutput struct{ *pulumi.OutputState }
func (GetFoldersFolderOutput) ElementType ¶
func (GetFoldersFolderOutput) ElementType() reflect.Type
func (GetFoldersFolderOutput) FolderId ¶
func (o GetFoldersFolderOutput) FolderId() pulumi.StringOutput
func (GetFoldersFolderOutput) FolderName ¶
func (o GetFoldersFolderOutput) FolderName() pulumi.StringOutput
func (GetFoldersFolderOutput) Id ¶
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 ¶
func (o GetFoldersFolderOutput) ParentFolderId() pulumi.StringOutput
The ID of the parent folder.
func (GetFoldersFolderOutput) ToGetFoldersFolderOutput ¶
func (o GetFoldersFolderOutput) ToGetFoldersFolderOutput() GetFoldersFolderOutput
func (GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext ¶
func (o GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
type GetFoldersOutputArgs ¶ added in v3.9.0
type GetFoldersOutputArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of resource manager folders IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by folder name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of the parent folder. ParentFolderId pulumi.StringPtrInput `pulumi:"parentFolderId"` // The query keyword. QueryKeyword pulumi.StringPtrInput `pulumi:"queryKeyword"` }
A collection of arguments for invoking getFolders.
func (GetFoldersOutputArgs) ElementType ¶ added in v3.9.0
func (GetFoldersOutputArgs) ElementType() reflect.Type
type GetFoldersResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetFoldersResultOutput ¶ added in v3.9.0
type GetFoldersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFolders.
func GetFoldersOutput ¶ added in v3.9.0
func GetFoldersOutput(ctx *pulumi.Context, args GetFoldersOutputArgs, opts ...pulumi.InvokeOption) GetFoldersResultOutput
func (GetFoldersResultOutput) ElementType ¶ added in v3.9.0
func (GetFoldersResultOutput) ElementType() reflect.Type
func (GetFoldersResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetFoldersResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetFoldersResultOutput) Folders ¶ added in v3.9.0
func (o GetFoldersResultOutput) Folders() GetFoldersFolderArrayOutput
A list of folders. Each element contains the following attributes:
func (GetFoldersResultOutput) Id ¶ added in v3.9.0
func (o GetFoldersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFoldersResultOutput) Ids ¶ added in v3.9.0
func (o GetFoldersResultOutput) Ids() pulumi.StringArrayOutput
A list of folder IDs.
func (GetFoldersResultOutput) NameRegex ¶ added in v3.9.0
func (o GetFoldersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetFoldersResultOutput) Names ¶ added in v3.9.0
func (o GetFoldersResultOutput) Names() pulumi.StringArrayOutput
A list of folder names.
func (GetFoldersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetFoldersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetFoldersResultOutput) ParentFolderId ¶ added in v3.9.0
func (o GetFoldersResultOutput) ParentFolderId() pulumi.StringPtrOutput
func (GetFoldersResultOutput) QueryKeyword ¶ added in v3.9.0
func (o GetFoldersResultOutput) QueryKeyword() pulumi.StringPtrOutput
func (GetFoldersResultOutput) ToGetFoldersResultOutput ¶ added in v3.9.0
func (o GetFoldersResultOutput) ToGetFoldersResultOutput() GetFoldersResultOutput
func (GetFoldersResultOutput) ToGetFoldersResultOutputWithContext ¶ added in v3.9.0
func (o GetFoldersResultOutput) ToGetFoldersResultOutputWithContext(ctx context.Context) GetFoldersResultOutput
type GetHandshakesArgs ¶
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 ¶
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 ¶
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 ¶
func (GetHandshakesHandshakeArgs) ElementType() reflect.Type
func (GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutput ¶
func (i GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutput() GetHandshakesHandshakeOutput
func (GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutputWithContext ¶
func (i GetHandshakesHandshakeArgs) ToGetHandshakesHandshakeOutputWithContext(ctx context.Context) GetHandshakesHandshakeOutput
type GetHandshakesHandshakeArray ¶
type GetHandshakesHandshakeArray []GetHandshakesHandshakeInput
func (GetHandshakesHandshakeArray) ElementType ¶
func (GetHandshakesHandshakeArray) ElementType() reflect.Type
func (GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutput ¶
func (i GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput
func (GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutputWithContext ¶
func (i GetHandshakesHandshakeArray) ToGetHandshakesHandshakeArrayOutputWithContext(ctx context.Context) GetHandshakesHandshakeArrayOutput
type GetHandshakesHandshakeArrayInput ¶
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 ¶
type GetHandshakesHandshakeArrayOutput struct{ *pulumi.OutputState }
func (GetHandshakesHandshakeArrayOutput) ElementType ¶
func (GetHandshakesHandshakeArrayOutput) ElementType() reflect.Type
func (GetHandshakesHandshakeArrayOutput) Index ¶
func (o GetHandshakesHandshakeArrayOutput) Index(i pulumi.IntInput) GetHandshakesHandshakeOutput
func (GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutput ¶
func (o GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutput() GetHandshakesHandshakeArrayOutput
func (GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutputWithContext ¶
func (o GetHandshakesHandshakeArrayOutput) ToGetHandshakesHandshakeArrayOutputWithContext(ctx context.Context) GetHandshakesHandshakeArrayOutput
type GetHandshakesHandshakeInput ¶
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 ¶
type GetHandshakesHandshakeOutput struct{ *pulumi.OutputState }
func (GetHandshakesHandshakeOutput) ElementType ¶
func (GetHandshakesHandshakeOutput) ElementType() reflect.Type
func (GetHandshakesHandshakeOutput) ExpireTime ¶
func (o GetHandshakesHandshakeOutput) ExpireTime() pulumi.StringOutput
The time when the invitation expires.
func (GetHandshakesHandshakeOutput) HandshakeId ¶
func (o GetHandshakesHandshakeOutput) HandshakeId() pulumi.StringOutput
func (GetHandshakesHandshakeOutput) Id ¶
func (o GetHandshakesHandshakeOutput) Id() pulumi.StringOutput
The ID of the resource. * `handshakeId`- The ID of the invitation.
func (GetHandshakesHandshakeOutput) InvitedAccountRealName ¶
func (o GetHandshakesHandshakeOutput) InvitedAccountRealName() pulumi.StringOutput
(Available in v1.114.0+) The real name of the invited account.
func (GetHandshakesHandshakeOutput) MasterAccountId ¶
func (o GetHandshakesHandshakeOutput) MasterAccountId() pulumi.StringOutput
The ID of the master account of the resource directory.
func (GetHandshakesHandshakeOutput) MasterAccountName ¶
func (o GetHandshakesHandshakeOutput) MasterAccountName() pulumi.StringOutput
The name of the master account of the resource directory.
func (GetHandshakesHandshakeOutput) MasterAccountRealName ¶
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 ¶
func (o GetHandshakesHandshakeOutput) ModifyTime() pulumi.StringOutput
The time when the invitation was modified.
func (GetHandshakesHandshakeOutput) Note ¶
func (o GetHandshakesHandshakeOutput) Note() pulumi.StringOutput
The invitation note.
func (GetHandshakesHandshakeOutput) ResourceDirectoryId ¶
func (o GetHandshakesHandshakeOutput) ResourceDirectoryId() pulumi.StringOutput
The ID of the resource directory.
func (GetHandshakesHandshakeOutput) Status ¶
func (o GetHandshakesHandshakeOutput) Status() pulumi.StringOutput
The status of handshake, valid values: `Accepted`, `Cancelled`, `Declined`, `Deleted`, `Expired` and `Pending`.
func (GetHandshakesHandshakeOutput) TargetEntity ¶
func (o GetHandshakesHandshakeOutput) TargetEntity() pulumi.StringOutput
The ID or logon email address of the invited account.
func (GetHandshakesHandshakeOutput) TargetType ¶
func (o GetHandshakesHandshakeOutput) TargetType() pulumi.StringOutput
The type of the invited account.
func (GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutput ¶
func (o GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutput() GetHandshakesHandshakeOutput
func (GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutputWithContext ¶
func (o GetHandshakesHandshakeOutput) ToGetHandshakesHandshakeOutputWithContext(ctx context.Context) GetHandshakesHandshakeOutput
type GetHandshakesOutputArgs ¶ added in v3.9.0
type GetHandshakesOutputArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Resource Manager Handshake IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of handshake, valid values: `Accepted`, `Cancelled`, `Declined`, `Deleted`, `Expired` and `Pending`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getHandshakes.
func (GetHandshakesOutputArgs) ElementType ¶ added in v3.9.0
func (GetHandshakesOutputArgs) ElementType() reflect.Type
type GetHandshakesResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetHandshakesResultOutput ¶ added in v3.9.0
type GetHandshakesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHandshakes.
func GetHandshakesOutput ¶ added in v3.9.0
func GetHandshakesOutput(ctx *pulumi.Context, args GetHandshakesOutputArgs, opts ...pulumi.InvokeOption) GetHandshakesResultOutput
func (GetHandshakesResultOutput) ElementType ¶ added in v3.9.0
func (GetHandshakesResultOutput) ElementType() reflect.Type
func (GetHandshakesResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetHandshakesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetHandshakesResultOutput) Handshakes ¶ added in v3.9.0
func (o GetHandshakesResultOutput) Handshakes() GetHandshakesHandshakeArrayOutput
A list of Resource Manager Handshakes. Each element contains the following attributes:
func (GetHandshakesResultOutput) Id ¶ added in v3.9.0
func (o GetHandshakesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHandshakesResultOutput) Ids ¶ added in v3.9.0
func (o GetHandshakesResultOutput) Ids() pulumi.StringArrayOutput
A list of Resource Manager Handshake IDs.
func (GetHandshakesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetHandshakesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetHandshakesResultOutput) Status ¶ added in v3.9.0
func (o GetHandshakesResultOutput) Status() pulumi.StringPtrOutput
The status of the invitation.
func (GetHandshakesResultOutput) ToGetHandshakesResultOutput ¶ added in v3.9.0
func (o GetHandshakesResultOutput) ToGetHandshakesResultOutput() GetHandshakesResultOutput
func (GetHandshakesResultOutput) ToGetHandshakesResultOutputWithContext ¶ added in v3.9.0
func (o GetHandshakesResultOutput) ToGetHandshakesResultOutputWithContext(ctx context.Context) GetHandshakesResultOutput
type GetPoliciesArgs ¶
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 GetPoliciesOutputArgs ¶ added in v3.9.0
type GetPoliciesOutputArgs struct { // A list of Resource Manager Policy IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by policy name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `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 pulumi.StringPtrInput `pulumi:"policyType"` }
A collection of arguments for invoking getPolicies.
func (GetPoliciesOutputArgs) ElementType ¶ added in v3.9.0
func (GetPoliciesOutputArgs) ElementType() reflect.Type
type GetPoliciesPolicy ¶
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 ¶
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 ¶
func (GetPoliciesPolicyArgs) ElementType() reflect.Type
func (GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutput ¶
func (i GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutput() GetPoliciesPolicyOutput
func (GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutputWithContext ¶
func (i GetPoliciesPolicyArgs) ToGetPoliciesPolicyOutputWithContext(ctx context.Context) GetPoliciesPolicyOutput
type GetPoliciesPolicyArray ¶
type GetPoliciesPolicyArray []GetPoliciesPolicyInput
func (GetPoliciesPolicyArray) ElementType ¶
func (GetPoliciesPolicyArray) ElementType() reflect.Type
func (GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutput ¶
func (i GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutput() GetPoliciesPolicyArrayOutput
func (GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutputWithContext ¶
func (i GetPoliciesPolicyArray) ToGetPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetPoliciesPolicyArrayOutput
type GetPoliciesPolicyArrayInput ¶
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 ¶
type GetPoliciesPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetPoliciesPolicyArrayOutput) ElementType ¶
func (GetPoliciesPolicyArrayOutput) ElementType() reflect.Type
func (GetPoliciesPolicyArrayOutput) Index ¶
func (o GetPoliciesPolicyArrayOutput) Index(i pulumi.IntInput) GetPoliciesPolicyOutput
func (GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutput ¶
func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutput() GetPoliciesPolicyArrayOutput
func (GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutputWithContext ¶
func (o GetPoliciesPolicyArrayOutput) ToGetPoliciesPolicyArrayOutputWithContext(ctx context.Context) GetPoliciesPolicyArrayOutput
type GetPoliciesPolicyInput ¶
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 ¶
type GetPoliciesPolicyOutput struct{ *pulumi.OutputState }
func (GetPoliciesPolicyOutput) AttachmentCount ¶
func (o GetPoliciesPolicyOutput) AttachmentCount() pulumi.IntOutput
The number of times the policy is referenced.
func (GetPoliciesPolicyOutput) DefaultVersion ¶
func (o GetPoliciesPolicyOutput) DefaultVersion() pulumi.StringOutput
The default version of the policy.
func (GetPoliciesPolicyOutput) Description ¶
func (o GetPoliciesPolicyOutput) Description() pulumi.StringOutput
The description of the policy.
func (GetPoliciesPolicyOutput) ElementType ¶
func (GetPoliciesPolicyOutput) ElementType() reflect.Type
func (GetPoliciesPolicyOutput) Id ¶
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 ¶
func (o GetPoliciesPolicyOutput) PolicyName() pulumi.StringOutput
func (GetPoliciesPolicyOutput) PolicyType ¶
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 ¶
func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutput() GetPoliciesPolicyOutput
func (GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutputWithContext ¶
func (o GetPoliciesPolicyOutput) ToGetPoliciesPolicyOutputWithContext(ctx context.Context) GetPoliciesPolicyOutput
func (GetPoliciesPolicyOutput) UpdateDate ¶
func (o GetPoliciesPolicyOutput) UpdateDate() pulumi.StringOutput
The time when the policy was updated.
type GetPoliciesResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetPoliciesResultOutput ¶ added in v3.9.0
type GetPoliciesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicies.
func GetPoliciesOutput ¶ added in v3.9.0
func GetPoliciesOutput(ctx *pulumi.Context, args GetPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetPoliciesResultOutput
func (GetPoliciesResultOutput) ElementType ¶ added in v3.9.0
func (GetPoliciesResultOutput) ElementType() reflect.Type
func (GetPoliciesResultOutput) Id ¶ added in v3.9.0
func (o GetPoliciesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPoliciesResultOutput) Ids ¶ added in v3.9.0
func (o GetPoliciesResultOutput) Ids() pulumi.StringArrayOutput
A list of policy IDs.
func (GetPoliciesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetPoliciesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetPoliciesResultOutput) Names ¶ added in v3.9.0
func (o GetPoliciesResultOutput) Names() pulumi.StringArrayOutput
A list of policy names.
func (GetPoliciesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetPoliciesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetPoliciesResultOutput) Policies ¶ added in v3.9.0
func (o GetPoliciesResultOutput) Policies() GetPoliciesPolicyArrayOutput
A list of policies. Each element contains the following attributes:
func (GetPoliciesResultOutput) PolicyType ¶ added in v3.9.0
func (o GetPoliciesResultOutput) PolicyType() pulumi.StringPtrOutput
func (GetPoliciesResultOutput) ToGetPoliciesResultOutput ¶ added in v3.9.0
func (o GetPoliciesResultOutput) ToGetPoliciesResultOutput() GetPoliciesResultOutput
func (GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext ¶ added in v3.9.0
func (o GetPoliciesResultOutput) ToGetPoliciesResultOutputWithContext(ctx context.Context) GetPoliciesResultOutput
type GetPolicyAttachmentsArgs ¶
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 ¶
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 ¶
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 ¶
func (GetPolicyAttachmentsAttachmentArgs) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutput ¶
func (i GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput
func (GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutputWithContext ¶
func (i GetPolicyAttachmentsAttachmentArgs) ToGetPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentOutput
type GetPolicyAttachmentsAttachmentArray ¶
type GetPolicyAttachmentsAttachmentArray []GetPolicyAttachmentsAttachmentInput
func (GetPolicyAttachmentsAttachmentArray) ElementType ¶
func (GetPolicyAttachmentsAttachmentArray) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutput ¶
func (i GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput
func (GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext ¶
func (i GetPolicyAttachmentsAttachmentArray) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentArrayOutput
type GetPolicyAttachmentsAttachmentArrayInput ¶
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 ¶
type GetPolicyAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyAttachmentsAttachmentArrayOutput) ElementType ¶
func (GetPolicyAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutput ¶
func (o GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutput() GetPolicyAttachmentsAttachmentArrayOutput
func (GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext ¶
func (o GetPolicyAttachmentsAttachmentArrayOutput) ToGetPolicyAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentArrayOutput
type GetPolicyAttachmentsAttachmentInput ¶
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 ¶
type GetPolicyAttachmentsAttachmentOutput struct{ *pulumi.OutputState }
func (GetPolicyAttachmentsAttachmentOutput) AttachDate ¶
func (o GetPolicyAttachmentsAttachmentOutput) AttachDate() pulumi.StringOutput
The time when the policy was attached.
func (GetPolicyAttachmentsAttachmentOutput) Description ¶
func (o GetPolicyAttachmentsAttachmentOutput) Description() pulumi.StringOutput
The description of the policy.
func (GetPolicyAttachmentsAttachmentOutput) ElementType ¶
func (GetPolicyAttachmentsAttachmentOutput) ElementType() reflect.Type
func (GetPolicyAttachmentsAttachmentOutput) Id ¶
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 ¶
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 ¶
func (o GetPolicyAttachmentsAttachmentOutput) PolicyType() pulumi.StringOutput
The type of the policy. Valid values: `Custom` and `System`.
func (GetPolicyAttachmentsAttachmentOutput) PrincipalName ¶
func (o GetPolicyAttachmentsAttachmentOutput) PrincipalName() pulumi.StringOutput
The name of the object to which the policy is attached.
func (GetPolicyAttachmentsAttachmentOutput) PrincipalType ¶
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 ¶
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 ¶
func (o GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutput() GetPolicyAttachmentsAttachmentOutput
func (GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutputWithContext ¶
func (o GetPolicyAttachmentsAttachmentOutput) ToGetPolicyAttachmentsAttachmentOutputWithContext(ctx context.Context) GetPolicyAttachmentsAttachmentOutput
type GetPolicyAttachmentsOutputArgs ¶ added in v3.9.0
type GetPolicyAttachmentsOutputArgs struct { // The language that is used to return the description of the system policy. Valid values:`en`: English, `zh-CN`: Chinese, `ja`: Japanese. Language pulumi.StringPtrInput `pulumi:"language"` OutputFile pulumi.StringPtrInput `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 pulumi.StringPtrInput `pulumi:"policyName"` // The type of the policy. Valid values: `Custom` and `System`. PolicyType pulumi.StringPtrInput `pulumi:"policyType"` // The name of the object to which the policy is attached. PrincipalName pulumi.StringPtrInput `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.StringPtrInput `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.StringPtrInput `pulumi:"resourceGroupId"` }
A collection of arguments for invoking getPolicyAttachments.
func (GetPolicyAttachmentsOutputArgs) ElementType ¶ added in v3.9.0
func (GetPolicyAttachmentsOutputArgs) ElementType() reflect.Type
type GetPolicyAttachmentsResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetPolicyAttachmentsResultOutput ¶ added in v3.9.0
type GetPolicyAttachmentsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicyAttachments.
func GetPolicyAttachmentsOutput ¶ added in v3.9.0
func GetPolicyAttachmentsOutput(ctx *pulumi.Context, args GetPolicyAttachmentsOutputArgs, opts ...pulumi.InvokeOption) GetPolicyAttachmentsResultOutput
func (GetPolicyAttachmentsResultOutput) Attachments ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) Attachments() GetPolicyAttachmentsAttachmentArrayOutput
A list of Resource Manager Policy Attachment. Each element contains the following attributes:
func (GetPolicyAttachmentsResultOutput) ElementType ¶ added in v3.9.0
func (GetPolicyAttachmentsResultOutput) ElementType() reflect.Type
func (GetPolicyAttachmentsResultOutput) Id ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPolicyAttachmentsResultOutput) Ids ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) Ids() pulumi.StringArrayOutput
A list of Resource Manager Policy Attachment IDs.
func (GetPolicyAttachmentsResultOutput) Language ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) Language() pulumi.StringPtrOutput
func (GetPolicyAttachmentsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetPolicyAttachmentsResultOutput) PolicyName ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) PolicyName() pulumi.StringPtrOutput
func (GetPolicyAttachmentsResultOutput) PolicyType ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) PolicyType() pulumi.StringPtrOutput
func (GetPolicyAttachmentsResultOutput) PrincipalName ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) PrincipalName() pulumi.StringPtrOutput
func (GetPolicyAttachmentsResultOutput) PrincipalType ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) PrincipalType() pulumi.StringPtrOutput
func (GetPolicyAttachmentsResultOutput) ResourceGroupId ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) ResourceGroupId() pulumi.StringPtrOutput
The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.
func (GetPolicyAttachmentsResultOutput) ToGetPolicyAttachmentsResultOutput ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) ToGetPolicyAttachmentsResultOutput() GetPolicyAttachmentsResultOutput
func (GetPolicyAttachmentsResultOutput) ToGetPolicyAttachmentsResultOutputWithContext ¶ added in v3.9.0
func (o GetPolicyAttachmentsResultOutput) ToGetPolicyAttachmentsResultOutputWithContext(ctx context.Context) GetPolicyAttachmentsResultOutput
type GetPolicyVersionsArgs ¶
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 GetPolicyVersionsOutputArgs ¶ added in v3.9.0
type GetPolicyVersionsOutputArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of policy version IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The name of the policy. PolicyName pulumi.StringInput `pulumi:"policyName"` // The type of the policy. Valid values:`Custom` and `System`. PolicyType pulumi.StringInput `pulumi:"policyType"` }
A collection of arguments for invoking getPolicyVersions.
func (GetPolicyVersionsOutputArgs) ElementType ¶ added in v3.9.0
func (GetPolicyVersionsOutputArgs) ElementType() reflect.Type
type GetPolicyVersionsResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetPolicyVersionsResultOutput ¶ added in v3.9.0
type GetPolicyVersionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPolicyVersions.
func GetPolicyVersionsOutput ¶ added in v3.9.0
func GetPolicyVersionsOutput(ctx *pulumi.Context, args GetPolicyVersionsOutputArgs, opts ...pulumi.InvokeOption) GetPolicyVersionsResultOutput
func (GetPolicyVersionsResultOutput) ElementType ¶ added in v3.9.0
func (GetPolicyVersionsResultOutput) ElementType() reflect.Type
func (GetPolicyVersionsResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetPolicyVersionsResultOutput) Id ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPolicyVersionsResultOutput) Ids ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) Ids() pulumi.StringArrayOutput
A list of policy version IDs.
func (GetPolicyVersionsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetPolicyVersionsResultOutput) PolicyName ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) PolicyName() pulumi.StringOutput
func (GetPolicyVersionsResultOutput) PolicyType ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) PolicyType() pulumi.StringOutput
func (GetPolicyVersionsResultOutput) ToGetPolicyVersionsResultOutput ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) ToGetPolicyVersionsResultOutput() GetPolicyVersionsResultOutput
func (GetPolicyVersionsResultOutput) ToGetPolicyVersionsResultOutputWithContext ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) ToGetPolicyVersionsResultOutputWithContext(ctx context.Context) GetPolicyVersionsResultOutput
func (GetPolicyVersionsResultOutput) Versions ¶ added in v3.9.0
func (o GetPolicyVersionsResultOutput) Versions() GetPolicyVersionsVersionArrayOutput
A list of policy versions. Each element contains the following attributes:
type GetPolicyVersionsVersion ¶
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 ¶
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 ¶
func (GetPolicyVersionsVersionArgs) ElementType() reflect.Type
func (GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutput ¶
func (i GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutputWithContext ¶
func (i GetPolicyVersionsVersionArgs) ToGetPolicyVersionsVersionOutputWithContext(ctx context.Context) GetPolicyVersionsVersionOutput
type GetPolicyVersionsVersionArray ¶
type GetPolicyVersionsVersionArray []GetPolicyVersionsVersionInput
func (GetPolicyVersionsVersionArray) ElementType ¶
func (GetPolicyVersionsVersionArray) ElementType() reflect.Type
func (GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutput ¶
func (i GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput
func (GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutputWithContext ¶
func (i GetPolicyVersionsVersionArray) ToGetPolicyVersionsVersionArrayOutputWithContext(ctx context.Context) GetPolicyVersionsVersionArrayOutput
type GetPolicyVersionsVersionArrayInput ¶
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 ¶
type GetPolicyVersionsVersionArrayOutput struct{ *pulumi.OutputState }
func (GetPolicyVersionsVersionArrayOutput) ElementType ¶
func (GetPolicyVersionsVersionArrayOutput) ElementType() reflect.Type
func (GetPolicyVersionsVersionArrayOutput) Index ¶
func (o GetPolicyVersionsVersionArrayOutput) Index(i pulumi.IntInput) GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutput ¶
func (o GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutput() GetPolicyVersionsVersionArrayOutput
func (GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutputWithContext ¶
func (o GetPolicyVersionsVersionArrayOutput) ToGetPolicyVersionsVersionArrayOutputWithContext(ctx context.Context) GetPolicyVersionsVersionArrayOutput
type GetPolicyVersionsVersionInput ¶
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 ¶
type GetPolicyVersionsVersionOutput struct{ *pulumi.OutputState }
func (GetPolicyVersionsVersionOutput) ElementType ¶
func (GetPolicyVersionsVersionOutput) ElementType() reflect.Type
func (GetPolicyVersionsVersionOutput) Id ¶
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 ¶
func (o GetPolicyVersionsVersionOutput) IsDefaultVersion() pulumi.BoolOutput
func (GetPolicyVersionsVersionOutput) PolicyDocument ¶
func (o GetPolicyVersionsVersionOutput) PolicyDocument() pulumi.StringOutput
func (GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutput ¶
func (o GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutput() GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutputWithContext ¶
func (o GetPolicyVersionsVersionOutput) ToGetPolicyVersionsVersionOutputWithContext(ctx context.Context) GetPolicyVersionsVersionOutput
func (GetPolicyVersionsVersionOutput) VersionId ¶
func (o GetPolicyVersionsVersionOutput) VersionId() pulumi.StringOutput
type GetResourceDirectoriesArgs ¶
type GetResourceDirectoriesArgs struct {
OutputFile *string `pulumi:"outputFile"`
}
A collection of arguments for invoking getResourceDirectories.
type GetResourceDirectoriesDirectory ¶
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 ¶
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 ¶
func (GetResourceDirectoriesDirectoryArgs) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutput ¶
func (i GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput
func (GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutputWithContext ¶
func (i GetResourceDirectoriesDirectoryArgs) ToGetResourceDirectoriesDirectoryOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryOutput
type GetResourceDirectoriesDirectoryArray ¶
type GetResourceDirectoriesDirectoryArray []GetResourceDirectoriesDirectoryInput
func (GetResourceDirectoriesDirectoryArray) ElementType ¶
func (GetResourceDirectoriesDirectoryArray) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutput ¶
func (i GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput
func (GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutputWithContext ¶
func (i GetResourceDirectoriesDirectoryArray) ToGetResourceDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryArrayOutput
type GetResourceDirectoriesDirectoryArrayInput ¶
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 ¶
type GetResourceDirectoriesDirectoryArrayOutput struct{ *pulumi.OutputState }
func (GetResourceDirectoriesDirectoryArrayOutput) ElementType ¶
func (GetResourceDirectoriesDirectoryArrayOutput) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutput ¶
func (o GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutput() GetResourceDirectoriesDirectoryArrayOutput
func (GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutputWithContext ¶
func (o GetResourceDirectoriesDirectoryArrayOutput) ToGetResourceDirectoriesDirectoryArrayOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryArrayOutput
type GetResourceDirectoriesDirectoryInput ¶
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 ¶
type GetResourceDirectoriesDirectoryOutput struct{ *pulumi.OutputState }
func (GetResourceDirectoriesDirectoryOutput) ElementType ¶
func (GetResourceDirectoriesDirectoryOutput) ElementType() reflect.Type
func (GetResourceDirectoriesDirectoryOutput) Id ¶
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 ¶
func (o GetResourceDirectoriesDirectoryOutput) MasterAccountId() pulumi.StringOutput
func (GetResourceDirectoriesDirectoryOutput) MasterAccountName ¶
func (o GetResourceDirectoriesDirectoryOutput) MasterAccountName() pulumi.StringOutput
func (GetResourceDirectoriesDirectoryOutput) ResourceDirectoryId ¶
func (o GetResourceDirectoriesDirectoryOutput) ResourceDirectoryId() pulumi.StringOutput
The ID of the resource directory.
func (GetResourceDirectoriesDirectoryOutput) RootFolderId ¶
func (o GetResourceDirectoriesDirectoryOutput) RootFolderId() pulumi.StringOutput
The ID of the root folder.
func (GetResourceDirectoriesDirectoryOutput) Status ¶
func (o GetResourceDirectoriesDirectoryOutput) Status() pulumi.StringOutput
(Available in 1.120.0+.) The status of the control policy.
func (GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutput ¶
func (o GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutput() GetResourceDirectoriesDirectoryOutput
func (GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutputWithContext ¶
func (o GetResourceDirectoriesDirectoryOutput) ToGetResourceDirectoriesDirectoryOutputWithContext(ctx context.Context) GetResourceDirectoriesDirectoryOutput
type GetResourceDirectoriesOutputArgs ¶ added in v3.9.0
type GetResourceDirectoriesOutputArgs struct {
OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}
A collection of arguments for invoking getResourceDirectories.
func (GetResourceDirectoriesOutputArgs) ElementType ¶ added in v3.9.0
func (GetResourceDirectoriesOutputArgs) ElementType() reflect.Type
type GetResourceDirectoriesResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetResourceDirectoriesResultOutput ¶ added in v3.9.0
type GetResourceDirectoriesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResourceDirectories.
func GetResourceDirectoriesOutput ¶ added in v3.9.0
func GetResourceDirectoriesOutput(ctx *pulumi.Context, args GetResourceDirectoriesOutputArgs, opts ...pulumi.InvokeOption) GetResourceDirectoriesResultOutput
func (GetResourceDirectoriesResultOutput) Directories ¶ added in v3.9.0
func (o GetResourceDirectoriesResultOutput) Directories() GetResourceDirectoriesDirectoryArrayOutput
A list of resource directories. Each element contains the following attributes:
func (GetResourceDirectoriesResultOutput) ElementType ¶ added in v3.9.0
func (GetResourceDirectoriesResultOutput) ElementType() reflect.Type
func (GetResourceDirectoriesResultOutput) Id ¶ added in v3.9.0
func (o GetResourceDirectoriesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResourceDirectoriesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetResourceDirectoriesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetResourceDirectoriesResultOutput) ToGetResourceDirectoriesResultOutput ¶ added in v3.9.0
func (o GetResourceDirectoriesResultOutput) ToGetResourceDirectoriesResultOutput() GetResourceDirectoriesResultOutput
func (GetResourceDirectoriesResultOutput) ToGetResourceDirectoriesResultOutputWithContext ¶ added in v3.9.0
func (o GetResourceDirectoriesResultOutput) ToGetResourceDirectoriesResultOutputWithContext(ctx context.Context) GetResourceDirectoriesResultOutput
type GetResourceGroupsArgs ¶
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 ¶
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 ¶
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 ¶
func (GetResourceGroupsGroupArgs) ElementType() reflect.Type
func (GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutput ¶
func (i GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput
func (GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutputWithContext ¶
func (i GetResourceGroupsGroupArgs) ToGetResourceGroupsGroupOutputWithContext(ctx context.Context) GetResourceGroupsGroupOutput
type GetResourceGroupsGroupArray ¶
type GetResourceGroupsGroupArray []GetResourceGroupsGroupInput
func (GetResourceGroupsGroupArray) ElementType ¶
func (GetResourceGroupsGroupArray) ElementType() reflect.Type
func (GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutput ¶
func (i GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput
func (GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutputWithContext ¶
func (i GetResourceGroupsGroupArray) ToGetResourceGroupsGroupArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupArrayOutput
type GetResourceGroupsGroupArrayInput ¶
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 ¶
type GetResourceGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupArrayOutput) ElementType ¶
func (GetResourceGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupArrayOutput) Index ¶
func (o GetResourceGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetResourceGroupsGroupOutput
func (GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutput ¶
func (o GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutput() GetResourceGroupsGroupArrayOutput
func (GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutputWithContext ¶
func (o GetResourceGroupsGroupArrayOutput) ToGetResourceGroupsGroupArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupArrayOutput
type GetResourceGroupsGroupInput ¶
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 ¶
type GetResourceGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupOutput) AccountId ¶
func (o GetResourceGroupsGroupOutput) AccountId() pulumi.StringOutput
The ID of the Alibaba Cloud account to which the resource group belongs.
func (GetResourceGroupsGroupOutput) DisplayName ¶
func (o GetResourceGroupsGroupOutput) DisplayName() pulumi.StringOutput
The display name of the resource group.
func (GetResourceGroupsGroupOutput) ElementType ¶
func (GetResourceGroupsGroupOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupOutput) Id ¶
func (o GetResourceGroupsGroupOutput) Id() pulumi.StringOutput
The ID of the resource group.
func (GetResourceGroupsGroupOutput) Name ¶
func (o GetResourceGroupsGroupOutput) Name() pulumi.StringOutput
The unique identifier of the resource group.
func (GetResourceGroupsGroupOutput) RegionStatuses ¶
func (o GetResourceGroupsGroupOutput) RegionStatuses() GetResourceGroupsGroupRegionStatusArrayOutput
func (GetResourceGroupsGroupOutput) ResourceGroupName ¶
func (o GetResourceGroupsGroupOutput) ResourceGroupName() pulumi.StringOutput
(Available in v1.114.0+) The unique identifier of the resource group.
func (GetResourceGroupsGroupOutput) Status ¶
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 ¶
func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutput() GetResourceGroupsGroupOutput
func (GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutputWithContext ¶
func (o GetResourceGroupsGroupOutput) ToGetResourceGroupsGroupOutputWithContext(ctx context.Context) GetResourceGroupsGroupOutput
type GetResourceGroupsGroupRegionStatusArgs ¶
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 ¶
func (GetResourceGroupsGroupRegionStatusArgs) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutput ¶
func (i GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput
func (GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutputWithContext ¶
func (i GetResourceGroupsGroupRegionStatusArgs) ToGetResourceGroupsGroupRegionStatusOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusOutput
type GetResourceGroupsGroupRegionStatusArray ¶
type GetResourceGroupsGroupRegionStatusArray []GetResourceGroupsGroupRegionStatusInput
func (GetResourceGroupsGroupRegionStatusArray) ElementType ¶
func (GetResourceGroupsGroupRegionStatusArray) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutput ¶
func (i GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput
func (GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext ¶
func (i GetResourceGroupsGroupRegionStatusArray) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusArrayOutput
type GetResourceGroupsGroupRegionStatusArrayInput ¶
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 ¶
type GetResourceGroupsGroupRegionStatusArrayOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupRegionStatusArrayOutput) ElementType ¶
func (GetResourceGroupsGroupRegionStatusArrayOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutput ¶
func (o GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutput() GetResourceGroupsGroupRegionStatusArrayOutput
func (GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext ¶
func (o GetResourceGroupsGroupRegionStatusArrayOutput) ToGetResourceGroupsGroupRegionStatusArrayOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusArrayOutput
type GetResourceGroupsGroupRegionStatusInput ¶
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 ¶
type GetResourceGroupsGroupRegionStatusOutput struct{ *pulumi.OutputState }
func (GetResourceGroupsGroupRegionStatusOutput) ElementType ¶
func (GetResourceGroupsGroupRegionStatusOutput) ElementType() reflect.Type
func (GetResourceGroupsGroupRegionStatusOutput) RegionId ¶
func (o GetResourceGroupsGroupRegionStatusOutput) RegionId() pulumi.StringOutput
The region ID.
func (GetResourceGroupsGroupRegionStatusOutput) Status ¶
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 ¶
func (o GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutput() GetResourceGroupsGroupRegionStatusOutput
func (GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutputWithContext ¶
func (o GetResourceGroupsGroupRegionStatusOutput) ToGetResourceGroupsGroupRegionStatusOutputWithContext(ctx context.Context) GetResourceGroupsGroupRegionStatusOutput
type GetResourceGroupsOutputArgs ¶ added in v3.9.0
type GetResourceGroupsOutputArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of resource group IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by resource group name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource group. Possible values:`Creating`,`Deleted`,`Deleting`(Available 1.114.0+) `OK` and `PendingDelete`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getResourceGroups.
func (GetResourceGroupsOutputArgs) ElementType ¶ added in v3.9.0
func (GetResourceGroupsOutputArgs) ElementType() reflect.Type
type GetResourceGroupsResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetResourceGroupsResultOutput ¶ added in v3.9.0
type GetResourceGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResourceGroups.
func GetResourceGroupsOutput ¶ added in v3.9.0
func GetResourceGroupsOutput(ctx *pulumi.Context, args GetResourceGroupsOutputArgs, opts ...pulumi.InvokeOption) GetResourceGroupsResultOutput
func (GetResourceGroupsResultOutput) ElementType ¶ added in v3.9.0
func (GetResourceGroupsResultOutput) ElementType() reflect.Type
func (GetResourceGroupsResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetResourceGroupsResultOutput) Groups ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) Groups() GetResourceGroupsGroupArrayOutput
A list of resource groups. Each element contains the following attributes:
func (GetResourceGroupsResultOutput) Id ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResourceGroupsResultOutput) Ids ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) Ids() pulumi.StringArrayOutput
A list of resource group IDs.
func (GetResourceGroupsResultOutput) NameRegex ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetResourceGroupsResultOutput) Names ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) Names() pulumi.StringArrayOutput
A list of resource group names.
func (GetResourceGroupsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetResourceGroupsResultOutput) Status ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) Status() pulumi.StringPtrOutput
The status of the regional resource group.
func (GetResourceGroupsResultOutput) ToGetResourceGroupsResultOutput ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) ToGetResourceGroupsResultOutput() GetResourceGroupsResultOutput
func (GetResourceGroupsResultOutput) ToGetResourceGroupsResultOutputWithContext ¶ added in v3.9.0
func (o GetResourceGroupsResultOutput) ToGetResourceGroupsResultOutputWithContext(ctx context.Context) GetResourceGroupsResultOutput
type GetResourceSharesArgs ¶
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 GetResourceSharesOutputArgs ¶ added in v3.9.0
type GetResourceSharesOutputArgs struct { pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Resource Share name. ResourceShareName pulumi.StringPtrInput `pulumi:"resourceShareName"` ResourceShareOwner pulumi.StringInput `pulumi:"resourceShareOwner"` Status pulumi.StringPtrInput `pulumi:"status"` }Ids
A collection of arguments for invoking getResourceShares.
func (GetResourceSharesOutputArgs) ElementType ¶ added in v3.9.0
func (GetResourceSharesOutputArgs) ElementType() reflect.Type
type GetResourceSharesResult ¶
type GetResourceSharesResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getResourceShares.
func GetResourceShares ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetResourceSharesResultOutput ¶ added in v3.9.0
A collection of values returned by getResourceShares.
func GetResourceSharesOutput ¶ added in v3.9.0
func GetResourceSharesOutput(ctx *pulumi.Context, args GetResourceSharesOutputArgs, opts ...pulumi.InvokeOption) GetResourceSharesResultOutput
func (GetResourceSharesResultOutput) ElementType ¶ added in v3.9.0
func (GetResourceSharesResultOutput) ElementType() reflect.Type
func (GetResourceSharesResultOutput) Id ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetResourceSharesResultOutput) Ids ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) Ids() pulumi.StringArrayOutput
func (GetResourceSharesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetResourceSharesResultOutput) Names ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) Names() pulumi.StringArrayOutput
func (GetResourceSharesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetResourceSharesResultOutput) ResourceShareName ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) ResourceShareName() pulumi.StringPtrOutput
func (GetResourceSharesResultOutput) ResourceShareOwner ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) ResourceShareOwner() pulumi.StringOutput
func (GetResourceSharesResultOutput) Shares ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) Shares() GetResourceSharesShareArrayOutput
func (GetResourceSharesResultOutput) Status ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) Status() pulumi.StringPtrOutput
func (GetResourceSharesResultOutput) ToGetResourceSharesResultOutput ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) ToGetResourceSharesResultOutput() GetResourceSharesResultOutput
func (GetResourceSharesResultOutput) ToGetResourceSharesResultOutputWithContext ¶ added in v3.9.0
func (o GetResourceSharesResultOutput) ToGetResourceSharesResultOutputWithContext(ctx context.Context) GetResourceSharesResultOutput
type GetResourceSharesShare ¶
type GetResourceSharesShareArgs ¶
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 ¶
func (GetResourceSharesShareArgs) ElementType() reflect.Type
func (GetResourceSharesShareArgs) ToGetResourceSharesShareOutput ¶
func (i GetResourceSharesShareArgs) ToGetResourceSharesShareOutput() GetResourceSharesShareOutput
func (GetResourceSharesShareArgs) ToGetResourceSharesShareOutputWithContext ¶
func (i GetResourceSharesShareArgs) ToGetResourceSharesShareOutputWithContext(ctx context.Context) GetResourceSharesShareOutput
type GetResourceSharesShareArray ¶
type GetResourceSharesShareArray []GetResourceSharesShareInput
func (GetResourceSharesShareArray) ElementType ¶
func (GetResourceSharesShareArray) ElementType() reflect.Type
func (GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutput ¶
func (i GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutput() GetResourceSharesShareArrayOutput
func (GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutputWithContext ¶
func (i GetResourceSharesShareArray) ToGetResourceSharesShareArrayOutputWithContext(ctx context.Context) GetResourceSharesShareArrayOutput
type GetResourceSharesShareArrayInput ¶
GetResourceSharesShareArrayInput is an input type that accepts GetResourceSharesShareArray and GetResourceSharesShareArrayOutput values. You can construct a concrete instance of `GetResourceSharesShareArrayInput` via:
GetResourceSharesShareArray{ GetResourceSharesShareArgs{...} }
type GetResourceSharesShareArrayOutput ¶
func (GetResourceSharesShareArrayOutput) ElementType ¶
func (GetResourceSharesShareArrayOutput) ElementType() reflect.Type
func (GetResourceSharesShareArrayOutput) Index ¶
func (o GetResourceSharesShareArrayOutput) Index(i pulumi.IntInput) GetResourceSharesShareOutput
func (GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutput ¶
func (o GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutput() GetResourceSharesShareArrayOutput
func (GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutputWithContext ¶
func (o GetResourceSharesShareArrayOutput) ToGetResourceSharesShareArrayOutputWithContext(ctx context.Context) GetResourceSharesShareArrayOutput
type GetResourceSharesShareInput ¶
GetResourceSharesShareInput is an input type that accepts GetResourceSharesShareArgs and GetResourceSharesShareOutput values. You can construct a concrete instance of `GetResourceSharesShareInput` via:
GetResourceSharesShareArgs{...}
type GetResourceSharesShareOutput ¶
func (GetResourceSharesShareOutput) ElementType ¶
func (GetResourceSharesShareOutput) ElementType() reflect.Type
func (GetResourceSharesShareOutput) Id ¶
func (o GetResourceSharesShareOutput) Id() pulumi.StringOutput
The ID of the Resource Share.
func (GetResourceSharesShareOutput) ResourceShareId ¶
func (o GetResourceSharesShareOutput) ResourceShareId() pulumi.StringOutput
The ID of the resource share.
func (GetResourceSharesShareOutput) ResourceShareName ¶
func (o GetResourceSharesShareOutput) ResourceShareName() pulumi.StringOutput
The name of resource share.
func (GetResourceSharesShareOutput) ResourceShareOwner ¶
func (o GetResourceSharesShareOutput) ResourceShareOwner() pulumi.StringOutput
The owner of resource share.
func (GetResourceSharesShareOutput) Status ¶
func (o GetResourceSharesShareOutput) Status() pulumi.StringOutput
The status of resource share.
func (GetResourceSharesShareOutput) ToGetResourceSharesShareOutput ¶
func (o GetResourceSharesShareOutput) ToGetResourceSharesShareOutput() GetResourceSharesShareOutput
func (GetResourceSharesShareOutput) ToGetResourceSharesShareOutputWithContext ¶
func (o GetResourceSharesShareOutput) ToGetResourceSharesShareOutputWithContext(ctx context.Context) GetResourceSharesShareOutput
type GetRolesArgs ¶
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 GetRolesOutputArgs ¶ added in v3.9.0
type GetRolesOutputArgs struct { // -(Optional, Available in v1.114.0+) Default to `false`. Set it to true can output more details. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Resource Manager Role IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by role name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getRoles.
func (GetRolesOutputArgs) ElementType ¶ added in v3.9.0
func (GetRolesOutputArgs) ElementType() reflect.Type
type GetRolesResult ¶
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetRolesResultOutput ¶ added in v3.9.0
type GetRolesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRoles.
func GetRolesOutput ¶ added in v3.9.0
func GetRolesOutput(ctx *pulumi.Context, args GetRolesOutputArgs, opts ...pulumi.InvokeOption) GetRolesResultOutput
func (GetRolesResultOutput) ElementType ¶ added in v3.9.0
func (GetRolesResultOutput) ElementType() reflect.Type
func (GetRolesResultOutput) EnableDetails ¶ added in v3.9.0
func (o GetRolesResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetRolesResultOutput) Id ¶ added in v3.9.0
func (o GetRolesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRolesResultOutput) Ids ¶ added in v3.9.0
func (o GetRolesResultOutput) Ids() pulumi.StringArrayOutput
A list of role IDs.
func (GetRolesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetRolesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRolesResultOutput) Names ¶ added in v3.9.0
func (o GetRolesResultOutput) Names() pulumi.StringArrayOutput
A list of role names.
func (GetRolesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetRolesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRolesResultOutput) Roles ¶ added in v3.9.0
func (o GetRolesResultOutput) Roles() GetRolesRoleArrayOutput
A list of roles. Each element contains the following attributes:
func (GetRolesResultOutput) ToGetRolesResultOutput ¶ added in v3.9.0
func (o GetRolesResultOutput) ToGetRolesResultOutput() GetRolesResultOutput
func (GetRolesResultOutput) ToGetRolesResultOutputWithContext ¶ added in v3.9.0
func (o GetRolesResultOutput) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput
type GetRolesRole ¶
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 ¶
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 ¶
func (GetRolesRoleArgs) ElementType() reflect.Type
func (GetRolesRoleArgs) ToGetRolesRoleOutput ¶
func (i GetRolesRoleArgs) ToGetRolesRoleOutput() GetRolesRoleOutput
func (GetRolesRoleArgs) ToGetRolesRoleOutputWithContext ¶
func (i GetRolesRoleArgs) ToGetRolesRoleOutputWithContext(ctx context.Context) GetRolesRoleOutput
type GetRolesRoleArray ¶
type GetRolesRoleArray []GetRolesRoleInput
func (GetRolesRoleArray) ElementType ¶
func (GetRolesRoleArray) ElementType() reflect.Type
func (GetRolesRoleArray) ToGetRolesRoleArrayOutput ¶
func (i GetRolesRoleArray) ToGetRolesRoleArrayOutput() GetRolesRoleArrayOutput
func (GetRolesRoleArray) ToGetRolesRoleArrayOutputWithContext ¶
func (i GetRolesRoleArray) ToGetRolesRoleArrayOutputWithContext(ctx context.Context) GetRolesRoleArrayOutput
type GetRolesRoleArrayInput ¶
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 ¶
type GetRolesRoleArrayOutput struct{ *pulumi.OutputState }
func (GetRolesRoleArrayOutput) ElementType ¶
func (GetRolesRoleArrayOutput) ElementType() reflect.Type
func (GetRolesRoleArrayOutput) Index ¶
func (o GetRolesRoleArrayOutput) Index(i pulumi.IntInput) GetRolesRoleOutput
func (GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutput ¶
func (o GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutput() GetRolesRoleArrayOutput
func (GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutputWithContext ¶
func (o GetRolesRoleArrayOutput) ToGetRolesRoleArrayOutputWithContext(ctx context.Context) GetRolesRoleArrayOutput
type GetRolesRoleInput ¶
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 ¶
type GetRolesRoleOutput struct{ *pulumi.OutputState }
func (GetRolesRoleOutput) Arn ¶
func (o GetRolesRoleOutput) Arn() pulumi.StringOutput
func (GetRolesRoleOutput) AssumeRolePolicyDocument ¶
func (o GetRolesRoleOutput) AssumeRolePolicyDocument() pulumi.StringOutput
func (GetRolesRoleOutput) Description ¶
func (o GetRolesRoleOutput) Description() pulumi.StringOutput
func (GetRolesRoleOutput) ElementType ¶
func (GetRolesRoleOutput) ElementType() reflect.Type
func (GetRolesRoleOutput) Id ¶
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 ¶
func (o GetRolesRoleOutput) MaxSessionDuration() pulumi.IntOutput
func (GetRolesRoleOutput) RoleId ¶
func (o GetRolesRoleOutput) RoleId() pulumi.StringOutput
func (GetRolesRoleOutput) RoleName ¶
func (o GetRolesRoleOutput) RoleName() pulumi.StringOutput
func (GetRolesRoleOutput) ToGetRolesRoleOutput ¶
func (o GetRolesRoleOutput) ToGetRolesRoleOutput() GetRolesRoleOutput
func (GetRolesRoleOutput) ToGetRolesRoleOutputWithContext ¶
func (o GetRolesRoleOutput) ToGetRolesRoleOutputWithContext(ctx context.Context) GetRolesRoleOutput
func (GetRolesRoleOutput) UpdateDate ¶
func (o GetRolesRoleOutput) UpdateDate() pulumi.StringOutput
type GetSharedResourcesArgs ¶
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 GetSharedResourcesOutputArgs ¶ added in v3.9.0
type GetSharedResourcesOutputArgs struct { // A list of shared resource ID. ResourceShareId pulumi.StringPtrInput `pulumi:"resourceShareId"` Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getSharedResources.
func (GetSharedResourcesOutputArgs) ElementType ¶ added in v3.9.0
func (GetSharedResourcesOutputArgs) ElementType() reflect.Type
type GetSharedResourcesResourceArgs ¶
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 ¶
func (GetSharedResourcesResourceArgs) ElementType() reflect.Type
func (GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutput ¶
func (i GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutput() GetSharedResourcesResourceOutput
func (GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutputWithContext ¶
func (i GetSharedResourcesResourceArgs) ToGetSharedResourcesResourceOutputWithContext(ctx context.Context) GetSharedResourcesResourceOutput
type GetSharedResourcesResourceArray ¶
type GetSharedResourcesResourceArray []GetSharedResourcesResourceInput
func (GetSharedResourcesResourceArray) ElementType ¶
func (GetSharedResourcesResourceArray) ElementType() reflect.Type
func (GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutput ¶
func (i GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutput() GetSharedResourcesResourceArrayOutput
func (GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutputWithContext ¶
func (i GetSharedResourcesResourceArray) ToGetSharedResourcesResourceArrayOutputWithContext(ctx context.Context) GetSharedResourcesResourceArrayOutput
type GetSharedResourcesResourceArrayInput ¶
GetSharedResourcesResourceArrayInput is an input type that accepts GetSharedResourcesResourceArray and GetSharedResourcesResourceArrayOutput values. You can construct a concrete instance of `GetSharedResourcesResourceArrayInput` via:
GetSharedResourcesResourceArray{ GetSharedResourcesResourceArgs{...} }
type GetSharedResourcesResourceArrayOutput ¶
func (GetSharedResourcesResourceArrayOutput) ElementType ¶
func (GetSharedResourcesResourceArrayOutput) ElementType() reflect.Type
func (GetSharedResourcesResourceArrayOutput) Index ¶
func (o GetSharedResourcesResourceArrayOutput) Index(i pulumi.IntInput) GetSharedResourcesResourceOutput
func (GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutput ¶
func (o GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutput() GetSharedResourcesResourceArrayOutput
func (GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutputWithContext ¶
func (o GetSharedResourcesResourceArrayOutput) ToGetSharedResourcesResourceArrayOutputWithContext(ctx context.Context) GetSharedResourcesResourceArrayOutput
type GetSharedResourcesResourceInput ¶
GetSharedResourcesResourceInput is an input type that accepts GetSharedResourcesResourceArgs and GetSharedResourcesResourceOutput values. You can construct a concrete instance of `GetSharedResourcesResourceInput` via:
GetSharedResourcesResourceArgs{...}
type GetSharedResourcesResourceOutput ¶
func (GetSharedResourcesResourceOutput) ElementType ¶
func (GetSharedResourcesResourceOutput) ElementType() reflect.Type
func (GetSharedResourcesResourceOutput) Id ¶
func (o GetSharedResourcesResourceOutput) Id() pulumi.StringOutput
The ID of the Shared Resource.
func (GetSharedResourcesResourceOutput) ResourceId ¶
func (o GetSharedResourcesResourceOutput) ResourceId() pulumi.StringOutput
The ID of the shared resource.
func (GetSharedResourcesResourceOutput) ResourceShareId ¶
func (o GetSharedResourcesResourceOutput) ResourceShareId() pulumi.StringOutput
The resource share ID of resource manager.
func (GetSharedResourcesResourceOutput) ResourceType ¶
func (o GetSharedResourcesResourceOutput) ResourceType() pulumi.StringOutput
The type of shared resource.
func (GetSharedResourcesResourceOutput) Status ¶
func (o GetSharedResourcesResourceOutput) Status() pulumi.StringOutput
The status of shared resource.
func (GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutput ¶
func (o GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutput() GetSharedResourcesResourceOutput
func (GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutputWithContext ¶
func (o GetSharedResourcesResourceOutput) ToGetSharedResourcesResourceOutputWithContext(ctx context.Context) GetSharedResourcesResourceOutput
type GetSharedResourcesResult ¶
type GetSharedResourcesResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getSharedResources.
func GetSharedResources ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetSharedResourcesResultOutput ¶ added in v3.9.0
A collection of values returned by getSharedResources.
func GetSharedResourcesOutput ¶ added in v3.9.0
func GetSharedResourcesOutput(ctx *pulumi.Context, args GetSharedResourcesOutputArgs, opts ...pulumi.InvokeOption) GetSharedResourcesResultOutput
func (GetSharedResourcesResultOutput) ElementType ¶ added in v3.9.0
func (GetSharedResourcesResultOutput) ElementType() reflect.Type
func (GetSharedResourcesResultOutput) Id ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSharedResourcesResultOutput) Ids ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) Ids() pulumi.StringArrayOutput
func (GetSharedResourcesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSharedResourcesResultOutput) ResourceShareId ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) ResourceShareId() pulumi.StringPtrOutput
func (GetSharedResourcesResultOutput) Resources ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) Resources() GetSharedResourcesResourceArrayOutput
func (GetSharedResourcesResultOutput) Status ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) Status() pulumi.StringPtrOutput
func (GetSharedResourcesResultOutput) ToGetSharedResourcesResultOutput ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) ToGetSharedResourcesResultOutput() GetSharedResourcesResultOutput
func (GetSharedResourcesResultOutput) ToGetSharedResourcesResultOutputWithContext ¶ added in v3.9.0
func (o GetSharedResourcesResultOutput) ToGetSharedResourcesResultOutputWithContext(ctx context.Context) GetSharedResourcesResultOutput
type GetSharedTargetsArgs ¶
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 GetSharedTargetsOutputArgs ¶ added in v3.9.0
type GetSharedTargetsOutputArgs struct { // A list of Shared Target IDs. ResourceShareId pulumi.StringPtrInput `pulumi:"resourceShareId"` Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getSharedTargets.
func (GetSharedTargetsOutputArgs) ElementType ¶ added in v3.9.0
func (GetSharedTargetsOutputArgs) ElementType() reflect.Type
type GetSharedTargetsResult ¶
type GetSharedTargetsResult struct { // The provider-assigned unique ID for this managed resource. }
A collection of values returned by getSharedTargets.
func GetSharedTargets ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 GetSharedTargetsResultOutput ¶ added in v3.9.0
A collection of values returned by getSharedTargets.
func GetSharedTargetsOutput ¶ added in v3.9.0
func GetSharedTargetsOutput(ctx *pulumi.Context, args GetSharedTargetsOutputArgs, opts ...pulumi.InvokeOption) GetSharedTargetsResultOutput
func (GetSharedTargetsResultOutput) ElementType ¶ added in v3.9.0
func (GetSharedTargetsResultOutput) ElementType() reflect.Type
func (GetSharedTargetsResultOutput) Id ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSharedTargetsResultOutput) Ids ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) Ids() pulumi.StringArrayOutput
func (GetSharedTargetsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSharedTargetsResultOutput) ResourceShareId ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) ResourceShareId() pulumi.StringPtrOutput
func (GetSharedTargetsResultOutput) Status ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) Status() pulumi.StringPtrOutput
func (GetSharedTargetsResultOutput) Targets ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) Targets() GetSharedTargetsTargetArrayOutput
func (GetSharedTargetsResultOutput) ToGetSharedTargetsResultOutput ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) ToGetSharedTargetsResultOutput() GetSharedTargetsResultOutput
func (GetSharedTargetsResultOutput) ToGetSharedTargetsResultOutputWithContext ¶ added in v3.9.0
func (o GetSharedTargetsResultOutput) ToGetSharedTargetsResultOutputWithContext(ctx context.Context) GetSharedTargetsResultOutput
type GetSharedTargetsTarget ¶
type GetSharedTargetsTargetArgs ¶
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 ¶
func (GetSharedTargetsTargetArgs) ElementType() reflect.Type
func (GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutput ¶
func (i GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutput() GetSharedTargetsTargetOutput
func (GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutputWithContext ¶
func (i GetSharedTargetsTargetArgs) ToGetSharedTargetsTargetOutputWithContext(ctx context.Context) GetSharedTargetsTargetOutput
type GetSharedTargetsTargetArray ¶
type GetSharedTargetsTargetArray []GetSharedTargetsTargetInput
func (GetSharedTargetsTargetArray) ElementType ¶
func (GetSharedTargetsTargetArray) ElementType() reflect.Type
func (GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutput ¶
func (i GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutput() GetSharedTargetsTargetArrayOutput
func (GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutputWithContext ¶
func (i GetSharedTargetsTargetArray) ToGetSharedTargetsTargetArrayOutputWithContext(ctx context.Context) GetSharedTargetsTargetArrayOutput
type GetSharedTargetsTargetArrayInput ¶
GetSharedTargetsTargetArrayInput is an input type that accepts GetSharedTargetsTargetArray and GetSharedTargetsTargetArrayOutput values. You can construct a concrete instance of `GetSharedTargetsTargetArrayInput` via:
GetSharedTargetsTargetArray{ GetSharedTargetsTargetArgs{...} }
type GetSharedTargetsTargetArrayOutput ¶
func (GetSharedTargetsTargetArrayOutput) ElementType ¶
func (GetSharedTargetsTargetArrayOutput) ElementType() reflect.Type
func (GetSharedTargetsTargetArrayOutput) Index ¶
func (o GetSharedTargetsTargetArrayOutput) Index(i pulumi.IntInput) GetSharedTargetsTargetOutput
func (GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutput ¶
func (o GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutput() GetSharedTargetsTargetArrayOutput
func (GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutputWithContext ¶
func (o GetSharedTargetsTargetArrayOutput) ToGetSharedTargetsTargetArrayOutputWithContext(ctx context.Context) GetSharedTargetsTargetArrayOutput
type GetSharedTargetsTargetInput ¶
GetSharedTargetsTargetInput is an input type that accepts GetSharedTargetsTargetArgs and GetSharedTargetsTargetOutput values. You can construct a concrete instance of `GetSharedTargetsTargetInput` via:
GetSharedTargetsTargetArgs{...}
type GetSharedTargetsTargetOutput ¶
func (GetSharedTargetsTargetOutput) ElementType ¶
func (GetSharedTargetsTargetOutput) ElementType() reflect.Type
func (GetSharedTargetsTargetOutput) Id ¶
func (o GetSharedTargetsTargetOutput) Id() pulumi.StringOutput
The ID of the Shared Target.
func (GetSharedTargetsTargetOutput) ResourceShareId ¶
func (o GetSharedTargetsTargetOutput) ResourceShareId() pulumi.StringOutput
The resource shared ID of resource manager.
func (GetSharedTargetsTargetOutput) Status ¶
func (o GetSharedTargetsTargetOutput) Status() pulumi.StringOutput
The status of shared target.
func (GetSharedTargetsTargetOutput) TargetId ¶
func (o GetSharedTargetsTargetOutput) TargetId() pulumi.StringOutput
The member account ID in resource directory.
func (GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutput ¶
func (o GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutput() GetSharedTargetsTargetOutput
func (GetSharedTargetsTargetOutput) ToGetSharedTargetsTargetOutputWithContext ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*Handshake) ToHandshakeOutput ¶
func (i *Handshake) ToHandshakeOutput() HandshakeOutput
func (*Handshake) ToHandshakeOutputWithContext ¶
func (i *Handshake) ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput
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 ¶
type HandshakeArray []HandshakeInput
func (HandshakeArray) ElementType ¶
func (HandshakeArray) ElementType() reflect.Type
func (HandshakeArray) ToHandshakeArrayOutput ¶
func (i HandshakeArray) ToHandshakeArrayOutput() HandshakeArrayOutput
func (HandshakeArray) ToHandshakeArrayOutputWithContext ¶
func (i HandshakeArray) ToHandshakeArrayOutputWithContext(ctx context.Context) HandshakeArrayOutput
type HandshakeArrayInput ¶
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 ¶
type HandshakeArrayOutput struct{ *pulumi.OutputState }
func (HandshakeArrayOutput) ElementType ¶
func (HandshakeArrayOutput) ElementType() reflect.Type
func (HandshakeArrayOutput) Index ¶
func (o HandshakeArrayOutput) Index(i pulumi.IntInput) HandshakeOutput
func (HandshakeArrayOutput) ToHandshakeArrayOutput ¶
func (o HandshakeArrayOutput) ToHandshakeArrayOutput() HandshakeArrayOutput
func (HandshakeArrayOutput) ToHandshakeArrayOutputWithContext ¶
func (o HandshakeArrayOutput) ToHandshakeArrayOutputWithContext(ctx context.Context) HandshakeArrayOutput
type HandshakeInput ¶
type HandshakeInput interface { pulumi.Input ToHandshakeOutput() HandshakeOutput ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput }
type HandshakeMap ¶
type HandshakeMap map[string]HandshakeInput
func (HandshakeMap) ElementType ¶
func (HandshakeMap) ElementType() reflect.Type
func (HandshakeMap) ToHandshakeMapOutput ¶
func (i HandshakeMap) ToHandshakeMapOutput() HandshakeMapOutput
func (HandshakeMap) ToHandshakeMapOutputWithContext ¶
func (i HandshakeMap) ToHandshakeMapOutputWithContext(ctx context.Context) HandshakeMapOutput
type HandshakeMapInput ¶
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 ¶
type HandshakeMapOutput struct{ *pulumi.OutputState }
func (HandshakeMapOutput) ElementType ¶
func (HandshakeMapOutput) ElementType() reflect.Type
func (HandshakeMapOutput) MapIndex ¶
func (o HandshakeMapOutput) MapIndex(k pulumi.StringInput) HandshakeOutput
func (HandshakeMapOutput) ToHandshakeMapOutput ¶
func (o HandshakeMapOutput) ToHandshakeMapOutput() HandshakeMapOutput
func (HandshakeMapOutput) ToHandshakeMapOutputWithContext ¶
func (o HandshakeMapOutput) ToHandshakeMapOutputWithContext(ctx context.Context) HandshakeMapOutput
type HandshakeOutput ¶
type HandshakeOutput struct{ *pulumi.OutputState }
func (HandshakeOutput) ElementType ¶
func (HandshakeOutput) ElementType() reflect.Type
func (HandshakeOutput) ToHandshakeOutput ¶
func (o HandshakeOutput) ToHandshakeOutput() HandshakeOutput
func (HandshakeOutput) ToHandshakeOutputWithContext ¶
func (o HandshakeOutput) ToHandshakeOutputWithContext(ctx context.Context) HandshakeOutput
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
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 ¶
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 ¶
func (*Policy) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyArgs ¶
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 ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyArray ¶
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶
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 ¶
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyAttachment ¶
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 ¶
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 ¶
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 ¶
func (*PolicyAttachment) ElementType() reflect.Type
func (*PolicyAttachment) ToPolicyAttachmentOutput ¶
func (i *PolicyAttachment) ToPolicyAttachmentOutput() PolicyAttachmentOutput
func (*PolicyAttachment) ToPolicyAttachmentOutputWithContext ¶
func (i *PolicyAttachment) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
type PolicyAttachmentArgs ¶
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 ¶
func (PolicyAttachmentArgs) ElementType() reflect.Type
type PolicyAttachmentArray ¶
type PolicyAttachmentArray []PolicyAttachmentInput
func (PolicyAttachmentArray) ElementType ¶
func (PolicyAttachmentArray) ElementType() reflect.Type
func (PolicyAttachmentArray) ToPolicyAttachmentArrayOutput ¶
func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
func (PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext ¶
func (i PolicyAttachmentArray) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
type PolicyAttachmentArrayInput ¶
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 ¶
type PolicyAttachmentArrayOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentArrayOutput) ElementType ¶
func (PolicyAttachmentArrayOutput) ElementType() reflect.Type
func (PolicyAttachmentArrayOutput) Index ¶
func (o PolicyAttachmentArrayOutput) Index(i pulumi.IntInput) PolicyAttachmentOutput
func (PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput ¶
func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutput() PolicyAttachmentArrayOutput
func (PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext ¶
func (o PolicyAttachmentArrayOutput) ToPolicyAttachmentArrayOutputWithContext(ctx context.Context) PolicyAttachmentArrayOutput
type PolicyAttachmentInput ¶
type PolicyAttachmentInput interface { pulumi.Input ToPolicyAttachmentOutput() PolicyAttachmentOutput ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput }
type PolicyAttachmentMap ¶
type PolicyAttachmentMap map[string]PolicyAttachmentInput
func (PolicyAttachmentMap) ElementType ¶
func (PolicyAttachmentMap) ElementType() reflect.Type
func (PolicyAttachmentMap) ToPolicyAttachmentMapOutput ¶
func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
func (PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext ¶
func (i PolicyAttachmentMap) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
type PolicyAttachmentMapInput ¶
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 ¶
type PolicyAttachmentMapOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentMapOutput) ElementType ¶
func (PolicyAttachmentMapOutput) ElementType() reflect.Type
func (PolicyAttachmentMapOutput) MapIndex ¶
func (o PolicyAttachmentMapOutput) MapIndex(k pulumi.StringInput) PolicyAttachmentOutput
func (PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput ¶
func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutput() PolicyAttachmentMapOutput
func (PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext ¶
func (o PolicyAttachmentMapOutput) ToPolicyAttachmentMapOutputWithContext(ctx context.Context) PolicyAttachmentMapOutput
type PolicyAttachmentOutput ¶
type PolicyAttachmentOutput struct{ *pulumi.OutputState }
func (PolicyAttachmentOutput) ElementType ¶
func (PolicyAttachmentOutput) ElementType() reflect.Type
func (PolicyAttachmentOutput) ToPolicyAttachmentOutput ¶
func (o PolicyAttachmentOutput) ToPolicyAttachmentOutput() PolicyAttachmentOutput
func (PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext ¶
func (o PolicyAttachmentOutput) ToPolicyAttachmentOutputWithContext(ctx context.Context) PolicyAttachmentOutput
type PolicyAttachmentState ¶
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 ¶
func (PolicyAttachmentState) ElementType() reflect.Type
type PolicyInput ¶
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶
func (PolicyMap) ToPolicyMapOutput ¶
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶
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 ¶
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶
type PolicyOutput struct{ *pulumi.OutputState }
func (PolicyOutput) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyState ¶
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 ¶
func (PolicyState) ElementType() reflect.Type
type PolicyVersion ¶
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 ¶
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 ¶
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 ¶
func (*PolicyVersion) ElementType() reflect.Type
func (*PolicyVersion) ToPolicyVersionOutput ¶
func (i *PolicyVersion) ToPolicyVersionOutput() PolicyVersionOutput
func (*PolicyVersion) ToPolicyVersionOutputWithContext ¶
func (i *PolicyVersion) ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput
type PolicyVersionArgs ¶
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 ¶
func (PolicyVersionArgs) ElementType() reflect.Type
type PolicyVersionArray ¶
type PolicyVersionArray []PolicyVersionInput
func (PolicyVersionArray) ElementType ¶
func (PolicyVersionArray) ElementType() reflect.Type
func (PolicyVersionArray) ToPolicyVersionArrayOutput ¶
func (i PolicyVersionArray) ToPolicyVersionArrayOutput() PolicyVersionArrayOutput
func (PolicyVersionArray) ToPolicyVersionArrayOutputWithContext ¶
func (i PolicyVersionArray) ToPolicyVersionArrayOutputWithContext(ctx context.Context) PolicyVersionArrayOutput
type PolicyVersionArrayInput ¶
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 ¶
type PolicyVersionArrayOutput struct{ *pulumi.OutputState }
func (PolicyVersionArrayOutput) ElementType ¶
func (PolicyVersionArrayOutput) ElementType() reflect.Type
func (PolicyVersionArrayOutput) Index ¶
func (o PolicyVersionArrayOutput) Index(i pulumi.IntInput) PolicyVersionOutput
func (PolicyVersionArrayOutput) ToPolicyVersionArrayOutput ¶
func (o PolicyVersionArrayOutput) ToPolicyVersionArrayOutput() PolicyVersionArrayOutput
func (PolicyVersionArrayOutput) ToPolicyVersionArrayOutputWithContext ¶
func (o PolicyVersionArrayOutput) ToPolicyVersionArrayOutputWithContext(ctx context.Context) PolicyVersionArrayOutput
type PolicyVersionInput ¶
type PolicyVersionInput interface { pulumi.Input ToPolicyVersionOutput() PolicyVersionOutput ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput }
type PolicyVersionMap ¶
type PolicyVersionMap map[string]PolicyVersionInput
func (PolicyVersionMap) ElementType ¶
func (PolicyVersionMap) ElementType() reflect.Type
func (PolicyVersionMap) ToPolicyVersionMapOutput ¶
func (i PolicyVersionMap) ToPolicyVersionMapOutput() PolicyVersionMapOutput
func (PolicyVersionMap) ToPolicyVersionMapOutputWithContext ¶
func (i PolicyVersionMap) ToPolicyVersionMapOutputWithContext(ctx context.Context) PolicyVersionMapOutput
type PolicyVersionMapInput ¶
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 ¶
type PolicyVersionMapOutput struct{ *pulumi.OutputState }
func (PolicyVersionMapOutput) ElementType ¶
func (PolicyVersionMapOutput) ElementType() reflect.Type
func (PolicyVersionMapOutput) MapIndex ¶
func (o PolicyVersionMapOutput) MapIndex(k pulumi.StringInput) PolicyVersionOutput
func (PolicyVersionMapOutput) ToPolicyVersionMapOutput ¶
func (o PolicyVersionMapOutput) ToPolicyVersionMapOutput() PolicyVersionMapOutput
func (PolicyVersionMapOutput) ToPolicyVersionMapOutputWithContext ¶
func (o PolicyVersionMapOutput) ToPolicyVersionMapOutputWithContext(ctx context.Context) PolicyVersionMapOutput
type PolicyVersionOutput ¶
type PolicyVersionOutput struct{ *pulumi.OutputState }
func (PolicyVersionOutput) ElementType ¶
func (PolicyVersionOutput) ElementType() reflect.Type
func (PolicyVersionOutput) ToPolicyVersionOutput ¶
func (o PolicyVersionOutput) ToPolicyVersionOutput() PolicyVersionOutput
func (PolicyVersionOutput) ToPolicyVersionOutputWithContext ¶
func (o PolicyVersionOutput) ToPolicyVersionOutputWithContext(ctx context.Context) PolicyVersionOutput
type PolicyVersionState ¶
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 ¶
func (PolicyVersionState) ElementType() reflect.Type
type ResourceDirectory ¶
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`. Status pulumi.StringOutput `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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
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 ¶
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 ¶
func (*ResourceDirectory) ElementType() reflect.Type
func (*ResourceDirectory) ToResourceDirectoryOutput ¶
func (i *ResourceDirectory) ToResourceDirectoryOutput() ResourceDirectoryOutput
func (*ResourceDirectory) ToResourceDirectoryOutputWithContext ¶
func (i *ResourceDirectory) ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput
type ResourceDirectoryArgs ¶
type ResourceDirectoryArgs struct { // The status of control policy. Valid values:`Enabled` and `Disabled`. Status pulumi.StringPtrInput }
The set of arguments for constructing a ResourceDirectory resource.
func (ResourceDirectoryArgs) ElementType ¶
func (ResourceDirectoryArgs) ElementType() reflect.Type
type ResourceDirectoryArray ¶
type ResourceDirectoryArray []ResourceDirectoryInput
func (ResourceDirectoryArray) ElementType ¶
func (ResourceDirectoryArray) ElementType() reflect.Type
func (ResourceDirectoryArray) ToResourceDirectoryArrayOutput ¶
func (i ResourceDirectoryArray) ToResourceDirectoryArrayOutput() ResourceDirectoryArrayOutput
func (ResourceDirectoryArray) ToResourceDirectoryArrayOutputWithContext ¶
func (i ResourceDirectoryArray) ToResourceDirectoryArrayOutputWithContext(ctx context.Context) ResourceDirectoryArrayOutput
type ResourceDirectoryArrayInput ¶
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 ¶
type ResourceDirectoryArrayOutput struct{ *pulumi.OutputState }
func (ResourceDirectoryArrayOutput) ElementType ¶
func (ResourceDirectoryArrayOutput) ElementType() reflect.Type
func (ResourceDirectoryArrayOutput) Index ¶
func (o ResourceDirectoryArrayOutput) Index(i pulumi.IntInput) ResourceDirectoryOutput
func (ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutput ¶
func (o ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutput() ResourceDirectoryArrayOutput
func (ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutputWithContext ¶
func (o ResourceDirectoryArrayOutput) ToResourceDirectoryArrayOutputWithContext(ctx context.Context) ResourceDirectoryArrayOutput
type ResourceDirectoryInput ¶
type ResourceDirectoryInput interface { pulumi.Input ToResourceDirectoryOutput() ResourceDirectoryOutput ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput }
type ResourceDirectoryMap ¶
type ResourceDirectoryMap map[string]ResourceDirectoryInput
func (ResourceDirectoryMap) ElementType ¶
func (ResourceDirectoryMap) ElementType() reflect.Type
func (ResourceDirectoryMap) ToResourceDirectoryMapOutput ¶
func (i ResourceDirectoryMap) ToResourceDirectoryMapOutput() ResourceDirectoryMapOutput
func (ResourceDirectoryMap) ToResourceDirectoryMapOutputWithContext ¶
func (i ResourceDirectoryMap) ToResourceDirectoryMapOutputWithContext(ctx context.Context) ResourceDirectoryMapOutput
type ResourceDirectoryMapInput ¶
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 ¶
type ResourceDirectoryMapOutput struct{ *pulumi.OutputState }
func (ResourceDirectoryMapOutput) ElementType ¶
func (ResourceDirectoryMapOutput) ElementType() reflect.Type
func (ResourceDirectoryMapOutput) MapIndex ¶
func (o ResourceDirectoryMapOutput) MapIndex(k pulumi.StringInput) ResourceDirectoryOutput
func (ResourceDirectoryMapOutput) ToResourceDirectoryMapOutput ¶
func (o ResourceDirectoryMapOutput) ToResourceDirectoryMapOutput() ResourceDirectoryMapOutput
func (ResourceDirectoryMapOutput) ToResourceDirectoryMapOutputWithContext ¶
func (o ResourceDirectoryMapOutput) ToResourceDirectoryMapOutputWithContext(ctx context.Context) ResourceDirectoryMapOutput
type ResourceDirectoryOutput ¶
type ResourceDirectoryOutput struct{ *pulumi.OutputState }
func (ResourceDirectoryOutput) ElementType ¶
func (ResourceDirectoryOutput) ElementType() reflect.Type
func (ResourceDirectoryOutput) ToResourceDirectoryOutput ¶
func (o ResourceDirectoryOutput) ToResourceDirectoryOutput() ResourceDirectoryOutput
func (ResourceDirectoryOutput) ToResourceDirectoryOutputWithContext ¶
func (o ResourceDirectoryOutput) ToResourceDirectoryOutputWithContext(ctx context.Context) ResourceDirectoryOutput
type ResourceDirectoryState ¶
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`. Status pulumi.StringPtrInput }
func (ResourceDirectoryState) ElementType ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*ResourceGroup) ElementType() reflect.Type
func (*ResourceGroup) ToResourceGroupOutput ¶
func (i *ResourceGroup) ToResourceGroupOutput() ResourceGroupOutput
func (*ResourceGroup) ToResourceGroupOutputWithContext ¶
func (i *ResourceGroup) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
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 ¶
type ResourceGroupArray []ResourceGroupInput
func (ResourceGroupArray) ElementType ¶
func (ResourceGroupArray) ElementType() reflect.Type
func (ResourceGroupArray) ToResourceGroupArrayOutput ¶
func (i ResourceGroupArray) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
func (ResourceGroupArray) ToResourceGroupArrayOutputWithContext ¶
func (i ResourceGroupArray) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
type ResourceGroupArrayInput ¶
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 ¶
type ResourceGroupArrayOutput struct{ *pulumi.OutputState }
func (ResourceGroupArrayOutput) ElementType ¶
func (ResourceGroupArrayOutput) ElementType() reflect.Type
func (ResourceGroupArrayOutput) Index ¶
func (o ResourceGroupArrayOutput) Index(i pulumi.IntInput) ResourceGroupOutput
func (ResourceGroupArrayOutput) ToResourceGroupArrayOutput ¶
func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutput() ResourceGroupArrayOutput
func (ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext ¶
func (o ResourceGroupArrayOutput) ToResourceGroupArrayOutputWithContext(ctx context.Context) ResourceGroupArrayOutput
type ResourceGroupInput ¶
type ResourceGroupInput interface { pulumi.Input ToResourceGroupOutput() ResourceGroupOutput ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput }
type ResourceGroupMap ¶
type ResourceGroupMap map[string]ResourceGroupInput
func (ResourceGroupMap) ElementType ¶
func (ResourceGroupMap) ElementType() reflect.Type
func (ResourceGroupMap) ToResourceGroupMapOutput ¶
func (i ResourceGroupMap) ToResourceGroupMapOutput() ResourceGroupMapOutput
func (ResourceGroupMap) ToResourceGroupMapOutputWithContext ¶
func (i ResourceGroupMap) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
type ResourceGroupMapInput ¶
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 ¶
type ResourceGroupMapOutput struct{ *pulumi.OutputState }
func (ResourceGroupMapOutput) ElementType ¶
func (ResourceGroupMapOutput) ElementType() reflect.Type
func (ResourceGroupMapOutput) MapIndex ¶
func (o ResourceGroupMapOutput) MapIndex(k pulumi.StringInput) ResourceGroupOutput
func (ResourceGroupMapOutput) ToResourceGroupMapOutput ¶
func (o ResourceGroupMapOutput) ToResourceGroupMapOutput() ResourceGroupMapOutput
func (ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext ¶
func (o ResourceGroupMapOutput) ToResourceGroupMapOutputWithContext(ctx context.Context) ResourceGroupMapOutput
type ResourceGroupOutput ¶
type ResourceGroupOutput struct{ *pulumi.OutputState }
func (ResourceGroupOutput) ElementType ¶
func (ResourceGroupOutput) ElementType() reflect.Type
func (ResourceGroupOutput) ToResourceGroupOutput ¶
func (o ResourceGroupOutput) ToResourceGroupOutput() ResourceGroupOutput
func (ResourceGroupOutput) ToResourceGroupOutputWithContext ¶
func (o ResourceGroupOutput) ToResourceGroupOutputWithContext(ctx context.Context) ResourceGroupOutput
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 ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
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 ¶
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 ¶
func (*ResourceShare) ElementType() reflect.Type
func (*ResourceShare) ToResourceShareOutput ¶
func (i *ResourceShare) ToResourceShareOutput() ResourceShareOutput
func (*ResourceShare) ToResourceShareOutputWithContext ¶
func (i *ResourceShare) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
type ResourceShareArgs ¶
type ResourceShareArgs struct { pulumi.StringInput }ResourceShareName
The set of arguments for constructing a ResourceShare resource.
func (ResourceShareArgs) ElementType ¶
func (ResourceShareArgs) ElementType() reflect.Type
type ResourceShareArray ¶
type ResourceShareArray []ResourceShareInput
func (ResourceShareArray) ElementType ¶
func (ResourceShareArray) ElementType() reflect.Type
func (ResourceShareArray) ToResourceShareArrayOutput ¶
func (i ResourceShareArray) ToResourceShareArrayOutput() ResourceShareArrayOutput
func (ResourceShareArray) ToResourceShareArrayOutputWithContext ¶
func (i ResourceShareArray) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
type ResourceShareArrayInput ¶
ResourceShareArrayInput is an input type that accepts ResourceShareArray and ResourceShareArrayOutput values. You can construct a concrete instance of `ResourceShareArrayInput` via:
ResourceShareArray{ ResourceShareArgs{...} }
type ResourceShareArrayOutput ¶
func (ResourceShareArrayOutput) ElementType ¶
func (ResourceShareArrayOutput) ElementType() reflect.Type
func (ResourceShareArrayOutput) Index ¶
func (o ResourceShareArrayOutput) Index(i pulumi.IntInput) ResourceShareOutput
func (ResourceShareArrayOutput) ToResourceShareArrayOutput ¶
func (o ResourceShareArrayOutput) ToResourceShareArrayOutput() ResourceShareArrayOutput
func (ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext ¶
func (o ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
type ResourceShareInput ¶
type ResourceShareMap ¶
type ResourceShareMap map[string]ResourceShareInput
func (ResourceShareMap) ElementType ¶
func (ResourceShareMap) ElementType() reflect.Type
func (ResourceShareMap) ToResourceShareMapOutput ¶
func (i ResourceShareMap) ToResourceShareMapOutput() ResourceShareMapOutput
func (ResourceShareMap) ToResourceShareMapOutputWithContext ¶
func (i ResourceShareMap) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
type ResourceShareMapInput ¶
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 ¶
func (ResourceShareMapOutput) ElementType ¶
func (ResourceShareMapOutput) ElementType() reflect.Type
func (ResourceShareMapOutput) MapIndex ¶
func (o ResourceShareMapOutput) MapIndex(k pulumi.StringInput) ResourceShareOutput
func (ResourceShareMapOutput) ToResourceShareMapOutput ¶
func (o ResourceShareMapOutput) ToResourceShareMapOutput() ResourceShareMapOutput
func (ResourceShareMapOutput) ToResourceShareMapOutputWithContext ¶
func (o ResourceShareMapOutput) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
type ResourceShareOutput ¶
func (ResourceShareOutput) ElementType ¶
func (ResourceShareOutput) ElementType() reflect.Type
func (ResourceShareOutput) ToResourceShareOutput ¶
func (o ResourceShareOutput) ToResourceShareOutput() ResourceShareOutput
func (ResourceShareOutput) ToResourceShareOutputWithContext ¶
func (o ResourceShareOutput) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
type ResourceShareState ¶
type ResourceShareState struct { pulumi.StringPtrInput ResourceShareOwner pulumi.StringPtrInput Status pulumi.StringPtrInput }ResourceShareName
func (ResourceShareState) ElementType ¶
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/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*Role) ToRoleOutput ¶
func (i *Role) ToRoleOutput() RoleOutput
func (*Role) ToRoleOutputWithContext ¶
func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput
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 ¶
type RoleArray []RoleInput
func (RoleArray) ElementType ¶
func (RoleArray) ToRoleArrayOutput ¶
func (i RoleArray) ToRoleArrayOutput() RoleArrayOutput
func (RoleArray) ToRoleArrayOutputWithContext ¶
func (i RoleArray) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput
type RoleArrayInput ¶
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 ¶
type RoleArrayOutput struct{ *pulumi.OutputState }
func (RoleArrayOutput) ElementType ¶
func (RoleArrayOutput) ElementType() reflect.Type
func (RoleArrayOutput) Index ¶
func (o RoleArrayOutput) Index(i pulumi.IntInput) RoleOutput
func (RoleArrayOutput) ToRoleArrayOutput ¶
func (o RoleArrayOutput) ToRoleArrayOutput() RoleArrayOutput
func (RoleArrayOutput) ToRoleArrayOutputWithContext ¶
func (o RoleArrayOutput) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput
type RoleInput ¶
type RoleInput interface { pulumi.Input ToRoleOutput() RoleOutput ToRoleOutputWithContext(ctx context.Context) RoleOutput }
type RoleMap ¶
func (RoleMap) ElementType ¶
func (RoleMap) ToRoleMapOutput ¶
func (i RoleMap) ToRoleMapOutput() RoleMapOutput
func (RoleMap) ToRoleMapOutputWithContext ¶
func (i RoleMap) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput
type RoleMapInput ¶
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 ¶
type RoleMapOutput struct{ *pulumi.OutputState }
func (RoleMapOutput) ElementType ¶
func (RoleMapOutput) ElementType() reflect.Type
func (RoleMapOutput) MapIndex ¶
func (o RoleMapOutput) MapIndex(k pulumi.StringInput) RoleOutput
func (RoleMapOutput) ToRoleMapOutput ¶
func (o RoleMapOutput) ToRoleMapOutput() RoleMapOutput
func (RoleMapOutput) ToRoleMapOutputWithContext ¶
func (o RoleMapOutput) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput
type RoleOutput ¶
type RoleOutput struct{ *pulumi.OutputState }
func (RoleOutput) ElementType ¶
func (RoleOutput) ElementType() reflect.Type
func (RoleOutput) ToRoleOutput ¶
func (o RoleOutput) ToRoleOutput() RoleOutput
func (RoleOutput) ToRoleOutputWithContext ¶
func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput
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 ¶
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 ¶
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 ¶
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 ¶
func (*SharedResource) ElementType() reflect.Type
func (*SharedResource) ToSharedResourceOutput ¶
func (i *SharedResource) ToSharedResourceOutput() SharedResourceOutput
func (*SharedResource) ToSharedResourceOutputWithContext ¶
func (i *SharedResource) ToSharedResourceOutputWithContext(ctx context.Context) SharedResourceOutput
type SharedResourceArgs ¶
type SharedResourceArgs struct { pulumi.StringInput ResourceShareId pulumi.StringInput ResourceType pulumi.StringInput }ResourceId
The set of arguments for constructing a SharedResource resource.
func (SharedResourceArgs) ElementType ¶
func (SharedResourceArgs) ElementType() reflect.Type
type SharedResourceArray ¶
type SharedResourceArray []SharedResourceInput
func (SharedResourceArray) ElementType ¶
func (SharedResourceArray) ElementType() reflect.Type
func (SharedResourceArray) ToSharedResourceArrayOutput ¶
func (i SharedResourceArray) ToSharedResourceArrayOutput() SharedResourceArrayOutput
func (SharedResourceArray) ToSharedResourceArrayOutputWithContext ¶
func (i SharedResourceArray) ToSharedResourceArrayOutputWithContext(ctx context.Context) SharedResourceArrayOutput
type SharedResourceArrayInput ¶
SharedResourceArrayInput is an input type that accepts SharedResourceArray and SharedResourceArrayOutput values. You can construct a concrete instance of `SharedResourceArrayInput` via:
SharedResourceArray{ SharedResourceArgs{...} }
type SharedResourceArrayOutput ¶
func (SharedResourceArrayOutput) ElementType ¶
func (SharedResourceArrayOutput) ElementType() reflect.Type
func (SharedResourceArrayOutput) Index ¶
func (o SharedResourceArrayOutput) Index(i pulumi.IntInput) SharedResourceOutput
func (SharedResourceArrayOutput) ToSharedResourceArrayOutput ¶
func (o SharedResourceArrayOutput) ToSharedResourceArrayOutput() SharedResourceArrayOutput
func (SharedResourceArrayOutput) ToSharedResourceArrayOutputWithContext ¶
func (o SharedResourceArrayOutput) ToSharedResourceArrayOutputWithContext(ctx context.Context) SharedResourceArrayOutput
type SharedResourceInput ¶
type SharedResourceMap ¶
type SharedResourceMap map[string]SharedResourceInput
func (SharedResourceMap) ElementType ¶
func (SharedResourceMap) ElementType() reflect.Type
func (SharedResourceMap) ToSharedResourceMapOutput ¶
func (i SharedResourceMap) ToSharedResourceMapOutput() SharedResourceMapOutput
func (SharedResourceMap) ToSharedResourceMapOutputWithContext ¶
func (i SharedResourceMap) ToSharedResourceMapOutputWithContext(ctx context.Context) SharedResourceMapOutput
type SharedResourceMapInput ¶
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 ¶
func (SharedResourceMapOutput) ElementType ¶
func (SharedResourceMapOutput) ElementType() reflect.Type
func (SharedResourceMapOutput) MapIndex ¶
func (o SharedResourceMapOutput) MapIndex(k pulumi.StringInput) SharedResourceOutput
func (SharedResourceMapOutput) ToSharedResourceMapOutput ¶
func (o SharedResourceMapOutput) ToSharedResourceMapOutput() SharedResourceMapOutput
func (SharedResourceMapOutput) ToSharedResourceMapOutputWithContext ¶
func (o SharedResourceMapOutput) ToSharedResourceMapOutputWithContext(ctx context.Context) SharedResourceMapOutput
type SharedResourceOutput ¶
func (SharedResourceOutput) ElementType ¶
func (SharedResourceOutput) ElementType() reflect.Type
func (SharedResourceOutput) ToSharedResourceOutput ¶
func (o SharedResourceOutput) ToSharedResourceOutput() SharedResourceOutput
func (SharedResourceOutput) ToSharedResourceOutputWithContext ¶
func (o SharedResourceOutput) ToSharedResourceOutputWithContext(ctx context.Context) SharedResourceOutput
type SharedResourceState ¶
type SharedResourceState struct { pulumi.StringPtrInput ResourceShareId pulumi.StringPtrInput ResourceType pulumi.StringPtrInput Status pulumi.StringPtrInput }ResourceId
func (SharedResourceState) ElementType ¶
func (SharedResourceState) ElementType() reflect.Type
type SharedTarget ¶
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 ¶
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 ¶
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 ¶
func (*SharedTarget) ElementType() reflect.Type
func (*SharedTarget) ToSharedTargetOutput ¶
func (i *SharedTarget) ToSharedTargetOutput() SharedTargetOutput
func (*SharedTarget) ToSharedTargetOutputWithContext ¶
func (i *SharedTarget) ToSharedTargetOutputWithContext(ctx context.Context) SharedTargetOutput
type SharedTargetArgs ¶
type SharedTargetArgs struct { pulumi.StringInput TargetId pulumi.StringInput }ResourceShareId
The set of arguments for constructing a SharedTarget resource.
func (SharedTargetArgs) ElementType ¶
func (SharedTargetArgs) ElementType() reflect.Type
type SharedTargetArray ¶
type SharedTargetArray []SharedTargetInput
func (SharedTargetArray) ElementType ¶
func (SharedTargetArray) ElementType() reflect.Type
func (SharedTargetArray) ToSharedTargetArrayOutput ¶
func (i SharedTargetArray) ToSharedTargetArrayOutput() SharedTargetArrayOutput
func (SharedTargetArray) ToSharedTargetArrayOutputWithContext ¶
func (i SharedTargetArray) ToSharedTargetArrayOutputWithContext(ctx context.Context) SharedTargetArrayOutput
type SharedTargetArrayInput ¶
SharedTargetArrayInput is an input type that accepts SharedTargetArray and SharedTargetArrayOutput values. You can construct a concrete instance of `SharedTargetArrayInput` via:
SharedTargetArray{ SharedTargetArgs{...} }
type SharedTargetArrayOutput ¶
func (SharedTargetArrayOutput) ElementType ¶
func (SharedTargetArrayOutput) ElementType() reflect.Type
func (SharedTargetArrayOutput) Index ¶
func (o SharedTargetArrayOutput) Index(i pulumi.IntInput) SharedTargetOutput
func (SharedTargetArrayOutput) ToSharedTargetArrayOutput ¶
func (o SharedTargetArrayOutput) ToSharedTargetArrayOutput() SharedTargetArrayOutput
func (SharedTargetArrayOutput) ToSharedTargetArrayOutputWithContext ¶
func (o SharedTargetArrayOutput) ToSharedTargetArrayOutputWithContext(ctx context.Context) SharedTargetArrayOutput
type SharedTargetInput ¶
type SharedTargetMap ¶
type SharedTargetMap map[string]SharedTargetInput
func (SharedTargetMap) ElementType ¶
func (SharedTargetMap) ElementType() reflect.Type
func (SharedTargetMap) ToSharedTargetMapOutput ¶
func (i SharedTargetMap) ToSharedTargetMapOutput() SharedTargetMapOutput
func (SharedTargetMap) ToSharedTargetMapOutputWithContext ¶
func (i SharedTargetMap) ToSharedTargetMapOutputWithContext(ctx context.Context) SharedTargetMapOutput
type SharedTargetMapInput ¶
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 ¶
func (SharedTargetMapOutput) ElementType ¶
func (SharedTargetMapOutput) ElementType() reflect.Type
func (SharedTargetMapOutput) MapIndex ¶
func (o SharedTargetMapOutput) MapIndex(k pulumi.StringInput) SharedTargetOutput
func (SharedTargetMapOutput) ToSharedTargetMapOutput ¶
func (o SharedTargetMapOutput) ToSharedTargetMapOutput() SharedTargetMapOutput
func (SharedTargetMapOutput) ToSharedTargetMapOutputWithContext ¶
func (o SharedTargetMapOutput) ToSharedTargetMapOutputWithContext(ctx context.Context) SharedTargetMapOutput
type SharedTargetOutput ¶
func (SharedTargetOutput) ElementType ¶
func (SharedTargetOutput) ElementType() reflect.Type
func (SharedTargetOutput) ToSharedTargetOutput ¶
func (o SharedTargetOutput) ToSharedTargetOutput() SharedTargetOutput
func (SharedTargetOutput) ToSharedTargetOutputWithContext ¶
func (o SharedTargetOutput) ToSharedTargetOutputWithContext(ctx context.Context) SharedTargetOutput
type SharedTargetState ¶
type SharedTargetState struct { pulumi.StringPtrInput Status pulumi.StringPtrInput TargetId pulumi.StringPtrInput }ResourceShareId
func (SharedTargetState) ElementType ¶
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