client

package
v3.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptHandshakeRequest

type AcceptHandshakeRequest struct {
	// The ID of the invitation.
	//
	// You can call the [ListHandshakesForAccount](~~160006~~) operation to obtain the ID.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
}

func (AcceptHandshakeRequest) GoString

func (s AcceptHandshakeRequest) GoString() string

func (*AcceptHandshakeRequest) SetHandshakeId

func (AcceptHandshakeRequest) String

func (s AcceptHandshakeRequest) String() string

type AcceptHandshakeResponse

type AcceptHandshakeResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AcceptHandshakeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AcceptHandshakeResponse) GoString

func (s AcceptHandshakeResponse) GoString() string

func (*AcceptHandshakeResponse) SetBody

func (*AcceptHandshakeResponse) SetHeaders

func (*AcceptHandshakeResponse) SetStatusCode

func (AcceptHandshakeResponse) String

func (s AcceptHandshakeResponse) String() string

type AcceptHandshakeResponseBody

type AcceptHandshakeResponseBody struct {
	// The information of the invitation.
	Handshake *AcceptHandshakeResponseBodyHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AcceptHandshakeResponseBody) GoString

func (s AcceptHandshakeResponseBody) GoString() string

func (*AcceptHandshakeResponseBody) SetHandshake

func (*AcceptHandshakeResponseBody) SetRequestId

func (AcceptHandshakeResponseBody) String

type AcceptHandshakeResponseBodyHandshake

type AcceptHandshakeResponseBodyHandshake struct {
	// The time when the invitation was created. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The ID of the management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The time when the invitation was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The comment on the invitation.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation. Valid values:
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expires.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited Alibaba Cloud account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited Alibaba Cloud account. Valid values:
	//
	// *   Account: indicates the ID of the Alibaba Cloud account.
	// *   Email: indicates the logon email address of the Alibaba Cloud account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (AcceptHandshakeResponseBodyHandshake) GoString

func (*AcceptHandshakeResponseBodyHandshake) SetCreateTime

func (*AcceptHandshakeResponseBodyHandshake) SetExpireTime

func (*AcceptHandshakeResponseBodyHandshake) SetHandshakeId

func (*AcceptHandshakeResponseBodyHandshake) SetMasterAccountId

func (*AcceptHandshakeResponseBodyHandshake) SetMasterAccountName

func (*AcceptHandshakeResponseBodyHandshake) SetModifyTime

func (*AcceptHandshakeResponseBodyHandshake) SetNote

func (*AcceptHandshakeResponseBodyHandshake) SetResourceDirectoryId

func (*AcceptHandshakeResponseBodyHandshake) SetStatus

func (*AcceptHandshakeResponseBodyHandshake) SetTargetEntity

func (*AcceptHandshakeResponseBodyHandshake) SetTargetType

func (AcceptHandshakeResponseBodyHandshake) String

type AttachControlPolicyRequest

type AttachControlPolicyRequest struct {
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The ID of the object to which you want to attach the access control policy. Access control policies can be attached to the following objects:
	//
	// *   Root folder
	// *   Subfolders of the Root folder
	// *   Members
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
}

func (AttachControlPolicyRequest) GoString

func (s AttachControlPolicyRequest) GoString() string

func (*AttachControlPolicyRequest) SetPolicyId

func (*AttachControlPolicyRequest) SetTargetId

func (AttachControlPolicyRequest) String

type AttachControlPolicyResponse

type AttachControlPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachControlPolicyResponse) GoString

func (s AttachControlPolicyResponse) GoString() string

func (*AttachControlPolicyResponse) SetBody

func (*AttachControlPolicyResponse) SetHeaders

func (*AttachControlPolicyResponse) SetStatusCode

func (AttachControlPolicyResponse) String

type AttachControlPolicyResponseBody

type AttachControlPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachControlPolicyResponseBody) GoString

func (*AttachControlPolicyResponseBody) SetRequestId

func (AttachControlPolicyResponseBody) String

type AttachPolicyRequest

type AttachPolicyRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the object to which you want to attach the policy.
	//
	// *   If you want to attach the policy to a RAM user, specify the name in the \<UserName>@\<AccountAlias>.onaliyun.com format. \<UserName> indicates the name of the RAM user, and \<AccountAlias> indicates the alias of the Alibaba Cloud account to which the RAM user belongs.
	// *   If you want to attach the policy to a RAM user group, specify the name in the \<GroupName>@group.\<AccountAlias>.onaliyun.com format. \<GroupName> indicates the name of the RAM user group, and \<AccountAlias> indicates the alias of the Alibaba Cloud account to which the RAM user group belongs.
	// *   If you want to attach the policy to a RAM role, specify the name in the \<RoleName>@role.\<AccountAlias>.onaliyun.com format. \<RoleName> indicates the name of the RAM role, and \<AccountAlias> indicates the alias of the Alibaba Cloud account to which the RAM role belongs.
	//
	// >  The alias of an Alibaba Cloud account is a part of the default domain name. You can call the [GetDefaultDomain](~~186720~~) operation to obtain the alias of an Alibaba Cloud account.
	PrincipalName *string `json:"PrincipalName,omitempty" xml:"PrincipalName,omitempty"`
	// 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 *string `json:"PrincipalType,omitempty" xml:"PrincipalType,omitempty"`
	// The effective scope of the policy. You can set this parameter to one of the following items:
	//
	// *   ID of a resource group: indicates that the policy takes effect for the resources in the resource group.
	// *   ID of the Alibaba Cloud account to which the authorized object belongs: indicates that the policy takes effect for the resources within the Alibaba Cloud account.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (AttachPolicyRequest) GoString

func (s AttachPolicyRequest) GoString() string

func (*AttachPolicyRequest) SetPolicyName

func (s *AttachPolicyRequest) SetPolicyName(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetPolicyType

func (s *AttachPolicyRequest) SetPolicyType(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetPrincipalName

func (s *AttachPolicyRequest) SetPrincipalName(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetPrincipalType

func (s *AttachPolicyRequest) SetPrincipalType(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetResourceGroupId

func (s *AttachPolicyRequest) SetResourceGroupId(v string) *AttachPolicyRequest

func (AttachPolicyRequest) String

func (s AttachPolicyRequest) String() string

type AttachPolicyResponse

type AttachPolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachPolicyResponse) GoString

func (s AttachPolicyResponse) GoString() string

func (*AttachPolicyResponse) SetBody

func (*AttachPolicyResponse) SetHeaders

func (s *AttachPolicyResponse) SetHeaders(v map[string]*string) *AttachPolicyResponse

func (*AttachPolicyResponse) SetStatusCode

func (s *AttachPolicyResponse) SetStatusCode(v int32) *AttachPolicyResponse

func (AttachPolicyResponse) String

func (s AttachPolicyResponse) String() string

type AttachPolicyResponseBody

type AttachPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachPolicyResponseBody) GoString

func (s AttachPolicyResponseBody) GoString() string

func (*AttachPolicyResponseBody) SetRequestId

func (AttachPolicyResponseBody) String

func (s AttachPolicyResponseBody) String() string

type BindSecureMobilePhoneRequest

type BindSecureMobilePhoneRequest struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The mobile phone number that you want to bind to the member for security purposes.
	//
	// The mobile phone number you specify must be the same as the mobile phone number that you specify when you call the [SendVerificationCodeForBindSecureMobilePhone](~~372556~~) operation to obtain a verification code.
	//
	// Specify the mobile phone number in the \<Country code>-\<Mobile phone number> format.
	//
	// >  Mobile phone numbers in the `86-<Mobile phone number>` format in the Chinese mainland are not supported.
	SecureMobilePhone *string `json:"SecureMobilePhone,omitempty" xml:"SecureMobilePhone,omitempty"`
	// The verification code.
	//
	// You can call the [SendVerificationCodeForBindSecureMobilePhone](~~372556~~) operation to obtain the verification code.
	VerificationCode *string `json:"VerificationCode,omitempty" xml:"VerificationCode,omitempty"`
}

func (BindSecureMobilePhoneRequest) GoString

func (s BindSecureMobilePhoneRequest) GoString() string

func (*BindSecureMobilePhoneRequest) SetAccountId

func (*BindSecureMobilePhoneRequest) SetSecureMobilePhone

func (*BindSecureMobilePhoneRequest) SetVerificationCode

func (BindSecureMobilePhoneRequest) String

type BindSecureMobilePhoneResponse

type BindSecureMobilePhoneResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BindSecureMobilePhoneResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (BindSecureMobilePhoneResponse) GoString

func (*BindSecureMobilePhoneResponse) SetBody

func (*BindSecureMobilePhoneResponse) SetHeaders

func (*BindSecureMobilePhoneResponse) SetStatusCode

func (BindSecureMobilePhoneResponse) String

type BindSecureMobilePhoneResponseBody

type BindSecureMobilePhoneResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (BindSecureMobilePhoneResponseBody) GoString

func (*BindSecureMobilePhoneResponseBody) SetRequestId

func (BindSecureMobilePhoneResponseBody) String

type CancelChangeAccountEmailRequest added in v3.0.2

type CancelChangeAccountEmailRequest struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (CancelChangeAccountEmailRequest) GoString added in v3.0.2

func (*CancelChangeAccountEmailRequest) SetAccountId added in v3.0.2

func (CancelChangeAccountEmailRequest) String added in v3.0.2

type CancelChangeAccountEmailResponse added in v3.0.2

type CancelChangeAccountEmailResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CancelChangeAccountEmailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CancelChangeAccountEmailResponse) GoString added in v3.0.2

func (*CancelChangeAccountEmailResponse) SetBody added in v3.0.2

func (*CancelChangeAccountEmailResponse) SetHeaders added in v3.0.2

func (*CancelChangeAccountEmailResponse) SetStatusCode added in v3.0.2

func (CancelChangeAccountEmailResponse) String added in v3.0.2

type CancelChangeAccountEmailResponseBody added in v3.0.2

type CancelChangeAccountEmailResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelChangeAccountEmailResponseBody) GoString added in v3.0.2

func (*CancelChangeAccountEmailResponseBody) SetRequestId added in v3.0.2

func (CancelChangeAccountEmailResponseBody) String added in v3.0.2

type CancelCreateCloudAccountRequest

type CancelCreateCloudAccountRequest struct {
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
}

func (CancelCreateCloudAccountRequest) GoString

func (*CancelCreateCloudAccountRequest) SetRecordId

func (CancelCreateCloudAccountRequest) String

type CancelCreateCloudAccountResponse

type CancelCreateCloudAccountResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CancelCreateCloudAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CancelCreateCloudAccountResponse) GoString

func (*CancelCreateCloudAccountResponse) SetHeaders

func (*CancelCreateCloudAccountResponse) SetStatusCode

func (CancelCreateCloudAccountResponse) String

type CancelCreateCloudAccountResponseBody

type CancelCreateCloudAccountResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelCreateCloudAccountResponseBody) GoString

func (*CancelCreateCloudAccountResponseBody) SetRequestId

func (CancelCreateCloudAccountResponseBody) String

type CancelHandshakeRequest

type CancelHandshakeRequest struct {
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
}

func (CancelHandshakeRequest) GoString

func (s CancelHandshakeRequest) GoString() string

func (*CancelHandshakeRequest) SetHandshakeId

func (CancelHandshakeRequest) String

func (s CancelHandshakeRequest) String() string

type CancelHandshakeResponse

type CancelHandshakeResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CancelHandshakeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CancelHandshakeResponse) GoString

func (s CancelHandshakeResponse) GoString() string

func (*CancelHandshakeResponse) SetBody

func (*CancelHandshakeResponse) SetHeaders

func (*CancelHandshakeResponse) SetStatusCode

func (CancelHandshakeResponse) String

func (s CancelHandshakeResponse) String() string

type CancelHandshakeResponseBody

type CancelHandshakeResponseBody struct {
	// The information of the invitation.
	Handshake *CancelHandshakeResponseBodyHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelHandshakeResponseBody) GoString

func (s CancelHandshakeResponseBody) GoString() string

func (*CancelHandshakeResponseBody) SetHandshake

func (*CancelHandshakeResponseBody) SetRequestId

func (CancelHandshakeResponseBody) String

type CancelHandshakeResponseBodyHandshake

type CancelHandshakeResponseBodyHandshake struct {
	// The time when the invitation was created. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The ID of the management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The time when the invitation was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The comment on the invitation.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation. Valid values:
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expires.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (CancelHandshakeResponseBodyHandshake) GoString

func (*CancelHandshakeResponseBodyHandshake) SetCreateTime

func (*CancelHandshakeResponseBodyHandshake) SetExpireTime

func (*CancelHandshakeResponseBodyHandshake) SetHandshakeId

func (*CancelHandshakeResponseBodyHandshake) SetMasterAccountId

func (*CancelHandshakeResponseBodyHandshake) SetMasterAccountName

func (*CancelHandshakeResponseBodyHandshake) SetModifyTime

func (*CancelHandshakeResponseBodyHandshake) SetNote

func (*CancelHandshakeResponseBodyHandshake) SetResourceDirectoryId

func (*CancelHandshakeResponseBodyHandshake) SetStatus

func (*CancelHandshakeResponseBodyHandshake) SetTargetEntity

func (*CancelHandshakeResponseBodyHandshake) SetTargetType

func (CancelHandshakeResponseBodyHandshake) String

type CancelPromoteResourceAccountRequest

type CancelPromoteResourceAccountRequest struct {
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
}

func (CancelPromoteResourceAccountRequest) GoString

func (*CancelPromoteResourceAccountRequest) SetRecordId

func (CancelPromoteResourceAccountRequest) String

type CancelPromoteResourceAccountResponse

type CancelPromoteResourceAccountResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CancelPromoteResourceAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CancelPromoteResourceAccountResponse) GoString

func (*CancelPromoteResourceAccountResponse) SetHeaders

func (*CancelPromoteResourceAccountResponse) SetStatusCode

func (CancelPromoteResourceAccountResponse) String

type CancelPromoteResourceAccountResponseBody

type CancelPromoteResourceAccountResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelPromoteResourceAccountResponseBody) GoString

func (*CancelPromoteResourceAccountResponseBody) SetRequestId

func (CancelPromoteResourceAccountResponseBody) String

type ChangeAccountEmailRequest added in v3.0.2

type ChangeAccountEmailRequest struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The email address to be bound to the member.
	//
	// >  The system automatically sends a verification email to the email address. After the verification is passed, the email address takes effect, and the system changes both the logon email address and secure email address of the member.
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
}

func (ChangeAccountEmailRequest) GoString added in v3.0.2

func (s ChangeAccountEmailRequest) GoString() string

func (*ChangeAccountEmailRequest) SetAccountId added in v3.0.2

func (*ChangeAccountEmailRequest) SetEmail added in v3.0.2

func (ChangeAccountEmailRequest) String added in v3.0.2

func (s ChangeAccountEmailRequest) String() string

type ChangeAccountEmailResponse added in v3.0.2

type ChangeAccountEmailResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ChangeAccountEmailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ChangeAccountEmailResponse) GoString added in v3.0.2

func (s ChangeAccountEmailResponse) GoString() string

func (*ChangeAccountEmailResponse) SetBody added in v3.0.2

func (*ChangeAccountEmailResponse) SetHeaders added in v3.0.2

func (*ChangeAccountEmailResponse) SetStatusCode added in v3.0.2

func (ChangeAccountEmailResponse) String added in v3.0.2

type ChangeAccountEmailResponseBody added in v3.0.2

type ChangeAccountEmailResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ChangeAccountEmailResponseBody) GoString added in v3.0.2

func (*ChangeAccountEmailResponseBody) SetRequestId added in v3.0.2

func (ChangeAccountEmailResponseBody) String added in v3.0.2

type CheckAccountDeleteRequest

type CheckAccountDeleteRequest struct {
	// The ID of the member that you want to delete.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (CheckAccountDeleteRequest) GoString

func (s CheckAccountDeleteRequest) GoString() string

func (*CheckAccountDeleteRequest) SetAccountId

func (CheckAccountDeleteRequest) String

func (s CheckAccountDeleteRequest) String() string

type CheckAccountDeleteResponse

type CheckAccountDeleteResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CheckAccountDeleteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CheckAccountDeleteResponse) GoString

func (s CheckAccountDeleteResponse) GoString() string

func (*CheckAccountDeleteResponse) SetBody

func (*CheckAccountDeleteResponse) SetHeaders

func (*CheckAccountDeleteResponse) SetStatusCode

func (CheckAccountDeleteResponse) String

type CheckAccountDeleteResponseBody

type CheckAccountDeleteResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckAccountDeleteResponseBody) GoString

func (*CheckAccountDeleteResponseBody) SetRequestId

func (CheckAccountDeleteResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AcceptHandshake

func (client *Client) AcceptHandshake(request *AcceptHandshakeRequest) (_result *AcceptHandshakeResponse, _err error)

*

  • After an invited Alibaba Cloud account joins a resource directory, it becomes a member of the resource directory. By default, the name of the invited Alibaba Cloud account is used as the display name of the account in the resource directory.
  • This topic provides an example on how to call the API operation to accept the invitation `h-Ih8IuPfvV0t0****` that is initiated to invite the Alibaba Cloud account `177242285274****` to join the resource directory `rd-3G****`. *
  • @param request AcceptHandshakeRequest
  • @return AcceptHandshakeResponse

func (*Client) AcceptHandshakeWithOptions

func (client *Client) AcceptHandshakeWithOptions(request *AcceptHandshakeRequest, runtime *util.RuntimeOptions) (_result *AcceptHandshakeResponse, _err error)

*

  • After an invited Alibaba Cloud account joins a resource directory, it becomes a member of the resource directory. By default, the name of the invited Alibaba Cloud account is used as the display name of the account in the resource directory.
  • This topic provides an example on how to call the API operation to accept the invitation `h-Ih8IuPfvV0t0****` that is initiated to invite the Alibaba Cloud account `177242285274****` to join the resource directory `rd-3G****`. *
  • @param request AcceptHandshakeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AcceptHandshakeResponse

func (*Client) AttachControlPolicy

func (client *Client) AttachControlPolicy(request *AttachControlPolicyRequest) (_result *AttachControlPolicyResponse, _err error)

*

  • After you attach an access control policy, the operations performed on resources by using members are limited by the policy. Make sure that the attached policy meets your expectations. Otherwise, your business may be affected.
  • By default, the system access control policy FullAliyunAccess is attached to each folder and member.
  • The access control policy that is attached to a folder also applies to all its subfolders and all members in the subfolders.
  • A maximum of 10 access control policies can be attached to a folder or member.
  • This topic provides an example on how to call the API operation to attach the custom access control policy `cp-jExXAqIYkwHN****` to the folder `fd-ZDNPiT****`. *
  • @param request AttachControlPolicyRequest
  • @return AttachControlPolicyResponse

func (*Client) AttachControlPolicyWithOptions

func (client *Client) AttachControlPolicyWithOptions(request *AttachControlPolicyRequest, runtime *util.RuntimeOptions) (_result *AttachControlPolicyResponse, _err error)

*

  • After you attach an access control policy, the operations performed on resources by using members are limited by the policy. Make sure that the attached policy meets your expectations. Otherwise, your business may be affected.
  • By default, the system access control policy FullAliyunAccess is attached to each folder and member.
  • The access control policy that is attached to a folder also applies to all its subfolders and all members in the subfolders.
  • A maximum of 10 access control policies can be attached to a folder or member.
  • This topic provides an example on how to call the API operation to attach the custom access control policy `cp-jExXAqIYkwHN****` to the folder `fd-ZDNPiT****`. *
  • @param request AttachControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AttachControlPolicyResponse

func (*Client) AttachPolicy

func (client *Client) AttachPolicy(request *AttachPolicyRequest) (_result *AttachPolicyResponse, _err error)

*

  • In this example, the policy `AdministratorAccess` is attached to the RAM user `alice@demo.onaliyun.com` and takes effect only for resources in the `rg-9gLOoK****` resource group. *
  • @param request AttachPolicyRequest
  • @return AttachPolicyResponse

func (*Client) AttachPolicyWithOptions

func (client *Client) AttachPolicyWithOptions(request *AttachPolicyRequest, runtime *util.RuntimeOptions) (_result *AttachPolicyResponse, _err error)

*

  • In this example, the policy `AdministratorAccess` is attached to the RAM user `alice@demo.onaliyun.com` and takes effect only for resources in the `rg-9gLOoK****` resource group. *
  • @param request AttachPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AttachPolicyResponse

func (*Client) BindSecureMobilePhone

func (client *Client) BindSecureMobilePhone(request *BindSecureMobilePhoneRequest) (_result *BindSecureMobilePhoneResponse, _err error)

*

  • You can call this API operation only to bind a mobile phone number to a member of the resource account type. You cannot call this API operation to change the mobile phone number that is bound to a member of the resource account type.
  • To ensure that the system can record the operators of management operations, you must use a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account of your resource directory to call this API operation.
  • This topic provides an example on how to call the API operation to bind a mobile phone number to the member `138660628348****` for security purposes. *
  • @param request BindSecureMobilePhoneRequest
  • @return BindSecureMobilePhoneResponse

func (*Client) BindSecureMobilePhoneWithOptions

func (client *Client) BindSecureMobilePhoneWithOptions(request *BindSecureMobilePhoneRequest, runtime *util.RuntimeOptions) (_result *BindSecureMobilePhoneResponse, _err error)

*

  • You can call this API operation only to bind a mobile phone number to a member of the resource account type. You cannot call this API operation to change the mobile phone number that is bound to a member of the resource account type.
  • To ensure that the system can record the operators of management operations, you must use a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account of your resource directory to call this API operation.
  • This topic provides an example on how to call the API operation to bind a mobile phone number to the member `138660628348****` for security purposes. *
  • @param request BindSecureMobilePhoneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return BindSecureMobilePhoneResponse

func (*Client) CancelChangeAccountEmail added in v3.0.2

func (client *Client) CancelChangeAccountEmail(request *CancelChangeAccountEmailRequest) (_result *CancelChangeAccountEmailResponse, _err error)

func (*Client) CancelChangeAccountEmailWithOptions added in v3.0.2

func (client *Client) CancelChangeAccountEmailWithOptions(request *CancelChangeAccountEmailRequest, runtime *util.RuntimeOptions) (_result *CancelChangeAccountEmailResponse, _err error)

func (*Client) CancelCreateCloudAccount

func (client *Client) CancelCreateCloudAccount(request *CancelCreateCloudAccountRequest) (_result *CancelCreateCloudAccountResponse, _err error)

func (*Client) CancelCreateCloudAccountWithOptions

func (client *Client) CancelCreateCloudAccountWithOptions(request *CancelCreateCloudAccountRequest, runtime *util.RuntimeOptions) (_result *CancelCreateCloudAccountResponse, _err error)

func (*Client) CancelHandshake

func (client *Client) CancelHandshake(request *CancelHandshakeRequest) (_result *CancelHandshakeResponse, _err error)

*

  • This topic provides an example on how to call the API operation to cancel the invitation whose ID is `h-ycm4rp****`. *
  • @param request CancelHandshakeRequest
  • @return CancelHandshakeResponse

func (*Client) CancelHandshakeWithOptions

func (client *Client) CancelHandshakeWithOptions(request *CancelHandshakeRequest, runtime *util.RuntimeOptions) (_result *CancelHandshakeResponse, _err error)

*

  • This topic provides an example on how to call the API operation to cancel the invitation whose ID is `h-ycm4rp****`. *
  • @param request CancelHandshakeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelHandshakeResponse

func (*Client) CancelPromoteResourceAccount

func (client *Client) CancelPromoteResourceAccount(request *CancelPromoteResourceAccountRequest) (_result *CancelPromoteResourceAccountResponse, _err error)

func (*Client) CancelPromoteResourceAccountWithOptions

func (client *Client) CancelPromoteResourceAccountWithOptions(request *CancelPromoteResourceAccountRequest, runtime *util.RuntimeOptions) (_result *CancelPromoteResourceAccountResponse, _err error)

func (*Client) ChangeAccountEmail added in v3.0.2

func (client *Client) ChangeAccountEmail(request *ChangeAccountEmailRequest) (_result *ChangeAccountEmailResponse, _err error)

func (*Client) ChangeAccountEmailWithOptions added in v3.0.2

func (client *Client) ChangeAccountEmailWithOptions(request *ChangeAccountEmailRequest, runtime *util.RuntimeOptions) (_result *ChangeAccountEmailResponse, _err error)

func (*Client) CheckAccountDelete

func (client *Client) CheckAccountDelete(request *CheckAccountDeleteRequest) (_result *CheckAccountDeleteResponse, _err error)

*

  • Before you delete a member, you must call this API operation to check whether the member can be deleted.
  • This topic provides an example on how to call the API operation to perform a deletion check on the member whose ID is `179855839641****`. *
  • @param request CheckAccountDeleteRequest
  • @return CheckAccountDeleteResponse

func (*Client) CheckAccountDeleteWithOptions

func (client *Client) CheckAccountDeleteWithOptions(request *CheckAccountDeleteRequest, runtime *util.RuntimeOptions) (_result *CheckAccountDeleteResponse, _err error)

*

  • Before you delete a member, you must call this API operation to check whether the member can be deleted.
  • This topic provides an example on how to call the API operation to perform a deletion check on the member whose ID is `179855839641****`. *
  • @param request CheckAccountDeleteRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CheckAccountDeleteResponse

func (*Client) CreateCloudAccount

func (client *Client) CreateCloudAccount(request *CreateCloudAccountRequest) (_result *CreateCloudAccountResponse, _err error)

*

  • A resource directory supports two types of member accounts: resource accounts and cloud accounts.
  • * Resource account (recommended): A resource account is only used as a resource container and fully depends on a resource directory. Such member accounts are secure and easy-to-create. For more information about how to create a resource account, see [CreateResourceAccount](~~159392~~).
  • > A resource account can be upgraded to a cloud account. For more information, see [PromoteResourceAccount](~~159395~~) .
  • * Cloud account: A cloud account has all the features of an Alibaba Cloud account, including root permissions. *
  • @param request CreateCloudAccountRequest
  • @return CreateCloudAccountResponse

func (*Client) CreateCloudAccountWithOptions

func (client *Client) CreateCloudAccountWithOptions(request *CreateCloudAccountRequest, runtime *util.RuntimeOptions) (_result *CreateCloudAccountResponse, _err error)

*

  • A resource directory supports two types of member accounts: resource accounts and cloud accounts.
  • * Resource account (recommended): A resource account is only used as a resource container and fully depends on a resource directory. Such member accounts are secure and easy-to-create. For more information about how to create a resource account, see [CreateResourceAccount](~~159392~~).
  • > A resource account can be upgraded to a cloud account. For more information, see [PromoteResourceAccount](~~159395~~) .
  • * Cloud account: A cloud account has all the features of an Alibaba Cloud account, including root permissions. *
  • @param request CreateCloudAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateCloudAccountResponse

func (*Client) CreateControlPolicy

func (client *Client) CreateControlPolicy(request *CreateControlPolicyRequest) (_result *CreateControlPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to create a custom access control policy named `ExampleControlPolicy`. This access control policy is used to prohibit modifications to the ResourceDirectoryAccountAccessRole role and the permissions of the role. *
  • @param request CreateControlPolicyRequest
  • @return CreateControlPolicyResponse

func (*Client) CreateControlPolicyWithOptions

func (client *Client) CreateControlPolicyWithOptions(request *CreateControlPolicyRequest, runtime *util.RuntimeOptions) (_result *CreateControlPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to create a custom access control policy named `ExampleControlPolicy`. This access control policy is used to prohibit modifications to the ResourceDirectoryAccountAccessRole role and the permissions of the role. *
  • @param request CreateControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateControlPolicyResponse

func (*Client) CreateFolder

func (client *Client) CreateFolder(request *CreateFolderRequest) (_result *CreateFolderResponse, _err error)

*

  • > A maximum of five levels of folders can be created under the root folder.
  • In this example, a folder named `rdFolder` is created under the root folder. *
  • @param request CreateFolderRequest
  • @return CreateFolderResponse

func (*Client) CreateFolderWithOptions

func (client *Client) CreateFolderWithOptions(request *CreateFolderRequest, runtime *util.RuntimeOptions) (_result *CreateFolderResponse, _err error)

*

  • > A maximum of five levels of folders can be created under the root folder.
  • In this example, a folder named `rdFolder` is created under the root folder. *
  • @param request CreateFolderRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateFolderResponse

func (*Client) CreatePolicy

func (client *Client) CreatePolicy(request *CreatePolicyRequest) (_result *CreatePolicyResponse, _err error)

func (*Client) CreatePolicyVersion

func (client *Client) CreatePolicyVersion(request *CreatePolicyVersionRequest) (_result *CreatePolicyVersionResponse, _err error)

func (*Client) CreatePolicyVersionWithOptions

func (client *Client) CreatePolicyVersionWithOptions(request *CreatePolicyVersionRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyVersionResponse, _err error)

func (*Client) CreatePolicyWithOptions

func (client *Client) CreatePolicyWithOptions(request *CreatePolicyRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyResponse, _err error)

func (*Client) CreateResourceAccount

func (client *Client) CreateResourceAccount(request *CreateResourceAccountRequest) (_result *CreateResourceAccountResponse, _err error)

*

  • A member serves as a container for resources and is also an organizational unit in a resource directory. A member indicates a project or application. The resources of different members are isolated.
  • This topic provides an example on how to call the API operation to create a member in the `fd-r23M55****` folder. The display name of the member is `Dev`, and the prefix for the Alibaba Cloud account name of the member is `alice`. *
  • @param request CreateResourceAccountRequest
  • @return CreateResourceAccountResponse

func (*Client) CreateResourceAccountWithOptions

func (client *Client) CreateResourceAccountWithOptions(request *CreateResourceAccountRequest, runtime *util.RuntimeOptions) (_result *CreateResourceAccountResponse, _err error)

*

  • A member serves as a container for resources and is also an organizational unit in a resource directory. A member indicates a project or application. The resources of different members are isolated.
  • This topic provides an example on how to call the API operation to create a member in the `fd-r23M55****` folder. The display name of the member is `Dev`, and the prefix for the Alibaba Cloud account name of the member is `alice`. *
  • @param request CreateResourceAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateResourceAccountResponse

func (*Client) CreateResourceGroup

func (client *Client) CreateResourceGroup(request *CreateResourceGroupRequest) (_result *CreateResourceGroupResponse, _err error)

*

  • > A maximum of 30 resource groups can be created within an Alibaba Cloud account. *
  • @param request CreateResourceGroupRequest
  • @return CreateResourceGroupResponse

func (*Client) CreateResourceGroupWithOptions

func (client *Client) CreateResourceGroupWithOptions(request *CreateResourceGroupRequest, runtime *util.RuntimeOptions) (_result *CreateResourceGroupResponse, _err error)

*

  • > A maximum of 30 resource groups can be created within an Alibaba Cloud account. *
  • @param request CreateResourceGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateResourceGroupResponse

func (*Client) CreateRole

func (client *Client) CreateRole(request *CreateRoleRequest) (_result *CreateRoleResponse, _err error)

func (*Client) CreateRoleWithOptions

func (client *Client) CreateRoleWithOptions(request *CreateRoleRequest, runtime *util.RuntimeOptions) (_result *CreateRoleResponse, _err error)

func (*Client) CreateServiceLinkedRole

func (client *Client) CreateServiceLinkedRole(request *CreateServiceLinkedRoleRequest) (_result *CreateServiceLinkedRoleResponse, _err error)

func (*Client) CreateServiceLinkedRoleWithOptions

func (client *Client) CreateServiceLinkedRoleWithOptions(request *CreateServiceLinkedRoleRequest, runtime *util.RuntimeOptions) (_result *CreateServiceLinkedRoleResponse, _err error)

func (*Client) DeclineHandshake

func (client *Client) DeclineHandshake(request *DeclineHandshakeRequest) (_result *DeclineHandshakeResponse, _err error)

func (*Client) DeclineHandshakeWithOptions

func (client *Client) DeclineHandshakeWithOptions(request *DeclineHandshakeRequest, runtime *util.RuntimeOptions) (_result *DeclineHandshakeResponse, _err error)

func (*Client) DeleteAccount

func (client *Client) DeleteAccount(request *DeleteAccountRequest) (_result *DeleteAccountResponse, _err error)

*

  • The ID of the member that you want to delete. *
  • @param request DeleteAccountRequest
  • @return DeleteAccountResponse

func (*Client) DeleteAccountWithOptions

func (client *Client) DeleteAccountWithOptions(tmpReq *DeleteAccountRequest, runtime *util.RuntimeOptions) (_result *DeleteAccountResponse, _err error)

*

  • The ID of the member that you want to delete. *
  • @param tmpReq DeleteAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAccountResponse

func (*Client) DeleteControlPolicy

func (client *Client) DeleteControlPolicy(request *DeleteControlPolicyRequest) (_result *DeleteControlPolicyResponse, _err error)

*

  • If you want to delete a custom control policy that is attached to folders or member accounts, you must call the [DetachControlPolicy](~~208331~~) operation to detach the policy before you delete it.
  • In this example, the custom control policy `cp-SImPt8GCEwiq****` is deleted. *
  • @param request DeleteControlPolicyRequest
  • @return DeleteControlPolicyResponse

func (*Client) DeleteControlPolicyWithOptions

func (client *Client) DeleteControlPolicyWithOptions(request *DeleteControlPolicyRequest, runtime *util.RuntimeOptions) (_result *DeleteControlPolicyResponse, _err error)

*

  • If you want to delete a custom control policy that is attached to folders or member accounts, you must call the [DetachControlPolicy](~~208331~~) operation to detach the policy before you delete it.
  • In this example, the custom control policy `cp-SImPt8GCEwiq****` is deleted. *
  • @param request DeleteControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteControlPolicyResponse

func (*Client) DeleteFolder

func (client *Client) DeleteFolder(request *DeleteFolderRequest) (_result *DeleteFolderResponse, _err error)

*

  • > Before you delete a folder, make sure that the folder does not contain any member accounts or child folders. *
  • @param request DeleteFolderRequest
  • @return DeleteFolderResponse

func (*Client) DeleteFolderWithOptions

func (client *Client) DeleteFolderWithOptions(request *DeleteFolderRequest, runtime *util.RuntimeOptions) (_result *DeleteFolderResponse, _err error)

*

  • > Before you delete a folder, make sure that the folder does not contain any member accounts or child folders. *
  • @param request DeleteFolderRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteFolderResponse

func (*Client) DeletePolicy

func (client *Client) DeletePolicy(request *DeletePolicyRequest) (_result *DeletePolicyResponse, _err error)

*

  • >
  • * Before you delete a policy, you must delete all non-default versions of the policy. For more information about how to delete a policy version, see [DeletePolicyVersion](~~159041~~).
  • * Before you delete a policy, make sure that the policy is not referenced. This means that the policy is not attached to RAM users, RAM user groups, or RAM roles. For more information about how to detach a policy, see [DetachPolicy](~~159168~~). *
  • @param request DeletePolicyRequest
  • @return DeletePolicyResponse

func (*Client) DeletePolicyVersion

func (client *Client) DeletePolicyVersion(request *DeletePolicyVersionRequest) (_result *DeletePolicyVersionResponse, _err error)

*

  • > The default version of a permission policy cannot be deleted. *
  • @param request DeletePolicyVersionRequest
  • @return DeletePolicyVersionResponse

func (*Client) DeletePolicyVersionWithOptions

func (client *Client) DeletePolicyVersionWithOptions(request *DeletePolicyVersionRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyVersionResponse, _err error)

*

  • > The default version of a permission policy cannot be deleted. *
  • @param request DeletePolicyVersionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeletePolicyVersionResponse

func (*Client) DeletePolicyWithOptions

func (client *Client) DeletePolicyWithOptions(request *DeletePolicyRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyResponse, _err error)

*

  • >
  • * Before you delete a policy, you must delete all non-default versions of the policy. For more information about how to delete a policy version, see [DeletePolicyVersion](~~159041~~).
  • * Before you delete a policy, make sure that the policy is not referenced. This means that the policy is not attached to RAM users, RAM user groups, or RAM roles. For more information about how to detach a policy, see [DetachPolicy](~~159168~~). *
  • @param request DeletePolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeletePolicyResponse

func (*Client) DeleteResourceGroup

func (client *Client) DeleteResourceGroup(request *DeleteResourceGroupRequest) (_result *DeleteResourceGroupResponse, _err error)

*

  • > Before you delete a resource group, you must delete all the resources in it.
  • In this example, the resource group whose ID is `rg-9gLOoK****` is deleted. *
  • @param request DeleteResourceGroupRequest
  • @return DeleteResourceGroupResponse

func (*Client) DeleteResourceGroupWithOptions

func (client *Client) DeleteResourceGroupWithOptions(request *DeleteResourceGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteResourceGroupResponse, _err error)

*

  • > Before you delete a resource group, you must delete all the resources in it.
  • In this example, the resource group whose ID is `rg-9gLOoK****` is deleted. *
  • @param request DeleteResourceGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteResourceGroupResponse

func (*Client) DeleteRole

func (client *Client) DeleteRole(request *DeleteRoleRequest) (_result *DeleteRoleResponse, _err error)

func (*Client) DeleteRoleWithOptions

func (client *Client) DeleteRoleWithOptions(request *DeleteRoleRequest, runtime *util.RuntimeOptions) (_result *DeleteRoleResponse, _err error)

func (*Client) DeleteServiceLinkedRole

func (client *Client) DeleteServiceLinkedRole(request *DeleteServiceLinkedRoleRequest) (_result *DeleteServiceLinkedRoleResponse, _err error)

func (*Client) DeleteServiceLinkedRoleWithOptions

func (client *Client) DeleteServiceLinkedRoleWithOptions(request *DeleteServiceLinkedRoleRequest, runtime *util.RuntimeOptions) (_result *DeleteServiceLinkedRoleResponse, _err error)

func (*Client) DeregisterDelegatedAdministrator

func (client *Client) DeregisterDelegatedAdministrator(request *DeregisterDelegatedAdministratorRequest) (_result *DeregisterDelegatedAdministratorResponse, _err error)

*

  • > If the delegated administrator account that you want to remove has historical management tasks in the related trusted service, the trusted service may be affected after the delegated administrator account is removed. Therefore, proceed with caution.
  • This topic provides an example on how to call the API operation to remove the delegated administrator account `181761095690****` for Cloud Firewall. *
  • @param request DeregisterDelegatedAdministratorRequest
  • @return DeregisterDelegatedAdministratorResponse

func (*Client) DeregisterDelegatedAdministratorWithOptions

func (client *Client) DeregisterDelegatedAdministratorWithOptions(request *DeregisterDelegatedAdministratorRequest, runtime *util.RuntimeOptions) (_result *DeregisterDelegatedAdministratorResponse, _err error)

*

  • > If the delegated administrator account that you want to remove has historical management tasks in the related trusted service, the trusted service may be affected after the delegated administrator account is removed. Therefore, proceed with caution.
  • This topic provides an example on how to call the API operation to remove the delegated administrator account `181761095690****` for Cloud Firewall. *
  • @param request DeregisterDelegatedAdministratorRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeregisterDelegatedAdministratorResponse

func (*Client) DestroyResourceDirectory

func (client *Client) DestroyResourceDirectory() (_result *DestroyResourceDirectoryResponse, _err error)

*

  • Before you disable a resource directory, make sure that the following requirements are met:
  • * All member accounts must be removed from the resource directory. For more information about how to remove a member account, see [RemoveCloudAccount](~~159431~~).
  • * All folders except the root folder must be deleted from the resource directory. For more information about how to delete a folder, see [DeleteFolder](~~159432~~). *
  • @return DestroyResourceDirectoryResponse

func (*Client) DestroyResourceDirectoryWithOptions

func (client *Client) DestroyResourceDirectoryWithOptions(runtime *util.RuntimeOptions) (_result *DestroyResourceDirectoryResponse, _err error)

*

  • Before you disable a resource directory, make sure that the following requirements are met:
  • * All member accounts must be removed from the resource directory. For more information about how to remove a member account, see [RemoveCloudAccount](~~159431~~).
  • * All folders except the root folder must be deleted from the resource directory. For more information about how to delete a folder, see [DeleteFolder](~~159432~~). *
  • @param request DestroyResourceDirectoryRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DestroyResourceDirectoryResponse

func (*Client) DetachControlPolicy

func (client *Client) DetachControlPolicy(request *DetachControlPolicyRequest) (_result *DetachControlPolicyResponse, _err error)

*

  • After you detach an access control policy, the operations performed on resources by using members are not limited by the policy. Make sure that the detached policy meets your expectations. Otherwise, your business may be affected.
  • Both the system and custom access control policies can be detached. If an object has only one access control policy attached, the policy cannot be detached.
  • This topic provides an example on how to call the API operation to detach the custom control policy `cp-jExXAqIYkwHN****` from the folder `fd-ZDNPiT****`. *
  • @param request DetachControlPolicyRequest
  • @return DetachControlPolicyResponse

func (*Client) DetachControlPolicyWithOptions

func (client *Client) DetachControlPolicyWithOptions(request *DetachControlPolicyRequest, runtime *util.RuntimeOptions) (_result *DetachControlPolicyResponse, _err error)

*

  • After you detach an access control policy, the operations performed on resources by using members are not limited by the policy. Make sure that the detached policy meets your expectations. Otherwise, your business may be affected.
  • Both the system and custom access control policies can be detached. If an object has only one access control policy attached, the policy cannot be detached.
  • This topic provides an example on how to call the API operation to detach the custom control policy `cp-jExXAqIYkwHN****` from the folder `fd-ZDNPiT****`. *
  • @param request DetachControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DetachControlPolicyResponse

func (*Client) DetachPolicy

func (client *Client) DetachPolicy(request *DetachPolicyRequest) (_result *DetachPolicyResponse, _err error)

func (*Client) DetachPolicyWithOptions

func (client *Client) DetachPolicyWithOptions(request *DetachPolicyRequest, runtime *util.RuntimeOptions) (_result *DetachPolicyResponse, _err error)

func (*Client) DisableAssociatedTransfer added in v3.1.0

func (client *Client) DisableAssociatedTransfer() (_result *DisableAssociatedTransferResponse, _err error)

func (*Client) DisableAssociatedTransferWithOptions added in v3.1.0

func (client *Client) DisableAssociatedTransferWithOptions(runtime *util.RuntimeOptions) (_result *DisableAssociatedTransferResponse, _err error)

func (*Client) DisableControlPolicy

func (client *Client) DisableControlPolicy() (_result *DisableControlPolicyResponse, _err error)

*

  • After you disable the Control Policy feature, the system automatically detaches all control policies that are attached to folders and member accounts. The system does not delete these control policies, but you cannot attach them to folders or member accounts again.
  • > If you disable the Control Policy feature, the permissions of all folders and member accounts in a resource directory are affected. You must proceed with caution. *
  • @return DisableControlPolicyResponse

func (*Client) DisableControlPolicyWithOptions

func (client *Client) DisableControlPolicyWithOptions(runtime *util.RuntimeOptions) (_result *DisableControlPolicyResponse, _err error)

*

  • After you disable the Control Policy feature, the system automatically detaches all control policies that are attached to folders and member accounts. The system does not delete these control policies, but you cannot attach them to folders or member accounts again.
  • > If you disable the Control Policy feature, the permissions of all folders and member accounts in a resource directory are affected. You must proceed with caution. *
  • @param request DisableControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DisableControlPolicyResponse

func (*Client) EnableAssociatedTransfer added in v3.1.0

func (client *Client) EnableAssociatedTransfer() (_result *EnableAssociatedTransferResponse, _err error)

func (*Client) EnableAssociatedTransferWithOptions added in v3.1.0

func (client *Client) EnableAssociatedTransferWithOptions(runtime *util.RuntimeOptions) (_result *EnableAssociatedTransferResponse, _err error)

func (*Client) EnableControlPolicy

func (client *Client) EnableControlPolicy() (_result *EnableControlPolicyResponse, _err error)

*

  • The Control Policy feature allows you to manage the permission boundaries of the folders or member accounts in a resource directory in a centralized manner. This feature is implemented based on the resource directory. You can use this feature to develop common or dedicated rules for access control. The Control Policy feature does not grant permissions but only defines permission boundaries. A member account in a resource directory can be used to access resources only after it is granted the required permissions by using the Resource Access Management (RAM) service. For more information, see [Overview of the Control Policy feature](~~178671~~). *
  • @return EnableControlPolicyResponse

func (*Client) EnableControlPolicyWithOptions

func (client *Client) EnableControlPolicyWithOptions(runtime *util.RuntimeOptions) (_result *EnableControlPolicyResponse, _err error)

*

  • The Control Policy feature allows you to manage the permission boundaries of the folders or member accounts in a resource directory in a centralized manner. This feature is implemented based on the resource directory. You can use this feature to develop common or dedicated rules for access control. The Control Policy feature does not grant permissions but only defines permission boundaries. A member account in a resource directory can be used to access resources only after it is granted the required permissions by using the Resource Access Management (RAM) service. For more information, see [Overview of the Control Policy feature](~~178671~~). *
  • @param request EnableControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EnableControlPolicyResponse

func (*Client) EnableResourceDirectory

func (client *Client) EnableResourceDirectory(request *EnableResourceDirectoryRequest) (_result *EnableResourceDirectoryResponse, _err error)

*

  • You can use the current account or a newly created account to enable a resource directory. For more information, see [Enable a resource directory](~~111215~~).
  • In this example, the current account is used to enable a resource directory. *
  • @param request EnableResourceDirectoryRequest
  • @return EnableResourceDirectoryResponse

func (*Client) EnableResourceDirectoryWithOptions

func (client *Client) EnableResourceDirectoryWithOptions(request *EnableResourceDirectoryRequest, runtime *util.RuntimeOptions) (_result *EnableResourceDirectoryResponse, _err error)

*

  • You can use the current account or a newly created account to enable a resource directory. For more information, see [Enable a resource directory](~~111215~~).
  • In this example, the current account is used to enable a resource directory. *
  • @param request EnableResourceDirectoryRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EnableResourceDirectoryResponse

func (*Client) GetAccount

func (client *Client) GetAccount(request *GetAccountRequest) (_result *GetAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the information of the member whose Alibaba Cloud account ID is `181761095690****`. *
  • @param request GetAccountRequest
  • @return GetAccountResponse

func (*Client) GetAccountDeletionCheckResult

func (client *Client) GetAccountDeletionCheckResult(request *GetAccountDeletionCheckResultRequest) (_result *GetAccountDeletionCheckResultResponse, _err error)

*

  • After you call the [CheckAccountDelete](~~448542~~) operation to perform a member deletion check, you can call the GetAccountDeletionCheckResult operation to query the check result. If the check result shows that the member meets deletion requirements, you can delete the member. Otherwise, you need to first modify the items that do not meet requirements.
  • This topic provides an example on how to call the API operation to query the result of the deletion check for the member whose ID is `179855839641****`. The response shows that the member does not meet deletion requirements. *
  • @param request GetAccountDeletionCheckResultRequest
  • @return GetAccountDeletionCheckResultResponse

func (*Client) GetAccountDeletionCheckResultWithOptions

func (client *Client) GetAccountDeletionCheckResultWithOptions(request *GetAccountDeletionCheckResultRequest, runtime *util.RuntimeOptions) (_result *GetAccountDeletionCheckResultResponse, _err error)

*

  • After you call the [CheckAccountDelete](~~448542~~) operation to perform a member deletion check, you can call the GetAccountDeletionCheckResult operation to query the check result. If the check result shows that the member meets deletion requirements, you can delete the member. Otherwise, you need to first modify the items that do not meet requirements.
  • This topic provides an example on how to call the API operation to query the result of the deletion check for the member whose ID is `179855839641****`. The response shows that the member does not meet deletion requirements. *
  • @param request GetAccountDeletionCheckResultRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetAccountDeletionCheckResultResponse

func (*Client) GetAccountDeletionStatus

func (client *Client) GetAccountDeletionStatus(request *GetAccountDeletionStatusRequest) (_result *GetAccountDeletionStatusResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the deletion status of the member whose Alibaba Cloud account ID is `169946124551****`. The response shows that the member is deleted. *
  • @param request GetAccountDeletionStatusRequest
  • @return GetAccountDeletionStatusResponse

func (*Client) GetAccountDeletionStatusWithOptions

func (client *Client) GetAccountDeletionStatusWithOptions(request *GetAccountDeletionStatusRequest, runtime *util.RuntimeOptions) (_result *GetAccountDeletionStatusResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the deletion status of the member whose Alibaba Cloud account ID is `169946124551****`. The response shows that the member is deleted. *
  • @param request GetAccountDeletionStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetAccountDeletionStatusResponse

func (*Client) GetAccountWithOptions

func (client *Client) GetAccountWithOptions(request *GetAccountRequest, runtime *util.RuntimeOptions) (_result *GetAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the information of the member whose Alibaba Cloud account ID is `181761095690****`. *
  • @param request GetAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetAccountResponse

func (*Client) GetControlPolicy

func (client *Client) GetControlPolicy(request *GetControlPolicyRequest) (_result *GetControlPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the details of the access control policy whose ID is `cp-SImPt8GCEwiq****`. *
  • @param request GetControlPolicyRequest
  • @return GetControlPolicyResponse

func (*Client) GetControlPolicyEnablementStatus

func (client *Client) GetControlPolicyEnablementStatus() (_result *GetControlPolicyEnablementStatusResponse, _err error)

func (*Client) GetControlPolicyEnablementStatusWithOptions

func (client *Client) GetControlPolicyEnablementStatusWithOptions(runtime *util.RuntimeOptions) (_result *GetControlPolicyEnablementStatusResponse, _err error)

func (*Client) GetControlPolicyWithOptions

func (client *Client) GetControlPolicyWithOptions(request *GetControlPolicyRequest, runtime *util.RuntimeOptions) (_result *GetControlPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the details of the access control policy whose ID is `cp-SImPt8GCEwiq****`. *
  • @param request GetControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetControlPolicyResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetFolder

func (client *Client) GetFolder(request *GetFolderRequest) (_result *GetFolderResponse, _err error)

*

  • In this example, the information of the folder `fd-Jyl5U7****` is queried. *
  • @param request GetFolderRequest
  • @return GetFolderResponse

func (*Client) GetFolderWithOptions

func (client *Client) GetFolderWithOptions(request *GetFolderRequest, runtime *util.RuntimeOptions) (_result *GetFolderResponse, _err error)

*

  • In this example, the information of the folder `fd-Jyl5U7****` is queried. *
  • @param request GetFolderRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetFolderResponse

func (*Client) GetHandshake

func (client *Client) GetHandshake(request *GetHandshakeRequest) (_result *GetHandshakeResponse, _err error)

*

  • In this example, the information of the invitation whose ID is `h-ycm4rp****` is queried. *
  • @param request GetHandshakeRequest
  • @return GetHandshakeResponse

func (*Client) GetHandshakeWithOptions

func (client *Client) GetHandshakeWithOptions(request *GetHandshakeRequest, runtime *util.RuntimeOptions) (_result *GetHandshakeResponse, _err error)

*

  • In this example, the information of the invitation whose ID is `h-ycm4rp****` is queried. *
  • @param request GetHandshakeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetHandshakeResponse

func (*Client) GetPayerForAccount

func (client *Client) GetPayerForAccount(request *GetPayerForAccountRequest) (_result *GetPayerForAccountResponse, _err error)

func (*Client) GetPayerForAccountWithOptions

func (client *Client) GetPayerForAccountWithOptions(request *GetPayerForAccountRequest, runtime *util.RuntimeOptions) (_result *GetPayerForAccountResponse, _err error)

func (*Client) GetPolicy

func (client *Client) GetPolicy(request *GetPolicyRequest) (_result *GetPolicyResponse, _err error)

func (*Client) GetPolicyVersion

func (client *Client) GetPolicyVersion(request *GetPolicyVersionRequest) (_result *GetPolicyVersionResponse, _err error)

func (*Client) GetPolicyVersionWithOptions

func (client *Client) GetPolicyVersionWithOptions(request *GetPolicyVersionRequest, runtime *util.RuntimeOptions) (_result *GetPolicyVersionResponse, _err error)

func (*Client) GetPolicyWithOptions

func (client *Client) GetPolicyWithOptions(request *GetPolicyRequest, runtime *util.RuntimeOptions) (_result *GetPolicyResponse, _err error)

func (*Client) GetResourceDirectory

func (client *Client) GetResourceDirectory() (_result *GetResourceDirectoryResponse, _err error)

*

  • This topic provides an example on how to use a management account to call the API operation to query the information of the resource directory that is enabled by using the management account. *
  • @return GetResourceDirectoryResponse

func (*Client) GetResourceDirectoryWithOptions

func (client *Client) GetResourceDirectoryWithOptions(runtime *util.RuntimeOptions) (_result *GetResourceDirectoryResponse, _err error)

*

  • This topic provides an example on how to use a management account to call the API operation to query the information of the resource directory that is enabled by using the management account. *
  • @param request GetResourceDirectoryRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetResourceDirectoryResponse

func (*Client) GetResourceGroup

func (client *Client) GetResourceGroup(request *GetResourceGroupRequest) (_result *GetResourceGroupResponse, _err error)

*

  • For more information about common request parameters, see [Common parameters](~~159973~~). *
  • @param request GetResourceGroupRequest
  • @return GetResourceGroupResponse

func (*Client) GetResourceGroupWithOptions

func (client *Client) GetResourceGroupWithOptions(request *GetResourceGroupRequest, runtime *util.RuntimeOptions) (_result *GetResourceGroupResponse, _err error)

*

  • For more information about common request parameters, see [Common parameters](~~159973~~). *
  • @param request GetResourceGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetResourceGroupResponse

func (*Client) GetRole

func (client *Client) GetRole(request *GetRoleRequest) (_result *GetRoleResponse, _err error)

func (*Client) GetRoleWithOptions

func (client *Client) GetRoleWithOptions(request *GetRoleRequest, runtime *util.RuntimeOptions) (_result *GetRoleResponse, _err error)

func (*Client) GetServiceLinkedRoleDeletionStatus

func (client *Client) GetServiceLinkedRoleDeletionStatus(request *GetServiceLinkedRoleDeletionStatusRequest) (_result *GetServiceLinkedRoleDeletionStatusResponse, _err error)

func (*Client) GetServiceLinkedRoleDeletionStatusWithOptions

func (client *Client) GetServiceLinkedRoleDeletionStatusWithOptions(request *GetServiceLinkedRoleDeletionStatusRequest, runtime *util.RuntimeOptions) (_result *GetServiceLinkedRoleDeletionStatusResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) InitResourceDirectory

func (client *Client) InitResourceDirectory() (_result *InitResourceDirectoryResponse, _err error)

*

  • >
  • * An account can be used to enable a resource directory only after it passes enterprise real-name verification. An account that only passed individual real-name verification cannot be used to enable a resource directory.
  • * We recommend that you only use the enterprise management account as the administrator of the resource directory. Do not use the enterprise management account to purchase cloud resources. *
  • @return InitResourceDirectoryResponse

func (*Client) InitResourceDirectoryWithOptions

func (client *Client) InitResourceDirectoryWithOptions(runtime *util.RuntimeOptions) (_result *InitResourceDirectoryResponse, _err error)

*

  • >
  • * An account can be used to enable a resource directory only after it passes enterprise real-name verification. An account that only passed individual real-name verification cannot be used to enable a resource directory.
  • * We recommend that you only use the enterprise management account as the administrator of the resource directory. Do not use the enterprise management account to purchase cloud resources. *
  • @param request InitResourceDirectoryRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return InitResourceDirectoryResponse

func (*Client) InviteAccountToResourceDirectory

func (client *Client) InviteAccountToResourceDirectory(request *InviteAccountToResourceDirectoryRequest) (_result *InviteAccountToResourceDirectoryResponse, _err error)

*

  • This topic provides an example on how to call the API operation to invite the account `someone@example.com` to join a resource directory. *
  • @param request InviteAccountToResourceDirectoryRequest
  • @return InviteAccountToResourceDirectoryResponse

func (*Client) InviteAccountToResourceDirectoryWithOptions

func (client *Client) InviteAccountToResourceDirectoryWithOptions(request *InviteAccountToResourceDirectoryRequest, runtime *util.RuntimeOptions) (_result *InviteAccountToResourceDirectoryResponse, _err error)

*

  • This topic provides an example on how to call the API operation to invite the account `someone@example.com` to join a resource directory. *
  • @param request InviteAccountToResourceDirectoryRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return InviteAccountToResourceDirectoryResponse

func (*Client) ListAccounts

func (client *Client) ListAccounts(request *ListAccountsRequest) (_result *ListAccountsResponse, _err error)

*

  • You can use only the management account of a resource directory or a delegated administrator account of a trusted service to call this operation. *
  • @param request ListAccountsRequest
  • @return ListAccountsResponse

func (*Client) ListAccountsForParent

func (client *Client) ListAccountsForParent(request *ListAccountsForParentRequest) (_result *ListAccountsForParentResponse, _err error)

func (*Client) ListAccountsForParentWithOptions

func (client *Client) ListAccountsForParentWithOptions(request *ListAccountsForParentRequest, runtime *util.RuntimeOptions) (_result *ListAccountsForParentResponse, _err error)

func (*Client) ListAccountsWithOptions

func (client *Client) ListAccountsWithOptions(request *ListAccountsRequest, runtime *util.RuntimeOptions) (_result *ListAccountsResponse, _err error)

*

  • You can use only the management account of a resource directory or a delegated administrator account of a trusted service to call this operation. *
  • @param request ListAccountsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListAccountsResponse

func (*Client) ListAncestors

func (client *Client) ListAncestors(request *ListAncestorsRequest) (_result *ListAncestorsResponse, _err error)

func (*Client) ListAncestorsWithOptions

func (client *Client) ListAncestorsWithOptions(request *ListAncestorsRequest, runtime *util.RuntimeOptions) (_result *ListAncestorsResponse, _err error)

func (*Client) ListAssociatedTransferSetting added in v3.2.0

func (client *Client) ListAssociatedTransferSetting() (_result *ListAssociatedTransferSettingResponse, _err error)

func (*Client) ListAssociatedTransferSettingWithOptions added in v3.2.0

func (client *Client) ListAssociatedTransferSettingWithOptions(runtime *util.RuntimeOptions) (_result *ListAssociatedTransferSettingResponse, _err error)

func (*Client) ListControlPolicies

func (client *Client) ListControlPolicies(request *ListControlPoliciesRequest) (_result *ListControlPoliciesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the system access control policies within a resource directory. The response shows that the resource directory has only one system access control policy. The policy is named `FullAliyunAccess`. *
  • @param request ListControlPoliciesRequest
  • @return ListControlPoliciesResponse

func (*Client) ListControlPoliciesWithOptions

func (client *Client) ListControlPoliciesWithOptions(request *ListControlPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListControlPoliciesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the system access control policies within a resource directory. The response shows that the resource directory has only one system access control policy. The policy is named `FullAliyunAccess`. *
  • @param request ListControlPoliciesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListControlPoliciesResponse

func (*Client) ListControlPolicyAttachmentsForTarget

func (client *Client) ListControlPolicyAttachmentsForTarget(request *ListControlPolicyAttachmentsForTargetRequest) (_result *ListControlPolicyAttachmentsForTargetResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the access control policies that are attached to the folder `fd-ZDNPiT****`. *
  • @param request ListControlPolicyAttachmentsForTargetRequest
  • @return ListControlPolicyAttachmentsForTargetResponse

func (*Client) ListControlPolicyAttachmentsForTargetWithOptions

func (client *Client) ListControlPolicyAttachmentsForTargetWithOptions(request *ListControlPolicyAttachmentsForTargetRequest, runtime *util.RuntimeOptions) (_result *ListControlPolicyAttachmentsForTargetResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the access control policies that are attached to the folder `fd-ZDNPiT****`. *
  • @param request ListControlPolicyAttachmentsForTargetRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListControlPolicyAttachmentsForTargetResponse

func (*Client) ListDelegatedAdministrators

func (client *Client) ListDelegatedAdministrators(request *ListDelegatedAdministratorsRequest) (_result *ListDelegatedAdministratorsResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query all delegated administrator accounts in a resource directory. The response shows that two delegated administrator accounts for Cloud Firewall exist in the resource directory. *
  • @param request ListDelegatedAdministratorsRequest
  • @return ListDelegatedAdministratorsResponse

func (*Client) ListDelegatedAdministratorsWithOptions

func (client *Client) ListDelegatedAdministratorsWithOptions(request *ListDelegatedAdministratorsRequest, runtime *util.RuntimeOptions) (_result *ListDelegatedAdministratorsResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query all delegated administrator accounts in a resource directory. The response shows that two delegated administrator accounts for Cloud Firewall exist in the resource directory. *
  • @param request ListDelegatedAdministratorsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListDelegatedAdministratorsResponse

func (*Client) ListDelegatedServicesForAccount

func (client *Client) ListDelegatedServicesForAccount(request *ListDelegatedServicesForAccountRequest) (_result *ListDelegatedServicesForAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the trusted services for which the member `138660628348****` is specified as a delegated administrator account. The response shows that the member is specified as a delegated administrator account of Cloud Firewall. *
  • @param request ListDelegatedServicesForAccountRequest
  • @return ListDelegatedServicesForAccountResponse

func (*Client) ListDelegatedServicesForAccountWithOptions

func (client *Client) ListDelegatedServicesForAccountWithOptions(request *ListDelegatedServicesForAccountRequest, runtime *util.RuntimeOptions) (_result *ListDelegatedServicesForAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the trusted services for which the member `138660628348****` is specified as a delegated administrator account. The response shows that the member is specified as a delegated administrator account of Cloud Firewall. *
  • @param request ListDelegatedServicesForAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListDelegatedServicesForAccountResponse

func (*Client) ListFoldersForParent

func (client *Client) ListFoldersForParent(request *ListFoldersForParentRequest) (_result *ListFoldersForParentResponse, _err error)

*

  • > You can view the information of only the first-level subfolders of a folder. *
  • @param request ListFoldersForParentRequest
  • @return ListFoldersForParentResponse

func (*Client) ListFoldersForParentWithOptions

func (client *Client) ListFoldersForParentWithOptions(request *ListFoldersForParentRequest, runtime *util.RuntimeOptions) (_result *ListFoldersForParentResponse, _err error)

*

  • > You can view the information of only the first-level subfolders of a folder. *
  • @param request ListFoldersForParentRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListFoldersForParentResponse

func (*Client) ListHandshakesForAccount

func (client *Client) ListHandshakesForAccount(request *ListHandshakesForAccountRequest) (_result *ListHandshakesForAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the invitations that are associated with the management account `172841235500****`. The response shows that two invitations are associated with the management account. *
  • @param request ListHandshakesForAccountRequest
  • @return ListHandshakesForAccountResponse

func (*Client) ListHandshakesForAccountWithOptions

func (client *Client) ListHandshakesForAccountWithOptions(request *ListHandshakesForAccountRequest, runtime *util.RuntimeOptions) (_result *ListHandshakesForAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the invitations that are associated with the management account `172841235500****`. The response shows that two invitations are associated with the management account. *
  • @param request ListHandshakesForAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListHandshakesForAccountResponse

func (*Client) ListHandshakesForResourceDirectory

func (client *Client) ListHandshakesForResourceDirectory(request *ListHandshakesForResourceDirectoryRequest) (_result *ListHandshakesForResourceDirectoryResponse, _err error)

func (*Client) ListHandshakesForResourceDirectoryWithOptions

func (client *Client) ListHandshakesForResourceDirectoryWithOptions(request *ListHandshakesForResourceDirectoryRequest, runtime *util.RuntimeOptions) (_result *ListHandshakesForResourceDirectoryResponse, _err error)

func (*Client) ListPolicies

func (client *Client) ListPolicies(request *ListPoliciesRequest) (_result *ListPoliciesResponse, _err error)

func (*Client) ListPoliciesWithOptions

func (client *Client) ListPoliciesWithOptions(request *ListPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesResponse, _err error)

func (*Client) ListPolicyAttachments

func (client *Client) ListPolicyAttachments(request *ListPolicyAttachmentsRequest) (_result *ListPolicyAttachmentsResponse, _err error)

*

  • You can view the following information:
  • * Policy attachment records under an Alibaba Cloud account or a resource group
  • * Policies attached to RAM users, RAM user groups, or RAM roles
  • * RAM users, RAM user groups, or RAM roles to which policies are attached under an Alibaba Cloud account or a resource group *
  • @param request ListPolicyAttachmentsRequest
  • @return ListPolicyAttachmentsResponse

func (*Client) ListPolicyAttachmentsWithOptions

func (client *Client) ListPolicyAttachmentsWithOptions(request *ListPolicyAttachmentsRequest, runtime *util.RuntimeOptions) (_result *ListPolicyAttachmentsResponse, _err error)

*

  • You can view the following information:
  • * Policy attachment records under an Alibaba Cloud account or a resource group
  • * Policies attached to RAM users, RAM user groups, or RAM roles
  • * RAM users, RAM user groups, or RAM roles to which policies are attached under an Alibaba Cloud account or a resource group *
  • @param request ListPolicyAttachmentsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListPolicyAttachmentsResponse

func (*Client) ListPolicyVersions

func (client *Client) ListPolicyVersions(request *ListPolicyVersionsRequest) (_result *ListPolicyVersionsResponse, _err error)

func (*Client) ListPolicyVersionsWithOptions

func (client *Client) ListPolicyVersionsWithOptions(request *ListPolicyVersionsRequest, runtime *util.RuntimeOptions) (_result *ListPolicyVersionsResponse, _err error)

func (*Client) ListResourceGroups

func (client *Client) ListResourceGroups(request *ListResourceGroupsRequest) (_result *ListResourceGroupsResponse, _err error)

*

  • You can call this API operation to query all resource groups within the current account. You can also call this API operation to query a specific resource group based on the status, ID, identifier, or display name of the resource group.
  • This topic provides an example on how to call the API operation to query the basic information about the resource groups `rg-1hSBH2****` and `rg-9gLOoK****` within the current account. *
  • @param request ListResourceGroupsRequest
  • @return ListResourceGroupsResponse

func (*Client) ListResourceGroupsWithOptions

func (client *Client) ListResourceGroupsWithOptions(request *ListResourceGroupsRequest, runtime *util.RuntimeOptions) (_result *ListResourceGroupsResponse, _err error)

*

  • You can call this API operation to query all resource groups within the current account. You can also call this API operation to query a specific resource group based on the status, ID, identifier, or display name of the resource group.
  • This topic provides an example on how to call the API operation to query the basic information about the resource groups `rg-1hSBH2****` and `rg-9gLOoK****` within the current account. *
  • @param request ListResourceGroupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListResourceGroupsResponse

func (*Client) ListResources

func (client *Client) ListResources(request *ListResourcesRequest) (_result *ListResourcesResponse, _err error)

*

  • > You can use a RAM role that is not associated with a session policy to call this API operation.
  • This topic provides an example on how to call the API operation to query resources that can be accessed by the current account in resource groups. The response shows that the current account can access only the Elastic Compute Service (ECS) instance `i-23v38****` in the resource group `rg-uPJpP****`. *
  • @param request ListResourcesRequest
  • @return ListResourcesResponse

func (*Client) ListResourcesWithOptions

func (client *Client) ListResourcesWithOptions(request *ListResourcesRequest, runtime *util.RuntimeOptions) (_result *ListResourcesResponse, _err error)

*

  • > You can use a RAM role that is not associated with a session policy to call this API operation.
  • This topic provides an example on how to call the API operation to query resources that can be accessed by the current account in resource groups. The response shows that the current account can access only the Elastic Compute Service (ECS) instance `i-23v38****` in the resource group `rg-uPJpP****`. *
  • @param request ListResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListResourcesResponse

func (*Client) ListRoles

func (client *Client) ListRoles(request *ListRolesRequest) (_result *ListRolesResponse, _err error)

func (*Client) ListRolesWithOptions

func (client *Client) ListRolesWithOptions(request *ListRolesRequest, runtime *util.RuntimeOptions) (_result *ListRolesResponse, _err error)

func (*Client) ListTagKeys

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (_result *ListTagKeysResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query tag keys. The response shows that the custom tag key team exists. *
  • @param request ListTagKeysRequest
  • @return ListTagKeysResponse

func (*Client) ListTagKeysWithOptions

func (client *Client) ListTagKeysWithOptions(request *ListTagKeysRequest, runtime *util.RuntimeOptions) (_result *ListTagKeysResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query tag keys. The response shows that the custom tag key team exists. *
  • @param request ListTagKeysRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagKeysResponse

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the tags that are added to the resource group with an ID of `rg-aekz6bre2uq****`. The response shows that only the `k1:v1` tag is added to the resource group. *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the tags that are added to the resource group with an ID of `rg-aekz6bre2uq****`. The response shows that only the `k1:v1` tag is added to the resource group. *
  • @param request ListTagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) ListTagValues

func (client *Client) ListTagValues(request *ListTagValuesRequest) (_result *ListTagValuesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the tag values of the tag key k1. The response shows that the tag value of the tag key k1 is v1. *
  • @param request ListTagValuesRequest
  • @return ListTagValuesResponse

func (*Client) ListTagValuesWithOptions

func (client *Client) ListTagValuesWithOptions(request *ListTagValuesRequest, runtime *util.RuntimeOptions) (_result *ListTagValuesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the tag values of the tag key k1. The response shows that the tag value of the tag key k1 is v1. *
  • @param request ListTagValuesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagValuesResponse

func (*Client) ListTargetAttachmentsForControlPolicy

func (client *Client) ListTargetAttachmentsForControlPolicy(request *ListTargetAttachmentsForControlPolicyRequest) (_result *ListTargetAttachmentsForControlPolicyResponse, _err error)

*

  • In this example, the folders or member accounts to which the control policy `cp-jExXAqIYkwHN****` is attached are queried. The returned result shows that the control policy is attached to the folder `fd-ZDNPiT****`. *
  • @param request ListTargetAttachmentsForControlPolicyRequest
  • @return ListTargetAttachmentsForControlPolicyResponse

func (*Client) ListTargetAttachmentsForControlPolicyWithOptions

func (client *Client) ListTargetAttachmentsForControlPolicyWithOptions(request *ListTargetAttachmentsForControlPolicyRequest, runtime *util.RuntimeOptions) (_result *ListTargetAttachmentsForControlPolicyResponse, _err error)

*

  • In this example, the folders or member accounts to which the control policy `cp-jExXAqIYkwHN****` is attached are queried. The returned result shows that the control policy is attached to the folder `fd-ZDNPiT****`. *
  • @param request ListTargetAttachmentsForControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTargetAttachmentsForControlPolicyResponse

func (*Client) ListTrustedServiceStatus

func (client *Client) ListTrustedServiceStatus(request *ListTrustedServiceStatusRequest) (_result *ListTrustedServiceStatusResponse, _err error)

*

  • > Only an enterprise management account or delegated administrator account can be used to call this operation.
  • In this example, the trusted services that are enabled within an enterprise management account are queried. The returned result shows that the trusted services Cloud Config and ActionTrail are enabled within the enterprise management account. *
  • @param request ListTrustedServiceStatusRequest
  • @return ListTrustedServiceStatusResponse

func (*Client) ListTrustedServiceStatusWithOptions

func (client *Client) ListTrustedServiceStatusWithOptions(request *ListTrustedServiceStatusRequest, runtime *util.RuntimeOptions) (_result *ListTrustedServiceStatusResponse, _err error)

*

  • > Only an enterprise management account or delegated administrator account can be used to call this operation.
  • In this example, the trusted services that are enabled within an enterprise management account are queried. The returned result shows that the trusted services Cloud Config and ActionTrail are enabled within the enterprise management account. *
  • @param request ListTrustedServiceStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTrustedServiceStatusResponse

func (*Client) MoveAccount

func (client *Client) MoveAccount(request *MoveAccountRequest) (_result *MoveAccountResponse, _err error)

func (*Client) MoveAccountWithOptions

func (client *Client) MoveAccountWithOptions(request *MoveAccountRequest, runtime *util.RuntimeOptions) (_result *MoveAccountResponse, _err error)

func (*Client) MoveResources

func (client *Client) MoveResources(request *MoveResourcesRequest) (_result *MoveResourcesResponse, _err error)

*

  • For more information about Alibaba Cloud services whose resources can be moved between resource groups, see the **Supported by the API** column in [Alibaba Cloud services that support resource groups](~~94479~~).
  • In this example, two virtual private clouds (VPCs) `vpc-bp1sig0mjktx5ewx1****` and `vpc-bp1visxm225pv49dz****` that reside in different regions and belong to different resource groups are moved to the resource group `rg-aekzmeobk5w****`. *
  • @param request MoveResourcesRequest
  • @return MoveResourcesResponse

func (*Client) MoveResourcesWithOptions

func (client *Client) MoveResourcesWithOptions(request *MoveResourcesRequest, runtime *util.RuntimeOptions) (_result *MoveResourcesResponse, _err error)

*

  • For more information about Alibaba Cloud services whose resources can be moved between resource groups, see the **Supported by the API** column in [Alibaba Cloud services that support resource groups](~~94479~~).
  • In this example, two virtual private clouds (VPCs) `vpc-bp1sig0mjktx5ewx1****` and `vpc-bp1visxm225pv49dz****` that reside in different regions and belong to different resource groups are moved to the resource group `rg-aekzmeobk5w****`. *
  • @param request MoveResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return MoveResourcesResponse

func (*Client) PromoteResourceAccount

func (client *Client) PromoteResourceAccount(request *PromoteResourceAccountRequest) (_result *PromoteResourceAccountResponse, _err error)

func (*Client) PromoteResourceAccountWithOptions

func (client *Client) PromoteResourceAccountWithOptions(request *PromoteResourceAccountRequest, runtime *util.RuntimeOptions) (_result *PromoteResourceAccountResponse, _err error)

func (*Client) RegisterDelegatedAdministrator

func (client *Client) RegisterDelegatedAdministrator(request *RegisterDelegatedAdministratorRequest) (_result *RegisterDelegatedAdministratorResponse, _err error)

*

  • The delegated administrator account can be used to access the information of the resource directory and view the structure and members of the resource directory. The delegated administrator account can also be used to perform service-related management operations in the trusted service on behalf of the management account of the resource directory.
  • When you call this operation, you must take note of the following limits:
  • * Only some trusted services support delegated administrator accounts. For more information, see [Supported trusted services](~~208133~~).
  • * Only the management account of a resource directory or an authorized RAM user or RAM role of the management account can be used to call this operation.
  • * The number of delegated administrator accounts that are allowed for a trusted service is defined by the trusted service.
  • This topic provides an example on how to call the API operation to specify the member `181761095690****` as a delegated administrator account of Cloud Firewall. *
  • @param request RegisterDelegatedAdministratorRequest
  • @return RegisterDelegatedAdministratorResponse

func (*Client) RegisterDelegatedAdministratorWithOptions

func (client *Client) RegisterDelegatedAdministratorWithOptions(request *RegisterDelegatedAdministratorRequest, runtime *util.RuntimeOptions) (_result *RegisterDelegatedAdministratorResponse, _err error)

*

  • The delegated administrator account can be used to access the information of the resource directory and view the structure and members of the resource directory. The delegated administrator account can also be used to perform service-related management operations in the trusted service on behalf of the management account of the resource directory.
  • When you call this operation, you must take note of the following limits:
  • * Only some trusted services support delegated administrator accounts. For more information, see [Supported trusted services](~~208133~~).
  • * Only the management account of a resource directory or an authorized RAM user or RAM role of the management account can be used to call this operation.
  • * The number of delegated administrator accounts that are allowed for a trusted service is defined by the trusted service.
  • This topic provides an example on how to call the API operation to specify the member `181761095690****` as a delegated administrator account of Cloud Firewall. *
  • @param request RegisterDelegatedAdministratorRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RegisterDelegatedAdministratorResponse

func (*Client) RemoveCloudAccount

func (client *Client) RemoveCloudAccount(request *RemoveCloudAccountRequest) (_result *RemoveCloudAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to remove the member `177242285274****` from a resource directory. *
  • @param request RemoveCloudAccountRequest
  • @return RemoveCloudAccountResponse

func (*Client) RemoveCloudAccountWithOptions

func (client *Client) RemoveCloudAccountWithOptions(request *RemoveCloudAccountRequest, runtime *util.RuntimeOptions) (_result *RemoveCloudAccountResponse, _err error)

*

  • This topic provides an example on how to call the API operation to remove the member `177242285274****` from a resource directory. *
  • @param request RemoveCloudAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveCloudAccountResponse

func (*Client) ResendCreateCloudAccountEmail

func (client *Client) ResendCreateCloudAccountEmail(request *ResendCreateCloudAccountEmailRequest) (_result *ResendCreateCloudAccountEmailResponse, _err error)

func (*Client) ResendCreateCloudAccountEmailWithOptions

func (client *Client) ResendCreateCloudAccountEmailWithOptions(request *ResendCreateCloudAccountEmailRequest, runtime *util.RuntimeOptions) (_result *ResendCreateCloudAccountEmailResponse, _err error)

func (*Client) ResendPromoteResourceAccountEmail

func (client *Client) ResendPromoteResourceAccountEmail(request *ResendPromoteResourceAccountEmailRequest) (_result *ResendPromoteResourceAccountEmailResponse, _err error)

func (*Client) ResendPromoteResourceAccountEmailWithOptions

func (client *Client) ResendPromoteResourceAccountEmailWithOptions(request *ResendPromoteResourceAccountEmailRequest, runtime *util.RuntimeOptions) (_result *ResendPromoteResourceAccountEmailResponse, _err error)

func (*Client) RetryChangeAccountEmail added in v3.0.2

func (client *Client) RetryChangeAccountEmail(request *RetryChangeAccountEmailRequest) (_result *RetryChangeAccountEmailResponse, _err error)

func (*Client) RetryChangeAccountEmailWithOptions added in v3.0.2

func (client *Client) RetryChangeAccountEmailWithOptions(request *RetryChangeAccountEmailRequest, runtime *util.RuntimeOptions) (_result *RetryChangeAccountEmailResponse, _err error)

func (*Client) SendVerificationCodeForBindSecureMobilePhone

func (client *Client) SendVerificationCodeForBindSecureMobilePhone(request *SendVerificationCodeForBindSecureMobilePhoneRequest) (_result *SendVerificationCodeForBindSecureMobilePhoneResponse, _err error)

*

  • To ensure that the system can record the operators of management operations, you must use a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account of your resource directory to call this operation.
  • In this example, a verification code is sent to the mobile phone number that you want to bind to the resource account `138660628348****`. *
  • @param request SendVerificationCodeForBindSecureMobilePhoneRequest
  • @return SendVerificationCodeForBindSecureMobilePhoneResponse

func (*Client) SendVerificationCodeForBindSecureMobilePhoneWithOptions

func (client *Client) SendVerificationCodeForBindSecureMobilePhoneWithOptions(request *SendVerificationCodeForBindSecureMobilePhoneRequest, runtime *util.RuntimeOptions) (_result *SendVerificationCodeForBindSecureMobilePhoneResponse, _err error)

*

  • To ensure that the system can record the operators of management operations, you must use a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account of your resource directory to call this operation.
  • In this example, a verification code is sent to the mobile phone number that you want to bind to the resource account `138660628348****`. *
  • @param request SendVerificationCodeForBindSecureMobilePhoneRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SendVerificationCodeForBindSecureMobilePhoneResponse

func (*Client) SendVerificationCodeForEnableRD

func (client *Client) SendVerificationCodeForEnableRD(request *SendVerificationCodeForEnableRDRequest) (_result *SendVerificationCodeForEnableRDResponse, _err error)

*

  • Each Alibaba Cloud account can be used to send a maximum of 100 verification codes per day. *
  • @param request SendVerificationCodeForEnableRDRequest
  • @return SendVerificationCodeForEnableRDResponse

func (*Client) SendVerificationCodeForEnableRDWithOptions

func (client *Client) SendVerificationCodeForEnableRDWithOptions(request *SendVerificationCodeForEnableRDRequest, runtime *util.RuntimeOptions) (_result *SendVerificationCodeForEnableRDResponse, _err error)

*

  • Each Alibaba Cloud account can be used to send a maximum of 100 verification codes per day. *
  • @param request SendVerificationCodeForEnableRDRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SendVerificationCodeForEnableRDResponse

func (*Client) SetDefaultPolicyVersion

func (client *Client) SetDefaultPolicyVersion(request *SetDefaultPolicyVersionRequest) (_result *SetDefaultPolicyVersionResponse, _err error)

func (*Client) SetDefaultPolicyVersionWithOptions

func (client *Client) SetDefaultPolicyVersionWithOptions(request *SetDefaultPolicyVersionRequest, runtime *util.RuntimeOptions) (_result *SetDefaultPolicyVersionResponse, _err error)

func (*Client) SetMemberDeletionPermission

func (client *Client) SetMemberDeletionPermission(request *SetMemberDeletionPermissionRequest) (_result *SetMemberDeletionPermissionResponse, _err error)

*

  • Members of the resource account type can be deleted only after the member deletion feature is enabled. *
  • @param request SetMemberDeletionPermissionRequest
  • @return SetMemberDeletionPermissionResponse

func (*Client) SetMemberDeletionPermissionWithOptions

func (client *Client) SetMemberDeletionPermissionWithOptions(request *SetMemberDeletionPermissionRequest, runtime *util.RuntimeOptions) (_result *SetMemberDeletionPermissionResponse, _err error)

*

  • Members of the resource account type can be deleted only after the member deletion feature is enabled. *
  • @param request SetMemberDeletionPermissionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SetMemberDeletionPermissionResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to add the tag `k1:v1` to the resource group with an ID of `rg-aekz6bre2uq****`. *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to add the tag `k1:v1` to the resource group with an ID of `rg-aekz6bre2uq****`. *
  • @param request TagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TagResourcesResponse

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to remove the tag whose tag key is `k1` from the resource group whose ID is `rg-aek2dpwyrfr****`. *
  • @param request UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to remove the tag whose tag key is `k1` from the resource group whose ID is `rg-aek2dpwyrfr****`. *
  • @param request UntagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

func (*Client) UpdateAccount

func (client *Client) UpdateAccount(request *UpdateAccountRequest) (_result *UpdateAccountResponse, _err error)

*

  • * To ensure that the system can record the operators of management operations, you must use a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account of your resource directory to call this operation.
  • * Before you switch the type of a member from resource account to cloud account, make sure that specific conditions are met. For more information about the conditions, see [Switch a resource account to a cloud account](~~111233~~).
  • * Before you switch the type of a member from cloud account to resource account, make sure that specific conditions are met. For more information about the conditions, see [Switch a cloud account to a resource account](~~209980~~).
  • This example provides an example on how to call the API operation to change the display name of the member `12323344****` to `admin`. *
  • @param request UpdateAccountRequest
  • @return UpdateAccountResponse

func (*Client) UpdateAccountWithOptions

func (client *Client) UpdateAccountWithOptions(request *UpdateAccountRequest, runtime *util.RuntimeOptions) (_result *UpdateAccountResponse, _err error)

*

  • * To ensure that the system can record the operators of management operations, you must use a RAM user or RAM role to which the AliyunResourceDirectoryFullAccess policy is attached within the management account of your resource directory to call this operation.
  • * Before you switch the type of a member from resource account to cloud account, make sure that specific conditions are met. For more information about the conditions, see [Switch a resource account to a cloud account](~~111233~~).
  • * Before you switch the type of a member from cloud account to resource account, make sure that specific conditions are met. For more information about the conditions, see [Switch a cloud account to a resource account](~~209980~~).
  • This example provides an example on how to call the API operation to change the display name of the member `12323344****` to `admin`. *
  • @param request UpdateAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateAccountResponse

func (*Client) UpdateAssociatedTransferSetting added in v3.2.0

func (client *Client) UpdateAssociatedTransferSetting(request *UpdateAssociatedTransferSettingRequest) (_result *UpdateAssociatedTransferSettingResponse, _err error)

*

  • For information about the resources that support the Transfer Associated Resources feature, see [Use the Transfer Associated Resources feature](~~2639129~~). *
  • @param request UpdateAssociatedTransferSettingRequest
  • @return UpdateAssociatedTransferSettingResponse

func (*Client) UpdateAssociatedTransferSettingWithOptions added in v3.2.0

func (client *Client) UpdateAssociatedTransferSettingWithOptions(request *UpdateAssociatedTransferSettingRequest, runtime *util.RuntimeOptions) (_result *UpdateAssociatedTransferSettingResponse, _err error)

*

  • For information about the resources that support the Transfer Associated Resources feature, see [Use the Transfer Associated Resources feature](~~2639129~~). *
  • @param request UpdateAssociatedTransferSettingRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateAssociatedTransferSettingResponse

func (*Client) UpdateControlPolicy

func (client *Client) UpdateControlPolicy(request *UpdateControlPolicyRequest) (_result *UpdateControlPolicyResponse, _err error)

*

  • In this example, the name of the access control policy whose ID is `cp-jExXAqIYkwHN****` is changed to `NewControlPolicy`. *
  • @param request UpdateControlPolicyRequest
  • @return UpdateControlPolicyResponse

func (*Client) UpdateControlPolicyWithOptions

func (client *Client) UpdateControlPolicyWithOptions(request *UpdateControlPolicyRequest, runtime *util.RuntimeOptions) (_result *UpdateControlPolicyResponse, _err error)

*

  • In this example, the name of the access control policy whose ID is `cp-jExXAqIYkwHN****` is changed to `NewControlPolicy`. *
  • @param request UpdateControlPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateControlPolicyResponse

func (*Client) UpdateFolder

func (client *Client) UpdateFolder(request *UpdateFolderRequest) (_result *UpdateFolderResponse, _err error)

func (*Client) UpdateFolderWithOptions

func (client *Client) UpdateFolderWithOptions(request *UpdateFolderRequest, runtime *util.RuntimeOptions) (_result *UpdateFolderResponse, _err error)

func (*Client) UpdateResourceGroup

func (client *Client) UpdateResourceGroup(request *UpdateResourceGroupRequest) (_result *UpdateResourceGroupResponse, _err error)

*

  • In this example, the display name of the resource group `rg-9gLOoK****` is changed to `project`. *
  • @param request UpdateResourceGroupRequest
  • @return UpdateResourceGroupResponse

func (*Client) UpdateResourceGroupWithOptions

func (client *Client) UpdateResourceGroupWithOptions(request *UpdateResourceGroupRequest, runtime *util.RuntimeOptions) (_result *UpdateResourceGroupResponse, _err error)

*

  • In this example, the display name of the resource group `rg-9gLOoK****` is changed to `project`. *
  • @param request UpdateResourceGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateResourceGroupResponse

func (*Client) UpdateRole

func (client *Client) UpdateRole(request *UpdateRoleRequest) (_result *UpdateRoleResponse, _err error)

*

  • In this example, the description of the RAM role `ECSAdmin` is updated to `ECS administrator`. *
  • @param request UpdateRoleRequest
  • @return UpdateRoleResponse

func (*Client) UpdateRoleWithOptions

func (client *Client) UpdateRoleWithOptions(request *UpdateRoleRequest, runtime *util.RuntimeOptions) (_result *UpdateRoleResponse, _err error)

*

  • In this example, the description of the RAM role `ECSAdmin` is updated to `ECS administrator`. *
  • @param request UpdateRoleRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateRoleResponse

type CreateCloudAccountRequest

type CreateCloudAccountRequest struct {
	// The display name of the member account.
	//
	// The name must be 2 to 50 characters in length and can contain letters, digits, underscores (\_), periods (.), and hyphens (-).
	//
	// The name must be unique in the current resource directory.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The email address used to log on to the cloud account.
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The ID of the parent folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
	// The ID of the settlement account. If you do not specify this parameter, the current account is used for settlement.
	PayerAccountId *string `json:"PayerAccountId,omitempty" xml:"PayerAccountId,omitempty"`
}

func (CreateCloudAccountRequest) GoString

func (s CreateCloudAccountRequest) GoString() string

func (*CreateCloudAccountRequest) SetDisplayName

func (*CreateCloudAccountRequest) SetEmail

func (*CreateCloudAccountRequest) SetParentFolderId

func (*CreateCloudAccountRequest) SetPayerAccountId

func (CreateCloudAccountRequest) String

func (s CreateCloudAccountRequest) String() string

type CreateCloudAccountResponse

type CreateCloudAccountResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateCloudAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateCloudAccountResponse) GoString

func (s CreateCloudAccountResponse) GoString() string

func (*CreateCloudAccountResponse) SetBody

func (*CreateCloudAccountResponse) SetHeaders

func (*CreateCloudAccountResponse) SetStatusCode

func (CreateCloudAccountResponse) String

type CreateCloudAccountResponseBody

type CreateCloudAccountResponseBody struct {
	// The information of the member account.
	Account *CreateCloudAccountResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateCloudAccountResponseBody) GoString

func (*CreateCloudAccountResponseBody) SetRequestId

func (CreateCloudAccountResponseBody) String

type CreateCloudAccountResponseBodyAccount

type CreateCloudAccountResponseBodyAccount struct {
	// The ID of the member account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the member account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member account.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member account joined the resource directory. Valid values:
	//
	// *   invited: The member account is invited to join the resource directory.
	// *   created: The member account is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member account was modified.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member account. Valid values:
	//
	// *   CreateSuccess: The member account is created.
	// *   CreateVerifying: The creation of the member account is under confirmation.
	// *   CreateFailed: The member account failed to be created.
	// *   CreateExpired: The creation of the member account expired.
	// *   CreateCancelled: The creation of the member account is canceled.
	// *   PromoteVerifying: The upgrade of the member account is under confirmation.
	// *   PromoteFailed: The member account failed to be upgraded.
	// *   PromoteExpired: The upgrade of the member account expired.
	// *   PromoteCancelled: The upgrade of the member account is canceled.
	// *   PromoteSuccess: The member account is upgraded.
	// *   InviteSuccess: The owner of the member account accepted the invitation.
	// *   Removed: The member account is removed from the resource directory.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the member account. The value CloudAccount indicates that the member account is a cloud account.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateCloudAccountResponseBodyAccount) GoString

func (*CreateCloudAccountResponseBodyAccount) SetAccountId

func (*CreateCloudAccountResponseBodyAccount) SetAccountName

func (*CreateCloudAccountResponseBodyAccount) SetDisplayName

func (*CreateCloudAccountResponseBodyAccount) SetFolderId

func (*CreateCloudAccountResponseBodyAccount) SetJoinMethod

func (*CreateCloudAccountResponseBodyAccount) SetModifyTime

func (*CreateCloudAccountResponseBodyAccount) SetRecordId

func (*CreateCloudAccountResponseBodyAccount) SetResourceDirectoryId

func (*CreateCloudAccountResponseBodyAccount) SetStatus

func (*CreateCloudAccountResponseBodyAccount) SetType

func (CreateCloudAccountResponseBodyAccount) String

type CreateControlPolicyRequest

type CreateControlPolicyRequest struct {
	// The description of the access control policy.
	//
	// The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\_), and hyphens (-) and must start with a letter.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The effective scope of the access control policy.
	//
	// The value RAM indicates that the access control policy takes effect only for RAM users and RAM roles.
	EffectScope *string `json:"EffectScope,omitempty" xml:"EffectScope,omitempty"`
	// The document of the access control policy.
	//
	// The document can be a maximum of 4,096 characters in length.
	//
	// For more information about the languages of access control policies, see [Languages of access control policies](~~179096~~).
	//
	// For more information about the examples of access control policies, see [Examples of custom access control policies](~~181474~~).
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the access control policy.
	//
	// The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
}

func (CreateControlPolicyRequest) GoString

func (s CreateControlPolicyRequest) GoString() string

func (*CreateControlPolicyRequest) SetDescription

func (*CreateControlPolicyRequest) SetEffectScope

func (*CreateControlPolicyRequest) SetPolicyDocument

func (*CreateControlPolicyRequest) SetPolicyName

func (CreateControlPolicyRequest) String

type CreateControlPolicyResponse

type CreateControlPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateControlPolicyResponse) GoString

func (s CreateControlPolicyResponse) GoString() string

func (*CreateControlPolicyResponse) SetBody

func (*CreateControlPolicyResponse) SetHeaders

func (*CreateControlPolicyResponse) SetStatusCode

func (CreateControlPolicyResponse) String

type CreateControlPolicyResponseBody

type CreateControlPolicyResponseBody struct {
	// The details of the access control policy.
	ControlPolicy *CreateControlPolicyResponseBodyControlPolicy `json:"ControlPolicy,omitempty" xml:"ControlPolicy,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateControlPolicyResponseBody) GoString

func (*CreateControlPolicyResponseBody) SetRequestId

func (CreateControlPolicyResponseBody) String

type CreateControlPolicyResponseBodyControlPolicy

type CreateControlPolicyResponseBodyControlPolicy struct {
	// The number of times that the access control policy is referenced.
	AttachmentCount *string `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the access control policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the access control policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The effective scope of the access control policy.
	//
	// The value RAM indicates that the access control policy takes effect only for RAM users and RAM roles.
	EffectScope *string `json:"EffectScope,omitempty" xml:"EffectScope,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the access control policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the access control policy. Valid values:
	//
	// *   System: system access control policy
	// *   Custom: custom access control policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the access control policy was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (CreateControlPolicyResponseBodyControlPolicy) GoString

func (*CreateControlPolicyResponseBodyControlPolicy) SetAttachmentCount

func (*CreateControlPolicyResponseBodyControlPolicy) SetCreateDate

func (*CreateControlPolicyResponseBodyControlPolicy) SetDescription

func (*CreateControlPolicyResponseBodyControlPolicy) SetEffectScope

func (*CreateControlPolicyResponseBodyControlPolicy) SetPolicyId

func (*CreateControlPolicyResponseBodyControlPolicy) SetPolicyName

func (*CreateControlPolicyResponseBodyControlPolicy) SetPolicyType

func (*CreateControlPolicyResponseBodyControlPolicy) SetUpdateDate

func (CreateControlPolicyResponseBodyControlPolicy) String

type CreateFolderRequest

type CreateFolderRequest 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 *string `json:"FolderName,omitempty" xml:"FolderName,omitempty"`
	// The ID of the parent folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
}

func (CreateFolderRequest) GoString

func (s CreateFolderRequest) GoString() string

func (*CreateFolderRequest) SetFolderName

func (s *CreateFolderRequest) SetFolderName(v string) *CreateFolderRequest

func (*CreateFolderRequest) SetParentFolderId

func (s *CreateFolderRequest) SetParentFolderId(v string) *CreateFolderRequest

func (CreateFolderRequest) String

func (s CreateFolderRequest) String() string

type CreateFolderResponse

type CreateFolderResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateFolderResponse) GoString

func (s CreateFolderResponse) GoString() string

func (*CreateFolderResponse) SetBody

func (*CreateFolderResponse) SetHeaders

func (s *CreateFolderResponse) SetHeaders(v map[string]*string) *CreateFolderResponse

func (*CreateFolderResponse) SetStatusCode

func (s *CreateFolderResponse) SetStatusCode(v int32) *CreateFolderResponse

func (CreateFolderResponse) String

func (s CreateFolderResponse) String() string

type CreateFolderResponseBody

type CreateFolderResponseBody struct {
	// The information of the folder.
	Folder *CreateFolderResponseBodyFolder `json:"Folder,omitempty" xml:"Folder,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateFolderResponseBody) GoString

func (s CreateFolderResponseBody) GoString() string

func (*CreateFolderResponseBody) SetFolder

func (*CreateFolderResponseBody) SetRequestId

func (CreateFolderResponseBody) String

func (s CreateFolderResponseBody) String() string

type CreateFolderResponseBodyFolder

type CreateFolderResponseBodyFolder struct {
	// The time when the folder was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The name of the folder.
	FolderName *string `json:"FolderName,omitempty" xml:"FolderName,omitempty"`
	// The ID of the parent folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
}

func (CreateFolderResponseBodyFolder) GoString

func (*CreateFolderResponseBodyFolder) SetCreateTime

func (*CreateFolderResponseBodyFolder) SetFolderId

func (*CreateFolderResponseBodyFolder) SetFolderName

func (*CreateFolderResponseBodyFolder) SetParentFolderId

func (CreateFolderResponseBodyFolder) String

type CreatePolicyRequest

type CreatePolicyRequest struct {
	// The description of the policy.
	//
	// The description must be 1 to 1,024 characters in length.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The document of the policy.
	//
	// The document must be 1 to 2,048 characters in length.
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
}

func (CreatePolicyRequest) GoString

func (s CreatePolicyRequest) GoString() string

func (*CreatePolicyRequest) SetDescription

func (s *CreatePolicyRequest) SetDescription(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyDocument

func (s *CreatePolicyRequest) SetPolicyDocument(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyName

func (s *CreatePolicyRequest) SetPolicyName(v string) *CreatePolicyRequest

func (CreatePolicyRequest) String

func (s CreatePolicyRequest) String() string

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreatePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreatePolicyResponse) GoString

func (s CreatePolicyResponse) GoString() string

func (*CreatePolicyResponse) SetBody

func (*CreatePolicyResponse) SetHeaders

func (s *CreatePolicyResponse) SetHeaders(v map[string]*string) *CreatePolicyResponse

func (*CreatePolicyResponse) SetStatusCode

func (s *CreatePolicyResponse) SetStatusCode(v int32) *CreatePolicyResponse

func (CreatePolicyResponse) String

func (s CreatePolicyResponse) String() string

type CreatePolicyResponseBody

type CreatePolicyResponseBody struct {
	// The information of the policy.
	Policy *CreatePolicyResponseBodyPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePolicyResponseBody) GoString

func (s CreatePolicyResponseBody) GoString() string

func (*CreatePolicyResponseBody) SetPolicy

func (*CreatePolicyResponseBody) SetRequestId

func (CreatePolicyResponseBody) String

func (s CreatePolicyResponseBody) String() string

type CreatePolicyResponseBodyPolicy

type CreatePolicyResponseBodyPolicy struct {
	// The time when the policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The version number of the policy. Default value: v1.
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (CreatePolicyResponseBodyPolicy) GoString

func (*CreatePolicyResponseBodyPolicy) SetCreateDate

func (*CreatePolicyResponseBodyPolicy) SetDefaultVersion

func (*CreatePolicyResponseBodyPolicy) SetDescription

func (*CreatePolicyResponseBodyPolicy) SetPolicyName

func (*CreatePolicyResponseBodyPolicy) SetPolicyType

func (CreatePolicyResponseBodyPolicy) String

type CreatePolicyVersionRequest

type CreatePolicyVersionRequest struct {
	// The document of the policy.
	//
	// The document must be 1 to 2,048 characters in length.
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// Specifies whether to set the policy version as the default version. Valid values:
	//
	// *   false: The policy version is not set as the default version.
	// *   true: The policy version is set as the default version.
	//
	// Default value: false.
	SetAsDefault *bool `json:"SetAsDefault,omitempty" xml:"SetAsDefault,omitempty"`
}

func (CreatePolicyVersionRequest) GoString

func (s CreatePolicyVersionRequest) GoString() string

func (*CreatePolicyVersionRequest) SetPolicyDocument

func (*CreatePolicyVersionRequest) SetPolicyName

func (*CreatePolicyVersionRequest) SetSetAsDefault

func (CreatePolicyVersionRequest) String

type CreatePolicyVersionResponse

type CreatePolicyVersionResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreatePolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreatePolicyVersionResponse) GoString

func (s CreatePolicyVersionResponse) GoString() string

func (*CreatePolicyVersionResponse) SetBody

func (*CreatePolicyVersionResponse) SetHeaders

func (*CreatePolicyVersionResponse) SetStatusCode

func (CreatePolicyVersionResponse) String

type CreatePolicyVersionResponseBody

type CreatePolicyVersionResponseBody struct {
	// The information of the policy version.
	PolicyVersion *CreatePolicyVersionResponseBodyPolicyVersion `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePolicyVersionResponseBody) GoString

func (*CreatePolicyVersionResponseBody) SetRequestId

func (CreatePolicyVersionResponseBody) String

type CreatePolicyVersionResponseBodyPolicyVersion

type CreatePolicyVersionResponseBodyPolicyVersion struct {
	// The time when the policy version was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether the policy version is the default version.
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The ID of the policy version.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (CreatePolicyVersionResponseBodyPolicyVersion) GoString

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetCreateDate

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetIsDefaultVersion

func (*CreatePolicyVersionResponseBodyPolicyVersion) SetVersionId

func (CreatePolicyVersionResponseBodyPolicyVersion) String

type CreateResourceAccountRequest

type CreateResourceAccountRequest struct {
	// The prefix for the Alibaba Cloud account name of the member. If you leave this parameter empty, the system randomly generates a prefix.
	//
	// The prefix must be 2 to 37 characters in length.
	//
	// The prefix can contain letters, digits, and special characters but cannot contain consecutive special characters. The prefix must start with a letter or digit and end with a letter or digit. Valid special characters include underscores (`_`), periods (.), and hyphens (`-`).
	//
	// The complete Alibaba Cloud account name of a member in a resource directory is in the \<AccountNamePrefix>@\<ResourceDirectoryId>.aliyunid.com format, such as `alice@rd-3G****.aliyunid.com`.
	//
	// Each name must be unique in the resource directory.
	AccountNamePrefix *string `json:"AccountNamePrefix,omitempty" xml:"AccountNamePrefix,omitempty"`
	// The display name of the member.
	//
	// The name must be 2 to 50 characters in length.
	//
	// The name can contain letters, digits, underscores (\_), periods (.), hyphens (-), and spaces.
	//
	// The name must be unique in the resource directory.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the parent folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
	// The ID of the billing account. If you leave this parameter empty, the member is used as its own billing account.
	PayerAccountId *string `json:"PayerAccountId,omitempty" xml:"PayerAccountId,omitempty"`
	// The identity type of the member. Valid values:
	//
	// *   resell: The member is an account for a reseller. This is the default value. A relationship is automatically established between the member and the reseller. The management account of the resource directory must be used as the billing account of the member.
	// *   non_resell: The member is not an account for a reseller. The member is an account that is not associated with a reseller. You can directly use the account to purchase Alibaba Cloud resources. The member is used as its own billing account.
	//
	// >  This parameter is available only for resellers at the international site (alibabacloud.com).
	ResellAccountType *string `json:"ResellAccountType,omitempty" xml:"ResellAccountType,omitempty"`
	// The tag key and value.
	Tag []*CreateResourceAccountRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateResourceAccountRequest) GoString

func (s CreateResourceAccountRequest) GoString() string

func (*CreateResourceAccountRequest) SetAccountNamePrefix

func (*CreateResourceAccountRequest) SetDisplayName

func (*CreateResourceAccountRequest) SetParentFolderId

func (*CreateResourceAccountRequest) SetPayerAccountId

func (*CreateResourceAccountRequest) SetResellAccountType added in v3.0.2

func (*CreateResourceAccountRequest) SetTag

func (CreateResourceAccountRequest) String

type CreateResourceAccountRequestTag

type CreateResourceAccountRequestTag struct {
	// A tag key
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateResourceAccountRequestTag) GoString

func (*CreateResourceAccountRequestTag) SetKey

func (*CreateResourceAccountRequestTag) SetValue

func (CreateResourceAccountRequestTag) String

type CreateResourceAccountResponse

type CreateResourceAccountResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateResourceAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateResourceAccountResponse) GoString

func (*CreateResourceAccountResponse) SetBody

func (*CreateResourceAccountResponse) SetHeaders

func (*CreateResourceAccountResponse) SetStatusCode

func (CreateResourceAccountResponse) String

type CreateResourceAccountResponseBody

type CreateResourceAccountResponseBody struct {
	// The information of the member.
	Account *CreateResourceAccountResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateResourceAccountResponseBody) GoString

func (*CreateResourceAccountResponseBody) SetRequestId

func (CreateResourceAccountResponseBody) String

type CreateResourceAccountResponseBodyAccount

type CreateResourceAccountResponseBodyAccount struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The Alibaba Cloud account name of the member.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member joins the resource directory. Valid values:
	//
	// *   invited: The member is invited to join the resource directory.
	// *   created: The member is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member joined the resource directory. The time is displayed in UTC.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member. The value CreateSuccess indicates that the member is created.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the member. The value ResourceAccount indicates that the member is a resource account.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateResourceAccountResponseBodyAccount) GoString

func (*CreateResourceAccountResponseBodyAccount) SetAccountId

func (*CreateResourceAccountResponseBodyAccount) SetAccountName

func (*CreateResourceAccountResponseBodyAccount) SetDisplayName

func (*CreateResourceAccountResponseBodyAccount) SetFolderId

func (*CreateResourceAccountResponseBodyAccount) SetJoinMethod

func (*CreateResourceAccountResponseBodyAccount) SetJoinTime

func (*CreateResourceAccountResponseBodyAccount) SetModifyTime

func (*CreateResourceAccountResponseBodyAccount) SetResourceDirectoryId

func (*CreateResourceAccountResponseBodyAccount) SetStatus

func (*CreateResourceAccountResponseBodyAccount) SetType

func (CreateResourceAccountResponseBodyAccount) String

type CreateResourceGroupRequest

type CreateResourceGroupRequest struct {
	// The display name of the resource group.
	//
	// The name must be 1 to 50 characters in length.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The unique identifier of the resource group.
	//
	// The identifier must be 3 to 50 characters in length and can contain letters, digits, and hyphens (-). The identifier must start with a letter.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The tags.
	Tag []*CreateResourceGroupRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateResourceGroupRequest) GoString

func (s CreateResourceGroupRequest) GoString() string

func (*CreateResourceGroupRequest) SetDisplayName

func (*CreateResourceGroupRequest) SetName

func (*CreateResourceGroupRequest) SetTag added in v3.2.0

func (CreateResourceGroupRequest) String

type CreateResourceGroupRequestTag added in v3.2.0

type CreateResourceGroupRequestTag struct {
	// The key of the tag.
	//
	// The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateResourceGroupRequestTag) GoString added in v3.2.0

func (*CreateResourceGroupRequestTag) SetKey added in v3.2.0

func (*CreateResourceGroupRequestTag) SetValue added in v3.2.0

func (CreateResourceGroupRequestTag) String added in v3.2.0

type CreateResourceGroupResponse

type CreateResourceGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateResourceGroupResponse) GoString

func (s CreateResourceGroupResponse) GoString() string

func (*CreateResourceGroupResponse) SetBody

func (*CreateResourceGroupResponse) SetHeaders

func (*CreateResourceGroupResponse) SetStatusCode

func (CreateResourceGroupResponse) String

type CreateResourceGroupResponseBody

type CreateResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource group.
	ResourceGroup *CreateResourceGroupResponseBodyResourceGroup `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty" type:"Struct"`
}

func (CreateResourceGroupResponseBody) GoString

func (*CreateResourceGroupResponseBody) SetRequestId

func (CreateResourceGroupResponseBody) String

type CreateResourceGroupResponseBodyResourceGroup

type CreateResourceGroupResponseBodyResourceGroup struct {
	// The ID of the Alibaba Cloud account to which the resource group belongs.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The time when the resource group was created. The time is displayed in UTC.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the resource group.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the resource group.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The unique identifier of the resource group.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The status of the resource group in all regions.
	RegionStatuses *CreateResourceGroupResponseBodyResourceGroupRegionStatuses `json:"RegionStatuses,omitempty" xml:"RegionStatuses,omitempty" type:"Struct"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateResourceGroupResponseBodyResourceGroup) GoString

func (*CreateResourceGroupResponseBodyResourceGroup) SetAccountId

func (*CreateResourceGroupResponseBodyResourceGroup) SetCreateDate

func (*CreateResourceGroupResponseBodyResourceGroup) SetDisplayName

func (*CreateResourceGroupResponseBodyResourceGroup) SetId

func (*CreateResourceGroupResponseBodyResourceGroup) SetName

func (*CreateResourceGroupResponseBodyResourceGroup) SetStatus

func (CreateResourceGroupResponseBodyResourceGroup) String

type CreateResourceGroupResponseBodyResourceGroupRegionStatuses

type CreateResourceGroupResponseBodyResourceGroupRegionStatuses struct {
	RegionStatus []*CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus `json:"RegionStatus,omitempty" xml:"RegionStatus,omitempty" type:"Repeated"`
}

func (CreateResourceGroupResponseBodyResourceGroupRegionStatuses) GoString

func (CreateResourceGroupResponseBodyResourceGroupRegionStatuses) String

type CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus

type CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus struct {
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) GoString

func (*CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) SetRegionId

func (*CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) SetStatus

func (CreateResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) String

type CreateRoleRequest

type CreateRoleRequest struct {
	// The document of the policy that specifies one or more trusted entities to assume the RAM role. The trusted entities can be Alibaba Cloud accounts, Alibaba Cloud services, or identity providers (IdPs).
	//
	// >  RAM users cannot assume the RAM roles of trusted Alibaba Cloud services.
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The description of the RAM role.
	//
	// The description must be 1 to 1,024 characters in length.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session duration of the RAM role.
	//
	// Unit: seconds. Valid values: 3600 to 43200. Default value: 3600.
	//
	// If you do not specify this parameter, the default value is used.
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-).
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (CreateRoleRequest) GoString

func (s CreateRoleRequest) GoString() string

func (*CreateRoleRequest) SetAssumeRolePolicyDocument

func (s *CreateRoleRequest) SetAssumeRolePolicyDocument(v string) *CreateRoleRequest

func (*CreateRoleRequest) SetDescription

func (s *CreateRoleRequest) SetDescription(v string) *CreateRoleRequest

func (*CreateRoleRequest) SetMaxSessionDuration

func (s *CreateRoleRequest) SetMaxSessionDuration(v int64) *CreateRoleRequest

func (*CreateRoleRequest) SetRoleName

func (s *CreateRoleRequest) SetRoleName(v string) *CreateRoleRequest

func (CreateRoleRequest) String

func (s CreateRoleRequest) String() string

type CreateRoleResponse

type CreateRoleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateRoleResponse) GoString

func (s CreateRoleResponse) GoString() string

func (*CreateRoleResponse) SetBody

func (*CreateRoleResponse) SetHeaders

func (s *CreateRoleResponse) SetHeaders(v map[string]*string) *CreateRoleResponse

func (*CreateRoleResponse) SetStatusCode

func (s *CreateRoleResponse) SetStatusCode(v int32) *CreateRoleResponse

func (CreateRoleResponse) String

func (s CreateRoleResponse) String() string

type CreateRoleResponseBody

type CreateRoleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the RAM role.
	Role *CreateRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (CreateRoleResponseBody) GoString

func (s CreateRoleResponseBody) GoString() string

func (*CreateRoleResponseBody) SetRequestId

func (*CreateRoleResponseBody) SetRole

func (CreateRoleResponseBody) String

func (s CreateRoleResponseBody) String() string

type CreateRoleResponseBodyRole

type CreateRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The document of the policy that specifies the trusted entity to assume the RAM role.
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the RAM role was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session duration of the RAM role.
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The name of the RAM role after authorization.
	RolePrincipalName *string `json:"RolePrincipalName,omitempty" xml:"RolePrincipalName,omitempty"`
}

func (CreateRoleResponseBodyRole) GoString

func (s CreateRoleResponseBodyRole) GoString() string

func (*CreateRoleResponseBodyRole) SetArn

func (*CreateRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (s *CreateRoleResponseBodyRole) SetAssumeRolePolicyDocument(v string) *CreateRoleResponseBodyRole

func (*CreateRoleResponseBodyRole) SetCreateDate

func (*CreateRoleResponseBodyRole) SetDescription

func (*CreateRoleResponseBodyRole) SetMaxSessionDuration

func (s *CreateRoleResponseBodyRole) SetMaxSessionDuration(v int64) *CreateRoleResponseBodyRole

func (*CreateRoleResponseBodyRole) SetRoleId

func (*CreateRoleResponseBodyRole) SetRoleName

func (*CreateRoleResponseBodyRole) SetRolePrincipalName

func (s *CreateRoleResponseBodyRole) SetRolePrincipalName(v string) *CreateRoleResponseBodyRole

func (CreateRoleResponseBodyRole) String

type CreateServiceLinkedRoleRequest

type CreateServiceLinkedRoleRequest struct {
	// The suffix of the role name.
	//
	// The role name (including its suffix) must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-).
	//
	// For example, if the suffix is `Example`, the role name is `ServiceLinkedRoleName_Example`.
	CustomSuffix *string `json:"CustomSuffix,omitempty" xml:"CustomSuffix,omitempty"`
	// The description of the service-linked role.
	//
	// You must configure this parameter for service-linked roles that support custom suffixes. Otherwise, the preset value is used and cannot be modified.
	//
	// The description must be 1 to 1,024 characters in length.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the service.
	//
	// For more information about the service name, see [Alibaba Cloud services that support service-linked roles](~~461722~~).
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
}

func (CreateServiceLinkedRoleRequest) GoString

func (*CreateServiceLinkedRoleRequest) SetCustomSuffix

func (*CreateServiceLinkedRoleRequest) SetDescription

func (*CreateServiceLinkedRoleRequest) SetServiceName

func (CreateServiceLinkedRoleRequest) String

type CreateServiceLinkedRoleResponse

type CreateServiceLinkedRoleResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateServiceLinkedRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceLinkedRoleResponse) GoString

func (*CreateServiceLinkedRoleResponse) SetHeaders

func (*CreateServiceLinkedRoleResponse) SetStatusCode

func (CreateServiceLinkedRoleResponse) String

type CreateServiceLinkedRoleResponseBody

type CreateServiceLinkedRoleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the role.
	Role *CreateServiceLinkedRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (CreateServiceLinkedRoleResponseBody) GoString

func (*CreateServiceLinkedRoleResponseBody) SetRequestId

func (CreateServiceLinkedRoleResponseBody) String

type CreateServiceLinkedRoleResponseBodyRole

type CreateServiceLinkedRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the role.
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The document of the trust policy for the role.
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the role was created. The time is displayed in UTC.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the role.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the role is a service-linked role. Valid values:
	//
	// *   true: The role is a service-linked role.
	// *   false: The role is not a service-linked role.
	IsServiceLinkedRole *bool `json:"IsServiceLinkedRole,omitempty" xml:"IsServiceLinkedRole,omitempty"`
	// The ID of the role.
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the role.
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The role name that uses a domain name as the suffix.
	RolePrincipalName *string `json:"RolePrincipalName,omitempty" xml:"RolePrincipalName,omitempty"`
}

func (CreateServiceLinkedRoleResponseBodyRole) GoString

func (*CreateServiceLinkedRoleResponseBodyRole) SetArn

func (*CreateServiceLinkedRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (*CreateServiceLinkedRoleResponseBodyRole) SetCreateDate

func (*CreateServiceLinkedRoleResponseBodyRole) SetDescription

func (*CreateServiceLinkedRoleResponseBodyRole) SetIsServiceLinkedRole

func (*CreateServiceLinkedRoleResponseBodyRole) SetRoleId

func (*CreateServiceLinkedRoleResponseBodyRole) SetRoleName

func (*CreateServiceLinkedRoleResponseBodyRole) SetRolePrincipalName

func (CreateServiceLinkedRoleResponseBodyRole) String

type DeclineHandshakeRequest

type DeclineHandshakeRequest struct {
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
}

func (DeclineHandshakeRequest) GoString

func (s DeclineHandshakeRequest) GoString() string

func (*DeclineHandshakeRequest) SetHandshakeId

func (DeclineHandshakeRequest) String

func (s DeclineHandshakeRequest) String() string

type DeclineHandshakeResponse

type DeclineHandshakeResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeclineHandshakeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeclineHandshakeResponse) GoString

func (s DeclineHandshakeResponse) GoString() string

func (*DeclineHandshakeResponse) SetBody

func (*DeclineHandshakeResponse) SetHeaders

func (*DeclineHandshakeResponse) SetStatusCode

func (DeclineHandshakeResponse) String

func (s DeclineHandshakeResponse) String() string

type DeclineHandshakeResponseBody

type DeclineHandshakeResponseBody struct {
	// The information of the invitation.
	Handshake *DeclineHandshakeResponseBodyHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeclineHandshakeResponseBody) GoString

func (s DeclineHandshakeResponseBody) GoString() string

func (*DeclineHandshakeResponseBody) SetRequestId

func (DeclineHandshakeResponseBody) String

type DeclineHandshakeResponseBodyHandshake

type DeclineHandshakeResponseBodyHandshake struct {
	// The time when the invitation was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The ID of the enterprise management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the enterprise management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The time when the invitation was modified.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The invitation note.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation. Valid values:
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expired.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (DeclineHandshakeResponseBodyHandshake) GoString

func (*DeclineHandshakeResponseBodyHandshake) SetCreateTime

func (*DeclineHandshakeResponseBodyHandshake) SetExpireTime

func (*DeclineHandshakeResponseBodyHandshake) SetHandshakeId

func (*DeclineHandshakeResponseBodyHandshake) SetMasterAccountId

func (*DeclineHandshakeResponseBodyHandshake) SetMasterAccountName

func (*DeclineHandshakeResponseBodyHandshake) SetModifyTime

func (*DeclineHandshakeResponseBodyHandshake) SetNote

func (*DeclineHandshakeResponseBodyHandshake) SetResourceDirectoryId

func (*DeclineHandshakeResponseBodyHandshake) SetStatus

func (*DeclineHandshakeResponseBodyHandshake) SetTargetEntity

func (*DeclineHandshakeResponseBodyHandshake) SetTargetType

func (DeclineHandshakeResponseBodyHandshake) String

type DeleteAccountRequest

type DeleteAccountRequest struct {
	AbandonableCheckId []*string `json:"AbandonableCheckId,omitempty" xml:"AbandonableCheckId,omitempty" type:"Repeated"`
	// The type of the deletion. Valid values:
	//
	// *   0: direct deletion. If the member does not have pay-as-you-go resources that are purchased within the previous 30 days, the system directly deletes the member.
	// *   1: deletion with a silence period. If the member has pay-as-you-go resources that are purchased within the previous 30 days, the member enters a silence period of 45 days. The system starts to delete the member until the silence period ends. For more information about the silence period, see [What is the silence period for member deletion?](~~446079~~)
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (DeleteAccountRequest) GoString

func (s DeleteAccountRequest) GoString() string

func (*DeleteAccountRequest) SetAbandonableCheckId

func (s *DeleteAccountRequest) SetAbandonableCheckId(v []*string) *DeleteAccountRequest

func (*DeleteAccountRequest) SetAccountId

func (s *DeleteAccountRequest) SetAccountId(v string) *DeleteAccountRequest

func (DeleteAccountRequest) String

func (s DeleteAccountRequest) String() string

type DeleteAccountResponse

type DeleteAccountResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteAccountResponse) GoString

func (s DeleteAccountResponse) GoString() string

func (*DeleteAccountResponse) SetBody

func (*DeleteAccountResponse) SetHeaders

func (*DeleteAccountResponse) SetStatusCode

func (s *DeleteAccountResponse) SetStatusCode(v int32) *DeleteAccountResponse

func (DeleteAccountResponse) String

func (s DeleteAccountResponse) String() string

type DeleteAccountResponseBody

type DeleteAccountResponseBody struct {
	DeletionType *string `json:"DeletionType,omitempty" xml:"DeletionType,omitempty"`
	RequestId    *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteAccountResponseBody) GoString

func (s DeleteAccountResponseBody) GoString() string

func (*DeleteAccountResponseBody) SetDeletionType

func (*DeleteAccountResponseBody) SetRequestId

func (DeleteAccountResponseBody) String

func (s DeleteAccountResponseBody) String() string

type DeleteAccountShrinkRequest

type DeleteAccountShrinkRequest struct {
	AbandonableCheckIdShrink *string `json:"AbandonableCheckId,omitempty" xml:"AbandonableCheckId,omitempty"`
	// The type of the deletion. Valid values:
	//
	// *   0: direct deletion. If the member does not have pay-as-you-go resources that are purchased within the previous 30 days, the system directly deletes the member.
	// *   1: deletion with a silence period. If the member has pay-as-you-go resources that are purchased within the previous 30 days, the member enters a silence period of 45 days. The system starts to delete the member until the silence period ends. For more information about the silence period, see [What is the silence period for member deletion?](~~446079~~)
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (DeleteAccountShrinkRequest) GoString

func (s DeleteAccountShrinkRequest) GoString() string

func (*DeleteAccountShrinkRequest) SetAbandonableCheckIdShrink

func (s *DeleteAccountShrinkRequest) SetAbandonableCheckIdShrink(v string) *DeleteAccountShrinkRequest

func (*DeleteAccountShrinkRequest) SetAccountId

func (DeleteAccountShrinkRequest) String

type DeleteControlPolicyRequest

type DeleteControlPolicyRequest struct {
	// The ID of the control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
}

func (DeleteControlPolicyRequest) GoString

func (s DeleteControlPolicyRequest) GoString() string

func (*DeleteControlPolicyRequest) SetPolicyId

func (DeleteControlPolicyRequest) String

type DeleteControlPolicyResponse

type DeleteControlPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteControlPolicyResponse) GoString

func (s DeleteControlPolicyResponse) GoString() string

func (*DeleteControlPolicyResponse) SetBody

func (*DeleteControlPolicyResponse) SetHeaders

func (*DeleteControlPolicyResponse) SetStatusCode

func (DeleteControlPolicyResponse) String

type DeleteControlPolicyResponseBody

type DeleteControlPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteControlPolicyResponseBody) GoString

func (*DeleteControlPolicyResponseBody) SetRequestId

func (DeleteControlPolicyResponseBody) String

type DeleteFolderRequest

type DeleteFolderRequest struct {
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
}

func (DeleteFolderRequest) GoString

func (s DeleteFolderRequest) GoString() string

func (*DeleteFolderRequest) SetFolderId

func (s *DeleteFolderRequest) SetFolderId(v string) *DeleteFolderRequest

func (DeleteFolderRequest) String

func (s DeleteFolderRequest) String() string

type DeleteFolderResponse

type DeleteFolderResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteFolderResponse) GoString

func (s DeleteFolderResponse) GoString() string

func (*DeleteFolderResponse) SetBody

func (*DeleteFolderResponse) SetHeaders

func (s *DeleteFolderResponse) SetHeaders(v map[string]*string) *DeleteFolderResponse

func (*DeleteFolderResponse) SetStatusCode

func (s *DeleteFolderResponse) SetStatusCode(v int32) *DeleteFolderResponse

func (DeleteFolderResponse) String

func (s DeleteFolderResponse) String() string

type DeleteFolderResponseBody

type DeleteFolderResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteFolderResponseBody) GoString

func (s DeleteFolderResponseBody) GoString() string

func (*DeleteFolderResponseBody) SetRequestId

func (DeleteFolderResponseBody) String

func (s DeleteFolderResponseBody) String() string

type DeletePolicyRequest

type DeletePolicyRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
}

func (DeletePolicyRequest) GoString

func (s DeletePolicyRequest) GoString() string

func (*DeletePolicyRequest) SetPolicyName

func (s *DeletePolicyRequest) SetPolicyName(v string) *DeletePolicyRequest

func (DeletePolicyRequest) String

func (s DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeletePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeletePolicyResponse) GoString

func (s DeletePolicyResponse) GoString() string

func (*DeletePolicyResponse) SetBody

func (*DeletePolicyResponse) SetHeaders

func (s *DeletePolicyResponse) SetHeaders(v map[string]*string) *DeletePolicyResponse

func (*DeletePolicyResponse) SetStatusCode

func (s *DeletePolicyResponse) SetStatusCode(v int32) *DeletePolicyResponse

func (DeletePolicyResponse) String

func (s DeletePolicyResponse) String() string

type DeletePolicyResponseBody

type DeletePolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeletePolicyResponseBody) GoString

func (s DeletePolicyResponseBody) GoString() string

func (*DeletePolicyResponseBody) SetRequestId

func (DeletePolicyResponseBody) String

func (s DeletePolicyResponseBody) String() string

type DeletePolicyVersionRequest

type DeletePolicyVersionRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The ID of the policy version.
	//
	// You can call the [ListPolicyVersions](~~159982~~) operation to query the ID.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (DeletePolicyVersionRequest) GoString

func (s DeletePolicyVersionRequest) GoString() string

func (*DeletePolicyVersionRequest) SetPolicyName

func (*DeletePolicyVersionRequest) SetVersionId

func (DeletePolicyVersionRequest) String

type DeletePolicyVersionResponse

type DeletePolicyVersionResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeletePolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeletePolicyVersionResponse) GoString

func (s DeletePolicyVersionResponse) GoString() string

func (*DeletePolicyVersionResponse) SetBody

func (*DeletePolicyVersionResponse) SetHeaders

func (*DeletePolicyVersionResponse) SetStatusCode

func (DeletePolicyVersionResponse) String

type DeletePolicyVersionResponseBody

type DeletePolicyVersionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeletePolicyVersionResponseBody) GoString

func (*DeletePolicyVersionResponseBody) SetRequestId

func (DeletePolicyVersionResponseBody) String

type DeleteResourceGroupRequest

type DeleteResourceGroupRequest struct {
	// The ID of the resource group.
	//
	// You can call the [ListResourceGroups](~~158855~~) operation to obtain the ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DeleteResourceGroupRequest) GoString

func (s DeleteResourceGroupRequest) GoString() string

func (*DeleteResourceGroupRequest) SetResourceGroupId

func (DeleteResourceGroupRequest) String

type DeleteResourceGroupResponse

type DeleteResourceGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteResourceGroupResponse) GoString

func (s DeleteResourceGroupResponse) GoString() string

func (*DeleteResourceGroupResponse) SetBody

func (*DeleteResourceGroupResponse) SetHeaders

func (*DeleteResourceGroupResponse) SetStatusCode

func (DeleteResourceGroupResponse) String

type DeleteResourceGroupResponseBody

type DeleteResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource group.
	ResourceGroup *DeleteResourceGroupResponseBodyResourceGroup `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty" type:"Struct"`
}

func (DeleteResourceGroupResponseBody) GoString

func (*DeleteResourceGroupResponseBody) SetRequestId

func (DeleteResourceGroupResponseBody) String

type DeleteResourceGroupResponseBodyResourceGroup

type DeleteResourceGroupResponseBodyResourceGroup struct {
	// The ID of the Alibaba Cloud account to which the resource group belongs.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The time when the resource group was created. The time is displayed in UTC.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the resource group.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the resource group.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The unique identifier of the resource group.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The status of the resource group in all regions.
	RegionStatuses *DeleteResourceGroupResponseBodyResourceGroupRegionStatuses `json:"RegionStatuses,omitempty" xml:"RegionStatuses,omitempty" type:"Struct"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	// *   PendingDelete: The resource group is waiting to be deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DeleteResourceGroupResponseBodyResourceGroup) GoString

func (*DeleteResourceGroupResponseBodyResourceGroup) SetAccountId

func (*DeleteResourceGroupResponseBodyResourceGroup) SetCreateDate

func (*DeleteResourceGroupResponseBodyResourceGroup) SetDisplayName

func (*DeleteResourceGroupResponseBodyResourceGroup) SetId

func (*DeleteResourceGroupResponseBodyResourceGroup) SetName

func (*DeleteResourceGroupResponseBodyResourceGroup) SetStatus

func (DeleteResourceGroupResponseBodyResourceGroup) String

type DeleteResourceGroupResponseBodyResourceGroupRegionStatuses

type DeleteResourceGroupResponseBodyResourceGroupRegionStatuses struct {
	RegionStatus []*DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus `json:"RegionStatus,omitempty" xml:"RegionStatus,omitempty" type:"Repeated"`
}

func (DeleteResourceGroupResponseBodyResourceGroupRegionStatuses) GoString

func (DeleteResourceGroupResponseBodyResourceGroupRegionStatuses) String

type DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus

type DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus struct {
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	// *   PendingDelete: The resource group is waiting to be deleted.
	// *   Deleting: The resource group is being deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) GoString

func (*DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) SetRegionId

func (*DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) SetStatus

func (DeleteResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) String

type DeleteRoleRequest

type DeleteRoleRequest struct {
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-).
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (DeleteRoleRequest) GoString

func (s DeleteRoleRequest) GoString() string

func (*DeleteRoleRequest) SetRoleName

func (s *DeleteRoleRequest) SetRoleName(v string) *DeleteRoleRequest

func (DeleteRoleRequest) String

func (s DeleteRoleRequest) String() string

type DeleteRoleResponse

type DeleteRoleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteRoleResponse) GoString

func (s DeleteRoleResponse) GoString() string

func (*DeleteRoleResponse) SetBody

func (*DeleteRoleResponse) SetHeaders

func (s *DeleteRoleResponse) SetHeaders(v map[string]*string) *DeleteRoleResponse

func (*DeleteRoleResponse) SetStatusCode

func (s *DeleteRoleResponse) SetStatusCode(v int32) *DeleteRoleResponse

func (DeleteRoleResponse) String

func (s DeleteRoleResponse) String() string

type DeleteRoleResponseBody

type DeleteRoleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteRoleResponseBody) GoString

func (s DeleteRoleResponseBody) GoString() string

func (*DeleteRoleResponseBody) SetRequestId

func (DeleteRoleResponseBody) String

func (s DeleteRoleResponseBody) String() string

type DeleteServiceLinkedRoleRequest

type DeleteServiceLinkedRoleRequest struct {
	// The name of the role.
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (DeleteServiceLinkedRoleRequest) GoString

func (*DeleteServiceLinkedRoleRequest) SetRoleName

func (DeleteServiceLinkedRoleRequest) String

type DeleteServiceLinkedRoleResponse

type DeleteServiceLinkedRoleResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceLinkedRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceLinkedRoleResponse) GoString

func (*DeleteServiceLinkedRoleResponse) SetHeaders

func (*DeleteServiceLinkedRoleResponse) SetStatusCode

func (DeleteServiceLinkedRoleResponse) String

type DeleteServiceLinkedRoleResponseBody

type DeleteServiceLinkedRoleResponseBody struct {
	// The ID of the deletion task.
	DeletionTaskId *string `json:"DeletionTaskId,omitempty" xml:"DeletionTaskId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceLinkedRoleResponseBody) GoString

func (*DeleteServiceLinkedRoleResponseBody) SetDeletionTaskId

func (*DeleteServiceLinkedRoleResponseBody) SetRequestId

func (DeleteServiceLinkedRoleResponseBody) String

type DeregisterDelegatedAdministratorRequest

type DeregisterDelegatedAdministratorRequest struct {
	// The ID of the member in the resource directory.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The identifier of the trusted service.
	//
	// For more information, see the `Trusted service identifier` column in [Supported trusted services](~~208133~~).
	ServicePrincipal *string `json:"ServicePrincipal,omitempty" xml:"ServicePrincipal,omitempty"`
}

func (DeregisterDelegatedAdministratorRequest) GoString

func (*DeregisterDelegatedAdministratorRequest) SetAccountId

func (*DeregisterDelegatedAdministratorRequest) SetServicePrincipal

func (DeregisterDelegatedAdministratorRequest) String

type DeregisterDelegatedAdministratorResponse

type DeregisterDelegatedAdministratorResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeregisterDelegatedAdministratorResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeregisterDelegatedAdministratorResponse) GoString

func (*DeregisterDelegatedAdministratorResponse) SetHeaders

func (*DeregisterDelegatedAdministratorResponse) SetStatusCode

func (DeregisterDelegatedAdministratorResponse) String

type DeregisterDelegatedAdministratorResponseBody

type DeregisterDelegatedAdministratorResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeregisterDelegatedAdministratorResponseBody) GoString

func (*DeregisterDelegatedAdministratorResponseBody) SetRequestId

func (DeregisterDelegatedAdministratorResponseBody) String

type DestroyResourceDirectoryResponse

type DestroyResourceDirectoryResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DestroyResourceDirectoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DestroyResourceDirectoryResponse) GoString

func (*DestroyResourceDirectoryResponse) SetHeaders

func (*DestroyResourceDirectoryResponse) SetStatusCode

func (DestroyResourceDirectoryResponse) String

type DestroyResourceDirectoryResponseBody

type DestroyResourceDirectoryResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DestroyResourceDirectoryResponseBody) GoString

func (*DestroyResourceDirectoryResponseBody) SetRequestId

func (DestroyResourceDirectoryResponseBody) String

type DetachControlPolicyRequest

type DetachControlPolicyRequest struct {
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
	//
	// *   Root folder
	// *   Subfolders of the Root folder
	// *   Members
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
}

func (DetachControlPolicyRequest) GoString

func (s DetachControlPolicyRequest) GoString() string

func (*DetachControlPolicyRequest) SetPolicyId

func (*DetachControlPolicyRequest) SetTargetId

func (DetachControlPolicyRequest) String

type DetachControlPolicyResponse

type DetachControlPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachControlPolicyResponse) GoString

func (s DetachControlPolicyResponse) GoString() string

func (*DetachControlPolicyResponse) SetBody

func (*DetachControlPolicyResponse) SetHeaders

func (*DetachControlPolicyResponse) SetStatusCode

func (DetachControlPolicyResponse) String

type DetachControlPolicyResponseBody

type DetachControlPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachControlPolicyResponseBody) GoString

func (*DetachControlPolicyResponseBody) SetRequestId

func (DetachControlPolicyResponseBody) String

type DetachPolicyRequest

type DetachPolicyRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the object to which the policy is attached.
	PrincipalName *string `json:"PrincipalName,omitempty" xml:"PrincipalName,omitempty"`
	// The type of the object to which the policy is attached. Valid values:
	//
	// *   IMSUser: RAM user
	// *   IMSGroup: RAM user group
	// *   ServiceRole: RAM role
	PrincipalType *string `json:"PrincipalType,omitempty" xml:"PrincipalType,omitempty"`
	// The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.
	//
	// This parameter specifies the resource group or Alibaba Cloud account for which you want to revoke permissions.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (DetachPolicyRequest) GoString

func (s DetachPolicyRequest) GoString() string

func (*DetachPolicyRequest) SetPolicyName

func (s *DetachPolicyRequest) SetPolicyName(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetPolicyType

func (s *DetachPolicyRequest) SetPolicyType(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetPrincipalName

func (s *DetachPolicyRequest) SetPrincipalName(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetPrincipalType

func (s *DetachPolicyRequest) SetPrincipalType(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetResourceGroupId

func (s *DetachPolicyRequest) SetResourceGroupId(v string) *DetachPolicyRequest

func (DetachPolicyRequest) String

func (s DetachPolicyRequest) String() string

type DetachPolicyResponse

type DetachPolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachPolicyResponse) GoString

func (s DetachPolicyResponse) GoString() string

func (*DetachPolicyResponse) SetBody

func (*DetachPolicyResponse) SetHeaders

func (s *DetachPolicyResponse) SetHeaders(v map[string]*string) *DetachPolicyResponse

func (*DetachPolicyResponse) SetStatusCode

func (s *DetachPolicyResponse) SetStatusCode(v int32) *DetachPolicyResponse

func (DetachPolicyResponse) String

func (s DetachPolicyResponse) String() string

type DetachPolicyResponseBody

type DetachPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachPolicyResponseBody) GoString

func (s DetachPolicyResponseBody) GoString() string

func (*DetachPolicyResponseBody) SetRequestId

func (DetachPolicyResponseBody) String

func (s DetachPolicyResponseBody) String() string

type DisableAssociatedTransferResponse added in v3.1.0

type DisableAssociatedTransferResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DisableAssociatedTransferResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DisableAssociatedTransferResponse) GoString added in v3.1.0

func (*DisableAssociatedTransferResponse) SetBody added in v3.1.0

func (*DisableAssociatedTransferResponse) SetHeaders added in v3.1.0

func (*DisableAssociatedTransferResponse) SetStatusCode added in v3.1.0

func (DisableAssociatedTransferResponse) String added in v3.1.0

type DisableAssociatedTransferResponseBody added in v3.1.0

type DisableAssociatedTransferResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DisableAssociatedTransferResponseBody) GoString added in v3.1.0

func (*DisableAssociatedTransferResponseBody) SetRequestId added in v3.1.0

func (DisableAssociatedTransferResponseBody) String added in v3.1.0

type DisableControlPolicyResponse

type DisableControlPolicyResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DisableControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DisableControlPolicyResponse) GoString

func (s DisableControlPolicyResponse) GoString() string

func (*DisableControlPolicyResponse) SetBody

func (*DisableControlPolicyResponse) SetHeaders

func (*DisableControlPolicyResponse) SetStatusCode

func (DisableControlPolicyResponse) String

type DisableControlPolicyResponseBody

type DisableControlPolicyResponseBody struct {
	// The status of the Control Policy feature. Valid values:
	//
	// *   Enabled: The Control Policy feature is enabled.
	// *   PendingEnable: The Control Policy feature is being enabled.
	// *   Disabled: The Control Policy feature is disabled.
	// *   PendingDisable: The Control Policy feature is being disabled.
	EnablementStatus *string `json:"EnablementStatus,omitempty" xml:"EnablementStatus,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DisableControlPolicyResponseBody) GoString

func (*DisableControlPolicyResponseBody) SetEnablementStatus

func (*DisableControlPolicyResponseBody) SetRequestId

func (DisableControlPolicyResponseBody) String

type EnableAssociatedTransferResponse added in v3.1.0

type EnableAssociatedTransferResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableAssociatedTransferResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableAssociatedTransferResponse) GoString added in v3.1.0

func (*EnableAssociatedTransferResponse) SetBody added in v3.1.0

func (*EnableAssociatedTransferResponse) SetHeaders added in v3.1.0

func (*EnableAssociatedTransferResponse) SetStatusCode added in v3.1.0

func (EnableAssociatedTransferResponse) String added in v3.1.0

type EnableAssociatedTransferResponseBody added in v3.1.0

type EnableAssociatedTransferResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnableAssociatedTransferResponseBody) GoString added in v3.1.0

func (*EnableAssociatedTransferResponseBody) SetRequestId added in v3.1.0

func (EnableAssociatedTransferResponseBody) String added in v3.1.0

type EnableControlPolicyResponse

type EnableControlPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableControlPolicyResponse) GoString

func (s EnableControlPolicyResponse) GoString() string

func (*EnableControlPolicyResponse) SetBody

func (*EnableControlPolicyResponse) SetHeaders

func (*EnableControlPolicyResponse) SetStatusCode

func (EnableControlPolicyResponse) String

type EnableControlPolicyResponseBody

type EnableControlPolicyResponseBody struct {
	// The status of the Control Policy feature. Valid values:
	//
	// *   Enabled: The Control Policy feature is enabled.
	// *   PendingEnable: The Control Policy feature is being enabled.
	// *   Disabled: The Control Policy feature is disabled.
	// *   PendingDisable: The Control Policy feature is being disabled.
	EnablementStatus *string `json:"EnablementStatus,omitempty" xml:"EnablementStatus,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnableControlPolicyResponseBody) GoString

func (*EnableControlPolicyResponseBody) SetEnablementStatus

func (*EnableControlPolicyResponseBody) SetRequestId

func (EnableControlPolicyResponseBody) String

type EnableResourceDirectoryRequest

type EnableResourceDirectoryRequest struct {
	// The mode in which you enable a resource directory. Valid values:
	//
	// *   CurrentAccount: indicates that the current account is used to enable a resource directory.
	// *   NewManagementAccount: indicates that a newly created account is used to enable a resource directory. If you select this mode, you must configure the `MAName`, `MASecureMobilePhone`, and `VerificationCode` parameters.
	EnableMode *string `json:"EnableMode,omitempty" xml:"EnableMode,omitempty"`
	// The name of the newly created account.
	//
	// Specify the name in the `<Prefix>@rdadmin.aliyunid.com` format. The prefix can contain letters, digits, and special characters but cannot contain consecutive special characters. The prefix must start with a letter or digit and end with a letter or digit. Valid special characters include underscores (\_), periods (.), and hyphens (-). The prefix must be 2 to 50 characters in length.
	MAName *string `json:"MAName,omitempty" xml:"MAName,omitempty"`
	// The mobile phone number that is bound to the newly created account.
	//
	// If you leave this parameter empty, the mobile phone number that is bound to the current account is used. The mobile phone number you specify must be the same as the mobile phone number that you specify when you call the [SendVerificationCodeForEnableRD](~~364248~~) operation to obtain a verification code.
	//
	// Specify the mobile phone number in the `<Country code>-<Mobile phone number>` format.
	//
	// >  Mobile phone numbers in the `86-<Mobile phone number>` format in the Chinese mainland are not supported.
	MASecureMobilePhone *string `json:"MASecureMobilePhone,omitempty" xml:"MASecureMobilePhone,omitempty"`
	// The verification code.
	//
	// You can call the [SendVerificationCodeForEnableRD](~~364248~~) operation to obtain the verification code.
	VerificationCode *string `json:"VerificationCode,omitempty" xml:"VerificationCode,omitempty"`
}

func (EnableResourceDirectoryRequest) GoString

func (*EnableResourceDirectoryRequest) SetEnableMode

func (*EnableResourceDirectoryRequest) SetMAName

func (*EnableResourceDirectoryRequest) SetMASecureMobilePhone

func (*EnableResourceDirectoryRequest) SetVerificationCode

func (EnableResourceDirectoryRequest) String

type EnableResourceDirectoryResponse

type EnableResourceDirectoryResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnableResourceDirectoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnableResourceDirectoryResponse) GoString

func (*EnableResourceDirectoryResponse) SetHeaders

func (*EnableResourceDirectoryResponse) SetStatusCode

func (EnableResourceDirectoryResponse) String

type EnableResourceDirectoryResponseBody

type EnableResourceDirectoryResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource directory.
	ResourceDirectory *EnableResourceDirectoryResponseBodyResourceDirectory `json:"ResourceDirectory,omitempty" xml:"ResourceDirectory,omitempty" type:"Struct"`
}

func (EnableResourceDirectoryResponseBody) GoString

func (*EnableResourceDirectoryResponseBody) SetRequestId

func (EnableResourceDirectoryResponseBody) String

type EnableResourceDirectoryResponseBodyResourceDirectory

type EnableResourceDirectoryResponseBodyResourceDirectory struct {
	// The time when the resource directory was enabled.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the management account.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The ID of the Root folder.
	RootFolderId *string `json:"RootFolderId,omitempty" xml:"RootFolderId,omitempty"`
}

func (EnableResourceDirectoryResponseBodyResourceDirectory) GoString

func (*EnableResourceDirectoryResponseBodyResourceDirectory) SetCreateTime

func (*EnableResourceDirectoryResponseBodyResourceDirectory) SetMasterAccountId

func (*EnableResourceDirectoryResponseBodyResourceDirectory) SetMasterAccountName

func (*EnableResourceDirectoryResponseBodyResourceDirectory) SetResourceDirectoryId

func (*EnableResourceDirectoryResponseBodyResourceDirectory) SetRootFolderId

func (EnableResourceDirectoryResponseBodyResourceDirectory) String

type GetAccountDeletionCheckResultRequest

type GetAccountDeletionCheckResultRequest struct {
	// The ID of the member that you want to delete.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (GetAccountDeletionCheckResultRequest) GoString

func (*GetAccountDeletionCheckResultRequest) SetAccountId

func (GetAccountDeletionCheckResultRequest) String

type GetAccountDeletionCheckResultResponse

type GetAccountDeletionCheckResultResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAccountDeletionCheckResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAccountDeletionCheckResultResponse) GoString

func (*GetAccountDeletionCheckResultResponse) SetHeaders

func (*GetAccountDeletionCheckResultResponse) SetStatusCode

func (GetAccountDeletionCheckResultResponse) String

type GetAccountDeletionCheckResultResponseBody

type GetAccountDeletionCheckResultResponseBody struct {
	// The result of the deletion check for the member.
	AccountDeletionCheckResultInfo *GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo `json:"AccountDeletionCheckResultInfo,omitempty" xml:"AccountDeletionCheckResultInfo,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAccountDeletionCheckResultResponseBody) GoString

func (*GetAccountDeletionCheckResultResponseBody) SetRequestId

func (GetAccountDeletionCheckResultResponseBody) String

type GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo

type GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo struct {
	// The check items that you can choose to ignore for the member deletion.
	//
	// >  This parameter may be returned if the value of AllowDelete is true.
	AbandonableChecks []*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoAbandonableChecks `json:"AbandonableChecks,omitempty" xml:"AbandonableChecks,omitempty" type:"Repeated"`
	// Indicates whether the member can be deleted. Valid values:
	//
	// *   true: The member can be deleted.
	// *   false: The member cannot be deleted.
	AllowDelete *string `json:"AllowDelete,omitempty" xml:"AllowDelete,omitempty"`
	// The reasons why the member cannot be deleted.
	//
	// >  This parameter is returned only if the value of AllowDelete is false.
	NotAllowReason []*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason `json:"NotAllowReason,omitempty" xml:"NotAllowReason,omitempty" type:"Repeated"`
	// The status of the check. Valid values:
	//
	// *   PreCheckComplete: The check is complete.
	// *   PreChecking: The check is in progress.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo) GoString

func (*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo) SetAllowDelete

func (*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo) SetStatus

func (GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfo) String

type GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoAbandonableChecks

type GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoAbandonableChecks struct {
	// The ID of the check item.
	CheckId *string `json:"CheckId,omitempty" xml:"CheckId,omitempty"`
	// The name of the cloud service to which the check item belongs.
	CheckName *string `json:"CheckName,omitempty" xml:"CheckName,omitempty"`
	// The description of the check item.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
}

func (GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoAbandonableChecks) GoString

func (*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoAbandonableChecks) SetDescription

func (GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoAbandonableChecks) String

type GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason

type GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason struct {
	// The ID of the check item.
	CheckId *string `json:"CheckId,omitempty" xml:"CheckId,omitempty"`
	// The name of the cloud service to which the check item belongs.
	CheckName *string `json:"CheckName,omitempty" xml:"CheckName,omitempty"`
	// The description of the check item.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
}

func (GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason) GoString

func (*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason) SetCheckName

func (*GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason) SetDescription

func (GetAccountDeletionCheckResultResponseBodyAccountDeletionCheckResultInfoNotAllowReason) String

type GetAccountDeletionStatusRequest

type GetAccountDeletionStatusRequest struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (GetAccountDeletionStatusRequest) GoString

func (*GetAccountDeletionStatusRequest) SetAccountId

func (GetAccountDeletionStatusRequest) String

type GetAccountDeletionStatusResponse

type GetAccountDeletionStatusResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAccountDeletionStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAccountDeletionStatusResponse) GoString

func (*GetAccountDeletionStatusResponse) SetHeaders

func (*GetAccountDeletionStatusResponse) SetStatusCode

func (GetAccountDeletionStatusResponse) String

type GetAccountDeletionStatusResponseBody

type GetAccountDeletionStatusResponseBody struct {
	// The deletion status of the member.
	RdAccountDeletionStatus *GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus `json:"RdAccountDeletionStatus,omitempty" xml:"RdAccountDeletionStatus,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAccountDeletionStatusResponseBody) GoString

func (*GetAccountDeletionStatusResponseBody) SetRequestId

func (GetAccountDeletionStatusResponseBody) String

type GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus

type GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The start time of the deletion.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The end time of the deletion.
	DeletionTime *string `json:"DeletionTime,omitempty" xml:"DeletionTime,omitempty"`
	// The type of the deletion. Valid values:
	//
	// *   0: direct deletion. If the member does not have pay-as-you-go resources that are purchased within the previous 30 days, the system directly deletes the member.
	// *   1: deletion with a silence period. If the member has pay-as-you-go resources that are purchased within the previous 30 days, the member enters a silence period. The system starts to delete the member until the silence period ends. For more information about the silence period, see [What is the silence period for member deletion?](~~446079~~)
	DeletionType *string `json:"DeletionType,omitempty" xml:"DeletionType,omitempty"`
	// The reasons why the member fails to be deleted.
	FailReasonList []*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList `json:"FailReasonList,omitempty" xml:"FailReasonList,omitempty" type:"Repeated"`
	// The status. Valid values:
	//
	// *   Success: The member is deleted.
	// *   Checking: A deletion check is being performed for the member.
	// *   Deleting: The member is being deleted.
	// *   CheckFailed: The deletion check for the member fails.
	// *   DeleteFailed: The member fails to be deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) GoString

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) SetAccountId

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) SetCreateTime

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) SetDeletionTime

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) SetDeletionType

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) SetStatus

func (GetAccountDeletionStatusResponseBodyRdAccountDeletionStatus) String

type GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList

type GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList struct {
	// The description of the check item.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the cloud service to which the check item belongs.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList) GoString

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList) SetDescription

func (*GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList) SetName

func (GetAccountDeletionStatusResponseBodyRdAccountDeletionStatusFailReasonList) String

type GetAccountRequest

type GetAccountRequest struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// Specifies whether to return the information of tags. Valid values:
	//
	// *   false (default value)
	// *   true
	IncludeTags *bool `json:"IncludeTags,omitempty" xml:"IncludeTags,omitempty"`
}

func (GetAccountRequest) GoString

func (s GetAccountRequest) GoString() string

func (*GetAccountRequest) SetAccountId

func (s *GetAccountRequest) SetAccountId(v string) *GetAccountRequest

func (*GetAccountRequest) SetIncludeTags

func (s *GetAccountRequest) SetIncludeTags(v bool) *GetAccountRequest

func (GetAccountRequest) String

func (s GetAccountRequest) String() string

type GetAccountResponse

type GetAccountResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAccountResponse) GoString

func (s GetAccountResponse) GoString() string

func (*GetAccountResponse) SetBody

func (*GetAccountResponse) SetHeaders

func (s *GetAccountResponse) SetHeaders(v map[string]*string) *GetAccountResponse

func (*GetAccountResponse) SetStatusCode

func (s *GetAccountResponse) SetStatusCode(v int32) *GetAccountResponse

func (GetAccountResponse) String

func (s GetAccountResponse) String() string

type GetAccountResponseBody

type GetAccountResponseBody struct {
	// The information of the member.
	Account *GetAccountResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAccountResponseBody) GoString

func (s GetAccountResponseBody) GoString() string

func (*GetAccountResponseBody) SetAccount

func (*GetAccountResponseBody) SetRequestId

func (GetAccountResponseBody) String

func (s GetAccountResponseBody) String() string

type GetAccountResponseBodyAccount

type GetAccountResponseBodyAccount struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The Alibaba Cloud account name of the member.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The status of the modification for the email address bound to the member. Valid values:
	//
	// *   WAIT_MODIFY: in progress
	// *   CANCELLED: canceled
	// *   EXPIRED: expired
	//
	// If the value of this parameter is empty, no modification is performed for the email address.
	EmailStatus *string `json:"EmailStatus,omitempty" xml:"EmailStatus,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The real-name verification information.
	IdentityInformation *string `json:"IdentityInformation,omitempty" xml:"IdentityInformation,omitempty"`
	// The way in which the member joins the resource directory. Valid values:
	//
	// *   invited: The member is invited to join the resource directory.
	// *   created: The member is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member joined the resource directory.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The location of the member in the resource directory.
	Location *string `json:"Location,omitempty" xml:"Location,omitempty"`
	// The time when the member was modified.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The path of the member in the resource directory.
	ResourceDirectoryPath *string `json:"ResourceDirectoryPath,omitempty" xml:"ResourceDirectoryPath,omitempty"`
	// The status of the member. Valid values:
	//
	// *   CreateSuccess: The member is created.
	// *   PromoteVerifying: The upgrade of the member is being confirmed.
	// *   PromoteFailed: The upgrade of the member fails.
	// *   PromoteExpired: The upgrade of the member expires.
	// *   PromoteCancelled: The upgrade of the member is canceled.
	// *   PromoteSuccess: The member is upgraded.
	// *   InviteSuccess: The member accepts the invitation.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tags that are added to the member.
	Tags []*GetAccountResponseBodyAccountTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The type of the member. Valid values:
	//
	// *   CloudAccount: cloud account
	// *   ResourceAccount: resource account
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (GetAccountResponseBodyAccount) GoString

func (*GetAccountResponseBodyAccount) SetAccountId

func (*GetAccountResponseBodyAccount) SetAccountName

func (*GetAccountResponseBodyAccount) SetDisplayName

func (*GetAccountResponseBodyAccount) SetEmailStatus added in v3.0.2

func (*GetAccountResponseBodyAccount) SetFolderId

func (*GetAccountResponseBodyAccount) SetIdentityInformation

func (*GetAccountResponseBodyAccount) SetJoinMethod

func (*GetAccountResponseBodyAccount) SetJoinTime

func (*GetAccountResponseBodyAccount) SetLocation

func (*GetAccountResponseBodyAccount) SetModifyTime

func (*GetAccountResponseBodyAccount) SetResourceDirectoryId

func (*GetAccountResponseBodyAccount) SetResourceDirectoryPath

func (s *GetAccountResponseBodyAccount) SetResourceDirectoryPath(v string) *GetAccountResponseBodyAccount

func (*GetAccountResponseBodyAccount) SetStatus

func (*GetAccountResponseBodyAccount) SetTags

func (*GetAccountResponseBodyAccount) SetType

func (GetAccountResponseBodyAccount) String

type GetAccountResponseBodyAccountTags

type GetAccountResponseBodyAccountTags struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (GetAccountResponseBodyAccountTags) GoString

func (*GetAccountResponseBodyAccountTags) SetKey

func (*GetAccountResponseBodyAccountTags) SetValue

func (GetAccountResponseBodyAccountTags) String

type GetControlPolicyEnablementStatusResponse

type GetControlPolicyEnablementStatusResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetControlPolicyEnablementStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetControlPolicyEnablementStatusResponse) GoString

func (*GetControlPolicyEnablementStatusResponse) SetHeaders

func (*GetControlPolicyEnablementStatusResponse) SetStatusCode

func (GetControlPolicyEnablementStatusResponse) String

type GetControlPolicyEnablementStatusResponseBody

type GetControlPolicyEnablementStatusResponseBody struct {
	// The status of the Control Policy feature. Valid values:
	//
	// *   Enabled: The Control Policy feature is enabled.
	// *   PendingEnable: The Control Policy feature is being enabled.
	// *   Disabled: The Control Policy feature is disabled.
	// *   PendingDisable: The Control Policy feature is being disabled.
	EnablementStatus *string `json:"EnablementStatus,omitempty" xml:"EnablementStatus,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetControlPolicyEnablementStatusResponseBody) GoString

func (*GetControlPolicyEnablementStatusResponseBody) SetEnablementStatus

func (*GetControlPolicyEnablementStatusResponseBody) SetRequestId

func (GetControlPolicyEnablementStatusResponseBody) String

type GetControlPolicyRequest

type GetControlPolicyRequest struct {
	// The language in which you want to return the description of the access control policy. Valid values:
	//
	// *   zh-CN (default value): Chinese
	// *   en: English
	// *   ja: Japanese
	//
	// >  This parameter is valid only for system access control policies.
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
}

func (GetControlPolicyRequest) GoString

func (s GetControlPolicyRequest) GoString() string

func (*GetControlPolicyRequest) SetLanguage

func (*GetControlPolicyRequest) SetPolicyId

func (GetControlPolicyRequest) String

func (s GetControlPolicyRequest) String() string

type GetControlPolicyResponse

type GetControlPolicyResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetControlPolicyResponse) GoString

func (s GetControlPolicyResponse) GoString() string

func (*GetControlPolicyResponse) SetBody

func (*GetControlPolicyResponse) SetHeaders

func (*GetControlPolicyResponse) SetStatusCode

func (GetControlPolicyResponse) String

func (s GetControlPolicyResponse) String() string

type GetControlPolicyResponseBody

type GetControlPolicyResponseBody struct {
	// The details of the access control policy.
	ControlPolicy *GetControlPolicyResponseBodyControlPolicy `json:"ControlPolicy,omitempty" xml:"ControlPolicy,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetControlPolicyResponseBody) GoString

func (s GetControlPolicyResponseBody) GoString() string

func (*GetControlPolicyResponseBody) SetRequestId

func (GetControlPolicyResponseBody) String

type GetControlPolicyResponseBodyControlPolicy

type GetControlPolicyResponseBodyControlPolicy struct {
	// The number of times that the access control policy is referenced.
	AttachmentCount *string `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the access control policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the access control policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The effective scope of the access control policy. Valid values:
	//
	// *   All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
	// *   RAM: The access control policy is in effect only for RAM users and RAM roles.
	EffectScope *string `json:"EffectScope,omitempty" xml:"EffectScope,omitempty"`
	// The document of the access control policy.
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the access control policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the access control policy. Valid values:
	//
	// *   System: system access control policy
	// *   Custom: custom access control policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the access control policy was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (GetControlPolicyResponseBodyControlPolicy) GoString

func (*GetControlPolicyResponseBodyControlPolicy) SetAttachmentCount

func (*GetControlPolicyResponseBodyControlPolicy) SetCreateDate

func (*GetControlPolicyResponseBodyControlPolicy) SetDescription

func (*GetControlPolicyResponseBodyControlPolicy) SetEffectScope

func (*GetControlPolicyResponseBodyControlPolicy) SetPolicyDocument

func (*GetControlPolicyResponseBodyControlPolicy) SetPolicyId

func (*GetControlPolicyResponseBodyControlPolicy) SetPolicyName

func (*GetControlPolicyResponseBodyControlPolicy) SetPolicyType

func (*GetControlPolicyResponseBodyControlPolicy) SetUpdateDate

func (GetControlPolicyResponseBodyControlPolicy) String

type GetFolderRequest

type GetFolderRequest struct {
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
}

func (GetFolderRequest) GoString

func (s GetFolderRequest) GoString() string

func (*GetFolderRequest) SetFolderId

func (s *GetFolderRequest) SetFolderId(v string) *GetFolderRequest

func (GetFolderRequest) String

func (s GetFolderRequest) String() string

type GetFolderResponse

type GetFolderResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetFolderResponse) GoString

func (s GetFolderResponse) GoString() string

func (*GetFolderResponse) SetBody

func (*GetFolderResponse) SetHeaders

func (s *GetFolderResponse) SetHeaders(v map[string]*string) *GetFolderResponse

func (*GetFolderResponse) SetStatusCode

func (s *GetFolderResponse) SetStatusCode(v int32) *GetFolderResponse

func (GetFolderResponse) String

func (s GetFolderResponse) String() string

type GetFolderResponseBody

type GetFolderResponseBody struct {
	// The information of the folder.
	Folder *GetFolderResponseBodyFolder `json:"Folder,omitempty" xml:"Folder,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetFolderResponseBody) GoString

func (s GetFolderResponseBody) GoString() string

func (*GetFolderResponseBody) SetFolder

func (*GetFolderResponseBody) SetRequestId

func (GetFolderResponseBody) String

func (s GetFolderResponseBody) String() string

type GetFolderResponseBodyFolder

type GetFolderResponseBodyFolder struct {
	// The time when the folder was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The name of the folder.
	FolderName *string `json:"FolderName,omitempty" xml:"FolderName,omitempty"`
	// The ID of the parent folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
	// The path of the folder in the resource directory.
	ResourceDirectoryPath *string `json:"ResourceDirectoryPath,omitempty" xml:"ResourceDirectoryPath,omitempty"`
}

func (GetFolderResponseBodyFolder) GoString

func (s GetFolderResponseBodyFolder) GoString() string

func (*GetFolderResponseBodyFolder) SetCreateTime

func (*GetFolderResponseBodyFolder) SetFolderId

func (*GetFolderResponseBodyFolder) SetFolderName

func (*GetFolderResponseBodyFolder) SetParentFolderId

func (*GetFolderResponseBodyFolder) SetResourceDirectoryPath

func (s *GetFolderResponseBodyFolder) SetResourceDirectoryPath(v string) *GetFolderResponseBodyFolder

func (GetFolderResponseBodyFolder) String

type GetHandshakeRequest

type GetHandshakeRequest struct {
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
}

func (GetHandshakeRequest) GoString

func (s GetHandshakeRequest) GoString() string

func (*GetHandshakeRequest) SetHandshakeId

func (s *GetHandshakeRequest) SetHandshakeId(v string) *GetHandshakeRequest

func (GetHandshakeRequest) String

func (s GetHandshakeRequest) String() string

type GetHandshakeResponse

type GetHandshakeResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetHandshakeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetHandshakeResponse) GoString

func (s GetHandshakeResponse) GoString() string

func (*GetHandshakeResponse) SetBody

func (*GetHandshakeResponse) SetHeaders

func (s *GetHandshakeResponse) SetHeaders(v map[string]*string) *GetHandshakeResponse

func (*GetHandshakeResponse) SetStatusCode

func (s *GetHandshakeResponse) SetStatusCode(v int32) *GetHandshakeResponse

func (GetHandshakeResponse) String

func (s GetHandshakeResponse) String() string

type GetHandshakeResponseBody

type GetHandshakeResponseBody struct {
	// The information of the invitation.
	Handshake *GetHandshakeResponseBodyHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetHandshakeResponseBody) GoString

func (s GetHandshakeResponseBody) GoString() string

func (*GetHandshakeResponseBody) SetHandshake

func (*GetHandshakeResponseBody) SetRequestId

func (GetHandshakeResponseBody) String

func (s GetHandshakeResponseBody) String() string

type GetHandshakeResponseBodyHandshake

type GetHandshakeResponseBodyHandshake struct {
	// The time when the invitation was created. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The real-name verification information of the invitee.
	//
	// >  This parameter is available only when an invitee calls this operation.
	InvitedAccountRealName *string `json:"InvitedAccountRealName,omitempty" xml:"InvitedAccountRealName,omitempty"`
	// The ID of the management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The real-name verification information of the management account of the resource directory.
	//
	// >  This parameter is available only when an invitee calls this operation.
	MasterAccountRealName *string `json:"MasterAccountRealName,omitempty" xml:"MasterAccountRealName,omitempty"`
	// The time when the invitation was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The comment on the invitation.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation. Valid values:
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expires.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (GetHandshakeResponseBodyHandshake) GoString

func (*GetHandshakeResponseBodyHandshake) SetCreateTime

func (*GetHandshakeResponseBodyHandshake) SetExpireTime

func (*GetHandshakeResponseBodyHandshake) SetHandshakeId

func (*GetHandshakeResponseBodyHandshake) SetInvitedAccountRealName

func (*GetHandshakeResponseBodyHandshake) SetMasterAccountId

func (*GetHandshakeResponseBodyHandshake) SetMasterAccountName

func (*GetHandshakeResponseBodyHandshake) SetMasterAccountRealName

func (*GetHandshakeResponseBodyHandshake) SetModifyTime

func (*GetHandshakeResponseBodyHandshake) SetNote

func (*GetHandshakeResponseBodyHandshake) SetResourceDirectoryId

func (*GetHandshakeResponseBodyHandshake) SetStatus

func (*GetHandshakeResponseBodyHandshake) SetTargetEntity

func (*GetHandshakeResponseBodyHandshake) SetTargetType

func (GetHandshakeResponseBodyHandshake) String

type GetPayerForAccountRequest

type GetPayerForAccountRequest struct {
	// The ID of the account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (GetPayerForAccountRequest) GoString

func (s GetPayerForAccountRequest) GoString() string

func (*GetPayerForAccountRequest) SetAccountId

func (GetPayerForAccountRequest) String

func (s GetPayerForAccountRequest) String() string

type GetPayerForAccountResponse

type GetPayerForAccountResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPayerForAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPayerForAccountResponse) GoString

func (s GetPayerForAccountResponse) GoString() string

func (*GetPayerForAccountResponse) SetBody

func (*GetPayerForAccountResponse) SetHeaders

func (*GetPayerForAccountResponse) SetStatusCode

func (GetPayerForAccountResponse) String

type GetPayerForAccountResponseBody

type GetPayerForAccountResponseBody struct {
	// The ID of the settlement account.
	PayerAccountId *string `json:"PayerAccountId,omitempty" xml:"PayerAccountId,omitempty"`
	// The name of the settlement account.
	PayerAccountName *string `json:"PayerAccountName,omitempty" xml:"PayerAccountName,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPayerForAccountResponseBody) GoString

func (*GetPayerForAccountResponseBody) SetPayerAccountId

func (*GetPayerForAccountResponseBody) SetPayerAccountName

func (*GetPayerForAccountResponseBody) SetRequestId

func (GetPayerForAccountResponseBody) String

type GetPolicyRequest

type GetPolicyRequest 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 `json:"Language,omitempty" xml:"Language,omitempty"`
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (GetPolicyRequest) GoString

func (s GetPolicyRequest) GoString() string

func (*GetPolicyRequest) SetLanguage

func (s *GetPolicyRequest) SetLanguage(v string) *GetPolicyRequest

func (*GetPolicyRequest) SetPolicyName

func (s *GetPolicyRequest) SetPolicyName(v string) *GetPolicyRequest

func (*GetPolicyRequest) SetPolicyType

func (s *GetPolicyRequest) SetPolicyType(v string) *GetPolicyRequest

func (GetPolicyRequest) String

func (s GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPolicyResponse) GoString

func (s GetPolicyResponse) GoString() string

func (*GetPolicyResponse) SetBody

func (*GetPolicyResponse) SetHeaders

func (s *GetPolicyResponse) SetHeaders(v map[string]*string) *GetPolicyResponse

func (*GetPolicyResponse) SetStatusCode

func (s *GetPolicyResponse) SetStatusCode(v int32) *GetPolicyResponse

func (GetPolicyResponse) String

func (s GetPolicyResponse) String() string

type GetPolicyResponseBody

type GetPolicyResponseBody struct {
	// The information of the policy.
	Policy *GetPolicyResponseBodyPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPolicyResponseBody) GoString

func (s GetPolicyResponseBody) GoString() string

func (*GetPolicyResponseBody) SetPolicy

func (*GetPolicyResponseBody) SetRequestId

func (GetPolicyResponseBody) String

func (s GetPolicyResponseBody) String() string

type GetPolicyResponseBodyPolicy

type GetPolicyResponseBodyPolicy struct {
	// The number of times the policy is referenced.
	AttachmentCount *int32 `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The default version of the policy.
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The document of the policy.
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The name of the policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the policy was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (GetPolicyResponseBodyPolicy) GoString

func (s GetPolicyResponseBodyPolicy) GoString() string

func (*GetPolicyResponseBodyPolicy) SetAttachmentCount

func (*GetPolicyResponseBodyPolicy) SetCreateDate

func (*GetPolicyResponseBodyPolicy) SetDefaultVersion

func (*GetPolicyResponseBodyPolicy) SetDescription

func (*GetPolicyResponseBodyPolicy) SetPolicyDocument

func (*GetPolicyResponseBodyPolicy) SetPolicyName

func (*GetPolicyResponseBodyPolicy) SetPolicyType

func (*GetPolicyResponseBodyPolicy) SetUpdateDate

func (GetPolicyResponseBodyPolicy) String

type GetPolicyVersionRequest

type GetPolicyVersionRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The ID of the policy version.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (GetPolicyVersionRequest) GoString

func (s GetPolicyVersionRequest) GoString() string

func (*GetPolicyVersionRequest) SetPolicyName

func (*GetPolicyVersionRequest) SetPolicyType

func (*GetPolicyVersionRequest) SetVersionId

func (GetPolicyVersionRequest) String

func (s GetPolicyVersionRequest) String() string

type GetPolicyVersionResponse

type GetPolicyVersionResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPolicyVersionResponse) GoString

func (s GetPolicyVersionResponse) GoString() string

func (*GetPolicyVersionResponse) SetBody

func (*GetPolicyVersionResponse) SetHeaders

func (*GetPolicyVersionResponse) SetStatusCode

func (GetPolicyVersionResponse) String

func (s GetPolicyVersionResponse) String() string

type GetPolicyVersionResponseBody

type GetPolicyVersionResponseBody struct {
	// The information of the policy version.
	PolicyVersion *GetPolicyVersionResponseBodyPolicyVersion `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPolicyVersionResponseBody) GoString

func (s GetPolicyVersionResponseBody) GoString() string

func (*GetPolicyVersionResponseBody) SetRequestId

func (GetPolicyVersionResponseBody) String

type GetPolicyVersionResponseBodyPolicyVersion

type GetPolicyVersionResponseBodyPolicyVersion struct {
	// The time when the policy version was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether the policy version is the default version.
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The document of the policy.
	PolicyDocument *string `json:"PolicyDocument,omitempty" xml:"PolicyDocument,omitempty"`
	// The ID of the policy version.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (GetPolicyVersionResponseBodyPolicyVersion) GoString

func (*GetPolicyVersionResponseBodyPolicyVersion) SetCreateDate

func (*GetPolicyVersionResponseBodyPolicyVersion) SetIsDefaultVersion

func (*GetPolicyVersionResponseBodyPolicyVersion) SetPolicyDocument

func (*GetPolicyVersionResponseBodyPolicyVersion) SetVersionId

func (GetPolicyVersionResponseBodyPolicyVersion) String

type GetResourceDirectoryResponse

type GetResourceDirectoryResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetResourceDirectoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetResourceDirectoryResponse) GoString

func (s GetResourceDirectoryResponse) GoString() string

func (*GetResourceDirectoryResponse) SetBody

func (*GetResourceDirectoryResponse) SetHeaders

func (*GetResourceDirectoryResponse) SetStatusCode

func (GetResourceDirectoryResponse) String

type GetResourceDirectoryResponseBody

type GetResourceDirectoryResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource directory.
	ResourceDirectory *GetResourceDirectoryResponseBodyResourceDirectory `json:"ResourceDirectory,omitempty" xml:"ResourceDirectory,omitempty" type:"Struct"`
}

func (GetResourceDirectoryResponseBody) GoString

func (*GetResourceDirectoryResponseBody) SetRequestId

func (GetResourceDirectoryResponseBody) String

type GetResourceDirectoryResponseBodyResourceDirectory

type GetResourceDirectoryResponseBodyResourceDirectory struct {
	// The status of the Control Policy feature. Valid values:
	//
	// *   Enabled: The feature is enabled.
	// *   PendingEnable: The feature is being enabled.
	// *   Disabled: The feature is disabled.
	// *   PendingDisable: The feature is being disabled.
	ControlPolicyStatus *string `json:"ControlPolicyStatus,omitempty" xml:"ControlPolicyStatus,omitempty"`
	// The time when the resource directory was enabled.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The real-name verification information.
	IdentityInformation *string `json:"IdentityInformation,omitempty" xml:"IdentityInformation,omitempty"`
	// The ID of the management account.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The status of the member deletion feature. Valid values:
	//
	// *   Enabled: The feature is enabled. You can call the [DeleteAccount](~~311546~~) operation to delete members of the resource account type.
	// *   Disabled: The feature is disabled. You cannot delete members of the resource account type.
	MemberDeletionStatus *string `json:"MemberDeletionStatus,omitempty" xml:"MemberDeletionStatus,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The ID of the Root folder.
	RootFolderId *string `json:"RootFolderId,omitempty" xml:"RootFolderId,omitempty"`
}

func (GetResourceDirectoryResponseBodyResourceDirectory) GoString

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetControlPolicyStatus

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetCreateTime

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetIdentityInformation

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetMasterAccountId

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetMasterAccountName

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetMemberDeletionStatus

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetResourceDirectoryId

func (*GetResourceDirectoryResponseBodyResourceDirectory) SetRootFolderId

func (GetResourceDirectoryResponseBodyResourceDirectory) String

type GetResourceGroupRequest

type GetResourceGroupRequest struct {
	// The ID of the request.
	IncludeTags *bool `json:"IncludeTags,omitempty" xml:"IncludeTags,omitempty"`
	// Specifies whether to return the information of tags. Valid values:
	//
	// *   false (default value)
	// *   true
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (GetResourceGroupRequest) GoString

func (s GetResourceGroupRequest) GoString() string

func (*GetResourceGroupRequest) SetIncludeTags

func (*GetResourceGroupRequest) SetResourceGroupId

func (s *GetResourceGroupRequest) SetResourceGroupId(v string) *GetResourceGroupRequest

func (GetResourceGroupRequest) String

func (s GetResourceGroupRequest) String() string

type GetResourceGroupResponse

type GetResourceGroupResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetResourceGroupResponse) GoString

func (s GetResourceGroupResponse) GoString() string

func (*GetResourceGroupResponse) SetBody

func (*GetResourceGroupResponse) SetHeaders

func (*GetResourceGroupResponse) SetStatusCode

func (GetResourceGroupResponse) String

func (s GetResourceGroupResponse) String() string

type GetResourceGroupResponseBody

type GetResourceGroupResponseBody struct {
	// The information of the resource group.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The display name of the resource group.
	ResourceGroup *GetResourceGroupResponseBodyResourceGroup `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty" type:"Struct"`
}

func (GetResourceGroupResponseBody) GoString

func (s GetResourceGroupResponseBody) GoString() string

func (*GetResourceGroupResponseBody) SetRequestId

func (GetResourceGroupResponseBody) String

type GetResourceGroupResponseBodyResourceGroup

type GetResourceGroupResponseBodyResourceGroup struct {
	// The identifier of the resource group.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The ID of the resource group.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	// *   PendingDelete: The resource group is waiting to be deleted.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The tags that are added to the resource group.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The time when the resource group was created. The time is displayed in UTC.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	// *   PendingDelete: The resource group is waiting to be deleted.
	// *   Deleting: The resource group is being deleted.
	RegionStatuses *GetResourceGroupResponseBodyResourceGroupRegionStatuses `json:"RegionStatuses,omitempty" xml:"RegionStatuses,omitempty" type:"Struct"`
	// The status of the resource group in all regions.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tag key.
	Tags *GetResourceGroupResponseBodyResourceGroupTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
}

func (GetResourceGroupResponseBodyResourceGroup) GoString

func (*GetResourceGroupResponseBodyResourceGroup) SetAccountId

func (*GetResourceGroupResponseBodyResourceGroup) SetCreateDate

func (*GetResourceGroupResponseBodyResourceGroup) SetDisplayName

func (*GetResourceGroupResponseBodyResourceGroup) SetId

func (*GetResourceGroupResponseBodyResourceGroup) SetName

func (*GetResourceGroupResponseBodyResourceGroup) SetStatus

func (GetResourceGroupResponseBodyResourceGroup) String

type GetResourceGroupResponseBodyResourceGroupRegionStatuses

type GetResourceGroupResponseBodyResourceGroupRegionStatuses struct {
	RegionStatus []*GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus `json:"RegionStatus,omitempty" xml:"RegionStatus,omitempty" type:"Repeated"`
}

func (GetResourceGroupResponseBodyResourceGroupRegionStatuses) GoString

func (GetResourceGroupResponseBodyResourceGroupRegionStatuses) String

type GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus

type GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus struct {
	// The ID of the Alibaba Cloud account to which the resource group belongs.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The region ID.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) GoString

func (*GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) SetRegionId

func (*GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) SetStatus

func (GetResourceGroupResponseBodyResourceGroupRegionStatusesRegionStatus) String

type GetResourceGroupResponseBodyResourceGroupTags

type GetResourceGroupResponseBodyResourceGroupTags struct {
	Tag []*GetResourceGroupResponseBodyResourceGroupTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (GetResourceGroupResponseBodyResourceGroupTags) GoString

func (GetResourceGroupResponseBodyResourceGroupTags) String

type GetResourceGroupResponseBodyResourceGroupTagsTag

type GetResourceGroupResponseBodyResourceGroupTagsTag struct {
	// The tag value.
	TagKey   *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (GetResourceGroupResponseBodyResourceGroupTagsTag) GoString

func (*GetResourceGroupResponseBodyResourceGroupTagsTag) SetTagKey

func (*GetResourceGroupResponseBodyResourceGroupTagsTag) SetTagValue

func (GetResourceGroupResponseBodyResourceGroupTagsTag) String

type GetRoleRequest

type GetRoleRequest struct {
	// The language that is used to return the description of the RAM role. Valid values:
	//
	// *   en: English
	// *   zh-CN: Chinese
	// *   ja: Japanese
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-).
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (GetRoleRequest) GoString

func (s GetRoleRequest) GoString() string

func (*GetRoleRequest) SetLanguage

func (s *GetRoleRequest) SetLanguage(v string) *GetRoleRequest

func (*GetRoleRequest) SetRoleName

func (s *GetRoleRequest) SetRoleName(v string) *GetRoleRequest

func (GetRoleRequest) String

func (s GetRoleRequest) String() string

type GetRoleResponse

type GetRoleResponse struct {
	Headers    map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetRoleResponse) GoString

func (s GetRoleResponse) GoString() string

func (*GetRoleResponse) SetBody

func (*GetRoleResponse) SetHeaders

func (s *GetRoleResponse) SetHeaders(v map[string]*string) *GetRoleResponse

func (*GetRoleResponse) SetStatusCode

func (s *GetRoleResponse) SetStatusCode(v int32) *GetRoleResponse

func (GetRoleResponse) String

func (s GetRoleResponse) String() string

type GetRoleResponseBody

type GetRoleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the RAM role.
	Role *GetRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (GetRoleResponseBody) GoString

func (s GetRoleResponseBody) GoString() string

func (*GetRoleResponseBody) SetRequestId

func (s *GetRoleResponseBody) SetRequestId(v string) *GetRoleResponseBody

func (*GetRoleResponseBody) SetRole

func (GetRoleResponseBody) String

func (s GetRoleResponseBody) String() string

type GetRoleResponseBodyRole

type GetRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The document of the policy that specifies the trusted entity to assume the RAM role.
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the RAM role was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the RAM role is a service linked role.
	IsServiceLinkedRole *bool `json:"IsServiceLinkedRole,omitempty" xml:"IsServiceLinkedRole,omitempty"`
	// The information of the most recent deletion task.
	LatestDeletionTask *GetRoleResponseBodyRoleLatestDeletionTask `json:"LatestDeletionTask,omitempty" xml:"LatestDeletionTask,omitempty" type:"Struct"`
	// The maximum session duration of the RAM role.
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The name of the RAM role after authorization.
	RolePrincipalName *string `json:"RolePrincipalName,omitempty" xml:"RolePrincipalName,omitempty"`
	// The time when the RAM role was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (GetRoleResponseBodyRole) GoString

func (s GetRoleResponseBodyRole) GoString() string

func (*GetRoleResponseBodyRole) SetArn

func (*GetRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (s *GetRoleResponseBodyRole) SetAssumeRolePolicyDocument(v string) *GetRoleResponseBodyRole

func (*GetRoleResponseBodyRole) SetCreateDate

func (*GetRoleResponseBodyRole) SetDescription

func (*GetRoleResponseBodyRole) SetIsServiceLinkedRole

func (s *GetRoleResponseBodyRole) SetIsServiceLinkedRole(v bool) *GetRoleResponseBodyRole

func (*GetRoleResponseBodyRole) SetLatestDeletionTask

func (*GetRoleResponseBodyRole) SetMaxSessionDuration

func (s *GetRoleResponseBodyRole) SetMaxSessionDuration(v int64) *GetRoleResponseBodyRole

func (*GetRoleResponseBodyRole) SetRoleId

func (*GetRoleResponseBodyRole) SetRoleName

func (*GetRoleResponseBodyRole) SetRolePrincipalName

func (s *GetRoleResponseBodyRole) SetRolePrincipalName(v string) *GetRoleResponseBodyRole

func (*GetRoleResponseBodyRole) SetUpdateDate

func (GetRoleResponseBodyRole) String

func (s GetRoleResponseBodyRole) String() string

type GetRoleResponseBodyRoleLatestDeletionTask

type GetRoleResponseBodyRoleLatestDeletionTask struct {
	// The time when the deletion task was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ID of the deletion task.
	DeletionTaskId *string `json:"DeletionTaskId,omitempty" xml:"DeletionTaskId,omitempty"`
}

func (GetRoleResponseBodyRoleLatestDeletionTask) GoString

func (*GetRoleResponseBodyRoleLatestDeletionTask) SetCreateDate

func (*GetRoleResponseBodyRoleLatestDeletionTask) SetDeletionTaskId

func (GetRoleResponseBodyRoleLatestDeletionTask) String

type GetServiceLinkedRoleDeletionStatusRequest

type GetServiceLinkedRoleDeletionStatusRequest struct {
	// The ID of the deletion task.
	DeletionTaskId *string `json:"DeletionTaskId,omitempty" xml:"DeletionTaskId,omitempty"`
}

func (GetServiceLinkedRoleDeletionStatusRequest) GoString

func (*GetServiceLinkedRoleDeletionStatusRequest) SetDeletionTaskId

func (GetServiceLinkedRoleDeletionStatusRequest) String

type GetServiceLinkedRoleDeletionStatusResponse

type GetServiceLinkedRoleDeletionStatusResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetServiceLinkedRoleDeletionStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetServiceLinkedRoleDeletionStatusResponse) GoString

func (*GetServiceLinkedRoleDeletionStatusResponse) SetHeaders

func (*GetServiceLinkedRoleDeletionStatusResponse) SetStatusCode

func (GetServiceLinkedRoleDeletionStatusResponse) String

type GetServiceLinkedRoleDeletionStatusResponseBody

type GetServiceLinkedRoleDeletionStatusResponseBody struct {
	// The reason why the deletion task failed.
	Reason *GetServiceLinkedRoleDeletionStatusResponseBodyReason `json:"Reason,omitempty" xml:"Reason,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The status of the task.
	//
	// - SUCCEEDED
	// - IN_PROGRESS
	// - FAILED
	// - NOT_STARTED
	// - INTERNAL_ERROR
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetServiceLinkedRoleDeletionStatusResponseBody) GoString

func (*GetServiceLinkedRoleDeletionStatusResponseBody) SetRequestId

func (*GetServiceLinkedRoleDeletionStatusResponseBody) SetStatus

func (GetServiceLinkedRoleDeletionStatusResponseBody) String

type GetServiceLinkedRoleDeletionStatusResponseBodyReason

type GetServiceLinkedRoleDeletionStatusResponseBodyReason struct {
	// Failure information.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Use resource information of the service linked role.
	RoleUsages *GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsages `json:"RoleUsages,omitempty" xml:"RoleUsages,omitempty" type:"Struct"`
}

func (GetServiceLinkedRoleDeletionStatusResponseBodyReason) GoString

func (*GetServiceLinkedRoleDeletionStatusResponseBodyReason) SetMessage

func (GetServiceLinkedRoleDeletionStatusResponseBodyReason) String

type GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsages

type GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsages struct {
	RoleUsage []*GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsage `json:"RoleUsage,omitempty" xml:"RoleUsage,omitempty" type:"Repeated"`
}

func (GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsages) GoString

func (GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsages) String

type GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsage

type GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsage struct {
	// The IDs of the regions in which the resources are to be queried.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The returned resources.
	Resources *GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsageResources `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Struct"`
}

func (GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsage) GoString

func (*GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsage) SetRegion

func (GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsage) String

type GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsageResources

type GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsageResources struct {
	Resource []*string `json:"Resource,omitempty" xml:"Resource,omitempty" type:"Repeated"`
}

func (GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsageResources) GoString

func (*GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsageResources) SetResource

func (GetServiceLinkedRoleDeletionStatusResponseBodyReasonRoleUsagesRoleUsageResources) String

type InitResourceDirectoryResponse

type InitResourceDirectoryResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *InitResourceDirectoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (InitResourceDirectoryResponse) GoString

func (*InitResourceDirectoryResponse) SetBody

func (*InitResourceDirectoryResponse) SetHeaders

func (*InitResourceDirectoryResponse) SetStatusCode

func (InitResourceDirectoryResponse) String

type InitResourceDirectoryResponseBody

type InitResourceDirectoryResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource directory.
	ResourceDirectory *InitResourceDirectoryResponseBodyResourceDirectory `json:"ResourceDirectory,omitempty" xml:"ResourceDirectory,omitempty" type:"Struct"`
}

func (InitResourceDirectoryResponseBody) GoString

func (*InitResourceDirectoryResponseBody) SetRequestId

func (InitResourceDirectoryResponseBody) String

type InitResourceDirectoryResponseBodyResourceDirectory

type InitResourceDirectoryResponseBodyResourceDirectory struct {
	// The time when the resource directory was enabled.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the enterprise management account.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the enterprise management account.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The ID of the root folder.
	RootFolderId *string `json:"RootFolderId,omitempty" xml:"RootFolderId,omitempty"`
}

func (InitResourceDirectoryResponseBodyResourceDirectory) GoString

func (*InitResourceDirectoryResponseBodyResourceDirectory) SetCreateTime

func (*InitResourceDirectoryResponseBodyResourceDirectory) SetMasterAccountId

func (*InitResourceDirectoryResponseBodyResourceDirectory) SetMasterAccountName

func (*InitResourceDirectoryResponseBodyResourceDirectory) SetResourceDirectoryId

func (*InitResourceDirectoryResponseBodyResourceDirectory) SetRootFolderId

func (InitResourceDirectoryResponseBodyResourceDirectory) String

type InviteAccountToResourceDirectoryRequest

type InviteAccountToResourceDirectoryRequest struct {
	// The comment on the invitation.
	//
	// The comment can be up to 1,024 characters in length.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The tag key and value.
	Tag []*InviteAccountToResourceDirectoryRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The ID or logon email address of the account that you want to invite.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (InviteAccountToResourceDirectoryRequest) GoString

func (*InviteAccountToResourceDirectoryRequest) SetNote

func (*InviteAccountToResourceDirectoryRequest) SetTargetEntity

func (*InviteAccountToResourceDirectoryRequest) SetTargetType

func (InviteAccountToResourceDirectoryRequest) String

type InviteAccountToResourceDirectoryRequestTag

type InviteAccountToResourceDirectoryRequestTag struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (InviteAccountToResourceDirectoryRequestTag) GoString

func (*InviteAccountToResourceDirectoryRequestTag) SetKey

func (*InviteAccountToResourceDirectoryRequestTag) SetValue

func (InviteAccountToResourceDirectoryRequestTag) String

type InviteAccountToResourceDirectoryResponse

type InviteAccountToResourceDirectoryResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *InviteAccountToResourceDirectoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (InviteAccountToResourceDirectoryResponse) GoString

func (*InviteAccountToResourceDirectoryResponse) SetHeaders

func (*InviteAccountToResourceDirectoryResponse) SetStatusCode

func (InviteAccountToResourceDirectoryResponse) String

type InviteAccountToResourceDirectoryResponseBody

type InviteAccountToResourceDirectoryResponseBody struct {
	// The information of the invitation.
	Handshake *InviteAccountToResourceDirectoryResponseBodyHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (InviteAccountToResourceDirectoryResponseBody) GoString

func (*InviteAccountToResourceDirectoryResponseBody) SetRequestId

func (InviteAccountToResourceDirectoryResponseBody) String

type InviteAccountToResourceDirectoryResponseBodyHandshake

type InviteAccountToResourceDirectoryResponseBodyHandshake struct {
	// The time when the invitation was created. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The ID of the management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The time when the invitation was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The comment on the invitation.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation.
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expires.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (InviteAccountToResourceDirectoryResponseBodyHandshake) GoString

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetCreateTime

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetExpireTime

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetHandshakeId

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetMasterAccountId

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetMasterAccountName

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetModifyTime

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetNote

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetResourceDirectoryId

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetStatus

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetTargetEntity

func (*InviteAccountToResourceDirectoryResponseBodyHandshake) SetTargetType

func (InviteAccountToResourceDirectoryResponseBodyHandshake) String

type ListAccountsForParentRequest

type ListAccountsForParentRequest struct {
	// Specifies whether to return the information of tags. Valid values:
	//
	// false (default value)
	//
	// true
	IncludeTags *bool `json:"IncludeTags,omitempty" xml:"IncludeTags,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
	// The keyword used for the query, such as the display name of a member.
	//
	// Fuzzy match is supported.
	QueryKeyword *string `json:"QueryKeyword,omitempty" xml:"QueryKeyword,omitempty"`
	// The tag key and value.
	Tag []*ListAccountsForParentRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListAccountsForParentRequest) GoString

func (s ListAccountsForParentRequest) GoString() string

func (*ListAccountsForParentRequest) SetIncludeTags

func (*ListAccountsForParentRequest) SetPageNumber

func (*ListAccountsForParentRequest) SetPageSize

func (*ListAccountsForParentRequest) SetParentFolderId

func (*ListAccountsForParentRequest) SetQueryKeyword

func (*ListAccountsForParentRequest) SetTag

func (ListAccountsForParentRequest) String

type ListAccountsForParentRequestTag

type ListAccountsForParentRequestTag struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListAccountsForParentRequestTag) GoString

func (*ListAccountsForParentRequestTag) SetKey

func (*ListAccountsForParentRequestTag) SetValue

func (ListAccountsForParentRequestTag) String

type ListAccountsForParentResponse

type ListAccountsForParentResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAccountsForParentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAccountsForParentResponse) GoString

func (*ListAccountsForParentResponse) SetBody

func (*ListAccountsForParentResponse) SetHeaders

func (*ListAccountsForParentResponse) SetStatusCode

func (ListAccountsForParentResponse) String

type ListAccountsForParentResponseBody

type ListAccountsForParentResponseBody struct {
	// The information of the members.
	Accounts *ListAccountsForParentResponseBodyAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListAccountsForParentResponseBody) GoString

func (*ListAccountsForParentResponseBody) SetPageNumber

func (*ListAccountsForParentResponseBody) SetPageSize

func (*ListAccountsForParentResponseBody) SetRequestId

func (*ListAccountsForParentResponseBody) SetTotalCount

func (ListAccountsForParentResponseBody) String

type ListAccountsForParentResponseBodyAccounts

type ListAccountsForParentResponseBodyAccounts struct {
	Account []*ListAccountsForParentResponseBodyAccountsAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Repeated"`
}

func (ListAccountsForParentResponseBodyAccounts) GoString

func (ListAccountsForParentResponseBodyAccounts) String

type ListAccountsForParentResponseBodyAccountsAccount

type ListAccountsForParentResponseBodyAccountsAccount struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The display name of the member.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member joins the resource directory.
	//
	// *   invited: The member is invited to join the resource directory.
	// *   created: The member is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member joined the resource directory. The time is displayed in UTC.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member. Valid values:
	//
	// *   CreateSuccess: The member is created.
	// *   PromoteVerifying: The upgrade of the member is being confirmed.
	// *   PromoteFailed: The upgrade of the member fails.
	// *   PromoteExpired: The upgrade of the member expires.
	// *   PromoteCancelled: The upgrade of the member is canceled.
	// *   PromoteSuccess: The member is upgraded.
	// *   InviteSuccess: The member accepts the invitation.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tags that are added to the member.
	Tags *ListAccountsForParentResponseBodyAccountsAccountTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The type of the member.
	//
	// *   CloudAccount: cloud account
	// *   ResourceAccount: resource account
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListAccountsForParentResponseBodyAccountsAccount) GoString

func (*ListAccountsForParentResponseBodyAccountsAccount) SetAccountId

func (*ListAccountsForParentResponseBodyAccountsAccount) SetDisplayName

func (*ListAccountsForParentResponseBodyAccountsAccount) SetFolderId

func (*ListAccountsForParentResponseBodyAccountsAccount) SetJoinMethod

func (*ListAccountsForParentResponseBodyAccountsAccount) SetJoinTime

func (*ListAccountsForParentResponseBodyAccountsAccount) SetModifyTime

func (*ListAccountsForParentResponseBodyAccountsAccount) SetResourceDirectoryId

func (*ListAccountsForParentResponseBodyAccountsAccount) SetStatus

func (*ListAccountsForParentResponseBodyAccountsAccount) SetType

func (ListAccountsForParentResponseBodyAccountsAccount) String

type ListAccountsForParentResponseBodyAccountsAccountTags

type ListAccountsForParentResponseBodyAccountsAccountTags struct {
	Tag []*ListAccountsForParentResponseBodyAccountsAccountTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListAccountsForParentResponseBodyAccountsAccountTags) GoString

func (ListAccountsForParentResponseBodyAccountsAccountTags) String

type ListAccountsForParentResponseBodyAccountsAccountTagsTag

type ListAccountsForParentResponseBodyAccountsAccountTagsTag struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListAccountsForParentResponseBodyAccountsAccountTagsTag) GoString

func (*ListAccountsForParentResponseBodyAccountsAccountTagsTag) SetKey

func (*ListAccountsForParentResponseBodyAccountsAccountTagsTag) SetValue

func (ListAccountsForParentResponseBodyAccountsAccountTagsTag) String

type ListAccountsRequest

type ListAccountsRequest struct {
	// Specifies whether to return the information of tags. Valid values:
	//
	// *   false (default value)
	// *   true
	IncludeTags *bool `json:"IncludeTags,omitempty" xml:"IncludeTags,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The tag key and value.
	Tag []*ListAccountsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListAccountsRequest) GoString

func (s ListAccountsRequest) GoString() string

func (*ListAccountsRequest) SetIncludeTags

func (s *ListAccountsRequest) SetIncludeTags(v bool) *ListAccountsRequest

func (*ListAccountsRequest) SetPageNumber

func (s *ListAccountsRequest) SetPageNumber(v int32) *ListAccountsRequest

func (*ListAccountsRequest) SetPageSize

func (s *ListAccountsRequest) SetPageSize(v int32) *ListAccountsRequest

func (*ListAccountsRequest) SetTag

func (ListAccountsRequest) String

func (s ListAccountsRequest) String() string

type ListAccountsRequestTag

type ListAccountsRequestTag struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListAccountsRequestTag) GoString

func (s ListAccountsRequestTag) GoString() string

func (*ListAccountsRequestTag) SetKey

func (*ListAccountsRequestTag) SetValue

func (ListAccountsRequestTag) String

func (s ListAccountsRequestTag) String() string

type ListAccountsResponse

type ListAccountsResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAccountsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAccountsResponse) GoString

func (s ListAccountsResponse) GoString() string

func (*ListAccountsResponse) SetBody

func (*ListAccountsResponse) SetHeaders

func (s *ListAccountsResponse) SetHeaders(v map[string]*string) *ListAccountsResponse

func (*ListAccountsResponse) SetStatusCode

func (s *ListAccountsResponse) SetStatusCode(v int32) *ListAccountsResponse

func (ListAccountsResponse) String

func (s ListAccountsResponse) String() string

type ListAccountsResponseBody

type ListAccountsResponseBody struct {
	// The members returned.
	Accounts *ListAccountsResponseBodyAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListAccountsResponseBody) GoString

func (s ListAccountsResponseBody) GoString() string

func (*ListAccountsResponseBody) SetAccounts

func (*ListAccountsResponseBody) SetPageNumber

func (*ListAccountsResponseBody) SetPageSize

func (*ListAccountsResponseBody) SetRequestId

func (*ListAccountsResponseBody) SetTotalCount

func (ListAccountsResponseBody) String

func (s ListAccountsResponseBody) String() string

type ListAccountsResponseBodyAccounts

type ListAccountsResponseBodyAccounts struct {
	Account []*ListAccountsResponseBodyAccountsAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Repeated"`
}

func (ListAccountsResponseBodyAccounts) GoString

func (ListAccountsResponseBodyAccounts) String

type ListAccountsResponseBodyAccountsAccount

type ListAccountsResponseBodyAccountsAccount struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The display name of the member.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member joins the resource directory. Valid values:
	//
	// *   invited: The member is invited to join the resource directory.
	// *   created: The member is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member joined the resource directory. The time is displayed in UTC.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The path of the member in the resource directory.
	ResourceDirectoryPath *string `json:"ResourceDirectoryPath,omitempty" xml:"ResourceDirectoryPath,omitempty"`
	// The status of the member. Valid values:
	//
	// *   CreateSuccess: The member is created.
	// *   PromoteVerifying: The upgrade of the member is being confirmed.
	// *   PromoteFailed: The upgrade of the member fails.
	// *   PromoteExpired: The upgrade of the member expires.
	// *   PromoteCancelled: The upgrade of the member is canceled.
	// *   PromoteSuccess: The member is upgraded.
	// *   InviteSuccess: The member accepts the invitation.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tags that are added to the member.
	Tags *ListAccountsResponseBodyAccountsAccountTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The type of the member. Valid values:
	//
	// *   CloudAccount: cloud account
	// *   ResourceAccount: resource account
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ListAccountsResponseBodyAccountsAccount) GoString

func (*ListAccountsResponseBodyAccountsAccount) SetAccountId

func (*ListAccountsResponseBodyAccountsAccount) SetDisplayName

func (*ListAccountsResponseBodyAccountsAccount) SetFolderId

func (*ListAccountsResponseBodyAccountsAccount) SetJoinMethod

func (*ListAccountsResponseBodyAccountsAccount) SetJoinTime

func (*ListAccountsResponseBodyAccountsAccount) SetModifyTime

func (*ListAccountsResponseBodyAccountsAccount) SetResourceDirectoryId

func (*ListAccountsResponseBodyAccountsAccount) SetResourceDirectoryPath

func (*ListAccountsResponseBodyAccountsAccount) SetStatus

func (*ListAccountsResponseBodyAccountsAccount) SetType

func (ListAccountsResponseBodyAccountsAccount) String

type ListAccountsResponseBodyAccountsAccountTags

type ListAccountsResponseBodyAccountsAccountTags struct {
	Tag []*ListAccountsResponseBodyAccountsAccountTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListAccountsResponseBodyAccountsAccountTags) GoString

func (ListAccountsResponseBodyAccountsAccountTags) String

type ListAccountsResponseBodyAccountsAccountTagsTag

type ListAccountsResponseBodyAccountsAccountTagsTag struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListAccountsResponseBodyAccountsAccountTagsTag) GoString

func (*ListAccountsResponseBodyAccountsAccountTagsTag) SetKey

func (*ListAccountsResponseBodyAccountsAccountTagsTag) SetValue

func (ListAccountsResponseBodyAccountsAccountTagsTag) String

type ListAncestorsRequest

type ListAncestorsRequest struct {
	// The ID of the child folder.
	ChildId *string `json:"ChildId,omitempty" xml:"ChildId,omitempty"`
}

func (ListAncestorsRequest) GoString

func (s ListAncestorsRequest) GoString() string

func (*ListAncestorsRequest) SetChildId

func (ListAncestorsRequest) String

func (s ListAncestorsRequest) String() string

type ListAncestorsResponse

type ListAncestorsResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAncestorsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAncestorsResponse) GoString

func (s ListAncestorsResponse) GoString() string

func (*ListAncestorsResponse) SetBody

func (*ListAncestorsResponse) SetHeaders

func (*ListAncestorsResponse) SetStatusCode

func (s *ListAncestorsResponse) SetStatusCode(v int32) *ListAncestorsResponse

func (ListAncestorsResponse) String

func (s ListAncestorsResponse) String() string

type ListAncestorsResponseBody

type ListAncestorsResponseBody struct {
	// The information of the folders.
	Folders *ListAncestorsResponseBodyFolders `json:"Folders,omitempty" xml:"Folders,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListAncestorsResponseBody) GoString

func (s ListAncestorsResponseBody) GoString() string

func (*ListAncestorsResponseBody) SetFolders

func (*ListAncestorsResponseBody) SetRequestId

func (ListAncestorsResponseBody) String

func (s ListAncestorsResponseBody) String() string

type ListAncestorsResponseBodyFolders

type ListAncestorsResponseBodyFolders struct {
	Folder []*ListAncestorsResponseBodyFoldersFolder `json:"Folder,omitempty" xml:"Folder,omitempty" type:"Repeated"`
}

func (ListAncestorsResponseBodyFolders) GoString

func (ListAncestorsResponseBodyFolders) String

type ListAncestorsResponseBodyFoldersFolder

type ListAncestorsResponseBodyFoldersFolder struct {
	// The time when the folder was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The name of the folder.
	FolderName *string `json:"FolderName,omitempty" xml:"FolderName,omitempty"`
}

func (ListAncestorsResponseBodyFoldersFolder) GoString

func (*ListAncestorsResponseBodyFoldersFolder) SetCreateTime

func (*ListAncestorsResponseBodyFoldersFolder) SetFolderId

func (*ListAncestorsResponseBodyFoldersFolder) SetFolderName

func (ListAncestorsResponseBodyFoldersFolder) String

type ListAssociatedTransferSettingResponse added in v3.2.0

type ListAssociatedTransferSettingResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAssociatedTransferSettingResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAssociatedTransferSettingResponse) GoString added in v3.2.0

func (*ListAssociatedTransferSettingResponse) SetBody added in v3.2.0

func (*ListAssociatedTransferSettingResponse) SetHeaders added in v3.2.0

func (*ListAssociatedTransferSettingResponse) SetStatusCode added in v3.2.0

func (ListAssociatedTransferSettingResponse) String added in v3.2.0

type ListAssociatedTransferSettingResponseBody added in v3.2.0

type ListAssociatedTransferSettingResponseBody struct {
	// The settings of the Transfer Associated Resources feature.
	AssociatedTransferSetting *ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting `json:"AssociatedTransferSetting,omitempty" xml:"AssociatedTransferSetting,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListAssociatedTransferSettingResponseBody) GoString added in v3.2.0

func (*ListAssociatedTransferSettingResponseBody) SetRequestId added in v3.2.0

func (ListAssociatedTransferSettingResponseBody) String added in v3.2.0

type ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting added in v3.2.0

type ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting struct {
	// The settings of the Transfer Associated Resources feature.
	AccountId                       *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	EnableExistingResourcesTransfer *string `json:"EnableExistingResourcesTransfer,omitempty" xml:"EnableExistingResourcesTransfer,omitempty"`
	// The settings of the transfer rules.
	RuleSettings []*ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings `json:"RuleSettings,omitempty" xml:"RuleSettings,omitempty" type:"Repeated"`
	// The status of the Transfer Associated Resources feature. Valid values:
	//
	// - Enable: enabled
	// - Disable: disabled
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting) GoString added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting) SetAccountId added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting) SetEnableExistingResourcesTransfer added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting) SetStatus added in v3.2.0

func (ListAssociatedTransferSettingResponseBodyAssociatedTransferSetting) String added in v3.2.0

type ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings added in v3.2.0

type ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings struct {
	// The type of the associated resource.
	AssociatedResourceType *string `json:"AssociatedResourceType,omitempty" xml:"AssociatedResourceType,omitempty"`
	// The service code of the associated resource.
	AssociatedService *string `json:"AssociatedService,omitempty" xml:"AssociatedService,omitempty"`
	// The type of the primary resource.
	MasterResourceType *string `json:"MasterResourceType,omitempty" xml:"MasterResourceType,omitempty"`
	// The service code of the primary resource.
	MasterService *string `json:"MasterService,omitempty" xml:"MasterService,omitempty"`
	// The status of the Transfer Associated Resources feature. Valid values:
	//
	// - Enable: enabled
	// - Disable: disabled
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) GoString added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) SetAssociatedResourceType added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) SetAssociatedService added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) SetMasterResourceType added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) SetMasterService added in v3.2.0

func (*ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) SetStatus added in v3.2.0

func (ListAssociatedTransferSettingResponseBodyAssociatedTransferSettingRuleSettings) String added in v3.2.0

type ListControlPoliciesRequest

type ListControlPoliciesRequest struct {
	// The language in which you want to return the descriptions of the access control policies. Valid values:
	//
	// - zh-CN (default value): Chinese
	// - en: English
	// - ja: Japanese
	//
	// >  This parameter is valid only for system access control policies.
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The number of the page to return.
	//
	// Page start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The type of the access control policy. Valid values:
	//
	// - System: system access control policy
	// - Custom: custom access control policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListControlPoliciesRequest) GoString

func (s ListControlPoliciesRequest) GoString() string

func (*ListControlPoliciesRequest) SetLanguage

func (*ListControlPoliciesRequest) SetPageNumber

func (*ListControlPoliciesRequest) SetPageSize

func (*ListControlPoliciesRequest) SetPolicyType

func (ListControlPoliciesRequest) String

type ListControlPoliciesResponse

type ListControlPoliciesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListControlPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListControlPoliciesResponse) GoString

func (s ListControlPoliciesResponse) GoString() string

func (*ListControlPoliciesResponse) SetBody

func (*ListControlPoliciesResponse) SetHeaders

func (*ListControlPoliciesResponse) SetStatusCode

func (ListControlPoliciesResponse) String

type ListControlPoliciesResponseBody

type ListControlPoliciesResponseBody struct {
	// The access control policies.
	ControlPolicies *ListControlPoliciesResponseBodyControlPolicies `json:"ControlPolicies,omitempty" xml:"ControlPolicies,omitempty" type:"Struct"`
	// The number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of access control policies.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListControlPoliciesResponseBody) GoString

func (*ListControlPoliciesResponseBody) SetPageNumber

func (*ListControlPoliciesResponseBody) SetPageSize

func (*ListControlPoliciesResponseBody) SetRequestId

func (*ListControlPoliciesResponseBody) SetTotalCount

func (ListControlPoliciesResponseBody) String

type ListControlPoliciesResponseBodyControlPolicies

type ListControlPoliciesResponseBodyControlPolicies struct {
	ControlPolicy []*ListControlPoliciesResponseBodyControlPoliciesControlPolicy `json:"ControlPolicy,omitempty" xml:"ControlPolicy,omitempty" type:"Repeated"`
}

func (ListControlPoliciesResponseBodyControlPolicies) GoString

func (ListControlPoliciesResponseBodyControlPolicies) String

type ListControlPoliciesResponseBodyControlPoliciesControlPolicy

type ListControlPoliciesResponseBodyControlPoliciesControlPolicy struct {
	// The number of times that the access control policy is referenced.
	AttachmentCount *string `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the access control policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the access control policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The effective scope of the access control policy. Valid values:
	//
	// - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
	// - RAM: The access control policy is in effect only for RAM users and RAM roles.
	EffectScope *string `json:"EffectScope,omitempty" xml:"EffectScope,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the access control policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the access control policy. Valid values:
	//
	// - System: system access control policy
	// - Custom: custom access control policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the access control policy was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (ListControlPoliciesResponseBodyControlPoliciesControlPolicy) GoString

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetAttachmentCount

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetCreateDate

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetDescription

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetEffectScope

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetPolicyId

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetPolicyName

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetPolicyType

func (*ListControlPoliciesResponseBodyControlPoliciesControlPolicy) SetUpdateDate

func (ListControlPoliciesResponseBodyControlPoliciesControlPolicy) String

type ListControlPolicyAttachmentsForTargetRequest

type ListControlPolicyAttachmentsForTargetRequest struct {
	// The language in which you want to return the descriptions of the access control policies. Valid values:
	//
	// *   zh-CN (default value): Chinese
	// *   en: English
	// *   ja: Japanese
	//
	// >  This parameter is valid only for system access control policies.
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The ID of the object whose access control policies you want to query. Access control policies can be attached to the following objects:
	//
	// *   Root folder
	// *   Subfolders of the Root folder
	// *   Members
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
}

func (ListControlPolicyAttachmentsForTargetRequest) GoString

func (*ListControlPolicyAttachmentsForTargetRequest) SetLanguage

func (*ListControlPolicyAttachmentsForTargetRequest) SetTargetId

func (ListControlPolicyAttachmentsForTargetRequest) String

type ListControlPolicyAttachmentsForTargetResponse

type ListControlPolicyAttachmentsForTargetResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListControlPolicyAttachmentsForTargetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListControlPolicyAttachmentsForTargetResponse) GoString

func (*ListControlPolicyAttachmentsForTargetResponse) SetHeaders

func (*ListControlPolicyAttachmentsForTargetResponse) SetStatusCode

func (ListControlPolicyAttachmentsForTargetResponse) String

type ListControlPolicyAttachmentsForTargetResponseBody

type ListControlPolicyAttachmentsForTargetResponseBody struct {
	// The attached access control policies.
	ControlPolicyAttachments *ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachments `json:"ControlPolicyAttachments,omitempty" xml:"ControlPolicyAttachments,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListControlPolicyAttachmentsForTargetResponseBody) GoString

func (*ListControlPolicyAttachmentsForTargetResponseBody) SetRequestId

func (ListControlPolicyAttachmentsForTargetResponseBody) String

type ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachments

type ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachments struct {
	ControlPolicyAttachment []*ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachmentsControlPolicyAttachment `json:"ControlPolicyAttachment,omitempty" xml:"ControlPolicyAttachment,omitempty" type:"Repeated"`
}

func (ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachments) GoString

func (ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachments) String

type ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachmentsControlPolicyAttachment

type ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachmentsControlPolicyAttachment struct {
	// The time when the access control policy was attached.
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The description of the access control policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The effective scope of the access control policy. Valid values:
	//
	// *   All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
	// *   RAM: The access control policy is in effect only for RAM users and RAM roles.
	EffectScope *string `json:"EffectScope,omitempty" xml:"EffectScope,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the access control policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the access control policy. Valid values:
	//
	// *   System: system access control policy
	// *   Custom: custom access control policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachmentsControlPolicyAttachment) GoString

func (ListControlPolicyAttachmentsForTargetResponseBodyControlPolicyAttachmentsControlPolicyAttachment) String

type ListDelegatedAdministratorsRequest

type ListDelegatedAdministratorsRequest struct {
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The identifier of the trusted service.
	//
	// For more information, see the `Trusted service identifier` column in [Supported trusted services](~~208133~~).
	ServicePrincipal *string `json:"ServicePrincipal,omitempty" xml:"ServicePrincipal,omitempty"`
}

func (ListDelegatedAdministratorsRequest) GoString

func (*ListDelegatedAdministratorsRequest) SetPageNumber

func (*ListDelegatedAdministratorsRequest) SetPageSize

func (*ListDelegatedAdministratorsRequest) SetServicePrincipal

func (ListDelegatedAdministratorsRequest) String

type ListDelegatedAdministratorsResponse

type ListDelegatedAdministratorsResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListDelegatedAdministratorsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListDelegatedAdministratorsResponse) GoString

func (*ListDelegatedAdministratorsResponse) SetHeaders

func (*ListDelegatedAdministratorsResponse) SetStatusCode

func (ListDelegatedAdministratorsResponse) String

type ListDelegatedAdministratorsResponseBody

type ListDelegatedAdministratorsResponseBody struct {
	// The information of the delegated administrator accounts.
	Accounts *ListDelegatedAdministratorsResponseBodyAccounts `json:"Accounts,omitempty" xml:"Accounts,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListDelegatedAdministratorsResponseBody) GoString

func (*ListDelegatedAdministratorsResponseBody) SetPageNumber

func (*ListDelegatedAdministratorsResponseBody) SetPageSize

func (*ListDelegatedAdministratorsResponseBody) SetRequestId

func (*ListDelegatedAdministratorsResponseBody) SetTotalCount

func (ListDelegatedAdministratorsResponseBody) String

type ListDelegatedAdministratorsResponseBodyAccounts

type ListDelegatedAdministratorsResponseBodyAccounts struct {
	Account []*ListDelegatedAdministratorsResponseBodyAccountsAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Repeated"`
}

func (ListDelegatedAdministratorsResponseBodyAccounts) GoString

func (ListDelegatedAdministratorsResponseBodyAccounts) String

type ListDelegatedAdministratorsResponseBodyAccountsAccount

type ListDelegatedAdministratorsResponseBodyAccountsAccount struct {
	// The ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The time when the member was specified as a delegated administrator account.
	DelegationEnabledTime *string `json:"DelegationEnabledTime,omitempty" xml:"DelegationEnabledTime,omitempty"`
	// The display name of the member.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The way in which the member joins the resource directory. Valid values:
	//
	// *   invited: The member is invited to join the resource directory.
	// *   created: The member is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The identifier of the trusted service.
	ServicePrincipal *string `json:"ServicePrincipal,omitempty" xml:"ServicePrincipal,omitempty"`
}

func (ListDelegatedAdministratorsResponseBodyAccountsAccount) GoString

func (*ListDelegatedAdministratorsResponseBodyAccountsAccount) SetAccountId

func (*ListDelegatedAdministratorsResponseBodyAccountsAccount) SetDelegationEnabledTime

func (*ListDelegatedAdministratorsResponseBodyAccountsAccount) SetDisplayName

func (*ListDelegatedAdministratorsResponseBodyAccountsAccount) SetJoinMethod

func (*ListDelegatedAdministratorsResponseBodyAccountsAccount) SetServicePrincipal

func (ListDelegatedAdministratorsResponseBodyAccountsAccount) String

type ListDelegatedServicesForAccountRequest

type ListDelegatedServicesForAccountRequest struct {
	// The ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (ListDelegatedServicesForAccountRequest) GoString

func (*ListDelegatedServicesForAccountRequest) SetAccountId

func (ListDelegatedServicesForAccountRequest) String

type ListDelegatedServicesForAccountResponse

type ListDelegatedServicesForAccountResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListDelegatedServicesForAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListDelegatedServicesForAccountResponse) GoString

func (*ListDelegatedServicesForAccountResponse) SetHeaders

func (*ListDelegatedServicesForAccountResponse) SetStatusCode

func (ListDelegatedServicesForAccountResponse) String

type ListDelegatedServicesForAccountResponseBody

type ListDelegatedServicesForAccountResponseBody struct {
	// The trusted services.
	//
	// >  If the value of this parameter is empty, the member is not specified as a delegated administrator account.
	DelegatedServices *ListDelegatedServicesForAccountResponseBodyDelegatedServices `json:"DelegatedServices,omitempty" xml:"DelegatedServices,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListDelegatedServicesForAccountResponseBody) GoString

func (*ListDelegatedServicesForAccountResponseBody) SetRequestId

func (ListDelegatedServicesForAccountResponseBody) String

type ListDelegatedServicesForAccountResponseBodyDelegatedServices

type ListDelegatedServicesForAccountResponseBodyDelegatedServices struct {
	DelegatedService []*ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService `json:"DelegatedService,omitempty" xml:"DelegatedService,omitempty" type:"Repeated"`
}

func (ListDelegatedServicesForAccountResponseBodyDelegatedServices) GoString

func (ListDelegatedServicesForAccountResponseBodyDelegatedServices) String

type ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService

type ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService struct {
	// The time when the member was specified as a delegated administrator account of the trusted service.
	DelegationEnabledTime *string `json:"DelegationEnabledTime,omitempty" xml:"DelegationEnabledTime,omitempty"`
	// The identification of the trusted service.
	ServicePrincipal *string `json:"ServicePrincipal,omitempty" xml:"ServicePrincipal,omitempty"`
	// The status of the trusted service. Valid values:
	//
	// *   ENABLED: enabled
	// *   DISABLED: disabled
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService) GoString

func (*ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService) SetDelegationEnabledTime

func (*ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService) SetServicePrincipal

func (*ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService) SetStatus

func (ListDelegatedServicesForAccountResponseBodyDelegatedServicesDelegatedService) String

type ListFoldersForParentRequest

type ListFoldersForParentRequest struct {
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the parent folder.
	//
	// If you leave this parameter empty, the information of the first-level subfolders of the Root folder is queried.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
	// The keyword used for the query, such as a folder name.
	//
	// Fuzzy match is supported.
	QueryKeyword *string `json:"QueryKeyword,omitempty" xml:"QueryKeyword,omitempty"`
}

func (ListFoldersForParentRequest) GoString

func (s ListFoldersForParentRequest) GoString() string

func (*ListFoldersForParentRequest) SetPageNumber

func (*ListFoldersForParentRequest) SetPageSize

func (*ListFoldersForParentRequest) SetParentFolderId

func (*ListFoldersForParentRequest) SetQueryKeyword

func (ListFoldersForParentRequest) String

type ListFoldersForParentResponse

type ListFoldersForParentResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListFoldersForParentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListFoldersForParentResponse) GoString

func (s ListFoldersForParentResponse) GoString() string

func (*ListFoldersForParentResponse) SetBody

func (*ListFoldersForParentResponse) SetHeaders

func (*ListFoldersForParentResponse) SetStatusCode

func (ListFoldersForParentResponse) String

type ListFoldersForParentResponseBody

type ListFoldersForParentResponseBody struct {
	// The information of the folders.
	Folders *ListFoldersForParentResponseBodyFolders `json:"Folders,omitempty" xml:"Folders,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListFoldersForParentResponseBody) GoString

func (*ListFoldersForParentResponseBody) SetPageNumber

func (*ListFoldersForParentResponseBody) SetPageSize

func (*ListFoldersForParentResponseBody) SetRequestId

func (*ListFoldersForParentResponseBody) SetTotalCount

func (ListFoldersForParentResponseBody) String

type ListFoldersForParentResponseBodyFolders

type ListFoldersForParentResponseBodyFolders struct {
	Folder []*ListFoldersForParentResponseBodyFoldersFolder `json:"Folder,omitempty" xml:"Folder,omitempty" type:"Repeated"`
}

func (ListFoldersForParentResponseBodyFolders) GoString

func (ListFoldersForParentResponseBodyFolders) String

type ListFoldersForParentResponseBodyFoldersFolder

type ListFoldersForParentResponseBodyFoldersFolder struct {
	// The time when the folder was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The name of the folder.
	FolderName *string `json:"FolderName,omitempty" xml:"FolderName,omitempty"`
}

func (ListFoldersForParentResponseBodyFoldersFolder) GoString

func (*ListFoldersForParentResponseBodyFoldersFolder) SetCreateTime

func (*ListFoldersForParentResponseBodyFoldersFolder) SetFolderId

func (*ListFoldersForParentResponseBodyFoldersFolder) SetFolderName

func (ListFoldersForParentResponseBodyFoldersFolder) String

type ListHandshakesForAccountRequest

type ListHandshakesForAccountRequest struct {
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListHandshakesForAccountRequest) GoString

func (*ListHandshakesForAccountRequest) SetPageNumber

func (*ListHandshakesForAccountRequest) SetPageSize

func (ListHandshakesForAccountRequest) String

type ListHandshakesForAccountResponse

type ListHandshakesForAccountResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListHandshakesForAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListHandshakesForAccountResponse) GoString

func (*ListHandshakesForAccountResponse) SetHeaders

func (*ListHandshakesForAccountResponse) SetStatusCode

func (ListHandshakesForAccountResponse) String

type ListHandshakesForAccountResponseBody

type ListHandshakesForAccountResponseBody struct {
	// The information of the invitations.
	Handshakes *ListHandshakesForAccountResponseBodyHandshakes `json:"Handshakes,omitempty" xml:"Handshakes,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of invitations.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListHandshakesForAccountResponseBody) GoString

func (*ListHandshakesForAccountResponseBody) SetPageNumber

func (*ListHandshakesForAccountResponseBody) SetPageSize

func (*ListHandshakesForAccountResponseBody) SetRequestId

func (*ListHandshakesForAccountResponseBody) SetTotalCount

func (ListHandshakesForAccountResponseBody) String

type ListHandshakesForAccountResponseBodyHandshakes

type ListHandshakesForAccountResponseBodyHandshakes struct {
	Handshake []*ListHandshakesForAccountResponseBodyHandshakesHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Repeated"`
}

func (ListHandshakesForAccountResponseBodyHandshakes) GoString

func (ListHandshakesForAccountResponseBodyHandshakes) String

type ListHandshakesForAccountResponseBodyHandshakesHandshake

type ListHandshakesForAccountResponseBodyHandshakesHandshake struct {
	// The time when the invitation was created. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The ID of the management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The time when the invitation was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The comment on the invitation.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation. Valid values:
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expires.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited Alibaba Cloud account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited Alibaba Cloud account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListHandshakesForAccountResponseBodyHandshakesHandshake) GoString

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetCreateTime

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetExpireTime

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetHandshakeId

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetMasterAccountId

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetMasterAccountName

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetModifyTime

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetNote

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetResourceDirectoryId

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetStatus

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetTargetEntity

func (*ListHandshakesForAccountResponseBodyHandshakesHandshake) SetTargetType

func (ListHandshakesForAccountResponseBodyHandshakesHandshake) String

type ListHandshakesForResourceDirectoryRequest

type ListHandshakesForResourceDirectoryRequest struct {
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListHandshakesForResourceDirectoryRequest) GoString

func (*ListHandshakesForResourceDirectoryRequest) SetPageNumber

func (*ListHandshakesForResourceDirectoryRequest) SetPageSize

func (ListHandshakesForResourceDirectoryRequest) String

type ListHandshakesForResourceDirectoryResponse

type ListHandshakesForResourceDirectoryResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListHandshakesForResourceDirectoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListHandshakesForResourceDirectoryResponse) GoString

func (*ListHandshakesForResourceDirectoryResponse) SetHeaders

func (*ListHandshakesForResourceDirectoryResponse) SetStatusCode

func (ListHandshakesForResourceDirectoryResponse) String

type ListHandshakesForResourceDirectoryResponseBody

type ListHandshakesForResourceDirectoryResponseBody struct {
	// The information of the invitations.
	Handshakes *ListHandshakesForResourceDirectoryResponseBodyHandshakes `json:"Handshakes,omitempty" xml:"Handshakes,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListHandshakesForResourceDirectoryResponseBody) GoString

func (*ListHandshakesForResourceDirectoryResponseBody) SetPageNumber

func (*ListHandshakesForResourceDirectoryResponseBody) SetPageSize

func (*ListHandshakesForResourceDirectoryResponseBody) SetRequestId

func (*ListHandshakesForResourceDirectoryResponseBody) SetTotalCount

func (ListHandshakesForResourceDirectoryResponseBody) String

type ListHandshakesForResourceDirectoryResponseBodyHandshakes

type ListHandshakesForResourceDirectoryResponseBodyHandshakes struct {
	Handshake []*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake `json:"Handshake,omitempty" xml:"Handshake,omitempty" type:"Repeated"`
}

func (ListHandshakesForResourceDirectoryResponseBodyHandshakes) GoString

func (ListHandshakesForResourceDirectoryResponseBodyHandshakes) String

type ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake

type ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake struct {
	// The time when the invitation was created. The time is displayed in UTC.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the invitation expires. The time is displayed in UTC.
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The ID of the invitation.
	HandshakeId *string `json:"HandshakeId,omitempty" xml:"HandshakeId,omitempty"`
	// The ID of the management account of the resource directory.
	MasterAccountId *string `json:"MasterAccountId,omitempty" xml:"MasterAccountId,omitempty"`
	// The name of the management account of the resource directory.
	MasterAccountName *string `json:"MasterAccountName,omitempty" xml:"MasterAccountName,omitempty"`
	// The time when the invitation was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The comment on the invitation.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the invitation. Valid values:
	//
	// *   Pending: The invitation is waiting for confirmation.
	// *   Accepted: The invitation is accepted.
	// *   Cancelled: The invitation is canceled.
	// *   Declined: The invitation is rejected.
	// *   Expired: The invitation expires.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID or logon email address of the invited account.
	TargetEntity *string `json:"TargetEntity,omitempty" xml:"TargetEntity,omitempty"`
	// The type of the invited account. Valid values:
	//
	// *   Account: indicates the ID of the account.
	// *   Email: indicates the logon email address of the account.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) GoString

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetCreateTime

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetExpireTime

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetHandshakeId

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetMasterAccountId

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetMasterAccountName

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetModifyTime

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetNote

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetResourceDirectoryId

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetStatus

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetTargetEntity

func (*ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) SetTargetType

func (ListHandshakesForResourceDirectoryResponseBodyHandshakesHandshake) String

type ListPoliciesRequest

type ListPoliciesRequest 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 `json:"Language,omitempty" xml:"Language,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListPoliciesRequest) GoString

func (s ListPoliciesRequest) GoString() string

func (*ListPoliciesRequest) SetLanguage

func (s *ListPoliciesRequest) SetLanguage(v string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetPageNumber

func (s *ListPoliciesRequest) SetPageNumber(v int32) *ListPoliciesRequest

func (*ListPoliciesRequest) SetPageSize

func (s *ListPoliciesRequest) SetPageSize(v int32) *ListPoliciesRequest

func (*ListPoliciesRequest) SetPolicyType

func (s *ListPoliciesRequest) SetPolicyType(v string) *ListPoliciesRequest

func (ListPoliciesRequest) String

func (s ListPoliciesRequest) String() string

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesResponse) GoString

func (s ListPoliciesResponse) GoString() string

func (*ListPoliciesResponse) SetBody

func (*ListPoliciesResponse) SetHeaders

func (s *ListPoliciesResponse) SetHeaders(v map[string]*string) *ListPoliciesResponse

func (*ListPoliciesResponse) SetStatusCode

func (s *ListPoliciesResponse) SetStatusCode(v int32) *ListPoliciesResponse

func (ListPoliciesResponse) String

func (s ListPoliciesResponse) String() string

type ListPoliciesResponseBody

type ListPoliciesResponseBody struct {
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The information of the policies.
	Policies *ListPoliciesResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListPoliciesResponseBody) GoString

func (s ListPoliciesResponseBody) GoString() string

func (*ListPoliciesResponseBody) SetPageNumber

func (*ListPoliciesResponseBody) SetPageSize

func (*ListPoliciesResponseBody) SetPolicies

func (*ListPoliciesResponseBody) SetRequestId

func (*ListPoliciesResponseBody) SetTotalCount

func (ListPoliciesResponseBody) String

func (s ListPoliciesResponseBody) String() string

type ListPoliciesResponseBodyPolicies

type ListPoliciesResponseBodyPolicies struct {
	Policy []*ListPoliciesResponseBodyPoliciesPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Repeated"`
}

func (ListPoliciesResponseBodyPolicies) GoString

func (ListPoliciesResponseBodyPolicies) String

type ListPoliciesResponseBodyPoliciesPolicy

type ListPoliciesResponseBodyPoliciesPolicy struct {
	// The number of times the policy is referenced.
	AttachmentCount *int32 `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The default version of the policy.
	DefaultVersion *string `json:"DefaultVersion,omitempty" xml:"DefaultVersion,omitempty"`
	// The description of the policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the policy was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (ListPoliciesResponseBodyPoliciesPolicy) GoString

func (*ListPoliciesResponseBodyPoliciesPolicy) SetAttachmentCount

func (*ListPoliciesResponseBodyPoliciesPolicy) SetCreateDate

func (*ListPoliciesResponseBodyPoliciesPolicy) SetDefaultVersion

func (*ListPoliciesResponseBodyPoliciesPolicy) SetDescription

func (*ListPoliciesResponseBodyPoliciesPolicy) SetPolicyName

func (*ListPoliciesResponseBodyPoliciesPolicy) SetPolicyType

func (*ListPoliciesResponseBodyPoliciesPolicy) SetUpdateDate

func (ListPoliciesResponseBodyPoliciesPolicy) String

type ListPolicyAttachmentsRequest

type ListPolicyAttachmentsRequest 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 `json:"Language,omitempty" xml:"Language,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. If you do not specify this parameter, the system lists all types of policies. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the object to which the policy is attached.
	PrincipalName *string `json:"PrincipalName,omitempty" xml:"PrincipalName,omitempty"`
	// 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 `json:"PrincipalType,omitempty" xml:"PrincipalType,omitempty"`
	// 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 `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (ListPolicyAttachmentsRequest) GoString

func (s ListPolicyAttachmentsRequest) GoString() string

func (*ListPolicyAttachmentsRequest) SetLanguage

func (*ListPolicyAttachmentsRequest) SetPageNumber

func (*ListPolicyAttachmentsRequest) SetPageSize

func (*ListPolicyAttachmentsRequest) SetPolicyName

func (*ListPolicyAttachmentsRequest) SetPolicyType

func (*ListPolicyAttachmentsRequest) SetPrincipalName

func (*ListPolicyAttachmentsRequest) SetPrincipalType

func (*ListPolicyAttachmentsRequest) SetResourceGroupId

func (ListPolicyAttachmentsRequest) String

type ListPolicyAttachmentsResponse

type ListPolicyAttachmentsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPolicyAttachmentsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPolicyAttachmentsResponse) GoString

func (*ListPolicyAttachmentsResponse) SetBody

func (*ListPolicyAttachmentsResponse) SetHeaders

func (*ListPolicyAttachmentsResponse) SetStatusCode

func (ListPolicyAttachmentsResponse) String

type ListPolicyAttachmentsResponseBody

type ListPolicyAttachmentsResponseBody struct {
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The policy attachment records.
	PolicyAttachments *ListPolicyAttachmentsResponseBodyPolicyAttachments `json:"PolicyAttachments,omitempty" xml:"PolicyAttachments,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListPolicyAttachmentsResponseBody) GoString

func (*ListPolicyAttachmentsResponseBody) SetPageNumber

func (*ListPolicyAttachmentsResponseBody) SetPageSize

func (*ListPolicyAttachmentsResponseBody) SetRequestId

func (*ListPolicyAttachmentsResponseBody) SetTotalCount

func (ListPolicyAttachmentsResponseBody) String

type ListPolicyAttachmentsResponseBodyPolicyAttachments

type ListPolicyAttachmentsResponseBodyPolicyAttachments struct {
	PolicyAttachment []*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment `json:"PolicyAttachment,omitempty" xml:"PolicyAttachment,omitempty" type:"Repeated"`
}

func (ListPolicyAttachmentsResponseBodyPolicyAttachments) GoString

func (ListPolicyAttachmentsResponseBodyPolicyAttachments) String

type ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment

type ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment struct {
	// The time when the policy was attached.
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The description of the policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The name of the object to which the policy is attached.
	PrincipalName *string `json:"PrincipalName,omitempty" xml:"PrincipalName,omitempty"`
	// The type of the object to which the policy is attached. Valid values:
	//
	// *   IMSUser: RAM user
	// *   IMSGroup: RAM user group
	// *   ServiceRole: RAM role
	PrincipalType *string `json:"PrincipalType,omitempty" xml:"PrincipalType,omitempty"`
	// The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) GoString

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetAttachDate

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetDescription

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetPolicyName

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetPolicyType

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetPrincipalName

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetPrincipalType

func (*ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) SetResourceGroupId

func (ListPolicyAttachmentsResponseBodyPolicyAttachmentsPolicyAttachment) String

type ListPolicyVersionsRequest

type ListPolicyVersionsRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the policy. Valid values:
	//
	// *   Custom: custom policy
	// *   System: system policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
}

func (ListPolicyVersionsRequest) GoString

func (s ListPolicyVersionsRequest) GoString() string

func (*ListPolicyVersionsRequest) SetPolicyName

func (*ListPolicyVersionsRequest) SetPolicyType

func (ListPolicyVersionsRequest) String

func (s ListPolicyVersionsRequest) String() string

type ListPolicyVersionsResponse

type ListPolicyVersionsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPolicyVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPolicyVersionsResponse) GoString

func (s ListPolicyVersionsResponse) GoString() string

func (*ListPolicyVersionsResponse) SetBody

func (*ListPolicyVersionsResponse) SetHeaders

func (*ListPolicyVersionsResponse) SetStatusCode

func (ListPolicyVersionsResponse) String

type ListPolicyVersionsResponseBody

type ListPolicyVersionsResponseBody struct {
	// The information of the policy versions.
	PolicyVersions *ListPolicyVersionsResponseBodyPolicyVersions `json:"PolicyVersions,omitempty" xml:"PolicyVersions,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPolicyVersionsResponseBody) GoString

func (*ListPolicyVersionsResponseBody) SetRequestId

func (ListPolicyVersionsResponseBody) String

type ListPolicyVersionsResponseBodyPolicyVersions

type ListPolicyVersionsResponseBodyPolicyVersions struct {
	PolicyVersion []*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion `json:"PolicyVersion,omitempty" xml:"PolicyVersion,omitempty" type:"Repeated"`
}

func (ListPolicyVersionsResponseBodyPolicyVersions) GoString

func (ListPolicyVersionsResponseBodyPolicyVersions) String

type ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion

type ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion struct {
	// The time when the policy version was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// Indicates whether the policy version is the default version.
	IsDefaultVersion *bool `json:"IsDefaultVersion,omitempty" xml:"IsDefaultVersion,omitempty"`
	// The ID of the policy version.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) GoString

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetCreateDate

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetIsDefaultVersion

func (*ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) SetVersionId

func (ListPolicyVersionsResponseBodyPolicyVersionsPolicyVersion) String

type ListResourceGroupsRequest

type ListResourceGroupsRequest struct {
	// The display name of the resource group. This parameter specifies a filter condition for the query. Fuzzy match is supported.
	//
	// The display name can be a maximum of 50 characters in length.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// Specifies whether to return the information of tags. Valid values:
	//
	// *   false (default value)
	// *   true
	//
	// >  If you configure the Tag parameter, the system returns the information of tags regardless of the setting of the `IncludeTags` parameter.
	IncludeTags *bool `json:"IncludeTags,omitempty" xml:"IncludeTags,omitempty"`
	// The identifier of the resource group. This parameter specifies a filter condition for the query. Fuzzy match is supported.
	//
	// The identifier can be a maximum of 50 characters in length and can contain letters, digits, and hyphens (-).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the resource group. This parameter specifies a filter condition for the query.
	//
	// The ID can be a maximum of 18 characters in length and must start with `rg-`.
	//
	// >  This parameter is incorporated into the `ResourceGroupIds` parameter. If you configure both the `ResourceGroupId` and `ResourceGroupIds` parameters, the value of the `ResourceGroupIds` parameter prevails.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The IDs of the resource groups. This parameter specifies a filter condition for the query.
	//
	// You can specify a maximum of 100 resource group IDs.
	//
	// >  If you configure both the `ResourceGroupId` and `ResourceGroupIds` parameters, the value of the `ResourceGroupIds` parameter prevails.
	ResourceGroupIds []*string `json:"ResourceGroupIds,omitempty" xml:"ResourceGroupIds,omitempty" type:"Repeated"`
	// The status of the resource group. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	// *   PendingDelete: The resource group is waiting to be deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tag. This parameter specifies a filter condition for the query.
	Tag []*ListResourceGroupsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListResourceGroupsRequest) GoString

func (s ListResourceGroupsRequest) GoString() string

func (*ListResourceGroupsRequest) SetDisplayName

func (*ListResourceGroupsRequest) SetIncludeTags

func (*ListResourceGroupsRequest) SetName

func (*ListResourceGroupsRequest) SetPageNumber

func (*ListResourceGroupsRequest) SetPageSize

func (*ListResourceGroupsRequest) SetResourceGroupId

func (*ListResourceGroupsRequest) SetResourceGroupIds

func (s *ListResourceGroupsRequest) SetResourceGroupIds(v []*string) *ListResourceGroupsRequest

func (*ListResourceGroupsRequest) SetStatus

func (*ListResourceGroupsRequest) SetTag

func (ListResourceGroupsRequest) String

func (s ListResourceGroupsRequest) String() string

type ListResourceGroupsRequestTag

type ListResourceGroupsRequestTag struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListResourceGroupsRequestTag) GoString

func (s ListResourceGroupsRequestTag) GoString() string

func (*ListResourceGroupsRequestTag) SetKey

func (*ListResourceGroupsRequestTag) SetValue

func (ListResourceGroupsRequestTag) String

type ListResourceGroupsResponse

type ListResourceGroupsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourceGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourceGroupsResponse) GoString

func (s ListResourceGroupsResponse) GoString() string

func (*ListResourceGroupsResponse) SetBody

func (*ListResourceGroupsResponse) SetHeaders

func (*ListResourceGroupsResponse) SetStatusCode

func (ListResourceGroupsResponse) String

type ListResourceGroupsResponseBody

type ListResourceGroupsResponseBody struct {
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource groups.
	ResourceGroups *ListResourceGroupsResponseBodyResourceGroups `json:"ResourceGroups,omitempty" xml:"ResourceGroups,omitempty" type:"Struct"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListResourceGroupsResponseBody) GoString

func (*ListResourceGroupsResponseBody) SetPageNumber

func (*ListResourceGroupsResponseBody) SetPageSize

func (*ListResourceGroupsResponseBody) SetRequestId

func (*ListResourceGroupsResponseBody) SetTotalCount

func (ListResourceGroupsResponseBody) String

type ListResourceGroupsResponseBodyResourceGroups

type ListResourceGroupsResponseBodyResourceGroups struct {
	ResourceGroup []*ListResourceGroupsResponseBodyResourceGroupsResourceGroup `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty" type:"Repeated"`
}

func (ListResourceGroupsResponseBodyResourceGroups) GoString

func (ListResourceGroupsResponseBodyResourceGroups) String

type ListResourceGroupsResponseBodyResourceGroupsResourceGroup

type ListResourceGroupsResponseBodyResourceGroupsResourceGroup struct {
	// The ID of the Alibaba Cloud account to which the resource group belongs.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The time when the resource group was created. The time is displayed in UTC.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the resource group.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the resource group.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The identifier of the resource group.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The status of the resource group. Valid values:
	//
	// *   Creating: The resource group is being created.
	// *   OK: The resource group is created.
	// *   PendingDelete: The resource group is waiting to be deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tags that are added to the resource group.
	Tags *ListResourceGroupsResponseBodyResourceGroupsResourceGroupTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
}

func (ListResourceGroupsResponseBodyResourceGroupsResourceGroup) GoString

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroup) SetAccountId

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroup) SetCreateDate

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroup) SetDisplayName

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroup) SetId

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroup) SetName

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroup) SetStatus

func (ListResourceGroupsResponseBodyResourceGroupsResourceGroup) String

type ListResourceGroupsResponseBodyResourceGroupsResourceGroupTags

type ListResourceGroupsResponseBodyResourceGroupsResourceGroupTags struct {
	Tag []*ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListResourceGroupsResponseBodyResourceGroupsResourceGroupTags) GoString

func (ListResourceGroupsResponseBodyResourceGroupsResourceGroupTags) String

type ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag

type ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag struct {
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag) GoString

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag) SetTagKey

func (*ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag) SetTagValue

func (ListResourceGroupsResponseBodyResourceGroupsResourceGroupTagsTag) String

type ListResourcesRequest

type ListResourcesRequest struct {
	// The page number.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The resource type.
	//
	// For more information about the supported resource types, see the **Resource type** column in [Services that work with Resource Group](~~94479~~).
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The resource types. A maximum of 50 resource types are supported.
	//
	// >  If you configure `ResourceTypes`, you must configure both `Service` and `ResourceType`. Otherwise, the configured Service or ResourceType does not take effect.
	ResourceTypes []*ListResourcesRequestResourceTypes `json:"ResourceTypes,omitempty" xml:"ResourceTypes,omitempty" type:"Repeated"`
	// The ID of the Alibaba Cloud service.
	//
	// You can obtain the ID from the **Service code** column in [Services that work with Resource Group](~~94479~~).
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
}

func (ListResourcesRequest) GoString

func (s ListResourcesRequest) GoString() string

func (*ListResourcesRequest) SetPageNumber

func (s *ListResourcesRequest) SetPageNumber(v int32) *ListResourcesRequest

func (*ListResourcesRequest) SetPageSize

func (s *ListResourcesRequest) SetPageSize(v int32) *ListResourcesRequest

func (*ListResourcesRequest) SetRegion

func (*ListResourcesRequest) SetResourceGroupId

func (s *ListResourcesRequest) SetResourceGroupId(v string) *ListResourcesRequest

func (*ListResourcesRequest) SetResourceId

func (s *ListResourcesRequest) SetResourceId(v string) *ListResourcesRequest

func (*ListResourcesRequest) SetResourceType

func (s *ListResourcesRequest) SetResourceType(v string) *ListResourcesRequest

func (*ListResourcesRequest) SetResourceTypes added in v3.0.5

func (*ListResourcesRequest) SetService

func (ListResourcesRequest) String

func (s ListResourcesRequest) String() string

type ListResourcesRequestResourceTypes added in v3.0.5

type ListResourcesRequestResourceTypes struct {
	// The resource type.
	//
	// Valid values of N: 1 to 50.
	//
	// For more information about the supported resource types, see the **Resource type** column in [Services that work with Resource Group](~~94479~~).
	//
	// >  You must configure both `Service` and `ResourceType` in `ResourceTypes`. Otherwise, the two parameters do not take effect.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the Alibaba Cloud service.
	//
	// Valid values of N: 1 to 50.
	//
	// You can obtain the ID from the **Service code** column in [Services that work with Resource Group](~~94479~~).
	//
	// >  You must configure both `Service` and `ResourceType` in `ResourceTypes`. Otherwise, the two parameters do not take effect.
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
}

func (ListResourcesRequestResourceTypes) GoString added in v3.0.5

func (*ListResourcesRequestResourceTypes) SetResourceType added in v3.0.5

func (*ListResourcesRequestResourceTypes) SetService added in v3.0.5

func (ListResourcesRequestResourceTypes) String added in v3.0.5

type ListResourcesResponse

type ListResourcesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourcesResponse) GoString

func (s ListResourcesResponse) GoString() string

func (*ListResourcesResponse) SetBody

func (*ListResourcesResponse) SetHeaders

func (*ListResourcesResponse) SetStatusCode

func (s *ListResourcesResponse) SetStatusCode(v int32) *ListResourcesResponse

func (ListResourcesResponse) String

func (s ListResourcesResponse) String() string

type ListResourcesResponseBody

type ListResourcesResponseBody struct {
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the resources.
	Resources *ListResourcesResponseBodyResources `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Struct"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListResourcesResponseBody) GoString

func (s ListResourcesResponseBody) GoString() string

func (*ListResourcesResponseBody) SetPageNumber

func (*ListResourcesResponseBody) SetPageSize

func (*ListResourcesResponseBody) SetRequestId

func (*ListResourcesResponseBody) SetResources

func (*ListResourcesResponseBody) SetTotalCount

func (ListResourcesResponseBody) String

func (s ListResourcesResponseBody) String() string

type ListResourcesResponseBodyResources

type ListResourcesResponseBodyResources struct {
	Resource []*ListResourcesResponseBodyResourcesResource `json:"Resource,omitempty" xml:"Resource,omitempty" type:"Repeated"`
}

func (ListResourcesResponseBodyResources) GoString

func (ListResourcesResponseBodyResources) String

type ListResourcesResponseBodyResourcesResource

type ListResourcesResponseBodyResourcesResource struct {
	// The time when the resource was created. The time is displayed in UTC.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The resource type.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the Alibaba Cloud service.
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
}

func (ListResourcesResponseBodyResourcesResource) GoString

func (*ListResourcesResponseBodyResourcesResource) SetCreateDate

func (*ListResourcesResponseBodyResourcesResource) SetRegionId

func (*ListResourcesResponseBodyResourcesResource) SetResourceGroupId

func (*ListResourcesResponseBodyResourcesResource) SetResourceId

func (*ListResourcesResponseBodyResourcesResource) SetResourceType

func (*ListResourcesResponseBodyResourcesResource) SetService

func (ListResourcesResponseBodyResourcesResource) String

type ListRolesRequest

type ListRolesRequest struct {
	// The language that is used to return the descriptions of the RAM roles. Valid values:
	//
	// *   en: English
	// *   zh-CN: Chinese
	// *   ja: Japanese
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListRolesRequest) GoString

func (s ListRolesRequest) GoString() string

func (*ListRolesRequest) SetLanguage

func (s *ListRolesRequest) SetLanguage(v string) *ListRolesRequest

func (*ListRolesRequest) SetPageNumber

func (s *ListRolesRequest) SetPageNumber(v int32) *ListRolesRequest

func (*ListRolesRequest) SetPageSize

func (s *ListRolesRequest) SetPageSize(v int32) *ListRolesRequest

func (ListRolesRequest) String

func (s ListRolesRequest) String() string

type ListRolesResponse

type ListRolesResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListRolesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListRolesResponse) GoString

func (s ListRolesResponse) GoString() string

func (*ListRolesResponse) SetBody

func (*ListRolesResponse) SetHeaders

func (s *ListRolesResponse) SetHeaders(v map[string]*string) *ListRolesResponse

func (*ListRolesResponse) SetStatusCode

func (s *ListRolesResponse) SetStatusCode(v int32) *ListRolesResponse

func (ListRolesResponse) String

func (s ListRolesResponse) String() string

type ListRolesResponseBody

type ListRolesResponseBody struct {
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the RAM roles.
	Roles *ListRolesResponseBodyRoles `json:"Roles,omitempty" xml:"Roles,omitempty" type:"Struct"`
	// The total number of RAM roles.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListRolesResponseBody) GoString

func (s ListRolesResponseBody) GoString() string

func (*ListRolesResponseBody) SetPageNumber

func (s *ListRolesResponseBody) SetPageNumber(v int32) *ListRolesResponseBody

func (*ListRolesResponseBody) SetPageSize

func (*ListRolesResponseBody) SetRequestId

func (*ListRolesResponseBody) SetRoles

func (*ListRolesResponseBody) SetTotalCount

func (s *ListRolesResponseBody) SetTotalCount(v int32) *ListRolesResponseBody

func (ListRolesResponseBody) String

func (s ListRolesResponseBody) String() string

type ListRolesResponseBodyRoles

type ListRolesResponseBodyRoles struct {
	Role []*ListRolesResponseBodyRolesRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Repeated"`
}

func (ListRolesResponseBodyRoles) GoString

func (s ListRolesResponseBodyRoles) GoString() string

func (*ListRolesResponseBodyRoles) SetRole

func (ListRolesResponseBodyRoles) String

type ListRolesResponseBodyRolesRole

type ListRolesResponseBodyRolesRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The time when the RAM role was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Indicates whether the RAM role is a service linked role.
	IsServiceLinkedRole *bool `json:"IsServiceLinkedRole,omitempty" xml:"IsServiceLinkedRole,omitempty"`
	// The information of the most recent deletion task.
	LatestDeletionTask *ListRolesResponseBodyRolesRoleLatestDeletionTask `json:"LatestDeletionTask,omitempty" xml:"LatestDeletionTask,omitempty" type:"Struct"`
	// The maximum session duration of the RAM role.
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The name of the RAM role after authorization.
	RolePrincipalName *string `json:"RolePrincipalName,omitempty" xml:"RolePrincipalName,omitempty"`
	// The time when the RAM role was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (ListRolesResponseBodyRolesRole) GoString

func (*ListRolesResponseBodyRolesRole) SetArn

func (*ListRolesResponseBodyRolesRole) SetCreateDate

func (*ListRolesResponseBodyRolesRole) SetDescription

func (*ListRolesResponseBodyRolesRole) SetIsServiceLinkedRole

func (*ListRolesResponseBodyRolesRole) SetMaxSessionDuration

func (*ListRolesResponseBodyRolesRole) SetRoleId

func (*ListRolesResponseBodyRolesRole) SetRoleName

func (*ListRolesResponseBodyRolesRole) SetRolePrincipalName

func (*ListRolesResponseBodyRolesRole) SetUpdateDate

func (ListRolesResponseBodyRolesRole) String

type ListRolesResponseBodyRolesRoleLatestDeletionTask

type ListRolesResponseBodyRolesRoleLatestDeletionTask struct {
	// The time when the deletion task was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ID of the deletion task.
	DeletionTaskId *string `json:"DeletionTaskId,omitempty" xml:"DeletionTaskId,omitempty"`
}

func (ListRolesResponseBodyRolesRoleLatestDeletionTask) GoString

func (*ListRolesResponseBodyRolesRoleLatestDeletionTask) SetCreateDate

func (*ListRolesResponseBodyRolesRoleLatestDeletionTask) SetDeletionTaskId

func (ListRolesResponseBodyRolesRoleLatestDeletionTask) String

type ListTagKeysRequest

type ListTagKeysRequest struct {
	// The tag key for a fuzzy query.
	KeyFilter *string `json:"KeyFilter,omitempty" xml:"KeyFilter,omitempty"`
	// The maximum number of entries to return for a single request.
	//
	// Valid values: 1 to 100. Default value: 10.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource type.
	//
	// The value Account indicates the members of the resource directory.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListTagKeysRequest) GoString

func (s ListTagKeysRequest) GoString() string

func (*ListTagKeysRequest) SetKeyFilter

func (s *ListTagKeysRequest) SetKeyFilter(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetMaxResults

func (s *ListTagKeysRequest) SetMaxResults(v int32) *ListTagKeysRequest

func (*ListTagKeysRequest) SetNextToken

func (s *ListTagKeysRequest) SetNextToken(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetResourceType

func (s *ListTagKeysRequest) SetResourceType(v string) *ListTagKeysRequest

func (ListTagKeysRequest) String

func (s ListTagKeysRequest) String() string

type ListTagKeysResponse

type ListTagKeysResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagKeysResponse) GoString

func (s ListTagKeysResponse) GoString() string

func (*ListTagKeysResponse) SetBody

func (*ListTagKeysResponse) SetHeaders

func (s *ListTagKeysResponse) SetHeaders(v map[string]*string) *ListTagKeysResponse

func (*ListTagKeysResponse) SetStatusCode

func (s *ListTagKeysResponse) SetStatusCode(v int32) *ListTagKeysResponse

func (ListTagKeysResponse) String

func (s ListTagKeysResponse) String() string

type ListTagKeysResponseBody

type ListTagKeysResponseBody struct {
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the tag keys.
	Tags []*ListTagKeysResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListTagKeysResponseBody) GoString

func (s ListTagKeysResponseBody) GoString() string

func (*ListTagKeysResponseBody) SetNextToken

func (*ListTagKeysResponseBody) SetRequestId

func (*ListTagKeysResponseBody) SetTags

func (ListTagKeysResponseBody) String

func (s ListTagKeysResponseBody) String() string

type ListTagKeysResponseBodyTags

type ListTagKeysResponseBodyTags struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (ListTagKeysResponseBodyTags) GoString

func (s ListTagKeysResponseBodyTags) GoString() string

func (*ListTagKeysResponseBodyTags) SetKey

func (ListTagKeysResponseBodyTags) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource ID.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the objects whose tags you want to query. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   ResourceGroup: resource group. This is the default value.
	// *   Account: member.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key and value.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetMaxResults

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag

type ListTagResourcesRequestTag struct {
	// A tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey

func (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) String

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tags.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (*ListTagResourcesResponseBody) SetTagResources

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The ID of the resource group or member.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the object whose tags are queried. Valid values:
	//
	// *   resourcegroup: resource group
	// *   Account: member
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) String

type ListTagValuesRequest

type ListTagValuesRequest struct {
	// The maximum number of entries to return for a single request.
	//
	// Valid values: 1 to 100. Default value: 10.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The resource type.
	//
	// The value Account indicates the members of the resource directory.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key. This parameter specifies a filter condition for the query.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value for a fuzzy query.
	ValueFilter *string `json:"ValueFilter,omitempty" xml:"ValueFilter,omitempty"`
}

func (ListTagValuesRequest) GoString

func (s ListTagValuesRequest) GoString() string

func (*ListTagValuesRequest) SetMaxResults

func (s *ListTagValuesRequest) SetMaxResults(v int32) *ListTagValuesRequest

func (*ListTagValuesRequest) SetNextToken

func (s *ListTagValuesRequest) SetNextToken(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetResourceType

func (s *ListTagValuesRequest) SetResourceType(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetTagKey

func (*ListTagValuesRequest) SetValueFilter

func (s *ListTagValuesRequest) SetValueFilter(v string) *ListTagValuesRequest

func (ListTagValuesRequest) String

func (s ListTagValuesRequest) String() string

type ListTagValuesResponse

type ListTagValuesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagValuesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagValuesResponse) GoString

func (s ListTagValuesResponse) GoString() string

func (*ListTagValuesResponse) SetBody

func (*ListTagValuesResponse) SetHeaders

func (*ListTagValuesResponse) SetStatusCode

func (s *ListTagValuesResponse) SetStatusCode(v int32) *ListTagValuesResponse

func (ListTagValuesResponse) String

func (s ListTagValuesResponse) String() string

type ListTagValuesResponseBody

type ListTagValuesResponseBody struct {
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the tag values.
	Tags []*ListTagValuesResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListTagValuesResponseBody) GoString

func (s ListTagValuesResponseBody) GoString() string

func (*ListTagValuesResponseBody) SetNextToken

func (*ListTagValuesResponseBody) SetRequestId

func (*ListTagValuesResponseBody) SetTags

func (ListTagValuesResponseBody) String

func (s ListTagValuesResponseBody) String() string

type ListTagValuesResponseBodyTags

type ListTagValuesResponseBodyTags struct {
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagValuesResponseBodyTags) GoString

func (*ListTagValuesResponseBodyTags) SetValue

func (ListTagValuesResponseBodyTags) String

type ListTargetAttachmentsForControlPolicyRequest

type ListTargetAttachmentsForControlPolicyRequest struct {
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
}

func (ListTargetAttachmentsForControlPolicyRequest) GoString

func (*ListTargetAttachmentsForControlPolicyRequest) SetPageNumber

func (*ListTargetAttachmentsForControlPolicyRequest) SetPageSize

func (*ListTargetAttachmentsForControlPolicyRequest) SetPolicyId

func (ListTargetAttachmentsForControlPolicyRequest) String

type ListTargetAttachmentsForControlPolicyResponse

type ListTargetAttachmentsForControlPolicyResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTargetAttachmentsForControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTargetAttachmentsForControlPolicyResponse) GoString

func (*ListTargetAttachmentsForControlPolicyResponse) SetHeaders

func (*ListTargetAttachmentsForControlPolicyResponse) SetStatusCode

func (ListTargetAttachmentsForControlPolicyResponse) String

type ListTargetAttachmentsForControlPolicyResponseBody

type ListTargetAttachmentsForControlPolicyResponseBody struct {
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of objects to which the control policy is attached.
	TargetAttachments *ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachments `json:"TargetAttachments,omitempty" xml:"TargetAttachments,omitempty" type:"Struct"`
	// The total number of objects to which the control policy is attached.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListTargetAttachmentsForControlPolicyResponseBody) GoString

func (*ListTargetAttachmentsForControlPolicyResponseBody) SetPageNumber

func (*ListTargetAttachmentsForControlPolicyResponseBody) SetPageSize

func (*ListTargetAttachmentsForControlPolicyResponseBody) SetRequestId

func (*ListTargetAttachmentsForControlPolicyResponseBody) SetTotalCount

func (ListTargetAttachmentsForControlPolicyResponseBody) String

type ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachments

type ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachments struct {
	TargetAttachment []*ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment `json:"TargetAttachment,omitempty" xml:"TargetAttachment,omitempty" type:"Repeated"`
}

func (ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachments) GoString

func (ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachments) String

type ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment

type ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment struct {
	// The time when the control policy was attached to the object.
	AttachDate *string `json:"AttachDate,omitempty" xml:"AttachDate,omitempty"`
	// The ID of the object.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The name of the object.
	TargetName *string `json:"TargetName,omitempty" xml:"TargetName,omitempty"`
	// The type of the object. Valid values:
	//
	// *   Root: Root folder
	// *   Folder: child folder of the Root folder
	// *   Account: member account
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment) GoString

func (*ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment) SetAttachDate

func (*ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment) SetTargetId

func (*ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment) SetTargetName

func (*ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment) SetTargetType

func (ListTargetAttachmentsForControlPolicyResponseBodyTargetAttachmentsTargetAttachment) String

type ListTrustedServiceStatusRequest

type ListTrustedServiceStatusRequest struct {
	// The ID of the enterprise management account or delegated administrator account.
	//
	// *   If you set this parameter to the ID of an enterprise management account, the trusted services that are enabled within the enterprise management account are queried. The default value of this parameter is the ID of an enterprise management account.
	// *   If you set this parameter to the ID of a delegated administrator account, the trusted services that are enabled within the delegated administrator account are queried.
	//
	// For more information about trusted services and delegated administrator accounts, see [Overview of trusted services](~~208133~~) and [Delegated administrator accounts](~~208117~~).
	AdminAccountId *string `json:"AdminAccountId,omitempty" xml:"AdminAccountId,omitempty"`
	// The number of the page to return.
	//
	// Pages start from page 1. Default value: 1.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100. Default value: 10.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListTrustedServiceStatusRequest) GoString

func (*ListTrustedServiceStatusRequest) SetAdminAccountId

func (*ListTrustedServiceStatusRequest) SetPageNumber

func (*ListTrustedServiceStatusRequest) SetPageSize

func (ListTrustedServiceStatusRequest) String

type ListTrustedServiceStatusResponse

type ListTrustedServiceStatusResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTrustedServiceStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTrustedServiceStatusResponse) GoString

func (*ListTrustedServiceStatusResponse) SetHeaders

func (*ListTrustedServiceStatusResponse) SetStatusCode

func (ListTrustedServiceStatusResponse) String

type ListTrustedServiceStatusResponseBody

type ListTrustedServiceStatusResponseBody struct {
	// The trusted services that are enabled.
	EnabledServicePrincipals *ListTrustedServiceStatusResponseBodyEnabledServicePrincipals `json:"EnabledServicePrincipals,omitempty" xml:"EnabledServicePrincipals,omitempty" type:"Struct"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListTrustedServiceStatusResponseBody) GoString

func (*ListTrustedServiceStatusResponseBody) SetPageNumber

func (*ListTrustedServiceStatusResponseBody) SetPageSize

func (*ListTrustedServiceStatusResponseBody) SetRequestId

func (*ListTrustedServiceStatusResponseBody) SetTotalCount

func (ListTrustedServiceStatusResponseBody) String

type ListTrustedServiceStatusResponseBodyEnabledServicePrincipals

type ListTrustedServiceStatusResponseBodyEnabledServicePrincipals struct {
	EnabledServicePrincipal []*ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal `json:"EnabledServicePrincipal,omitempty" xml:"EnabledServicePrincipal,omitempty" type:"Repeated"`
}

func (ListTrustedServiceStatusResponseBodyEnabledServicePrincipals) GoString

func (ListTrustedServiceStatusResponseBodyEnabledServicePrincipals) String

type ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal

type ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal struct {
	// The time when the trusted service was enabled.
	EnableTime *string `json:"EnableTime,omitempty" xml:"EnableTime,omitempty"`
	// The identification of the trusted service.
	ServicePrincipal *string `json:"ServicePrincipal,omitempty" xml:"ServicePrincipal,omitempty"`
}

func (ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal) GoString

func (*ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal) SetEnableTime

func (*ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal) SetServicePrincipal

func (ListTrustedServiceStatusResponseBodyEnabledServicePrincipalsEnabledServicePrincipal) String

type MoveAccountRequest

type MoveAccountRequest struct {
	// The ID of the account you want to move.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The ID of the destination folder.
	DestinationFolderId *string `json:"DestinationFolderId,omitempty" xml:"DestinationFolderId,omitempty"`
}

func (MoveAccountRequest) GoString

func (s MoveAccountRequest) GoString() string

func (*MoveAccountRequest) SetAccountId

func (s *MoveAccountRequest) SetAccountId(v string) *MoveAccountRequest

func (*MoveAccountRequest) SetDestinationFolderId

func (s *MoveAccountRequest) SetDestinationFolderId(v string) *MoveAccountRequest

func (MoveAccountRequest) String

func (s MoveAccountRequest) String() string

type MoveAccountResponse

type MoveAccountResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *MoveAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (MoveAccountResponse) GoString

func (s MoveAccountResponse) GoString() string

func (*MoveAccountResponse) SetBody

func (*MoveAccountResponse) SetHeaders

func (s *MoveAccountResponse) SetHeaders(v map[string]*string) *MoveAccountResponse

func (*MoveAccountResponse) SetStatusCode

func (s *MoveAccountResponse) SetStatusCode(v int32) *MoveAccountResponse

func (MoveAccountResponse) String

func (s MoveAccountResponse) String() string

type MoveAccountResponseBody

type MoveAccountResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (MoveAccountResponseBody) GoString

func (s MoveAccountResponseBody) GoString() string

func (*MoveAccountResponseBody) SetRequestId

func (MoveAccountResponseBody) String

func (s MoveAccountResponseBody) String() string

type MoveResourcesRequest

type MoveResourcesRequest struct {
	// The ID of the resource group to which you want to move the resources.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The resources that you want to move.
	//
	// >  You can move a maximum of 10 resources at a time. If you want to move more than 10 resources, move them in batches.
	Resources []*MoveResourcesRequestResources `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"`
}

func (MoveResourcesRequest) GoString

func (s MoveResourcesRequest) GoString() string

func (*MoveResourcesRequest) SetResourceGroupId

func (s *MoveResourcesRequest) SetResourceGroupId(v string) *MoveResourcesRequest

func (*MoveResourcesRequest) SetResources

func (MoveResourcesRequest) String

func (s MoveResourcesRequest) String() string

type MoveResourcesRequestResources

type MoveResourcesRequestResources struct {
	// The region ID of the resource.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the Alibaba Cloud service to which the resource belongs.
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
}

func (MoveResourcesRequestResources) GoString

func (*MoveResourcesRequestResources) SetRegionId

func (*MoveResourcesRequestResources) SetResourceId

func (*MoveResourcesRequestResources) SetResourceType

func (*MoveResourcesRequestResources) SetService

func (MoveResourcesRequestResources) String

type MoveResourcesResponse

type MoveResourcesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *MoveResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (MoveResourcesResponse) GoString

func (s MoveResourcesResponse) GoString() string

func (*MoveResourcesResponse) SetBody

func (*MoveResourcesResponse) SetHeaders

func (*MoveResourcesResponse) SetStatusCode

func (s *MoveResourcesResponse) SetStatusCode(v int32) *MoveResourcesResponse

func (MoveResourcesResponse) String

func (s MoveResourcesResponse) String() string

type MoveResourcesResponseBody

type MoveResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The returned results.
	Responses []*MoveResourcesResponseBodyResponses `json:"Responses,omitempty" xml:"Responses,omitempty" type:"Repeated"`
}

func (MoveResourcesResponseBody) GoString

func (s MoveResourcesResponseBody) GoString() string

func (*MoveResourcesResponseBody) SetRequestId

func (*MoveResourcesResponseBody) SetResponses

func (MoveResourcesResponseBody) String

func (s MoveResourcesResponseBody) String() string

type MoveResourcesResponseBodyResponses

type MoveResourcesResponseBodyResponses struct {
	// The error code returned.
	//
	// >  This parameter is returned if the resource failed to be moved.
	ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty"`
	// The error message returned.
	//
	// >  This parameter is returned if the resource failed to be moved.
	ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"`
	// The region ID of the resource.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the Alibaba Cloud service.
	Service *string `json:"Service,omitempty" xml:"Service,omitempty"`
	// The status of the move task. Valid values:
	//
	// *   SUCCESS
	// *   FAIL
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (MoveResourcesResponseBodyResponses) GoString

func (*MoveResourcesResponseBodyResponses) SetErrorCode

func (*MoveResourcesResponseBodyResponses) SetErrorMsg

func (*MoveResourcesResponseBodyResponses) SetRegionId

func (*MoveResourcesResponseBodyResponses) SetRequestId

func (*MoveResourcesResponseBodyResponses) SetResourceId

func (*MoveResourcesResponseBodyResponses) SetResourceType

func (*MoveResourcesResponseBodyResponses) SetService

func (*MoveResourcesResponseBodyResponses) SetStatus

func (MoveResourcesResponseBodyResponses) String

type PromoteResourceAccountRequest

type PromoteResourceAccountRequest struct {
	// The ID of the resource account you want to upgrade.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The email address used to log on to the cloud account after the upgrade.
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
}

func (PromoteResourceAccountRequest) GoString

func (*PromoteResourceAccountRequest) SetAccountId

func (*PromoteResourceAccountRequest) SetEmail

func (PromoteResourceAccountRequest) String

type PromoteResourceAccountResponse

type PromoteResourceAccountResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *PromoteResourceAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (PromoteResourceAccountResponse) GoString

func (*PromoteResourceAccountResponse) SetHeaders

func (*PromoteResourceAccountResponse) SetStatusCode

func (PromoteResourceAccountResponse) String

type PromoteResourceAccountResponseBody

type PromoteResourceAccountResponseBody struct {
	// The information of the member account.
	Account *PromoteResourceAccountResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (PromoteResourceAccountResponseBody) GoString

func (*PromoteResourceAccountResponseBody) SetRequestId

func (PromoteResourceAccountResponseBody) String

type PromoteResourceAccountResponseBodyAccount

type PromoteResourceAccountResponseBodyAccount struct {
	// The ID of the member account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the member account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member account.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member account joined the resource directory. Valid values:
	//
	// *   invited: The member account is invited to join the resource directory.
	// *   created: The member account is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member account joined the resource directory.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member account was modified.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member account. Valid values:
	//
	// *   CreateSuccess: The member account is created.
	// *   CreateVerifying: The creation of the member account is under confirmation.
	// *   CreateFailed: The member account failed to be created.
	// *   CreateExpired: The creation of the member account expired.
	// *   CreateCancelled: The creation of the member account is canceled.
	// *   PromoteVerifying: The upgrade of the member account is under confirmation.
	// *   PromoteFailed: The member account failed to be upgraded.
	// *   PromoteExpired: The upgrade of the member account expired.
	// *   PromoteCancelled: The upgrade of the member account is canceled.
	// *   PromoteSuccess: The member account is upgraded.
	// *   InviteSuccess: The owner of the member account accepted the invitation.
	// *   Removed: The member account is removed from the resource directory.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the member account. Valid values:
	//
	// *   CloudAccount
	// *   ResourceAccount
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (PromoteResourceAccountResponseBodyAccount) GoString

func (*PromoteResourceAccountResponseBodyAccount) SetAccountId

func (*PromoteResourceAccountResponseBodyAccount) SetAccountName

func (*PromoteResourceAccountResponseBodyAccount) SetDisplayName

func (*PromoteResourceAccountResponseBodyAccount) SetFolderId

func (*PromoteResourceAccountResponseBodyAccount) SetJoinMethod

func (*PromoteResourceAccountResponseBodyAccount) SetJoinTime

func (*PromoteResourceAccountResponseBodyAccount) SetModifyTime

func (*PromoteResourceAccountResponseBodyAccount) SetRecordId

func (*PromoteResourceAccountResponseBodyAccount) SetResourceDirectoryId

func (*PromoteResourceAccountResponseBodyAccount) SetStatus

func (*PromoteResourceAccountResponseBodyAccount) SetType

func (PromoteResourceAccountResponseBodyAccount) String

type RegisterDelegatedAdministratorRequest

type RegisterDelegatedAdministratorRequest struct {
	// The ID of the member in the resource directory.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The identifier of the trusted service.
	//
	// For more information, see the `Trusted service identifier` column in [Supported trusted services](~~208133~~).
	ServicePrincipal *string `json:"ServicePrincipal,omitempty" xml:"ServicePrincipal,omitempty"`
}

func (RegisterDelegatedAdministratorRequest) GoString

func (*RegisterDelegatedAdministratorRequest) SetAccountId

func (*RegisterDelegatedAdministratorRequest) SetServicePrincipal

func (RegisterDelegatedAdministratorRequest) String

type RegisterDelegatedAdministratorResponse

type RegisterDelegatedAdministratorResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RegisterDelegatedAdministratorResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RegisterDelegatedAdministratorResponse) GoString

func (*RegisterDelegatedAdministratorResponse) SetHeaders

func (*RegisterDelegatedAdministratorResponse) SetStatusCode

func (RegisterDelegatedAdministratorResponse) String

type RegisterDelegatedAdministratorResponseBody

type RegisterDelegatedAdministratorResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RegisterDelegatedAdministratorResponseBody) GoString

func (*RegisterDelegatedAdministratorResponseBody) SetRequestId

func (RegisterDelegatedAdministratorResponseBody) String

type RemoveCloudAccountRequest

type RemoveCloudAccountRequest struct {
	// The ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (RemoveCloudAccountRequest) GoString

func (s RemoveCloudAccountRequest) GoString() string

func (*RemoveCloudAccountRequest) SetAccountId

func (RemoveCloudAccountRequest) String

func (s RemoveCloudAccountRequest) String() string

type RemoveCloudAccountResponse

type RemoveCloudAccountResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RemoveCloudAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RemoveCloudAccountResponse) GoString

func (s RemoveCloudAccountResponse) GoString() string

func (*RemoveCloudAccountResponse) SetBody

func (*RemoveCloudAccountResponse) SetHeaders

func (*RemoveCloudAccountResponse) SetStatusCode

func (RemoveCloudAccountResponse) String

type RemoveCloudAccountResponseBody

type RemoveCloudAccountResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RemoveCloudAccountResponseBody) GoString

func (*RemoveCloudAccountResponseBody) SetRequestId

func (RemoveCloudAccountResponseBody) String

type ResendCreateCloudAccountEmailRequest

type ResendCreateCloudAccountEmailRequest struct {
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
}

func (ResendCreateCloudAccountEmailRequest) GoString

func (*ResendCreateCloudAccountEmailRequest) SetRecordId

func (ResendCreateCloudAccountEmailRequest) String

type ResendCreateCloudAccountEmailResponse

type ResendCreateCloudAccountEmailResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ResendCreateCloudAccountEmailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ResendCreateCloudAccountEmailResponse) GoString

func (*ResendCreateCloudAccountEmailResponse) SetHeaders

func (*ResendCreateCloudAccountEmailResponse) SetStatusCode

func (ResendCreateCloudAccountEmailResponse) String

type ResendCreateCloudAccountEmailResponseBody

type ResendCreateCloudAccountEmailResponseBody struct {
	// The information of the member account.
	Account *ResendCreateCloudAccountEmailResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ResendCreateCloudAccountEmailResponseBody) GoString

func (*ResendCreateCloudAccountEmailResponseBody) SetRequestId

func (ResendCreateCloudAccountEmailResponseBody) String

type ResendCreateCloudAccountEmailResponseBodyAccount

type ResendCreateCloudAccountEmailResponseBodyAccount struct {
	// The ID of the account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member account.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member account joined the resource directory. Valid values:
	//
	// *   invited: The member account is invited to join the resource directory.
	// *   created: The member account is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member account joined the resource directory.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member account was modified.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member account. Valid values:
	//
	// *   CreateSuccess: The member account is created.
	// *   CreateVerifying: The creation of the member account is under confirmation.
	// *   CreateFailed: The member account failed to be created.
	// *   CreateExpired: The creation of the member account expired.
	// *   CreateCancelled: The creation of the member account is canceled.
	// *   PromoteVerifying: The upgrade of the member account is under confirmation.
	// *   PromoteFailed: The member account failed to be upgraded.
	// *   PromoteExpired: The upgrade of the member account expired.
	// *   PromoteCancelled: The upgrade of the member account is canceled.
	// *   PromoteSuccess: The member account is upgraded.
	// *   InviteSuccess: The owner of the member account accepted the invitation.
	// *   Removed: The member account is removed from the resource directory.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the member account. The value CloudAccount indicates that the member account is a cloud account.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ResendCreateCloudAccountEmailResponseBodyAccount) GoString

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetAccountId

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetAccountName

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetDisplayName

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetFolderId

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetJoinMethod

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetJoinTime

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetModifyTime

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetRecordId

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetResourceDirectoryId

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetStatus

func (*ResendCreateCloudAccountEmailResponseBodyAccount) SetType

func (ResendCreateCloudAccountEmailResponseBodyAccount) String

type ResendPromoteResourceAccountEmailRequest

type ResendPromoteResourceAccountEmailRequest struct {
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
}

func (ResendPromoteResourceAccountEmailRequest) GoString

func (*ResendPromoteResourceAccountEmailRequest) SetRecordId

func (ResendPromoteResourceAccountEmailRequest) String

type ResendPromoteResourceAccountEmailResponse

type ResendPromoteResourceAccountEmailResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ResendPromoteResourceAccountEmailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ResendPromoteResourceAccountEmailResponse) GoString

func (*ResendPromoteResourceAccountEmailResponse) SetHeaders

func (*ResendPromoteResourceAccountEmailResponse) SetStatusCode

func (ResendPromoteResourceAccountEmailResponse) String

type ResendPromoteResourceAccountEmailResponseBody

type ResendPromoteResourceAccountEmailResponseBody struct {
	// The information of the member account.
	Account *ResendPromoteResourceAccountEmailResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ResendPromoteResourceAccountEmailResponseBody) GoString

func (*ResendPromoteResourceAccountEmailResponseBody) SetRequestId

func (ResendPromoteResourceAccountEmailResponseBody) String

type ResendPromoteResourceAccountEmailResponseBodyAccount

type ResendPromoteResourceAccountEmailResponseBodyAccount struct {
	// The ID of the account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the account.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member account.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member account joined the resource directory. Valid values:
	//
	// *   invited: The member account is invited to join the resource directory.
	// *   created: The member account is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member account joined the resource directory.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member account was modified.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The account record ID.
	RecordId *string `json:"RecordId,omitempty" xml:"RecordId,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member account. Valid values:
	//
	// *   CreateSuccess: The member account is created.
	// *   CreateVerifying: The creation of the member account is under confirmation.
	// *   CreateFailed: The member account failed to be created.
	// *   CreateExpired: The creation of the member account expired.
	// *   CreateCancelled: The creation of the member account is canceled.
	// *   PromoteVerifying: The upgrade of the member account is under confirmation.
	// *   PromoteFailed: The member account failed to be upgraded.
	// *   PromoteExpired: The upgrade of the member account expired.
	// *   PromoteCancelled: The upgrade of the member account is canceled.
	// *   PromoteSuccess: The member account is upgraded.
	// *   InviteSuccess: The owner of the member account accepted the invitation.
	// *   Removed: The member account is removed from the resource directory.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the member account. Valid values:
	//
	// *   CloudAccount: cloud account
	// *   ResourceAccount: resource account
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (ResendPromoteResourceAccountEmailResponseBodyAccount) GoString

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetAccountId

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetAccountName

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetDisplayName

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetFolderId

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetJoinMethod

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetJoinTime

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetModifyTime

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetRecordId

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetResourceDirectoryId

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetStatus

func (*ResendPromoteResourceAccountEmailResponseBodyAccount) SetType

func (ResendPromoteResourceAccountEmailResponseBodyAccount) String

type RetryChangeAccountEmailRequest added in v3.0.2

type RetryChangeAccountEmailRequest struct {
	// The Alibaba Cloud account ID of the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
}

func (RetryChangeAccountEmailRequest) GoString added in v3.0.2

func (*RetryChangeAccountEmailRequest) SetAccountId added in v3.0.2

func (RetryChangeAccountEmailRequest) String added in v3.0.2

type RetryChangeAccountEmailResponse added in v3.0.2

type RetryChangeAccountEmailResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RetryChangeAccountEmailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RetryChangeAccountEmailResponse) GoString added in v3.0.2

func (*RetryChangeAccountEmailResponse) SetBody added in v3.0.2

func (*RetryChangeAccountEmailResponse) SetHeaders added in v3.0.2

func (*RetryChangeAccountEmailResponse) SetStatusCode added in v3.0.2

func (RetryChangeAccountEmailResponse) String added in v3.0.2

type RetryChangeAccountEmailResponseBody added in v3.0.2

type RetryChangeAccountEmailResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RetryChangeAccountEmailResponseBody) GoString added in v3.0.2

func (*RetryChangeAccountEmailResponseBody) SetRequestId added in v3.0.2

func (RetryChangeAccountEmailResponseBody) String added in v3.0.2

type SendVerificationCodeForBindSecureMobilePhoneRequest

type SendVerificationCodeForBindSecureMobilePhoneRequest struct {
	// The ID of the resource account.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The mobile phone number that you want to bind to the resource account.
	//
	// Specify the mobile phone number in the \<Country code>-\<Mobile phone number> format.
	//
	// >  Mobile phone numbers in the `86-<Mobile phone number>` format in the Chinese mainland are not supported.
	SecureMobilePhone *string `json:"SecureMobilePhone,omitempty" xml:"SecureMobilePhone,omitempty"`
}

func (SendVerificationCodeForBindSecureMobilePhoneRequest) GoString

func (*SendVerificationCodeForBindSecureMobilePhoneRequest) SetAccountId

func (*SendVerificationCodeForBindSecureMobilePhoneRequest) SetSecureMobilePhone

func (SendVerificationCodeForBindSecureMobilePhoneRequest) String

type SendVerificationCodeForBindSecureMobilePhoneResponse

type SendVerificationCodeForBindSecureMobilePhoneResponse struct {
	Headers    map[string]*string                                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendVerificationCodeForBindSecureMobilePhoneResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendVerificationCodeForBindSecureMobilePhoneResponse) GoString

func (*SendVerificationCodeForBindSecureMobilePhoneResponse) SetHeaders

func (*SendVerificationCodeForBindSecureMobilePhoneResponse) SetStatusCode

func (SendVerificationCodeForBindSecureMobilePhoneResponse) String

type SendVerificationCodeForBindSecureMobilePhoneResponseBody

type SendVerificationCodeForBindSecureMobilePhoneResponseBody struct {
	// The time when the verification code expires.
	ExpirationDate *string `json:"ExpirationDate,omitempty" xml:"ExpirationDate,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendVerificationCodeForBindSecureMobilePhoneResponseBody) GoString

func (*SendVerificationCodeForBindSecureMobilePhoneResponseBody) SetExpirationDate

func (*SendVerificationCodeForBindSecureMobilePhoneResponseBody) SetRequestId

func (SendVerificationCodeForBindSecureMobilePhoneResponseBody) String

type SendVerificationCodeForEnableRDRequest

type SendVerificationCodeForEnableRDRequest struct {
	// The mobile phone number that is bound to the newly created account. If you leave this parameter empty, the mobile phone number that is bound to the current account is used.
	//
	// Specify the mobile phone number in the `<Country code>-<Mobile phone number>` format.
	//
	// >  Mobile phone numbers in the `86-<Mobile phone number>` format in the Chinese mainland are not supported.
	SecureMobilePhone *string `json:"SecureMobilePhone,omitempty" xml:"SecureMobilePhone,omitempty"`
}

func (SendVerificationCodeForEnableRDRequest) GoString

func (*SendVerificationCodeForEnableRDRequest) SetSecureMobilePhone

func (SendVerificationCodeForEnableRDRequest) String

type SendVerificationCodeForEnableRDResponse

type SendVerificationCodeForEnableRDResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendVerificationCodeForEnableRDResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendVerificationCodeForEnableRDResponse) GoString

func (*SendVerificationCodeForEnableRDResponse) SetHeaders

func (*SendVerificationCodeForEnableRDResponse) SetStatusCode

func (SendVerificationCodeForEnableRDResponse) String

type SendVerificationCodeForEnableRDResponseBody

type SendVerificationCodeForEnableRDResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendVerificationCodeForEnableRDResponseBody) GoString

func (*SendVerificationCodeForEnableRDResponseBody) SetRequestId

func (SendVerificationCodeForEnableRDResponseBody) String

type SetDefaultPolicyVersionRequest

type SetDefaultPolicyVersionRequest struct {
	// The name of the policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The ID of the policy version.
	VersionId *string `json:"VersionId,omitempty" xml:"VersionId,omitempty"`
}

func (SetDefaultPolicyVersionRequest) GoString

func (*SetDefaultPolicyVersionRequest) SetPolicyName

func (*SetDefaultPolicyVersionRequest) SetVersionId

func (SetDefaultPolicyVersionRequest) String

type SetDefaultPolicyVersionResponse

type SetDefaultPolicyVersionResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetDefaultPolicyVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetDefaultPolicyVersionResponse) GoString

func (*SetDefaultPolicyVersionResponse) SetHeaders

func (*SetDefaultPolicyVersionResponse) SetStatusCode

func (SetDefaultPolicyVersionResponse) String

type SetDefaultPolicyVersionResponseBody

type SetDefaultPolicyVersionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SetDefaultPolicyVersionResponseBody) GoString

func (*SetDefaultPolicyVersionResponseBody) SetRequestId

func (SetDefaultPolicyVersionResponseBody) String

type SetMemberDeletionPermissionRequest

type SetMemberDeletionPermissionRequest struct {
	// Specifies whether to enable the member deletion feature. Valid values:
	//
	// *   Enabled: enables the member deletion feature
	// *   Disabled: disables the member deletion feature
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (SetMemberDeletionPermissionRequest) GoString

func (*SetMemberDeletionPermissionRequest) SetStatus

func (SetMemberDeletionPermissionRequest) String

type SetMemberDeletionPermissionResponse

type SetMemberDeletionPermissionResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetMemberDeletionPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetMemberDeletionPermissionResponse) GoString

func (*SetMemberDeletionPermissionResponse) SetHeaders

func (*SetMemberDeletionPermissionResponse) SetStatusCode

func (SetMemberDeletionPermissionResponse) String

type SetMemberDeletionPermissionResponseBody

type SetMemberDeletionPermissionResponseBody struct {
	// The ID of the management account of the resource directory.
	ManagementAccountId *string `json:"ManagementAccountId,omitempty" xml:"ManagementAccountId,omitempty"`
	// The status of the member deletion feature. Valid values:
	//
	// *   Enabled: The feature is enabled.
	// *   Disabled: The feature is disabled.
	MemberDeletionStatus *string `json:"MemberDeletionStatus,omitempty" xml:"MemberDeletionStatus,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
}

func (SetMemberDeletionPermissionResponseBody) GoString

func (*SetMemberDeletionPermissionResponseBody) SetManagementAccountId

func (*SetMemberDeletionPermissionResponseBody) SetMemberDeletionStatus

func (*SetMemberDeletionPermissionResponseBody) SetRequestId

func (*SetMemberDeletionPermissionResponseBody) SetResourceDirectoryId

func (SetMemberDeletionPermissionResponseBody) String

type TagResourcesRequest

type TagResourcesRequest struct {
	// The ID of a resource group or member.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the objects to which you want to add tags. Valid values:
	//
	// *   ResourceGroup : resource group. This is the default value.
	// *   Account: member.
	//
	// >  This parameter is required if you add tags to members in a resource directory.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// A tag key.
	//
	// A tag key can be a maximum of 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:` or `aliyun`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// A tag value.
	//
	// A tag value can be a maximum of 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey

func (*TagResourcesRequestTag) SetValue

func (TagResourcesRequestTag) String

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags from the specified resource groups or members. Valid values:
	//
	// *   false (default value)
	// *   true
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// The ID of a resource group or member.
	//
	// You can specify a maximum of 50 IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the objects from which you want to remove tags. Valid values:
	//
	// *   ResourceGroup: resource group. This is the default value.
	// *   Account: member.
	//
	// >  This parameter is required if you remove tags from members in a resource directory.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// A tag key.
	//
	// You can specify a maximum of 20 tag keys.
	//
	// >  If you set the `All` parameter to `true`, you do not need to configure this parameter.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

type UntagResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UpdateAccountRequest

type UpdateAccountRequest struct {
	// The ID of the Alibaba Cloud account that corresponds to the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The new type of the member. Valid values:
	//
	// *   ResourceAccount: resource account
	// *   CloudAccount: cloud account
	//
	// >  You can configure either the `NewDisplayName` or `NewAccountType` parameter.
	NewAccountType *string `json:"NewAccountType,omitempty" xml:"NewAccountType,omitempty"`
	// The new display name of the member.
	//
	// >  You can configure either the `NewDisplayName` or `NewAccountType` parameter.
	NewDisplayName *string `json:"NewDisplayName,omitempty" xml:"NewDisplayName,omitempty"`
}

func (UpdateAccountRequest) GoString

func (s UpdateAccountRequest) GoString() string

func (*UpdateAccountRequest) SetAccountId

func (s *UpdateAccountRequest) SetAccountId(v string) *UpdateAccountRequest

func (*UpdateAccountRequest) SetNewAccountType

func (s *UpdateAccountRequest) SetNewAccountType(v string) *UpdateAccountRequest

func (*UpdateAccountRequest) SetNewDisplayName

func (s *UpdateAccountRequest) SetNewDisplayName(v string) *UpdateAccountRequest

func (UpdateAccountRequest) String

func (s UpdateAccountRequest) String() string

type UpdateAccountResponse

type UpdateAccountResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateAccountResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAccountResponse) GoString

func (s UpdateAccountResponse) GoString() string

func (*UpdateAccountResponse) SetBody

func (*UpdateAccountResponse) SetHeaders

func (*UpdateAccountResponse) SetStatusCode

func (s *UpdateAccountResponse) SetStatusCode(v int32) *UpdateAccountResponse

func (UpdateAccountResponse) String

func (s UpdateAccountResponse) String() string

type UpdateAccountResponseBody

type UpdateAccountResponseBody struct {
	// The information of the member.
	Account *UpdateAccountResponseBodyAccount `json:"Account,omitempty" xml:"Account,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateAccountResponseBody) GoString

func (s UpdateAccountResponseBody) GoString() string

func (*UpdateAccountResponseBody) SetAccount

func (*UpdateAccountResponseBody) SetRequestId

func (UpdateAccountResponseBody) String

func (s UpdateAccountResponseBody) String() string

type UpdateAccountResponseBodyAccount

type UpdateAccountResponseBodyAccount struct {
	// The ID of the Alibaba Cloud account that corresponds to the member.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the Alibaba Cloud account that corresponds to the member.
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The display name of the member.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The way in which the member joins the resource directory. Valid values:
	//
	// *   invited: The member is invited to join the resource directory.
	// *   created: The member is directly created in the resource directory.
	JoinMethod *string `json:"JoinMethod,omitempty" xml:"JoinMethod,omitempty"`
	// The time when the member joined the resource directory. The time is displayed in UTC.
	JoinTime *string `json:"JoinTime,omitempty" xml:"JoinTime,omitempty"`
	// The time when the member was modified. The time is displayed in UTC.
	ModifyTime *string `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"`
	// The ID of the resource directory.
	ResourceDirectoryId *string `json:"ResourceDirectoryId,omitempty" xml:"ResourceDirectoryId,omitempty"`
	// The status of the member. Valid values:
	//
	// *   CreateSuccess: The member is created.
	// *   InviteSuccess: The member accepts the invitation.
	// *   Removed: The member is removed.
	// *   SwitchSuccess: The type of the member is switched.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the member. Valid values:
	//
	// *   CloudAccount: cloud account
	// *   ResourceAccount: resource account
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (UpdateAccountResponseBodyAccount) GoString

func (*UpdateAccountResponseBodyAccount) SetAccountId

func (*UpdateAccountResponseBodyAccount) SetAccountName

func (*UpdateAccountResponseBodyAccount) SetDisplayName

func (*UpdateAccountResponseBodyAccount) SetFolderId

func (*UpdateAccountResponseBodyAccount) SetJoinMethod

func (*UpdateAccountResponseBodyAccount) SetJoinTime

func (*UpdateAccountResponseBodyAccount) SetModifyTime

func (*UpdateAccountResponseBodyAccount) SetResourceDirectoryId

func (*UpdateAccountResponseBodyAccount) SetStatus

func (*UpdateAccountResponseBodyAccount) SetType

func (UpdateAccountResponseBodyAccount) String

type UpdateAssociatedTransferSettingRequest added in v3.2.0

type UpdateAssociatedTransferSettingRequest struct {
	EnableExistingResourcesTransfer *string `json:"EnableExistingResourcesTransfer,omitempty" xml:"EnableExistingResourcesTransfer,omitempty"`
	// The settings of the transfer rules.
	RuleSettings []*UpdateAssociatedTransferSettingRequestRuleSettings `json:"RuleSettings,omitempty" xml:"RuleSettings,omitempty" type:"Repeated"`
}

func (UpdateAssociatedTransferSettingRequest) GoString added in v3.2.0

func (*UpdateAssociatedTransferSettingRequest) SetEnableExistingResourcesTransfer added in v3.2.0

func (*UpdateAssociatedTransferSettingRequest) SetRuleSettings added in v3.2.0

func (UpdateAssociatedTransferSettingRequest) String added in v3.2.0

type UpdateAssociatedTransferSettingRequestRuleSettings added in v3.2.0

type UpdateAssociatedTransferSettingRequestRuleSettings struct {
	// The type of the associated resource.
	//
	// You can obtain the resource type from the **Resource type** column in [Services that work with Resource Group](~~94479~~).
	AssociatedResourceType *string `json:"AssociatedResourceType,omitempty" xml:"AssociatedResourceType,omitempty"`
	// The service code of the associated resource.
	//
	// You can obtain the service code from the **Service code** column in [Services that work with Resource Group](~~94479~~).
	AssociatedService *string `json:"AssociatedService,omitempty" xml:"AssociatedService,omitempty"`
	// The type of the primary resource.
	//
	// You can obtain the resource type from the **Resource type** column in [Services that work with Resource Group](~~94479~~).
	MasterResourceType *string `json:"MasterResourceType,omitempty" xml:"MasterResourceType,omitempty"`
	// The service code of the primary resource.
	//
	// You can obtain the service code from the **Service code** column in [Services that work with Resource Group](~~94479~~).
	MasterService *string `json:"MasterService,omitempty" xml:"MasterService,omitempty"`
	// The status of the Transfer Associated Resources feature. Valid values:
	//
	// - Enable: enabled
	// - Disable: disabled
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (UpdateAssociatedTransferSettingRequestRuleSettings) GoString added in v3.2.0

func (*UpdateAssociatedTransferSettingRequestRuleSettings) SetAssociatedResourceType added in v3.2.0

func (*UpdateAssociatedTransferSettingRequestRuleSettings) SetAssociatedService added in v3.2.0

func (*UpdateAssociatedTransferSettingRequestRuleSettings) SetMasterResourceType added in v3.2.0

func (*UpdateAssociatedTransferSettingRequestRuleSettings) SetMasterService added in v3.2.0

func (*UpdateAssociatedTransferSettingRequestRuleSettings) SetStatus added in v3.2.0

func (UpdateAssociatedTransferSettingRequestRuleSettings) String added in v3.2.0

type UpdateAssociatedTransferSettingResponse added in v3.2.0

type UpdateAssociatedTransferSettingResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateAssociatedTransferSettingResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAssociatedTransferSettingResponse) GoString added in v3.2.0

func (*UpdateAssociatedTransferSettingResponse) SetBody added in v3.2.0

func (*UpdateAssociatedTransferSettingResponse) SetHeaders added in v3.2.0

func (*UpdateAssociatedTransferSettingResponse) SetStatusCode added in v3.2.0

func (UpdateAssociatedTransferSettingResponse) String added in v3.2.0

type UpdateAssociatedTransferSettingResponseBody added in v3.2.0

type UpdateAssociatedTransferSettingResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateAssociatedTransferSettingResponseBody) GoString added in v3.2.0

func (*UpdateAssociatedTransferSettingResponseBody) SetRequestId added in v3.2.0

func (UpdateAssociatedTransferSettingResponseBody) String added in v3.2.0

type UpdateControlPolicyRequest

type UpdateControlPolicyRequest struct {
	// The new description of the access control policy.
	//
	// The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\_), and hyphens (-) and must start with a letter.
	NewDescription *string `json:"NewDescription,omitempty" xml:"NewDescription,omitempty"`
	// The new document of the access control policy.
	//
	// The document can be a maximum of 4,096 characters in length.
	//
	// For more information about the languages of access control policies, see [Languages of access control policies](~~179096~~).
	//
	// For more information about the examples of access control policies, see [Examples of custom access control policies](~~181474~~).
	NewPolicyDocument *string `json:"NewPolicyDocument,omitempty" xml:"NewPolicyDocument,omitempty"`
	// The new name of the access control policy.
	//
	// The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
	NewPolicyName *string `json:"NewPolicyName,omitempty" xml:"NewPolicyName,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
}

func (UpdateControlPolicyRequest) GoString

func (s UpdateControlPolicyRequest) GoString() string

func (*UpdateControlPolicyRequest) SetNewDescription

func (*UpdateControlPolicyRequest) SetNewPolicyDocument

func (s *UpdateControlPolicyRequest) SetNewPolicyDocument(v string) *UpdateControlPolicyRequest

func (*UpdateControlPolicyRequest) SetNewPolicyName

func (*UpdateControlPolicyRequest) SetPolicyId

func (UpdateControlPolicyRequest) String

type UpdateControlPolicyResponse

type UpdateControlPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateControlPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateControlPolicyResponse) GoString

func (s UpdateControlPolicyResponse) GoString() string

func (*UpdateControlPolicyResponse) SetBody

func (*UpdateControlPolicyResponse) SetHeaders

func (*UpdateControlPolicyResponse) SetStatusCode

func (UpdateControlPolicyResponse) String

type UpdateControlPolicyResponseBody

type UpdateControlPolicyResponseBody struct {
	// The details of the access control policy.
	ControlPolicy *UpdateControlPolicyResponseBodyControlPolicy `json:"ControlPolicy,omitempty" xml:"ControlPolicy,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateControlPolicyResponseBody) GoString

func (*UpdateControlPolicyResponseBody) SetRequestId

func (UpdateControlPolicyResponseBody) String

type UpdateControlPolicyResponseBodyControlPolicy

type UpdateControlPolicyResponseBodyControlPolicy struct {
	// The number of times that the access control policy is referenced.
	AttachmentCount *string `json:"AttachmentCount,omitempty" xml:"AttachmentCount,omitempty"`
	// The time when the access control policy was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the access control policy.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The effective scope of the access control policy. Valid values:
	//
	// *   All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
	// *   RAM: The access control policy is in effect only for RAM users and RAM roles.
	EffectScope *string `json:"EffectScope,omitempty" xml:"EffectScope,omitempty"`
	// The ID of the access control policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the access control policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The type of the access control policy. Valid values:
	//
	// *   System: system access control policy
	// *   Custom: custom access control policy
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The time when the access control policy was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (UpdateControlPolicyResponseBodyControlPolicy) GoString

func (*UpdateControlPolicyResponseBodyControlPolicy) SetAttachmentCount

func (*UpdateControlPolicyResponseBodyControlPolicy) SetCreateDate

func (*UpdateControlPolicyResponseBodyControlPolicy) SetDescription

func (*UpdateControlPolicyResponseBodyControlPolicy) SetEffectScope

func (*UpdateControlPolicyResponseBodyControlPolicy) SetPolicyId

func (*UpdateControlPolicyResponseBodyControlPolicy) SetPolicyName

func (*UpdateControlPolicyResponseBodyControlPolicy) SetPolicyType

func (*UpdateControlPolicyResponseBodyControlPolicy) SetUpdateDate

func (UpdateControlPolicyResponseBodyControlPolicy) String

type UpdateFolderRequest

type UpdateFolderRequest struct {
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The new name of the folder.
	//
	// The name must be 1 to 24 characters in length and can contain letters, digits, underscores (\_), periods (.), and hyphens (-).
	NewFolderName *string `json:"NewFolderName,omitempty" xml:"NewFolderName,omitempty"`
}

func (UpdateFolderRequest) GoString

func (s UpdateFolderRequest) GoString() string

func (*UpdateFolderRequest) SetFolderId

func (s *UpdateFolderRequest) SetFolderId(v string) *UpdateFolderRequest

func (*UpdateFolderRequest) SetNewFolderName

func (s *UpdateFolderRequest) SetNewFolderName(v string) *UpdateFolderRequest

func (UpdateFolderRequest) String

func (s UpdateFolderRequest) String() string

type UpdateFolderResponse

type UpdateFolderResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateFolderResponse) GoString

func (s UpdateFolderResponse) GoString() string

func (*UpdateFolderResponse) SetBody

func (*UpdateFolderResponse) SetHeaders

func (s *UpdateFolderResponse) SetHeaders(v map[string]*string) *UpdateFolderResponse

func (*UpdateFolderResponse) SetStatusCode

func (s *UpdateFolderResponse) SetStatusCode(v int32) *UpdateFolderResponse

func (UpdateFolderResponse) String

func (s UpdateFolderResponse) String() string

type UpdateFolderResponseBody

type UpdateFolderResponseBody struct {
	// The information of the folder.
	Folder *UpdateFolderResponseBodyFolder `json:"Folder,omitempty" xml:"Folder,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateFolderResponseBody) GoString

func (s UpdateFolderResponseBody) GoString() string

func (*UpdateFolderResponseBody) SetFolder

func (*UpdateFolderResponseBody) SetRequestId

func (UpdateFolderResponseBody) String

func (s UpdateFolderResponseBody) String() string

type UpdateFolderResponseBodyFolder

type UpdateFolderResponseBodyFolder struct {
	// The time when the folder was created.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the folder.
	FolderId *string `json:"FolderId,omitempty" xml:"FolderId,omitempty"`
	// The name of the folder.
	FolderName *string `json:"FolderName,omitempty" xml:"FolderName,omitempty"`
	// The ID of the parent folder.
	ParentFolderId *string `json:"ParentFolderId,omitempty" xml:"ParentFolderId,omitempty"`
}

func (UpdateFolderResponseBodyFolder) GoString

func (*UpdateFolderResponseBodyFolder) SetCreateTime

func (*UpdateFolderResponseBodyFolder) SetFolderId

func (*UpdateFolderResponseBodyFolder) SetFolderName

func (*UpdateFolderResponseBodyFolder) SetParentFolderId

func (UpdateFolderResponseBodyFolder) String

type UpdateResourceGroupRequest

type UpdateResourceGroupRequest struct {
	// The display name of the resource group.
	//
	// The name must be 1 to 50 characters in length.
	NewDisplayName *string `json:"NewDisplayName,omitempty" xml:"NewDisplayName,omitempty"`
	// The ID of the resource group.
	//
	// You can call the [ListResourceGroups](~~158855~~) operation to obtain the ID.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
}

func (UpdateResourceGroupRequest) GoString

func (s UpdateResourceGroupRequest) GoString() string

func (*UpdateResourceGroupRequest) SetNewDisplayName

func (*UpdateResourceGroupRequest) SetResourceGroupId

func (UpdateResourceGroupRequest) String

type UpdateResourceGroupResponse

type UpdateResourceGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateResourceGroupResponse) GoString

func (s UpdateResourceGroupResponse) GoString() string

func (*UpdateResourceGroupResponse) SetBody

func (*UpdateResourceGroupResponse) SetHeaders

func (*UpdateResourceGroupResponse) SetStatusCode

func (UpdateResourceGroupResponse) String

type UpdateResourceGroupResponseBody

type UpdateResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resource group.
	ResourceGroup *UpdateResourceGroupResponseBodyResourceGroup `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty" type:"Struct"`
}

func (UpdateResourceGroupResponseBody) GoString

func (*UpdateResourceGroupResponseBody) SetRequestId

func (UpdateResourceGroupResponseBody) String

type UpdateResourceGroupResponseBodyResourceGroup

type UpdateResourceGroupResponseBodyResourceGroup struct {
	// The ID of the Alibaba Cloud account to which the resource group belongs.
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The time when the resource group was created. The time is displayed in UTC.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The display name of the resource group.
	DisplayName *string `json:"DisplayName,omitempty" xml:"DisplayName,omitempty"`
	// The ID of the resource group.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The unique identifier of the resource group.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (UpdateResourceGroupResponseBodyResourceGroup) GoString

func (*UpdateResourceGroupResponseBodyResourceGroup) SetAccountId

func (*UpdateResourceGroupResponseBodyResourceGroup) SetCreateDate

func (*UpdateResourceGroupResponseBodyResourceGroup) SetDisplayName

func (*UpdateResourceGroupResponseBodyResourceGroup) SetId

func (*UpdateResourceGroupResponseBodyResourceGroup) SetName

func (UpdateResourceGroupResponseBodyResourceGroup) String

type UpdateRoleRequest

type UpdateRoleRequest struct {
	// The document of the policy that specifies the trusted entity to assume the RAM role.
	NewAssumeRolePolicyDocument *string `json:"NewAssumeRolePolicyDocument,omitempty" xml:"NewAssumeRolePolicyDocument,omitempty"`
	// The description of the RAM role.
	//
	// The description must be 1 to 1,024 characters in length.
	NewDescription *string `json:"NewDescription,omitempty" xml:"NewDescription,omitempty"`
	// The maximum session duration of the RAM role.
	//
	// Unit: seconds. Valid values: 3600 to 43200. Default value: 3600.
	//
	// If you do not specify this parameter, the default value is used.
	NewMaxSessionDuration *int64 `json:"NewMaxSessionDuration,omitempty" xml:"NewMaxSessionDuration,omitempty"`
	// The name of the RAM role.
	//
	// The name must be 1 to 64 characters in length and can contain letters, digits, periods (.),and hyphens (-).
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (UpdateRoleRequest) GoString

func (s UpdateRoleRequest) GoString() string

func (*UpdateRoleRequest) SetNewAssumeRolePolicyDocument

func (s *UpdateRoleRequest) SetNewAssumeRolePolicyDocument(v string) *UpdateRoleRequest

func (*UpdateRoleRequest) SetNewDescription

func (s *UpdateRoleRequest) SetNewDescription(v string) *UpdateRoleRequest

func (*UpdateRoleRequest) SetNewMaxSessionDuration

func (s *UpdateRoleRequest) SetNewMaxSessionDuration(v int64) *UpdateRoleRequest

func (*UpdateRoleRequest) SetRoleName

func (s *UpdateRoleRequest) SetRoleName(v string) *UpdateRoleRequest

func (UpdateRoleRequest) String

func (s UpdateRoleRequest) String() string

type UpdateRoleResponse

type UpdateRoleResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateRoleResponse) GoString

func (s UpdateRoleResponse) GoString() string

func (*UpdateRoleResponse) SetBody

func (*UpdateRoleResponse) SetHeaders

func (s *UpdateRoleResponse) SetHeaders(v map[string]*string) *UpdateRoleResponse

func (*UpdateRoleResponse) SetStatusCode

func (s *UpdateRoleResponse) SetStatusCode(v int32) *UpdateRoleResponse

func (UpdateRoleResponse) String

func (s UpdateRoleResponse) String() string

type UpdateRoleResponseBody

type UpdateRoleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the RAM role.
	Role *UpdateRoleResponseBodyRole `json:"Role,omitempty" xml:"Role,omitempty" type:"Struct"`
}

func (UpdateRoleResponseBody) GoString

func (s UpdateRoleResponseBody) GoString() string

func (*UpdateRoleResponseBody) SetRequestId

func (*UpdateRoleResponseBody) SetRole

func (UpdateRoleResponseBody) String

func (s UpdateRoleResponseBody) String() string

type UpdateRoleResponseBodyRole

type UpdateRoleResponseBodyRole struct {
	// The Alibaba Cloud Resource Name (ARN) of the RAM role.
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
	// The document of the policy that specifies the trusted entity to assume the RAM role.
	AssumeRolePolicyDocument *string `json:"AssumeRolePolicyDocument,omitempty" xml:"AssumeRolePolicyDocument,omitempty"`
	// The time when the RAM role was created.
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The description of the RAM role.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The maximum session duration of the RAM role.
	MaxSessionDuration *int64 `json:"MaxSessionDuration,omitempty" xml:"MaxSessionDuration,omitempty"`
	// The ID of the RAM role.
	RoleId *string `json:"RoleId,omitempty" xml:"RoleId,omitempty"`
	// The name of the RAM role.
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
	// The name of the RAM role after authorization.
	RolePrincipalName *string `json:"RolePrincipalName,omitempty" xml:"RolePrincipalName,omitempty"`
	// The time when the RAM role was updated.
	UpdateDate *string `json:"UpdateDate,omitempty" xml:"UpdateDate,omitempty"`
}

func (UpdateRoleResponseBodyRole) GoString

func (s UpdateRoleResponseBodyRole) GoString() string

func (*UpdateRoleResponseBodyRole) SetArn

func (*UpdateRoleResponseBodyRole) SetAssumeRolePolicyDocument

func (s *UpdateRoleResponseBodyRole) SetAssumeRolePolicyDocument(v string) *UpdateRoleResponseBodyRole

func (*UpdateRoleResponseBodyRole) SetCreateDate

func (*UpdateRoleResponseBodyRole) SetDescription

func (*UpdateRoleResponseBodyRole) SetMaxSessionDuration

func (s *UpdateRoleResponseBodyRole) SetMaxSessionDuration(v int64) *UpdateRoleResponseBodyRole

func (*UpdateRoleResponseBodyRole) SetRoleId

func (*UpdateRoleResponseBodyRole) SetRoleName

func (*UpdateRoleResponseBodyRole) SetRolePrincipalName

func (s *UpdateRoleResponseBodyRole) SetRolePrincipalName(v string) *UpdateRoleResponseBodyRole

func (*UpdateRoleResponseBodyRole) SetUpdateDate

func (UpdateRoleResponseBodyRole) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL