Documentation ¶
Index ¶
- type AcceptHandshakeRequest
- type AcceptHandshakeResponse
- type AccountDto
- type AttachPolicyRequest
- type AttachPolicyResponse
- type CancelHandshakeRequest
- type CancelHandshakeResponse
- type CreateAccountStatusDto
- type CreateOrganizationRequest
- type CreateOrganizationResponse
- type CreateOrganizationalUnitReqBody
- type CreateOrganizationalUnitRequest
- type CreateOrganizationalUnitResponse
- type CreatePolicyReqBody
- type CreatePolicyReqBodyType
- type CreatePolicyReqBodyTypeEnum
- type CreatePolicyRequest
- type CreatePolicyRequestXLanguage
- type CreatePolicyRequestXLanguageEnum
- type CreatePolicyResponse
- type CreateTagResourceRequest
- type CreateTagResourceRequestResourceType
- type CreateTagResourceRequestResourceTypeEnum
- type CreateTagResourceResponse
- type DeclineHandshakeRequest
- type DeclineHandshakeResponse
- type DelegatedAdministratorDto
- type DelegatedAdministratorReqBody
- type DelegatedServiceDto
- type DeleteOrganizationRequest
- type DeleteOrganizationResponse
- type DeleteOrganizationalUnitRequest
- type DeleteOrganizationalUnitResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeleteTagResourceRequest
- type DeleteTagResourceRequestResourceType
- type DeleteTagResourceRequestResourceTypeEnum
- type DeleteTagResourceResponse
- type DeregisterDelegatedAdministratorRequest
- type DeregisterDelegatedAdministratorResponse
- type DetachPolicyRequest
- type DetachPolicyResponse
- type DisablePolicyTypeRequest
- type DisablePolicyTypeResponse
- type DisableTrustedServiceRequest
- type DisableTrustedServiceResponse
- type EnablePolicyTypeRequest
- type EnablePolicyTypeResponse
- type EnableTrustedServiceRequest
- type EnableTrustedServiceResponse
- type EntityDto
- type HandshakeDto
- type InviteAccountReqBody
- type InviteAccountRequest
- type InviteAccountResponse
- type LeaveOrganizationRequest
- type LeaveOrganizationResponse
- type ListAccountsRequest
- type ListAccountsResponse
- type ListCreateAccountStatusesRequest
- type ListCreateAccountStatusesRequestStates
- type ListCreateAccountStatusesRequestStatesEnum
- type ListCreateAccountStatusesResponse
- type ListDelegatedAdministratorsRequest
- type ListDelegatedAdministratorsResponse
- type ListDelegatedServicesRequest
- type ListDelegatedServicesResponse
- type ListEntitiesForPolicyRequest
- type ListEntitiesForPolicyResponse
- type ListEntitiesRequest
- type ListEntitiesResponse
- type ListHandshakesRequest
- type ListHandshakesResponse
- type ListOrganizationalUnitsRequest
- type ListOrganizationalUnitsResponse
- type ListPoliciesRequest
- type ListPoliciesRequestXLanguage
- type ListPoliciesRequestXLanguageEnum
- type ListPoliciesResponse
- type ListQuotasRequest
- type ListQuotasResponse
- type ListReceivedHandshakesRequest
- type ListReceivedHandshakesResponse
- type ListResourceInstancesRequest
- type ListResourceInstancesRequestResourceType
- type ListResourceInstancesRequestResourceTypeEnum
- type ListResourceInstancesResponse
- type ListResourceTagsRequest
- type ListResourceTagsRequestResourceType
- type ListResourceTagsRequestResourceTypeEnum
- type ListResourceTagsResponse
- type ListRootsRequest
- type ListRootsResponse
- type ListServicesRequest
- type ListServicesResponse
- type ListTagPolicyServicesRequest
- type ListTagPolicyServicesResponse
- type ListTagResourcesRequest
- type ListTagResourcesRequestResourceType
- type ListTagResourcesRequestResourceTypeEnum
- type ListTagResourcesResponse
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type ListTrustedServicesRequest
- type ListTrustedServicesResponse
- type Match
- type MoveAccountReqBody
- type MoveAccountRequest
- type MoveAccountResponse
- type OrganizationDto
- type OrganizationalUnitDto
- type PageInfoDto
- type PolicyDto
- type PolicySummaryDto
- type PolicyTachReqBody
- type PolicyTypeReqBody
- type PolicyTypeReqBodyPolicyType
- type PolicyTypeReqBodyPolicyTypeEnum
- type PolicyTypeSummaryDto
- type QuotaDto
- type QuotasResourcesDto
- type RegisterDelegatedAdministratorRequest
- type RegisterDelegatedAdministratorResponse
- type RemoveAccountRequest
- type RemoveAccountResponse
- type ResourceDto
- type ResourceInstanceReqBody
- type RootDto
- type ShowAccountRequest
- type ShowAccountResponse
- type ShowCreateAccountStatusRequest
- type ShowCreateAccountStatusResponse
- type ShowEffectivePoliciesRequest
- type ShowEffectivePoliciesRequestPolicyType
- type ShowEffectivePoliciesRequestPolicyTypeEnum
- type ShowEffectivePoliciesResponse
- type ShowEffectivePoliciesResponsePolicyType
- type ShowEffectivePoliciesResponsePolicyTypeEnum
- type ShowHandshakeRequest
- type ShowHandshakeResponse
- type ShowOrganizationRequest
- type ShowOrganizationResponse
- type ShowOrganizationalUnitRequest
- type ShowOrganizationalUnitResponse
- type ShowPolicyRequest
- type ShowPolicyRequestXLanguage
- type ShowPolicyRequestXLanguageEnum
- type ShowPolicyResponse
- type ShowResourceInstancesCountRequest
- type ShowResourceInstancesCountRequestResourceType
- type ShowResourceInstancesCountRequestResourceTypeEnum
- type ShowResourceInstancesCountResponse
- type TagDto
- type TagPolicyServiceDto
- type TagResourceReqBody
- type TagResourceRequest
- type TagResourceResponse
- type TagsDto
- type TargetDto
- type TrustedServiceDto
- type TrustedServiceReqBody
- type UntagResourceReqBody
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateOrganizationalUnitReqBody
- type UpdateOrganizationalUnitRequest
- type UpdateOrganizationalUnitResponse
- type UpdatePolicyReqBody
- type UpdatePolicyRequest
- type UpdatePolicyRequestXLanguage
- type UpdatePolicyRequestXLanguageEnum
- type UpdatePolicyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptHandshakeRequest ¶
type AcceptHandshakeRequest struct { // 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 HandshakeId string `json:"handshake_id"` }
AcceptHandshakeRequest Request Object
func (AcceptHandshakeRequest) String ¶
func (o AcceptHandshakeRequest) String() string
type AcceptHandshakeResponse ¶
type AcceptHandshakeResponse struct { Handshake *HandshakeDto `json:"handshake,omitempty"` HttpStatusCode int `json:"-"` }
AcceptHandshakeResponse Response Object
func (AcceptHandshakeResponse) String ¶
func (o AcceptHandshakeResponse) String() string
type AccountDto ¶
type AccountDto struct { // 帐号的唯一标识符(ID)。 Id string `json:"id"` // 帐号的统一资源名称。 Urn string `json:"urn"` // 帐号加入组织的方式,invited:邀请加入,created:创建加入。 JoinMethod string `json:"join_method"` // 帐号加入组织的日期。 JoinedAt *sdktime.SdkTime `json:"joined_at"` // 帐号名称。 Name string `json:"name"` }
AccountDto 包含组织成员的帐号的有关信息。
func (AccountDto) String ¶
func (o AccountDto) String() string
type AttachPolicyRequest ¶
type AttachPolicyRequest struct { // 策略的唯一标识符(ID)。 PolicyId string `json:"policy_id"` Body *PolicyTachReqBody `json:"body,omitempty"` }
AttachPolicyRequest Request Object
func (AttachPolicyRequest) String ¶
func (o AttachPolicyRequest) String() string
type AttachPolicyResponse ¶
type AttachPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
AttachPolicyResponse Response Object
func (AttachPolicyResponse) String ¶
func (o AttachPolicyResponse) String() string
type CancelHandshakeRequest ¶
type CancelHandshakeRequest struct { // 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 HandshakeId string `json:"handshake_id"` }
CancelHandshakeRequest Request Object
func (CancelHandshakeRequest) String ¶
func (o CancelHandshakeRequest) String() string
type CancelHandshakeResponse ¶
type CancelHandshakeResponse struct { Handshake *HandshakeDto `json:"handshake,omitempty"` HttpStatusCode int `json:"-"` }
CancelHandshakeResponse Response Object
func (CancelHandshakeResponse) String ¶
func (o CancelHandshakeResponse) String() string
type CreateAccountStatusDto ¶
type CreateAccountStatusDto struct { // 如果帐号创建成功,则为新帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` // 帐号名称。 AccountName string `json:"account_name"` // 创建帐号和完成请求的日期和时间。 CompletedAt *sdktime.SdkTime `json:"completed_at"` // 请求创建帐号的日期和时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 请求的唯一标识符(ID)。您可以从创建帐号的初始CreateAccount请求的响应中获得此值。 Id string `json:"id"` // 创建帐号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 State string `json:"state"` // 如果请求失败,则说明失败原因。 FailureReason *string `json:"failure_reason,omitempty"` }
CreateAccountStatusDto 包含有关在组织中创建帐号的CreateAccount请求的状态。
func (CreateAccountStatusDto) String ¶
func (o CreateAccountStatusDto) String() string
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct { }
CreateOrganizationRequest Request Object
func (CreateOrganizationRequest) String ¶
func (o CreateOrganizationRequest) String() string
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct { Organization *OrganizationDto `json:"organization,omitempty"` HttpStatusCode int `json:"-"` }
CreateOrganizationResponse Response Object
func (CreateOrganizationResponse) String ¶
func (o CreateOrganizationResponse) String() string
type CreateOrganizationalUnitReqBody ¶
type CreateOrganizationalUnitReqBody struct { // 要分配给新组织单元的名称。 Name string `json:"name"` // 要在其中创建新组织单元的根或组织单元的唯一标识符。 ParentId string `json:"parent_id"` // 要附加到新创建的组织单元的标签列表。 Tags *[]TagDto `json:"tags,omitempty"` }
CreateOrganizationalUnitReqBody CreateOrganizationalUnit操作的请求体。
func (CreateOrganizationalUnitReqBody) String ¶
func (o CreateOrganizationalUnitReqBody) String() string
type CreateOrganizationalUnitRequest ¶
type CreateOrganizationalUnitRequest struct {
Body *CreateOrganizationalUnitReqBody `json:"body,omitempty"`
}
CreateOrganizationalUnitRequest Request Object
func (CreateOrganizationalUnitRequest) String ¶
func (o CreateOrganizationalUnitRequest) String() string
type CreateOrganizationalUnitResponse ¶
type CreateOrganizationalUnitResponse struct { OrganizationalUnit *OrganizationalUnitDto `json:"organizational_unit,omitempty"` HttpStatusCode int `json:"-"` }
CreateOrganizationalUnitResponse Response Object
func (CreateOrganizationalUnitResponse) String ¶
func (o CreateOrganizationalUnitResponse) String() string
type CreatePolicyReqBody ¶
type CreatePolicyReqBody struct { // 要添加到新策略的策略文本内容。 Content string `json:"content"` // 要分配给策略的可选说明。 Description string `json:"description"` // 要分配给策略的名称。 Name string `json:"name"` // 要创建的策略类型,service_control_policy服务控制策略;tag_policy:标签策略。 Type CreatePolicyReqBodyType `json:"type"` // 要附加到新创建的策略的标签列表。 Tags *[]TagDto `json:"tags,omitempty"` }
CreatePolicyReqBody CreatePolicy 操作的请求体。
func (CreatePolicyReqBody) String ¶
func (o CreatePolicyReqBody) String() string
type CreatePolicyReqBodyType ¶
type CreatePolicyReqBodyType struct {
// contains filtered or unexported fields
}
func (CreatePolicyReqBodyType) MarshalJSON ¶
func (c CreatePolicyReqBodyType) MarshalJSON() ([]byte, error)
func (*CreatePolicyReqBodyType) UnmarshalJSON ¶
func (c *CreatePolicyReqBodyType) UnmarshalJSON(b []byte) error
func (CreatePolicyReqBodyType) Value ¶
func (c CreatePolicyReqBodyType) Value() string
type CreatePolicyReqBodyTypeEnum ¶
type CreatePolicyReqBodyTypeEnum struct { SERVICE_CONTROL_POLICY CreatePolicyReqBodyType TAG_POLICY CreatePolicyReqBodyType }
func GetCreatePolicyReqBodyTypeEnum ¶
func GetCreatePolicyReqBodyTypeEnum() CreatePolicyReqBodyTypeEnum
type CreatePolicyRequest ¶
type CreatePolicyRequest struct { // 选择接口返回的信息的语言 XLanguage *CreatePolicyRequestXLanguage `json:"X-Language,omitempty"` Body *CreatePolicyReqBody `json:"body,omitempty"` }
CreatePolicyRequest Request Object
func (CreatePolicyRequest) String ¶
func (o CreatePolicyRequest) String() string
type CreatePolicyRequestXLanguage ¶
type CreatePolicyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreatePolicyRequestXLanguage) MarshalJSON ¶
func (c CreatePolicyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreatePolicyRequestXLanguage) UnmarshalJSON ¶
func (c *CreatePolicyRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreatePolicyRequestXLanguage) Value ¶
func (c CreatePolicyRequestXLanguage) Value() string
type CreatePolicyRequestXLanguageEnum ¶
type CreatePolicyRequestXLanguageEnum struct { ZH_CN CreatePolicyRequestXLanguage EN_US CreatePolicyRequestXLanguage }
func GetCreatePolicyRequestXLanguageEnum ¶
func GetCreatePolicyRequestXLanguageEnum() CreatePolicyRequestXLanguageEnum
type CreatePolicyResponse ¶
type CreatePolicyResponse struct { Policy *PolicyDto `json:"policy,omitempty"` HttpStatusCode int `json:"-"` }
CreatePolicyResponse Response Object
func (CreatePolicyResponse) String ¶
func (o CreatePolicyResponse) String() string
type CreateTagResourceRequest ¶
type CreateTagResourceRequest struct { // 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 ResourceType CreateTagResourceRequestResourceType `json:"resource_type"` // 根、组织单元、帐号或策略的唯一标识符(ID)。 ResourceId string `json:"resource_id"` Body *TagResourceReqBody `json:"body,omitempty"` }
CreateTagResourceRequest Request Object
func (CreateTagResourceRequest) String ¶
func (o CreateTagResourceRequest) String() string
type CreateTagResourceRequestResourceType ¶
type CreateTagResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (CreateTagResourceRequestResourceType) MarshalJSON ¶
func (c CreateTagResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*CreateTagResourceRequestResourceType) UnmarshalJSON ¶
func (c *CreateTagResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (CreateTagResourceRequestResourceType) Value ¶
func (c CreateTagResourceRequestResourceType) Value() string
type CreateTagResourceRequestResourceTypeEnum ¶
type CreateTagResourceRequestResourceTypeEnum struct { ORGANIZATIONSROOTS CreateTagResourceRequestResourceType ORGANIZATIONSOUS CreateTagResourceRequestResourceType ORGANIZATIONSACCOUNTS CreateTagResourceRequestResourceType ORGANIZATIONSPOLICIES CreateTagResourceRequestResourceType }
func GetCreateTagResourceRequestResourceTypeEnum ¶
func GetCreateTagResourceRequestResourceTypeEnum() CreateTagResourceRequestResourceTypeEnum
type CreateTagResourceResponse ¶
type CreateTagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
CreateTagResourceResponse Response Object
func (CreateTagResourceResponse) String ¶
func (o CreateTagResourceResponse) String() string
type DeclineHandshakeRequest ¶
type DeclineHandshakeRequest struct { // 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 HandshakeId string `json:"handshake_id"` }
DeclineHandshakeRequest Request Object
func (DeclineHandshakeRequest) String ¶
func (o DeclineHandshakeRequest) String() string
type DeclineHandshakeResponse ¶
type DeclineHandshakeResponse struct { Handshake *HandshakeDto `json:"handshake,omitempty"` HttpStatusCode int `json:"-"` }
DeclineHandshakeResponse Response Object
func (DeclineHandshakeResponse) String ¶
func (o DeclineHandshakeResponse) String() string
type DelegatedAdministratorDto ¶
type DelegatedAdministratorDto struct { // 将帐号设置为委托管理员的日期。 DelegationEnabledAt *sdktime.SdkTime `json:"delegation_enabled_at"` // 帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` // 帐号的统一资源名称。 AccountUrn string `json:"account_urn"` // 帐号加入组织的方式,invited:邀请加入,created:创建加入。 JoinMethod string `json:"join_method"` // 帐号成为组织一部分的日期。 JoinedAt *sdktime.SdkTime `json:"joined_at"` // 帐号名称。 AccountName string `json:"account_name"` }
DelegatedAdministratorDto 包含有关委托管理员的信息。
func (DelegatedAdministratorDto) String ¶
func (o DelegatedAdministratorDto) String() string
type DelegatedAdministratorReqBody ¶
type DelegatedAdministratorReqBody struct { // 服务主体名称。 ServicePrincipal string `json:"service_principal"` // 帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` }
DelegatedAdministratorReqBody 委托管理员相关操作的请求体。
func (DelegatedAdministratorReqBody) String ¶
func (o DelegatedAdministratorReqBody) String() string
type DelegatedServiceDto ¶
type DelegatedServiceDto struct { // 服务主体的名称。 ServicePrincipal string `json:"service_principal"` // 帐号成为此服务的委托管理员的日期。 DelegationEnabledAt *sdktime.SdkTime `json:"delegation_enabled_at"` }
DelegatedServiceDto 包含有关帐号是可信服务委托管理员的信息。
func (DelegatedServiceDto) String ¶
func (o DelegatedServiceDto) String() string
type DeleteOrganizationRequest ¶
type DeleteOrganizationRequest struct { }
DeleteOrganizationRequest Request Object
func (DeleteOrganizationRequest) String ¶
func (o DeleteOrganizationRequest) String() string
type DeleteOrganizationResponse ¶
type DeleteOrganizationResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteOrganizationResponse Response Object
func (DeleteOrganizationResponse) String ¶
func (o DeleteOrganizationResponse) String() string
type DeleteOrganizationalUnitRequest ¶
type DeleteOrganizationalUnitRequest struct { // 与组织单元关联的唯一标识符(ID)。 OrganizationalUnitId string `json:"organizational_unit_id"` }
DeleteOrganizationalUnitRequest Request Object
func (DeleteOrganizationalUnitRequest) String ¶
func (o DeleteOrganizationalUnitRequest) String() string
type DeleteOrganizationalUnitResponse ¶
type DeleteOrganizationalUnitResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteOrganizationalUnitResponse Response Object
func (DeleteOrganizationalUnitResponse) String ¶
func (o DeleteOrganizationalUnitResponse) String() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct { // 策略的唯一标识符(ID)。 PolicyId string `json:"policy_id"` }
DeletePolicyRequest Request Object
func (DeletePolicyRequest) String ¶
func (o DeletePolicyRequest) String() string
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePolicyResponse Response Object
func (DeletePolicyResponse) String ¶
func (o DeletePolicyResponse) String() string
type DeleteTagResourceRequest ¶
type DeleteTagResourceRequest struct { // 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 ResourceType DeleteTagResourceRequestResourceType `json:"resource_type"` // 根、组织单元、帐号或策略的唯一标识符(ID)。 ResourceId string `json:"resource_id"` Body *TagResourceReqBody `json:"body,omitempty"` }
DeleteTagResourceRequest Request Object
func (DeleteTagResourceRequest) String ¶
func (o DeleteTagResourceRequest) String() string
type DeleteTagResourceRequestResourceType ¶
type DeleteTagResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (DeleteTagResourceRequestResourceType) MarshalJSON ¶
func (c DeleteTagResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*DeleteTagResourceRequestResourceType) UnmarshalJSON ¶
func (c *DeleteTagResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (DeleteTagResourceRequestResourceType) Value ¶
func (c DeleteTagResourceRequestResourceType) Value() string
type DeleteTagResourceRequestResourceTypeEnum ¶
type DeleteTagResourceRequestResourceTypeEnum struct { ORGANIZATIONSROOTS DeleteTagResourceRequestResourceType ORGANIZATIONSOUS DeleteTagResourceRequestResourceType ORGANIZATIONSACCOUNTS DeleteTagResourceRequestResourceType ORGANIZATIONSPOLICIES DeleteTagResourceRequestResourceType }
func GetDeleteTagResourceRequestResourceTypeEnum ¶
func GetDeleteTagResourceRequestResourceTypeEnum() DeleteTagResourceRequestResourceTypeEnum
type DeleteTagResourceResponse ¶
type DeleteTagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTagResourceResponse Response Object
func (DeleteTagResourceResponse) String ¶
func (o DeleteTagResourceResponse) String() string
type DeregisterDelegatedAdministratorRequest ¶
type DeregisterDelegatedAdministratorRequest struct {
Body *DelegatedAdministratorReqBody `json:"body,omitempty"`
}
DeregisterDelegatedAdministratorRequest Request Object
func (DeregisterDelegatedAdministratorRequest) String ¶
func (o DeregisterDelegatedAdministratorRequest) String() string
type DeregisterDelegatedAdministratorResponse ¶
type DeregisterDelegatedAdministratorResponse struct {
HttpStatusCode int `json:"-"`
}
DeregisterDelegatedAdministratorResponse Response Object
func (DeregisterDelegatedAdministratorResponse) String ¶
func (o DeregisterDelegatedAdministratorResponse) String() string
type DetachPolicyRequest ¶
type DetachPolicyRequest struct { // 策略的唯一标识符(ID)。 PolicyId string `json:"policy_id"` Body *PolicyTachReqBody `json:"body,omitempty"` }
DetachPolicyRequest Request Object
func (DetachPolicyRequest) String ¶
func (o DetachPolicyRequest) String() string
type DetachPolicyResponse ¶
type DetachPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
DetachPolicyResponse Response Object
func (DetachPolicyResponse) String ¶
func (o DetachPolicyResponse) String() string
type DisablePolicyTypeRequest ¶
type DisablePolicyTypeRequest struct {
Body *PolicyTypeReqBody `json:"body,omitempty"`
}
DisablePolicyTypeRequest Request Object
func (DisablePolicyTypeRequest) String ¶
func (o DisablePolicyTypeRequest) String() string
type DisablePolicyTypeResponse ¶
type DisablePolicyTypeResponse struct { Root *RootDto `json:"root,omitempty"` HttpStatusCode int `json:"-"` }
DisablePolicyTypeResponse Response Object
func (DisablePolicyTypeResponse) String ¶
func (o DisablePolicyTypeResponse) String() string
type DisableTrustedServiceRequest ¶
type DisableTrustedServiceRequest struct {
Body *TrustedServiceReqBody `json:"body,omitempty"`
}
DisableTrustedServiceRequest Request Object
func (DisableTrustedServiceRequest) String ¶
func (o DisableTrustedServiceRequest) String() string
type DisableTrustedServiceResponse ¶
type DisableTrustedServiceResponse struct {
HttpStatusCode int `json:"-"`
}
DisableTrustedServiceResponse Response Object
func (DisableTrustedServiceResponse) String ¶
func (o DisableTrustedServiceResponse) String() string
type EnablePolicyTypeRequest ¶
type EnablePolicyTypeRequest struct {
Body *PolicyTypeReqBody `json:"body,omitempty"`
}
EnablePolicyTypeRequest Request Object
func (EnablePolicyTypeRequest) String ¶
func (o EnablePolicyTypeRequest) String() string
type EnablePolicyTypeResponse ¶
type EnablePolicyTypeResponse struct { Root *RootDto `json:"root,omitempty"` HttpStatusCode int `json:"-"` }
EnablePolicyTypeResponse Response Object
func (EnablePolicyTypeResponse) String ¶
func (o EnablePolicyTypeResponse) String() string
type EnableTrustedServiceRequest ¶
type EnableTrustedServiceRequest struct {
Body *TrustedServiceReqBody `json:"body,omitempty"`
}
EnableTrustedServiceRequest Request Object
func (EnableTrustedServiceRequest) String ¶
func (o EnableTrustedServiceRequest) String() string
type EnableTrustedServiceResponse ¶
type EnableTrustedServiceResponse struct {
HttpStatusCode int `json:"-"`
}
EnableTrustedServiceResponse Response Object
func (EnableTrustedServiceResponse) String ¶
func (o EnableTrustedServiceResponse) String() string
type EntityDto ¶
type EntityDto struct { // 实体的名称。 Name string `json:"name"` // 实体的唯一标识符(ID)。 Id string `json:"id"` // 实体的类型,account:账户,organizational_unit:组织单元,root:根。 Type string `json:"type"` }
EntityDto 包含有关根、组织单位或帐号的信息。
type HandshakeDto ¶
type HandshakeDto struct { // 邀请(握手)的唯一标识符(ID)。源帐号在发起邀请(握手)时创建ID。 Id string `json:"id"` // 邀请(握手)的统一资源名称。 Urn string `json:"urn"` // 邀请(握手)请求被接受、取消、拒绝或到期的日期和时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 提出邀请(握手)请求的日期和时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 组织管理帐号的唯一标识符(ID)。 ManagementAccountId string `json:"management_account_id"` // 组织管理帐号的名称。 ManagementAccountName string `json:"management_account_name"` // 组织的唯一标识符(ID)。 OrganizationId string `json:"organization_id"` // 给收件帐号所有者的邮件中的附加信息。 Notes string `json:"notes"` Target *TargetDto `json:"target"` // 邀请(握手)的当前状态, pending:邀请中;accepted:接受邀请;cancelled:取消邀请;declined:拒绝邀请;expired:邀请过期。 Status string `json:"status"` }
HandshakeDto 两个帐号(发起者和接收者)之间为了能安全地建立关系,所需要交换的信息。例如,当管理帐号(发起者)邀请另一个帐号(接收者)加入其组织时,两个帐号一系列邀请(握手)请求和响应交换信息。
func (HandshakeDto) String ¶
func (o HandshakeDto) String() string
type InviteAccountReqBody ¶
type InviteAccountReqBody struct { Target *TargetDto `json:"target"` // 给收件帐号所有者的邮件中的附加信息。 Notes string `json:"notes"` // 要绑定到新创建的帐号的标签列表。 Tags *[]TagDto `json:"tags,omitempty"` }
InviteAccountReqBody InviteAccount 操作的请求体。
func (InviteAccountReqBody) String ¶
func (o InviteAccountReqBody) String() string
type InviteAccountRequest ¶
type InviteAccountRequest struct {
Body *InviteAccountReqBody `json:"body,omitempty"`
}
InviteAccountRequest Request Object
func (InviteAccountRequest) String ¶
func (o InviteAccountRequest) String() string
type InviteAccountResponse ¶
type InviteAccountResponse struct { Handshake *HandshakeDto `json:"handshake,omitempty"` HttpStatusCode int `json:"-"` }
InviteAccountResponse Response Object
func (InviteAccountResponse) String ¶
func (o InviteAccountResponse) String() string
type LeaveOrganizationRequest ¶
type LeaveOrganizationRequest struct { }
LeaveOrganizationRequest Request Object
func (LeaveOrganizationRequest) String ¶
func (o LeaveOrganizationRequest) String() string
type LeaveOrganizationResponse ¶
type LeaveOrganizationResponse struct {
HttpStatusCode int `json:"-"`
}
LeaveOrganizationResponse Response Object
func (LeaveOrganizationResponse) String ¶
func (o LeaveOrganizationResponse) String() string
type ListAccountsRequest ¶
type ListAccountsRequest struct { // 父节点(根或组织单元)的唯一标识符(ID)。 ParentId *string `json:"parent_id,omitempty"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListAccountsRequest Request Object
func (ListAccountsRequest) String ¶
func (o ListAccountsRequest) String() string
type ListAccountsResponse ¶
type ListAccountsResponse struct { // 组织中的帐号列表。 Accounts *[]AccountDto `json:"accounts,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListAccountsResponse Response Object
func (ListAccountsResponse) String ¶
func (o ListAccountsResponse) String() string
type ListCreateAccountStatusesRequest ¶
type ListCreateAccountStatusesRequest struct { // 要包含在响应中的一个或多个状态的列表。如果此参数不存在,则所有请求都包含在响应中。 States *[]ListCreateAccountStatusesRequestStates `json:"states,omitempty"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListCreateAccountStatusesRequest Request Object
func (ListCreateAccountStatusesRequest) String ¶
func (o ListCreateAccountStatusesRequest) String() string
type ListCreateAccountStatusesRequestStates ¶
type ListCreateAccountStatusesRequestStates struct {
// contains filtered or unexported fields
}
func (ListCreateAccountStatusesRequestStates) MarshalJSON ¶
func (c ListCreateAccountStatusesRequestStates) MarshalJSON() ([]byte, error)
func (*ListCreateAccountStatusesRequestStates) UnmarshalJSON ¶
func (c *ListCreateAccountStatusesRequestStates) UnmarshalJSON(b []byte) error
func (ListCreateAccountStatusesRequestStates) Value ¶
func (c ListCreateAccountStatusesRequestStates) Value() string
type ListCreateAccountStatusesRequestStatesEnum ¶
type ListCreateAccountStatusesRequestStatesEnum struct { IN_PROGRESS ListCreateAccountStatusesRequestStates SUCCEEDED ListCreateAccountStatusesRequestStates FAILED ListCreateAccountStatusesRequestStates }
func GetListCreateAccountStatusesRequestStatesEnum ¶
func GetListCreateAccountStatusesRequestStatesEnum() ListCreateAccountStatusesRequestStatesEnum
type ListCreateAccountStatusesResponse ¶
type ListCreateAccountStatusesResponse struct { // 包含有关请求的详细信息的对象列表。 CreateAccountStatuses *[]CreateAccountStatusDto `json:"create_account_statuses,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListCreateAccountStatusesResponse Response Object
func (ListCreateAccountStatusesResponse) String ¶
func (o ListCreateAccountStatusesResponse) String() string
type ListDelegatedAdministratorsRequest ¶
type ListDelegatedAdministratorsRequest struct { // 服务主体的名称。 ServicePrincipal *string `json:"service_principal,omitempty"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListDelegatedAdministratorsRequest Request Object
func (ListDelegatedAdministratorsRequest) String ¶
func (o ListDelegatedAdministratorsRequest) String() string
type ListDelegatedAdministratorsResponse ¶
type ListDelegatedAdministratorsResponse struct { // 组织中委托管理员列表。 DelegatedAdministrators *[]DelegatedAdministratorDto `json:"delegated_administrators,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListDelegatedAdministratorsResponse Response Object
func (ListDelegatedAdministratorsResponse) String ¶
func (o ListDelegatedAdministratorsResponse) String() string
type ListDelegatedServicesRequest ¶
type ListDelegatedServicesRequest struct { // 帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListDelegatedServicesRequest Request Object
func (ListDelegatedServicesRequest) String ¶
func (o ListDelegatedServicesRequest) String() string
type ListDelegatedServicesResponse ¶
type ListDelegatedServicesResponse struct { // 帐号是其委托管理员的服务。 DelegatedServices *[]DelegatedServiceDto `json:"delegated_services,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListDelegatedServicesResponse Response Object
func (ListDelegatedServicesResponse) String ¶
func (o ListDelegatedServicesResponse) String() string
type ListEntitiesForPolicyRequest ¶
type ListEntitiesForPolicyRequest struct { // 策略的唯一标识符(ID)。 PolicyId string `json:"policy_id"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListEntitiesForPolicyRequest Request Object
func (ListEntitiesForPolicyRequest) String ¶
func (o ListEntitiesForPolicyRequest) String() string
type ListEntitiesForPolicyResponse ¶
type ListEntitiesForPolicyResponse struct { // 结构列表,每个结构都包含有关指定策略附加到的实体的详细信息。 AttachedEntities *[]EntityDto `json:"attached_entities,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListEntitiesForPolicyResponse Response Object
func (ListEntitiesForPolicyResponse) String ¶
func (o ListEntitiesForPolicyResponse) String() string
type ListEntitiesRequest ¶
type ListEntitiesRequest struct { // 父节点(根或组织单元)的唯一标识符(ID)。 ParentId *string `json:"parent_id,omitempty"` // 子节点(根或组织单元)的唯一标识符(ID)。 ChildId *string `json:"child_id,omitempty"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListEntitiesRequest Request Object
func (ListEntitiesRequest) String ¶
func (o ListEntitiesRequest) String() string
type ListEntitiesResponse ¶
type ListEntitiesResponse struct { // 组织中的根、组织单元和帐号的列表。 Entities *[]EntityDto `json:"entities,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListEntitiesResponse Response Object
func (ListEntitiesResponse) String ¶
func (o ListEntitiesResponse) String() string
type ListHandshakesRequest ¶
type ListHandshakesRequest struct { // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListHandshakesRequest Request Object
func (ListHandshakesRequest) String ¶
func (o ListHandshakesRequest) String() string
type ListHandshakesResponse ¶
type ListHandshakesResponse struct { // 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 Handshakes *[]HandshakeDto `json:"handshakes,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListHandshakesResponse Response Object
func (ListHandshakesResponse) String ¶
func (o ListHandshakesResponse) String() string
type ListOrganizationalUnitsRequest ¶
type ListOrganizationalUnitsRequest struct { // 父节点(根或组织单元)的唯一标识符(ID)。 ParentId *string `json:"parent_id,omitempty"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListOrganizationalUnitsRequest Request Object
func (ListOrganizationalUnitsRequest) String ¶
func (o ListOrganizationalUnitsRequest) String() string
type ListOrganizationalUnitsResponse ¶
type ListOrganizationalUnitsResponse struct { // 组织单元列表。 OrganizationalUnits *[]OrganizationalUnitDto `json:"organizational_units,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListOrganizationalUnitsResponse Response Object
func (ListOrganizationalUnitsResponse) String ¶
func (o ListOrganizationalUnitsResponse) String() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct { // 根、组织单元或帐号的唯一标识符(ID)。 AttachedEntityId *string `json:"attached_entity_id,omitempty"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` // 选择接口返回的信息的语言 XLanguage *ListPoliciesRequestXLanguage `json:"X-Language,omitempty"` }
ListPoliciesRequest Request Object
func (ListPoliciesRequest) String ¶
func (o ListPoliciesRequest) String() string
type ListPoliciesRequestXLanguage ¶
type ListPoliciesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListPoliciesRequestXLanguage) MarshalJSON ¶
func (c ListPoliciesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListPoliciesRequestXLanguage) UnmarshalJSON ¶
func (c *ListPoliciesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListPoliciesRequestXLanguage) Value ¶
func (c ListPoliciesRequestXLanguage) Value() string
type ListPoliciesRequestXLanguageEnum ¶
type ListPoliciesRequestXLanguageEnum struct { ZH_CN ListPoliciesRequestXLanguage EN_US ListPoliciesRequestXLanguage }
func GetListPoliciesRequestXLanguageEnum ¶
func GetListPoliciesRequestXLanguageEnum() ListPoliciesRequestXLanguageEnum
type ListPoliciesResponse ¶
type ListPoliciesResponse struct { // 组织中的策略列表。 Policies *[]PolicySummaryDto `json:"policies,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListPoliciesResponse Response Object
func (ListPoliciesResponse) String ¶
func (o ListPoliciesResponse) String() string
type ListQuotasRequest ¶ added in v0.1.42
type ListQuotasRequest struct { }
ListQuotasRequest Request Object
func (ListQuotasRequest) String ¶ added in v0.1.42
func (o ListQuotasRequest) String() string
type ListQuotasResponse ¶ added in v0.1.42
type ListQuotasResponse struct { Quotas *QuotasResourcesDto `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ListQuotasResponse Response Object
func (ListQuotasResponse) String ¶ added in v0.1.42
func (o ListQuotasResponse) String() string
type ListReceivedHandshakesRequest ¶
type ListReceivedHandshakesRequest struct { // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListReceivedHandshakesRequest Request Object
func (ListReceivedHandshakesRequest) String ¶
func (o ListReceivedHandshakesRequest) String() string
type ListReceivedHandshakesResponse ¶
type ListReceivedHandshakesResponse struct { // 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 Handshakes *[]HandshakeDto `json:"handshakes,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListReceivedHandshakesResponse Response Object
func (ListReceivedHandshakesResponse) String ¶
func (o ListReceivedHandshakesResponse) String() string
type ListResourceInstancesRequest ¶
type ListResourceInstancesRequest struct { // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Offset *string `json:"offset,omitempty"` // 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 ResourceType ListResourceInstancesRequestResourceType `json:"resource_type"` Body *ResourceInstanceReqBody `json:"body,omitempty"` }
ListResourceInstancesRequest Request Object
func (ListResourceInstancesRequest) String ¶
func (o ListResourceInstancesRequest) String() string
type ListResourceInstancesRequestResourceType ¶
type ListResourceInstancesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListResourceInstancesRequestResourceType) MarshalJSON ¶
func (c ListResourceInstancesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListResourceInstancesRequestResourceType) UnmarshalJSON ¶
func (c *ListResourceInstancesRequestResourceType) UnmarshalJSON(b []byte) error
func (ListResourceInstancesRequestResourceType) Value ¶
func (c ListResourceInstancesRequestResourceType) Value() string
type ListResourceInstancesRequestResourceTypeEnum ¶
type ListResourceInstancesRequestResourceTypeEnum struct { ORGANIZATIONSROOTS ListResourceInstancesRequestResourceType ORGANIZATIONSOUS ListResourceInstancesRequestResourceType ORGANIZATIONSACCOUNTS ListResourceInstancesRequestResourceType ORGANIZATIONSPOLICIES ListResourceInstancesRequestResourceType }
func GetListResourceInstancesRequestResourceTypeEnum ¶
func GetListResourceInstancesRequestResourceTypeEnum() ListResourceInstancesRequestResourceTypeEnum
type ListResourceInstancesResponse ¶
type ListResourceInstancesResponse struct { // 资源信息列表。 Resources *[]ResourceDto `json:"resources,omitempty"` // 总记录数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListResourceInstancesResponse Response Object
func (ListResourceInstancesResponse) String ¶
func (o ListResourceInstancesResponse) String() string
type ListResourceTagsRequest ¶
type ListResourceTagsRequest struct { // 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 ResourceType ListResourceTagsRequestResourceType `json:"resource_type"` }
ListResourceTagsRequest Request Object
func (ListResourceTagsRequest) String ¶
func (o ListResourceTagsRequest) String() string
type ListResourceTagsRequestResourceType ¶
type ListResourceTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListResourceTagsRequestResourceType) MarshalJSON ¶
func (c ListResourceTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListResourceTagsRequestResourceType) UnmarshalJSON ¶
func (c *ListResourceTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListResourceTagsRequestResourceType) Value ¶
func (c ListResourceTagsRequestResourceType) Value() string
type ListResourceTagsRequestResourceTypeEnum ¶
type ListResourceTagsRequestResourceTypeEnum struct { ORGANIZATIONSROOTS ListResourceTagsRequestResourceType ORGANIZATIONSOUS ListResourceTagsRequestResourceType ORGANIZATIONSACCOUNTS ListResourceTagsRequestResourceType ORGANIZATIONSPOLICIES ListResourceTagsRequestResourceType }
func GetListResourceTagsRequestResourceTypeEnum ¶
func GetListResourceTagsRequestResourceTypeEnum() ListResourceTagsRequestResourceTypeEnum
type ListResourceTagsResponse ¶
type ListResourceTagsResponse struct { Tags *[]TagsDto `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListResourceTagsResponse Response Object
func (ListResourceTagsResponse) String ¶
func (o ListResourceTagsResponse) String() string
type ListRootsRequest ¶
type ListRootsRequest struct { // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListRootsRequest Request Object
func (ListRootsRequest) String ¶
func (o ListRootsRequest) String() string
type ListRootsResponse ¶
type ListRootsResponse struct { // 在组织中定义的根列表。 Roots *[]RootDto `json:"roots,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListRootsResponse Response Object
func (ListRootsResponse) String ¶
func (o ListRootsResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { }
ListServicesRequest Request Object
func (ListServicesRequest) String ¶
func (o ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { Services *[]string `json:"services,omitempty"` HttpStatusCode int `json:"-"` }
ListServicesResponse Response Object
func (ListServicesResponse) String ¶
func (o ListServicesResponse) String() string
type ListTagPolicyServicesRequest ¶
type ListTagPolicyServicesRequest struct { }
ListTagPolicyServicesRequest Request Object
func (ListTagPolicyServicesRequest) String ¶
func (o ListTagPolicyServicesRequest) String() string
type ListTagPolicyServicesResponse ¶
type ListTagPolicyServicesResponse struct { Services *[]TagPolicyServiceDto `json:"services,omitempty"` HttpStatusCode int `json:"-"` }
ListTagPolicyServicesResponse Response Object
func (ListTagPolicyServicesResponse) String ¶
func (o ListTagPolicyServicesResponse) String() string
type ListTagResourcesRequest ¶
type ListTagResourcesRequest struct { // 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 ResourceType ListTagResourcesRequestResourceType `json:"resource_type"` // 根、组织单元、帐号或策略的唯一标识符(ID)。 ResourceId string `json:"resource_id"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListTagResourcesRequest Request Object
func (ListTagResourcesRequest) String ¶
func (o ListTagResourcesRequest) String() string
type ListTagResourcesRequestResourceType ¶
type ListTagResourcesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListTagResourcesRequestResourceType) MarshalJSON ¶
func (c ListTagResourcesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListTagResourcesRequestResourceType) UnmarshalJSON ¶
func (c *ListTagResourcesRequestResourceType) UnmarshalJSON(b []byte) error
func (ListTagResourcesRequestResourceType) Value ¶
func (c ListTagResourcesRequestResourceType) Value() string
type ListTagResourcesRequestResourceTypeEnum ¶
type ListTagResourcesRequestResourceTypeEnum struct { ORGANIZATIONSROOTS ListTagResourcesRequestResourceType ORGANIZATIONSOUS ListTagResourcesRequestResourceType ORGANIZATIONSACCOUNTS ListTagResourcesRequestResourceType ORGANIZATIONSPOLICIES ListTagResourcesRequestResourceType }
func GetListTagResourcesRequestResourceTypeEnum ¶
func GetListTagResourcesRequestResourceTypeEnum() ListTagResourcesRequestResourceTypeEnum
type ListTagResourcesResponse ¶
type ListTagResourcesResponse struct { // 标签列表。 Tags *[]TagDto `json:"tags,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListTagResourcesResponse Response Object
func (ListTagResourcesResponse) String ¶
func (o ListTagResourcesResponse) String() string
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { // 根、组织单元、帐号或策略的唯一标识符(ID)。 ResourceId string `json:"resource_id"` // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListTagsForResourceRequest Request Object
func (ListTagsForResourceRequest) String ¶
func (o ListTagsForResourceRequest) String() string
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { // 标签列表。 Tags *[]TagDto `json:"tags,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListTagsForResourceResponse Response Object
func (ListTagsForResourceResponse) String ¶
func (o ListTagsForResourceResponse) String() string
type ListTrustedServicesRequest ¶
type ListTrustedServicesRequest struct { // 页面中最大结果数量。 Limit *int32 `json:"limit,omitempty"` // 分页标记。 Marker *string `json:"marker,omitempty"` }
ListTrustedServicesRequest Request Object
func (ListTrustedServicesRequest) String ¶
func (o ListTrustedServicesRequest) String() string
type ListTrustedServicesResponse ¶
type ListTrustedServicesResponse struct { // 启用与组织集成的服务主体列表。 TrustedServices *[]TrustedServiceDto `json:"trusted_services,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListTrustedServicesResponse Response Object
func (ListTrustedServicesResponse) String ¶
func (o ListTrustedServicesResponse) String() string
type Match ¶
type MoveAccountReqBody ¶
type MoveAccountReqBody struct { // 要移出帐号的根或组织单元的唯一标识符(ID)。 SourceParentId string `json:"source_parent_id"` // 要移入帐号的根或组织单元的唯一标识符(ID)。 DestinationParentId string `json:"destination_parent_id"` }
MoveAccountReqBody MoveAccount 操作的请求体。
func (MoveAccountReqBody) String ¶
func (o MoveAccountReqBody) String() string
type MoveAccountRequest ¶
type MoveAccountRequest struct { // 帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` Body *MoveAccountReqBody `json:"body,omitempty"` }
MoveAccountRequest Request Object
func (MoveAccountRequest) String ¶
func (o MoveAccountRequest) String() string
type MoveAccountResponse ¶
type MoveAccountResponse struct {
HttpStatusCode int `json:"-"`
}
MoveAccountResponse Response Object
func (MoveAccountResponse) String ¶
func (o MoveAccountResponse) String() string
type OrganizationDto ¶
type OrganizationDto struct { // 组织的唯一标识符(ID)。 Id string `json:"id"` // 组织的统一资源名称。 Urn string `json:"urn"` // 组织管理帐号的唯一标识符(ID)。 ManagementAccountId string `json:"management_account_id"` // 组织的管理帐号的名称。 ManagementAccountName string `json:"management_account_name"` // 组织的创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` }
OrganizationDto 包含有关组织的详细信息。组织是帐号集合,使用合并计费集中管理,由组织单元构成的层次结构,并通过策略控制。
func (OrganizationDto) String ¶
func (o OrganizationDto) String() string
type OrganizationalUnitDto ¶
type OrganizationalUnitDto struct { // 与组织单元关联的唯一标识符(ID)。 Id string `json:"id"` // 组织单元的统一资源名称。 Urn string `json:"urn"` // 组织单元的名称。 Name string `json:"name"` // 组织单元的创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` }
OrganizationalUnitDto 包含有关新创建的组织单元的详细信息的结构。
func (OrganizationalUnitDto) String ¶
func (o OrganizationalUnitDto) String() string
type PageInfoDto ¶
type PageInfoDto struct { // 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 NextMarker string `json:"next_marker"` // 本页返回条目数量 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfoDto 分页信息
func (PageInfoDto) String ¶
func (o PageInfoDto) String() string
type PolicyDto ¶
type PolicyDto struct { // 策略的文本内容。 Content string `json:"content"` PolicySummary *PolicySummaryDto `json:"policy_summary"` }
PolicyDto 包含有关策略的详细信息的结构。
type PolicySummaryDto ¶
type PolicySummaryDto struct { // 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或帐号,但不能编辑它。 IsBuiltin bool `json:"is_builtin"` // 策略说明。 Description string `json:"description"` // 策略的唯一标识符(ID)。 Id string `json:"id"` // 策略的统一资源名称。 Urn string `json:"urn"` // 策略的名称。 Name string `json:"name"` // 策略的类型,service_control_policy:服务控制策略;tag_policy:标签策略。 Type string `json:"type"` }
PolicySummaryDto 包含有关策略的信息,但不包括内容。
func (PolicySummaryDto) String ¶
func (o PolicySummaryDto) String() string
type PolicyTachReqBody ¶
type PolicyTachReqBody struct { // 根、组织单元或帐号的唯一标识符(ID)。 EntityId string `json:"entity_id"` }
PolicyTachReqBody AttachPolicy 和 DetachPolicy 操作的请求体。
func (PolicyTachReqBody) String ¶
func (o PolicyTachReqBody) String() string
type PolicyTypeReqBody ¶
type PolicyTypeReqBody struct { // 策略类型的名称,service_control_policy服务控制策略;tag_policy:标签策略。 PolicyType PolicyTypeReqBodyPolicyType `json:"policy_type"` // 根的唯一标识符(ID)。 RootId string `json:"root_id"` }
PolicyTypeReqBody 策略类型相关操作的请求体。
func (PolicyTypeReqBody) String ¶
func (o PolicyTypeReqBody) String() string
type PolicyTypeReqBodyPolicyType ¶
type PolicyTypeReqBodyPolicyType struct {
// contains filtered or unexported fields
}
func (PolicyTypeReqBodyPolicyType) MarshalJSON ¶
func (c PolicyTypeReqBodyPolicyType) MarshalJSON() ([]byte, error)
func (*PolicyTypeReqBodyPolicyType) UnmarshalJSON ¶
func (c *PolicyTypeReqBodyPolicyType) UnmarshalJSON(b []byte) error
func (PolicyTypeReqBodyPolicyType) Value ¶
func (c PolicyTypeReqBodyPolicyType) Value() string
type PolicyTypeReqBodyPolicyTypeEnum ¶
type PolicyTypeReqBodyPolicyTypeEnum struct { SERVICE_CONTROL_POLICY PolicyTypeReqBodyPolicyType TAG_POLICY PolicyTypeReqBodyPolicyType }
func GetPolicyTypeReqBodyPolicyTypeEnum ¶
func GetPolicyTypeReqBodyPolicyTypeEnum() PolicyTypeReqBodyPolicyTypeEnum
type PolicyTypeSummaryDto ¶
type PolicyTypeSummaryDto struct { // 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或帐号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 Status string `json:"status"` // 策略类型的名称,service_control_policy:服务控制策略;tag_policy:标签策略。 Type string `json:"type"` }
PolicyTypeSummaryDto 包含根中的一个策略类型和状态信息。
func (PolicyTypeSummaryDto) String ¶
func (o PolicyTypeSummaryDto) String() string
type QuotaDto ¶ added in v0.1.42
type QuotaDto struct { // 配额类型,account账户,organizational_unit组织单元,policy策略。 Type string `json:"type"` // 配额数量。 Quota int32 `json:"quota"` // 最小配额。 Min int32 `json:"min"` // 最大配额。 Max int32 `json:"max"` // 已使用数量。 Used int32 `json:"used"` }
QuotaDto 组织的配额。
type QuotasResourcesDto ¶ added in v0.1.42
type QuotasResourcesDto struct { // 配额信息。 Resources []QuotaDto `json:"resources"` }
QuotasResourcesDto 组织配额的响应体。
func (QuotasResourcesDto) String ¶ added in v0.1.42
func (o QuotasResourcesDto) String() string
type RegisterDelegatedAdministratorRequest ¶
type RegisterDelegatedAdministratorRequest struct {
Body *DelegatedAdministratorReqBody `json:"body,omitempty"`
}
RegisterDelegatedAdministratorRequest Request Object
func (RegisterDelegatedAdministratorRequest) String ¶
func (o RegisterDelegatedAdministratorRequest) String() string
type RegisterDelegatedAdministratorResponse ¶
type RegisterDelegatedAdministratorResponse struct {
HttpStatusCode int `json:"-"`
}
RegisterDelegatedAdministratorResponse Response Object
func (RegisterDelegatedAdministratorResponse) String ¶
func (o RegisterDelegatedAdministratorResponse) String() string
type RemoveAccountRequest ¶
type RemoveAccountRequest struct { // 帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` }
RemoveAccountRequest Request Object
func (RemoveAccountRequest) String ¶
func (o RemoveAccountRequest) String() string
type RemoveAccountResponse ¶
type RemoveAccountResponse struct {
HttpStatusCode int `json:"-"`
}
RemoveAccountResponse Response Object
func (RemoveAccountResponse) String ¶
func (o RemoveAccountResponse) String() string
type ResourceDto ¶
type ResourceDto struct { // 资源Id。 ResourceId string `json:"resource_id"` // 资源名称。 ResourceName *string `json:"resource_name,omitempty"` // 资源标签列表。 Tags []Match `json:"tags"` }
ResourceDto 资源信息。
func (ResourceDto) String ¶
func (o ResourceDto) String() string
type ResourceInstanceReqBody ¶
type ResourceInstanceReqBody struct { // 不包含任意一个标签,该字段为true时查询所有不带标签的资源。 WithoutAnyTag *bool `json:"without_any_tag,omitempty"` // 包含标签,最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]TagsDto `json:"tags,omitempty"` // 要绑定到新创建的帐号的标签列表。 Matches *[]Match `json:"matches,omitempty"` }
ResourceInstanceReqBody ResourceInstance操作的请求体。
func (ResourceInstanceReqBody) String ¶
func (o ResourceInstanceReqBody) String() string
type RootDto ¶
type RootDto struct { // 根的唯一标识符(ID)。 Id string `json:"id"` // 根的统一资源名称。 Urn string `json:"urn"` // 根的名称。 Name string `json:"name"` // 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或帐号。 PolicyTypes []PolicyTypeSummaryDto `json:"policy_types"` // 根的创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` }
RootDto 包含根的详细信息。根是组织层次结构中的顶级父节点,可以包含组织单元和帐号。
type ShowAccountRequest ¶
type ShowAccountRequest struct { // 帐号的唯一标识符(ID)。 AccountId string `json:"account_id"` }
ShowAccountRequest Request Object
func (ShowAccountRequest) String ¶
func (o ShowAccountRequest) String() string
type ShowAccountResponse ¶
type ShowAccountResponse struct { Account *AccountDto `json:"account,omitempty"` HttpStatusCode int `json:"-"` }
ShowAccountResponse Response Object
func (ShowAccountResponse) String ¶
func (o ShowAccountResponse) String() string
type ShowCreateAccountStatusRequest ¶
type ShowCreateAccountStatusRequest struct { // 指定唯一标识CreateAccount请求的ID值。 CreateAccountStatusId string `json:"create_account_status_id"` }
ShowCreateAccountStatusRequest Request Object
func (ShowCreateAccountStatusRequest) String ¶
func (o ShowCreateAccountStatusRequest) String() string
type ShowCreateAccountStatusResponse ¶
type ShowCreateAccountStatusResponse struct { CreateAccountStatus *CreateAccountStatusDto `json:"create_account_status,omitempty"` HttpStatusCode int `json:"-"` }
ShowCreateAccountStatusResponse Response Object
func (ShowCreateAccountStatusResponse) String ¶
func (o ShowCreateAccountStatusResponse) String() string
type ShowEffectivePoliciesRequest ¶
type ShowEffectivePoliciesRequest struct { // 帐号的唯一标识符(ID)。当前还不支持指定根、组织单元。 EntityId string `json:"entity_id"` // 策略类型的名称,tag_policy标签策略。 PolicyType ShowEffectivePoliciesRequestPolicyType `json:"policy_type"` }
ShowEffectivePoliciesRequest Request Object
func (ShowEffectivePoliciesRequest) String ¶
func (o ShowEffectivePoliciesRequest) String() string
type ShowEffectivePoliciesRequestPolicyType ¶
type ShowEffectivePoliciesRequestPolicyType struct {
// contains filtered or unexported fields
}
func (ShowEffectivePoliciesRequestPolicyType) MarshalJSON ¶
func (c ShowEffectivePoliciesRequestPolicyType) MarshalJSON() ([]byte, error)
func (*ShowEffectivePoliciesRequestPolicyType) UnmarshalJSON ¶
func (c *ShowEffectivePoliciesRequestPolicyType) UnmarshalJSON(b []byte) error
func (ShowEffectivePoliciesRequestPolicyType) Value ¶
func (c ShowEffectivePoliciesRequestPolicyType) Value() string
type ShowEffectivePoliciesRequestPolicyTypeEnum ¶
type ShowEffectivePoliciesRequestPolicyTypeEnum struct {
TAG_POLICY ShowEffectivePoliciesRequestPolicyType
}
func GetShowEffectivePoliciesRequestPolicyTypeEnum ¶
func GetShowEffectivePoliciesRequestPolicyTypeEnum() ShowEffectivePoliciesRequestPolicyTypeEnum
type ShowEffectivePoliciesResponse ¶
type ShowEffectivePoliciesResponse struct { // 有效策略最后更新时间。 LastUpdatedAt *sdktime.SdkTime `json:"last_updated_at,omitempty"` // 有效策略文本内容。 PolicyContent *string `json:"policy_content,omitempty"` // 策略类型的名称,tag_policy标签策略。 PolicyType *ShowEffectivePoliciesResponsePolicyType `json:"policy_type,omitempty"` // 根、组织单元或帐号的唯一标识符(ID)。 EntityId *string `json:"entity_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowEffectivePoliciesResponse Response Object
func (ShowEffectivePoliciesResponse) String ¶
func (o ShowEffectivePoliciesResponse) String() string
type ShowEffectivePoliciesResponsePolicyType ¶
type ShowEffectivePoliciesResponsePolicyType struct {
// contains filtered or unexported fields
}
func (ShowEffectivePoliciesResponsePolicyType) MarshalJSON ¶
func (c ShowEffectivePoliciesResponsePolicyType) MarshalJSON() ([]byte, error)
func (*ShowEffectivePoliciesResponsePolicyType) UnmarshalJSON ¶
func (c *ShowEffectivePoliciesResponsePolicyType) UnmarshalJSON(b []byte) error
func (ShowEffectivePoliciesResponsePolicyType) Value ¶
func (c ShowEffectivePoliciesResponsePolicyType) Value() string
type ShowEffectivePoliciesResponsePolicyTypeEnum ¶
type ShowEffectivePoliciesResponsePolicyTypeEnum struct {
TAG_POLICY ShowEffectivePoliciesResponsePolicyType
}
func GetShowEffectivePoliciesResponsePolicyTypeEnum ¶
func GetShowEffectivePoliciesResponsePolicyTypeEnum() ShowEffectivePoliciesResponsePolicyTypeEnum
type ShowHandshakeRequest ¶
type ShowHandshakeRequest struct { // 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 HandshakeId string `json:"handshake_id"` }
ShowHandshakeRequest Request Object
func (ShowHandshakeRequest) String ¶
func (o ShowHandshakeRequest) String() string
type ShowHandshakeResponse ¶
type ShowHandshakeResponse struct { Handshake *HandshakeDto `json:"handshake,omitempty"` HttpStatusCode int `json:"-"` }
ShowHandshakeResponse Response Object
func (ShowHandshakeResponse) String ¶
func (o ShowHandshakeResponse) String() string
type ShowOrganizationRequest ¶
type ShowOrganizationRequest struct { }
ShowOrganizationRequest Request Object
func (ShowOrganizationRequest) String ¶
func (o ShowOrganizationRequest) String() string
type ShowOrganizationResponse ¶
type ShowOrganizationResponse struct { Organization *OrganizationDto `json:"organization,omitempty"` HttpStatusCode int `json:"-"` }
ShowOrganizationResponse Response Object
func (ShowOrganizationResponse) String ¶
func (o ShowOrganizationResponse) String() string
type ShowOrganizationalUnitRequest ¶
type ShowOrganizationalUnitRequest struct { // 与组织单元关联的唯一标识符(ID)。 OrganizationalUnitId string `json:"organizational_unit_id"` }
ShowOrganizationalUnitRequest Request Object
func (ShowOrganizationalUnitRequest) String ¶
func (o ShowOrganizationalUnitRequest) String() string
type ShowOrganizationalUnitResponse ¶
type ShowOrganizationalUnitResponse struct { OrganizationalUnit *OrganizationalUnitDto `json:"organizational_unit,omitempty"` HttpStatusCode int `json:"-"` }
ShowOrganizationalUnitResponse Response Object
func (ShowOrganizationalUnitResponse) String ¶
func (o ShowOrganizationalUnitResponse) String() string
type ShowPolicyRequest ¶
type ShowPolicyRequest struct { // 策略的唯一标识符(ID)。 PolicyId string `json:"policy_id"` // 选择接口返回的信息的语言 XLanguage *ShowPolicyRequestXLanguage `json:"X-Language,omitempty"` }
ShowPolicyRequest Request Object
func (ShowPolicyRequest) String ¶
func (o ShowPolicyRequest) String() string
type ShowPolicyRequestXLanguage ¶
type ShowPolicyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowPolicyRequestXLanguage) MarshalJSON ¶
func (c ShowPolicyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowPolicyRequestXLanguage) UnmarshalJSON ¶
func (c *ShowPolicyRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowPolicyRequestXLanguage) Value ¶
func (c ShowPolicyRequestXLanguage) Value() string
type ShowPolicyRequestXLanguageEnum ¶
type ShowPolicyRequestXLanguageEnum struct { ZH_CN ShowPolicyRequestXLanguage EN_US ShowPolicyRequestXLanguage }
func GetShowPolicyRequestXLanguageEnum ¶
func GetShowPolicyRequestXLanguageEnum() ShowPolicyRequestXLanguageEnum
type ShowPolicyResponse ¶
type ShowPolicyResponse struct { Policy *PolicyDto `json:"policy,omitempty"` HttpStatusCode int `json:"-"` }
ShowPolicyResponse Response Object
func (ShowPolicyResponse) String ¶
func (o ShowPolicyResponse) String() string
type ShowResourceInstancesCountRequest ¶
type ShowResourceInstancesCountRequest struct { // 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 ResourceType ShowResourceInstancesCountRequestResourceType `json:"resource_type"` Body *ResourceInstanceReqBody `json:"body,omitempty"` }
ShowResourceInstancesCountRequest Request Object
func (ShowResourceInstancesCountRequest) String ¶
func (o ShowResourceInstancesCountRequest) String() string
type ShowResourceInstancesCountRequestResourceType ¶
type ShowResourceInstancesCountRequestResourceType struct {
// contains filtered or unexported fields
}
func (ShowResourceInstancesCountRequestResourceType) MarshalJSON ¶
func (c ShowResourceInstancesCountRequestResourceType) MarshalJSON() ([]byte, error)
func (*ShowResourceInstancesCountRequestResourceType) UnmarshalJSON ¶
func (c *ShowResourceInstancesCountRequestResourceType) UnmarshalJSON(b []byte) error
func (ShowResourceInstancesCountRequestResourceType) Value ¶
func (c ShowResourceInstancesCountRequestResourceType) Value() string
type ShowResourceInstancesCountRequestResourceTypeEnum ¶
type ShowResourceInstancesCountRequestResourceTypeEnum struct { ORGANIZATIONSROOTS ShowResourceInstancesCountRequestResourceType ORGANIZATIONSOUS ShowResourceInstancesCountRequestResourceType ORGANIZATIONSACCOUNTS ShowResourceInstancesCountRequestResourceType ORGANIZATIONSPOLICIES ShowResourceInstancesCountRequestResourceType }
func GetShowResourceInstancesCountRequestResourceTypeEnum ¶
func GetShowResourceInstancesCountRequestResourceTypeEnum() ShowResourceInstancesCountRequestResourceTypeEnum
type ShowResourceInstancesCountResponse ¶
type ShowResourceInstancesCountResponse struct { // 总记录数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ShowResourceInstancesCountResponse Response Object
func (ShowResourceInstancesCountResponse) String ¶
func (o ShowResourceInstancesCountResponse) String() string
type TagDto ¶
type TagDto struct { // 标签键的密钥标识符或名称。 Key string `json:"key"` // 与标签键关联的字符串值。您可以将标签的值设置为空字符串,但不能将标签的值设置为NULL。 Value string `json:"value"` }
TagDto 自定义标签键值对。
type TagPolicyServiceDto ¶
type TagPolicyServiceDto struct { // The service name of the service. ServiceName string `json:"service_name"` ResourceTypes []string `json:"resource_types"` // resource_type是否支持全量选择,即* SupportAll bool `json:"support_all"` }
TagPolicyServiceDto A quota of organization.
func (TagPolicyServiceDto) String ¶
func (o TagPolicyServiceDto) String() string
type TagResourceReqBody ¶
type TagResourceReqBody struct { // 要添加到指定资源的标签列表。 Tags []TagDto `json:"tags"` }
TagResourceReqBody TagResource 操作的请求体。
func (TagResourceReqBody) String ¶
func (o TagResourceReqBody) String() string
type TagResourceRequest ¶
type TagResourceRequest struct { // 根、组织单元、帐号或策略的唯一标识符(ID)。 ResourceId string `json:"resource_id"` Body *TagResourceReqBody `json:"body,omitempty"` }
TagResourceRequest Request Object
func (TagResourceRequest) String ¶
func (o TagResourceRequest) String() string
type TagResourceResponse ¶
type TagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
TagResourceResponse Response Object
func (TagResourceResponse) String ¶
func (o TagResourceResponse) String() string
type TagsDto ¶
type TagsDto struct { // 键。最大长度127个unicode字符。 key不能为空。 Key string `json:"key"` // 值列表。每个值最大长度255个unicode字符。 Values []string `json:"values"` }
TagsDto 自定义标签键值对。
type TargetDto ¶
type TargetDto struct { // 目标类型,account:账户,email:邮箱。 Type string `json:"type"` // 如果指定 'type:account',则必须提供帐号ID作为实体。如果指定'type:email',则必须指定与帐号关联的电子邮件地址。 Entity string `json:"entity"` }
TargetDto 要邀请加入组织的帐号的标识符(ID)。
type TrustedServiceDto ¶
type TrustedServiceDto struct { // 可信服务的名称。 ServicePrincipal string `json:"service_principal"` // 可信服务与组织集成的日期。 EnabledAt *sdktime.SdkTime `json:"enabled_at"` }
TrustedServiceDto 包含可信服务详细信息的结构,可信服务表示已启用与组织集成的服务。
func (TrustedServiceDto) String ¶
func (o TrustedServiceDto) String() string
type TrustedServiceReqBody ¶
type TrustedServiceReqBody struct { // 服务主体名称。 ServicePrincipal string `json:"service_principal"` }
TrustedServiceReqBody 可信服务相关操作的请求体。
func (TrustedServiceReqBody) String ¶
func (o TrustedServiceReqBody) String() string
type UntagResourceReqBody ¶
type UntagResourceReqBody struct {
TagKeys []string `json:"tag_keys"`
}
UntagResourceReqBody UntagResource 操作的请求体。
func (UntagResourceReqBody) String ¶
func (o UntagResourceReqBody) String() string
type UntagResourceRequest ¶
type UntagResourceRequest struct { // 根、组织单元、帐号或策略的唯一标识符(ID)。 ResourceId string `json:"resource_id"` Body *UntagResourceReqBody `json:"body,omitempty"` }
UntagResourceRequest Request Object
func (UntagResourceRequest) String ¶
func (o UntagResourceRequest) String() string
type UntagResourceResponse ¶
type UntagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
UntagResourceResponse Response Object
func (UntagResourceResponse) String ¶
func (o UntagResourceResponse) String() string
type UpdateOrganizationalUnitReqBody ¶
type UpdateOrganizationalUnitReqBody struct { // 要分配给新组织单元的名称。 Name string `json:"name"` }
UpdateOrganizationalUnitReqBody UpdateOrganizationalUnit 操作的请求体。
func (UpdateOrganizationalUnitReqBody) String ¶
func (o UpdateOrganizationalUnitReqBody) String() string
type UpdateOrganizationalUnitRequest ¶
type UpdateOrganizationalUnitRequest struct { // 与组织单元关联的唯一标识符(ID)。 OrganizationalUnitId string `json:"organizational_unit_id"` Body *UpdateOrganizationalUnitReqBody `json:"body,omitempty"` }
UpdateOrganizationalUnitRequest Request Object
func (UpdateOrganizationalUnitRequest) String ¶
func (o UpdateOrganizationalUnitRequest) String() string
type UpdateOrganizationalUnitResponse ¶
type UpdateOrganizationalUnitResponse struct { OrganizationalUnit *OrganizationalUnitDto `json:"organizational_unit,omitempty"` HttpStatusCode int `json:"-"` }
UpdateOrganizationalUnitResponse Response Object
func (UpdateOrganizationalUnitResponse) String ¶
func (o UpdateOrganizationalUnitResponse) String() string
type UpdatePolicyReqBody ¶
type UpdatePolicyReqBody struct { // 要添加到新策略的策略文本内容。 Content *string `json:"content,omitempty"` // 要分配给策略的可选说明。 Description *string `json:"description,omitempty"` // 要分配给策略的名称。 Name *string `json:"name,omitempty"` }
UpdatePolicyReqBody UpdatePolicy 操作的请求体。
func (UpdatePolicyReqBody) String ¶
func (o UpdatePolicyReqBody) String() string
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct { // 策略的唯一标识符(ID)。 PolicyId string `json:"policy_id"` // 选择接口返回的信息的语言 XLanguage *UpdatePolicyRequestXLanguage `json:"X-Language,omitempty"` Body *UpdatePolicyReqBody `json:"body,omitempty"` }
UpdatePolicyRequest Request Object
func (UpdatePolicyRequest) String ¶
func (o UpdatePolicyRequest) String() string
type UpdatePolicyRequestXLanguage ¶
type UpdatePolicyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdatePolicyRequestXLanguage) MarshalJSON ¶
func (c UpdatePolicyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdatePolicyRequestXLanguage) UnmarshalJSON ¶
func (c *UpdatePolicyRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdatePolicyRequestXLanguage) Value ¶
func (c UpdatePolicyRequestXLanguage) Value() string
type UpdatePolicyRequestXLanguageEnum ¶
type UpdatePolicyRequestXLanguageEnum struct { ZH_CN UpdatePolicyRequestXLanguage EN_US UpdatePolicyRequestXLanguage }
func GetUpdatePolicyRequestXLanguageEnum ¶
func GetUpdatePolicyRequestXLanguageEnum() UpdatePolicyRequestXLanguageEnum
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct { Policy *PolicyDto `json:"policy,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePolicyResponse Response Object
func (UpdatePolicyResponse) String ¶
func (o UpdatePolicyResponse) String() string
Source Files ¶
- model_accept_handshake_request.go
- model_accept_handshake_response.go
- model_account_dto.go
- model_attach_policy_request.go
- model_attach_policy_response.go
- model_cancel_handshake_request.go
- model_cancel_handshake_response.go
- model_create_account_status_dto.go
- model_create_organization_request.go
- model_create_organization_response.go
- model_create_organizational_unit_req_body.go
- model_create_organizational_unit_request.go
- model_create_organizational_unit_response.go
- model_create_policy_req_body.go
- model_create_policy_request.go
- model_create_policy_response.go
- model_create_tag_resource_request.go
- model_create_tag_resource_response.go
- model_decline_handshake_request.go
- model_decline_handshake_response.go
- model_delegated_administrator_dto.go
- model_delegated_administrator_req_body.go
- model_delegated_service_dto.go
- model_delete_organization_request.go
- model_delete_organization_response.go
- model_delete_organizational_unit_request.go
- model_delete_organizational_unit_response.go
- model_delete_policy_request.go
- model_delete_policy_response.go
- model_delete_tag_resource_request.go
- model_delete_tag_resource_response.go
- model_deregister_delegated_administrator_request.go
- model_deregister_delegated_administrator_response.go
- model_detach_policy_request.go
- model_detach_policy_response.go
- model_disable_policy_type_request.go
- model_disable_policy_type_response.go
- model_disable_trusted_service_request.go
- model_disable_trusted_service_response.go
- model_enable_policy_type_request.go
- model_enable_policy_type_response.go
- model_enable_trusted_service_request.go
- model_enable_trusted_service_response.go
- model_entity_dto.go
- model_handshake_dto.go
- model_invite_account_req_body.go
- model_invite_account_request.go
- model_invite_account_response.go
- model_leave_organization_request.go
- model_leave_organization_response.go
- model_list_accounts_request.go
- model_list_accounts_response.go
- model_list_create_account_statuses_request.go
- model_list_create_account_statuses_response.go
- model_list_delegated_administrators_request.go
- model_list_delegated_administrators_response.go
- model_list_delegated_services_request.go
- model_list_delegated_services_response.go
- model_list_entities_for_policy_request.go
- model_list_entities_for_policy_response.go
- model_list_entities_request.go
- model_list_entities_response.go
- model_list_handshakes_request.go
- model_list_handshakes_response.go
- model_list_organizational_units_request.go
- model_list_organizational_units_response.go
- model_list_policies_request.go
- model_list_policies_response.go
- model_list_quotas_request.go
- model_list_quotas_response.go
- model_list_received_handshakes_request.go
- model_list_received_handshakes_response.go
- model_list_resource_instances_request.go
- model_list_resource_instances_response.go
- model_list_resource_tags_request.go
- model_list_resource_tags_response.go
- model_list_roots_request.go
- model_list_roots_response.go
- model_list_services_request.go
- model_list_services_response.go
- model_list_tag_policy_services_request.go
- model_list_tag_policy_services_response.go
- model_list_tag_resources_request.go
- model_list_tag_resources_response.go
- model_list_tags_for_resource_request.go
- model_list_tags_for_resource_response.go
- model_list_trusted_services_request.go
- model_list_trusted_services_response.go
- model_match.go
- model_move_account_req_body.go
- model_move_account_request.go
- model_move_account_response.go
- model_organization_dto.go
- model_organizational_unit_dto.go
- model_page_info_dto.go
- model_policy_dto.go
- model_policy_summary_dto.go
- model_policy_tach_req_body.go
- model_policy_type_req_body.go
- model_policy_type_summary_dto.go
- model_quota_dto.go
- model_quotas_resources_dto.go
- model_register_delegated_administrator_request.go
- model_register_delegated_administrator_response.go
- model_remove_account_request.go
- model_remove_account_response.go
- model_resource_dto.go
- model_resource_instance_req_body.go
- model_root_dto.go
- model_show_account_request.go
- model_show_account_response.go
- model_show_create_account_status_request.go
- model_show_create_account_status_response.go
- model_show_effective_policies_request.go
- model_show_effective_policies_response.go
- model_show_handshake_request.go
- model_show_handshake_response.go
- model_show_organization_request.go
- model_show_organization_response.go
- model_show_organizational_unit_request.go
- model_show_organizational_unit_response.go
- model_show_policy_request.go
- model_show_policy_response.go
- model_show_resource_instances_count_request.go
- model_show_resource_instances_count_response.go
- model_tag_dto.go
- model_tag_policy_service_dto.go
- model_tag_resource_req_body.go
- model_tag_resource_request.go
- model_tag_resource_response.go
- model_tags_dto.go
- model_target_dto.go
- model_trusted_service_dto.go
- model_trusted_service_req_body.go
- model_untag_resource_req_body.go
- model_untag_resource_request.go
- model_untag_resource_response.go
- model_update_organizational_unit_req_body.go
- model_update_organizational_unit_request.go
- model_update_organizational_unit_response.go
- model_update_policy_req_body.go
- model_update_policy_request.go
- model_update_policy_response.go