Documentation ¶
Index ¶
- type AclPolicyOption
- type AclPolicyResult
- type AgencyAllProjectRole
- type AgencyAssumedby
- type AgencyAssumedbyUser
- type AgencyAssumedbyUserDomain
- type AgencyAuth
- type AgencyAuthIdentity
- type AgencyAuthIdentityMethods
- type AgencyAuthIdentityMethodsEnum
- type AgencyPolicy
- type AgencyPolicyResource
- type AgencyPolicyRoleOption
- type AgencyPolicyRoleResult
- type AgencyPolicyStatement
- type AgencyPolicyStatementAction
- type AgencyPolicyStatementActionEnum
- type AgencyPolicyStatementEffect
- type AgencyPolicyStatementEffectEnum
- type AgencyResult
- type AgencyTokenAssumerole
- type AgencyTokenAuth
- type AgencyTokenDomain
- type AgencyTokenIdentity
- type AgencyTokenIdentityMethods
- type AgencyTokenIdentityMethodsEnum
- type AgencyTokenProject
- type AgencyTokenProjectDomain
- type AgencyTokenResult
- type AgencyTokenScope
- type AgencyTokenScopeDomain
- type AgencyTokenScopeProject
- type AgencyTokenUser
- type AgencyTokenUserDomain
- type AllowAddressNetmasksOption
- type AllowAddressNetmasksResult
- type AllowIpRangesOption
- type AllowIpRangesResult
- type AssociateAgencyWithAllProjectsPermissionRequest
- type AssociateAgencyWithAllProjectsPermissionResponse
- type AssociateAgencyWithDomainPermissionRequest
- type AssociateAgencyWithDomainPermissionResponse
- type AssociateAgencyWithProjectPermissionRequest
- type AssociateAgencyWithProjectPermissionResponse
- type AssumeroleSessionuser
- type AuthProjectResult
- type AuthScope
- type AuthScopeDomain
- type AuthScopeProject
- type BindMfaDevice
- type Catalog
- type CatalogEndpoints
- type CheckAllProjectsPermissionForAgencyRequest
- type CheckAllProjectsPermissionForAgencyResponse
- type CheckDomainPermissionForAgencyRequest
- type CheckDomainPermissionForAgencyResponse
- type CheckProjectPermissionForAgencyRequest
- type CheckProjectPermissionForAgencyResponse
- type Config
- type ConfigByOption
- type CreateAgencyCustomPolicyRequest
- type CreateAgencyCustomPolicyRequestBody
- type CreateAgencyCustomPolicyResponse
- type CreateAgencyOption
- type CreateAgencyOptionDuration
- type CreateAgencyOptionDurationEnum
- type CreateAgencyRequest
- type CreateAgencyRequestBody
- type CreateAgencyResponse
- type CreateBindingDeviceRequest
- type CreateBindingDeviceResponse
- type CreateCloudServiceCustomPolicyRequest
- type CreateCloudServiceCustomPolicyRequestBody
- type CreateCloudServiceCustomPolicyResponse
- type CreateCredentialOption
- type CreateCredentialResult
- type CreateLoginTokenRequest
- type CreateLoginTokenRequestBody
- type CreateLoginTokenResponse
- type CreateMetadataRequest
- type CreateMetadataRequestBody
- type CreateMetadataResponse
- type CreateMfaDevice
- type CreateMfaDeviceReq
- type CreateMfaDeviceRequest
- type CreateMfaDeviceRespon
- type CreateMfaDeviceResponse
- type CreatePermanentAccessKeyRequest
- type CreatePermanentAccessKeyRequestBody
- type CreatePermanentAccessKeyResponse
- type CreateTemporaryAccessKeyByAgencyRequest
- type CreateTemporaryAccessKeyByAgencyRequestBody
- type CreateTemporaryAccessKeyByAgencyResponse
- type CreateTemporaryAccessKeyByTokenRequest
- type CreateTemporaryAccessKeyByTokenRequestBody
- type CreateTemporaryAccessKeyByTokenResponse
- type CreateUnscopeTokenByIdpInitiatedRequest
- type CreateUnscopeTokenByIdpInitiatedResponse
- type CreateUserOption
- type CreateUserRequest
- type CreateUserRequestBody
- type CreateUserResponse
- type CreateUserResult
- type Credential
- type Credentials
- type DeleteAgencyRequest
- type DeleteAgencyResponse
- type DeleteBindingDeviceRequest
- type DeleteBindingDeviceResponse
- type DeleteCustomPolicyRequest
- type DeleteCustomPolicyResponse
- type DeleteDomainGroupInheritedRoleRequest
- type DeleteDomainGroupInheritedRoleResponse
- type DeleteMfaDeviceRequest
- type DeleteMfaDeviceResponse
- type DeletePermanentAccessKeyRequest
- type DeletePermanentAccessKeyResponse
- type Domains
- type Endpoint
- type IdentityAssumerole
- type IdentityToken
- type IdentityproviderOption
- type IdentityprovidersLinks
- type IdentityprovidersResult
- type IdpToken
- type KeystoneAddUserToGroupRequest
- type KeystoneAddUserToGroupResponse
- type KeystoneAssociateGroupWithDomainPermissionRequest
- type KeystoneAssociateGroupWithDomainPermissionResponse
- type KeystoneAssociateGroupWithProjectPermissionRequest
- type KeystoneAssociateGroupWithProjectPermissionResponse
- type KeystoneCheckDomainPermissionForGroupRequest
- type KeystoneCheckDomainPermissionForGroupResponse
- type KeystoneCheckProjectPermissionForGroupRequest
- type KeystoneCheckProjectPermissionForGroupResponse
- type KeystoneCheckUserInGroupRequest
- type KeystoneCheckUserInGroupResponse
- type KeystoneCheckroleForGroupRequest
- type KeystoneCheckroleForGroupResponse
- type KeystoneCreateAgencyTokenRequest
- type KeystoneCreateAgencyTokenRequestBody
- type KeystoneCreateAgencyTokenResponse
- type KeystoneCreateGroupOption
- type KeystoneCreateGroupRequest
- type KeystoneCreateGroupRequestBody
- type KeystoneCreateGroupResponse
- type KeystoneCreateIdentityProviderRequest
- type KeystoneCreateIdentityProviderRequestBody
- type KeystoneCreateIdentityProviderResponse
- type KeystoneCreateMappingRequest
- type KeystoneCreateMappingRequestBody
- type KeystoneCreateMappingResponse
- type KeystoneCreateProjectOption
- type KeystoneCreateProjectRequest
- type KeystoneCreateProjectRequestBody
- type KeystoneCreateProjectResponse
- type KeystoneCreateProtocolRequest
- type KeystoneCreateProtocolRequestBody
- type KeystoneCreateProtocolResponse
- type KeystoneCreateScopedTokenRequest
- type KeystoneCreateScopedTokenRequestBody
- type KeystoneCreateScopedTokenResponse
- type KeystoneCreateUserOption
- type KeystoneCreateUserRequest
- type KeystoneCreateUserRequestBody
- type KeystoneCreateUserResponse
- type KeystoneCreateUserResult
- type KeystoneCreateUserTokenByPasswordAndMfaRequest
- type KeystoneCreateUserTokenByPasswordAndMfaRequestBody
- type KeystoneCreateUserTokenByPasswordAndMfaResponse
- type KeystoneCreateUserTokenByPasswordRequest
- type KeystoneCreateUserTokenByPasswordRequestBody
- type KeystoneCreateUserTokenByPasswordResponse
- type KeystoneDeleteGroupRequest
- type KeystoneDeleteGroupResponse
- type KeystoneDeleteIdentityProviderRequest
- type KeystoneDeleteIdentityProviderResponse
- type KeystoneDeleteMappingRequest
- type KeystoneDeleteMappingResponse
- type KeystoneDeleteProtocolRequest
- type KeystoneDeleteProtocolResponse
- type KeystoneDeleteUserRequest
- type KeystoneDeleteUserResponse
- type KeystoneGroupResult
- type KeystoneGroupResultWithLinksSelf
- type KeystoneListAllProjectPermissionsForGroupRequest
- type KeystoneListAllProjectPermissionsForGroupResponse
- type KeystoneListAuthDomainsRequest
- type KeystoneListAuthDomainsResponse
- type KeystoneListAuthProjectsRequest
- type KeystoneListAuthProjectsResponse
- type KeystoneListDomainPermissionsForGroupRequest
- type KeystoneListDomainPermissionsForGroupResponse
- type KeystoneListEndpointsRequest
- type KeystoneListEndpointsRequestInterface
- type KeystoneListEndpointsRequestInterfaceEnum
- type KeystoneListEndpointsResponse
- type KeystoneListGroupsForUserRequest
- type KeystoneListGroupsForUserResponse
- type KeystoneListGroupsRequest
- type KeystoneListGroupsResponse
- type KeystoneListIdentityProvidersRequest
- type KeystoneListIdentityProvidersResponse
- type KeystoneListMappingsRequest
- type KeystoneListMappingsResponse
- type KeystoneListPermissionsRequest
- type KeystoneListPermissionsResponse
- type KeystoneListProjectPermissionsForGroupRequest
- type KeystoneListProjectPermissionsForGroupResponse
- type KeystoneListProjectsForUserRequest
- type KeystoneListProjectsForUserResponse
- type KeystoneListProjectsRequest
- type KeystoneListProjectsResponse
- type KeystoneListProtocolsRequest
- type KeystoneListProtocolsResponse
- type KeystoneListRegionsRequest
- type KeystoneListRegionsResponse
- type KeystoneListServicesRequest
- type KeystoneListServicesResponse
- type KeystoneListUsersForGroupByAdminRequest
- type KeystoneListUsersForGroupByAdminResponse
- type KeystoneListUsersRequest
- type KeystoneListUsersResponse
- type KeystoneListUsersResult
- type KeystoneListVersionsRequest
- type KeystoneListVersionsResponse
- type KeystoneRemoveDomainPermissionFromGroupRequest
- type KeystoneRemoveDomainPermissionFromGroupResponse
- type KeystoneRemoveProjectPermissionFromGroupRequest
- type KeystoneRemoveProjectPermissionFromGroupResponse
- type KeystoneRemoveUserFromGroupRequest
- type KeystoneRemoveUserFromGroupResponse
- type KeystoneShowCatalogRequest
- type KeystoneShowCatalogResponse
- type KeystoneShowEndpointRequest
- type KeystoneShowEndpointResponse
- type KeystoneShowGroupRequest
- type KeystoneShowGroupResponse
- type KeystoneShowIdentityProviderRequest
- type KeystoneShowIdentityProviderResponse
- type KeystoneShowMappingRequest
- type KeystoneShowMappingResponse
- type KeystoneShowPermissionRequest
- type KeystoneShowPermissionResponse
- type KeystoneShowProjectRequest
- type KeystoneShowProjectResponse
- type KeystoneShowProtocolRequest
- type KeystoneShowProtocolResponse
- type KeystoneShowRegionRequest
- type KeystoneShowRegionResponse
- type KeystoneShowSecurityComplianceByOptionRequest
- type KeystoneShowSecurityComplianceByOptionRequestOption
- type KeystoneShowSecurityComplianceByOptionRequestOptionEnum
- type KeystoneShowSecurityComplianceByOptionResponse
- type KeystoneShowSecurityComplianceRequest
- type KeystoneShowSecurityComplianceResponse
- type KeystoneShowServiceRequest
- type KeystoneShowServiceResponse
- type KeystoneShowUserRequest
- type KeystoneShowUserResponse
- type KeystoneShowUserResult
- type KeystoneShowVersionRequest
- type KeystoneShowVersionResponse
- type KeystoneUpdateGroupOption
- type KeystoneUpdateGroupRequest
- type KeystoneUpdateGroupRequestBody
- type KeystoneUpdateGroupResponse
- type KeystoneUpdateIdentityProviderRequest
- type KeystoneUpdateIdentityProviderRequestBody
- type KeystoneUpdateIdentityProviderResponse
- type KeystoneUpdateMappingRequest
- type KeystoneUpdateMappingRequestBody
- type KeystoneUpdateMappingResponse
- type KeystoneUpdatePasswordOption
- type KeystoneUpdateProjectOption
- type KeystoneUpdateProjectRequest
- type KeystoneUpdateProjectRequestBody
- type KeystoneUpdateProjectResponse
- type KeystoneUpdateProjectResult
- type KeystoneUpdateProtocolRequest
- type KeystoneUpdateProtocolRequestBody
- type KeystoneUpdateProtocolResponse
- type KeystoneUpdateUserByAdminRequest
- type KeystoneUpdateUserByAdminRequestBody
- type KeystoneUpdateUserByAdminResponse
- type KeystoneUpdateUserByAdminResult
- type KeystoneUpdateUserOption
- type KeystoneUpdateUserPasswordRequest
- type KeystoneUpdateUserPasswordRequestBody
- type KeystoneUpdateUserPasswordResponse
- type KeystoneUserResult
- type KeystoneUserResultExtra
- type KeystoneValidateTokenRequest
- type KeystoneValidateTokenResponse
- type Links
- type LinksSelf
- type ListAgenciesRequest
- type ListAgenciesResponse
- type ListAllProjectsPermissionsForAgencyRequest
- type ListAllProjectsPermissionsForAgencyResponse
- type ListCustomPoliciesRequest
- type ListCustomPoliciesResponse
- type ListDomainPermissionsForAgencyRequest
- type ListDomainPermissionsForAgencyResponse
- type ListPermanentAccessKeysRequest
- type ListPermanentAccessKeysResponse
- type ListProjectPermissionsForAgencyRequest
- type ListProjectPermissionsForAgencyResponse
- type ListUserLoginProtectsRequest
- type ListUserLoginProtectsResponse
- type ListUserMfaDevicesRequest
- type ListUserMfaDevicesResponse
- type LoginPolicyOption
- type LoginPolicyResult
- type LoginProtectResult
- type LoginToken
- type LoginTokenAssumedBy
- type LoginTokenAuth
- type LoginTokenDomain
- type LoginTokenSecurityToken
- type LoginTokenUser
- type MappingOption
- type MappingResult
- type MappingRules
- type MfaAuth
- type MfaDeviceResult
- type MfaIdentity
- type MfaIdentityMethods
- type MfaIdentityMethodsEnum
- type MfaTotp
- type MfaTotpUser
- type OsfederationGroups
- type OsfederationIdentityprovider
- type OsfederationProtocol
- type PasswordPolicyOption
- type PasswordPolicyResult
- type PolicyDepends
- type PolicyRoleResult
- type PolicyStatement
- type PolicyStatementEffect
- type PolicyStatementEffectEnum
- type ProjectDetailsAndStatusResult
- type ProjectResult
- type ProtectPolicyOption
- type ProtectPolicyResult
- type ProtocolLinks
- type ProtocolOption
- type ProtocolResult
- type PwdAuth
- type PwdIdentity
- type PwdIdentityMethods
- type PwdIdentityMethodsEnum
- type PwdPassword
- type PwdPasswordUser
- type PwdPasswordUserDomain
- type QuotaResult
- type Region
- type RegionLocales
- type RemoveAllProjectsPermissionFromAgencyRequest
- type RemoveAllProjectsPermissionFromAgencyResponse
- type RemoveDomainPermissionFromAgencyRequest
- type RemoveDomainPermissionFromAgencyResponse
- type RemoveProjectPermissionFromAgencyRequest
- type RemoveProjectPermissionFromAgencyResponse
- type Resources
- type RolePolicy
- type RoleResult
- type RulesLocalAdditional
- type RulesRemote
- type ScopeDomainOption
- type ScopeProjectOption
- type ScopeTokenResult
- type ScopedToken
- type ScopedTokenAuth
- type ScopedTokenIdentity
- type ScopedTokenUser
- type SecurityCompliance
- type Service
- type ServicePolicy
- type ServicePolicyRoleOption
- type ServicePolicyRoleResult
- type ServiceStatement
- type ServiceStatementEffect
- type ServiceStatementEffectEnum
- type ShowAgencyRequest
- type ShowAgencyResponse
- type ShowCredential
- type ShowCustomPolicyRequest
- type ShowCustomPolicyResponse
- type ShowDomainApiAclPolicyRequest
- type ShowDomainApiAclPolicyResponse
- type ShowDomainConsoleAclPolicyRequest
- type ShowDomainConsoleAclPolicyResponse
- type ShowDomainLoginPolicyRequest
- type ShowDomainLoginPolicyResponse
- type ShowDomainPasswordPolicyRequest
- type ShowDomainPasswordPolicyResponse
- type ShowDomainProtectPolicyRequest
- type ShowDomainProtectPolicyResponse
- type ShowDomainQuotaRequest
- type ShowDomainQuotaRequestType
- type ShowDomainQuotaRequestTypeEnum
- type ShowDomainQuotaResponse
- type ShowMetadataRequest
- type ShowMetadataResponse
- type ShowPermanentAccessKeyRequest
- type ShowPermanentAccessKeyResponse
- type ShowProjectDetailsAndStatusRequest
- type ShowProjectDetailsAndStatusResponse
- type ShowProjectQuotaRequest
- type ShowProjectQuotaResponse
- type ShowUserLoginProtectRequest
- type ShowUserLoginProtectResponse
- type ShowUserMfaDeviceRequest
- type ShowUserMfaDeviceResponse
- type ShowUserRequest
- type ShowUserResponse
- type ShowUserResult
- type TokenAuth
- type TokenAuthIdentity
- type TokenAuthIdentityMethods
- type TokenAuthIdentityMethodsEnum
- type TokenCatalog
- type TokenCatalogEndpoint
- type TokenDomainResult
- type TokenProjectDomainResult
- type TokenProjectResult
- type TokenResult
- type TokenRole
- type TokenSocpeOption
- type TokenUserDomainResult
- type TokenUserOsfederation
- type TokenUserResult
- type UnbindMfaDevice
- type UnscopedTokenUser
- type UpdateAgencyCustomPolicyRequest
- type UpdateAgencyCustomPolicyRequestBody
- type UpdateAgencyCustomPolicyResponse
- type UpdateAgencyOption
- type UpdateAgencyOptionDuration
- type UpdateAgencyOptionDurationEnum
- type UpdateAgencyRequest
- type UpdateAgencyRequestBody
- type UpdateAgencyResponse
- type UpdateCloudServiceCustomPolicyRequest
- type UpdateCloudServiceCustomPolicyRequestBody
- type UpdateCloudServiceCustomPolicyResponse
- type UpdateCredentialOption
- type UpdateCredentialOptionStatus
- type UpdateCredentialOptionStatusEnum
- type UpdateCredentialResult
- type UpdateDomainApiAclPolicyRequest
- type UpdateDomainApiAclPolicyRequestBody
- type UpdateDomainApiAclPolicyResponse
- type UpdateDomainConsoleAclPolicyRequest
- type UpdateDomainConsoleAclPolicyRequestBody
- type UpdateDomainConsoleAclPolicyResponse
- type UpdateDomainGroupInheritRoleRequest
- type UpdateDomainGroupInheritRoleResponse
- type UpdateDomainLoginPolicyRequest
- type UpdateDomainLoginPolicyRequestBody
- type UpdateDomainLoginPolicyResponse
- type UpdateDomainPasswordPolicyRequest
- type UpdateDomainPasswordPolicyRequestBody
- type UpdateDomainPasswordPolicyResponse
- type UpdateDomainProtectPolicyRequest
- type UpdateDomainProtectPolicyRequestBody
- type UpdateDomainProtectPolicyResponse
- type UpdateLoginProject
- type UpdateLoginProjectReq
- type UpdateLoginProtectRequest
- type UpdateLoginProtectRespon
- type UpdateLoginProtectResponse
- type UpdatePermanentAccessKeyRequest
- type UpdatePermanentAccessKeyRequestBody
- type UpdatePermanentAccessKeyResponse
- type UpdateProjectOption
- type UpdateProjectOptionStatus
- type UpdateProjectOptionStatusEnum
- type UpdateProjectStatusRequest
- type UpdateProjectStatusRequestBody
- type UpdateProjectStatusResponse
- type UpdateUserInformationOption
- type UpdateUserInformationRequest
- type UpdateUserInformationRequestBody
- type UpdateUserInformationResponse
- type UpdateUserOption
- type UpdateUserRequest
- type UpdateUserRequestBody
- type UpdateUserResponse
- type UpdateUserResult
- type Version
- type VersionLinks
- type VersionMediatypes
- type Versions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclPolicyOption ¶
type AclPolicyOption struct { // 允许访问的IP地址或网段。 AllowAddressNetmasks []AllowAddressNetmasksOption `json:"allow_address_netmasks"` // 允许访问的IP地址区间 AllowIpRanges []AllowIpRangesOption `json:"allow_ip_ranges"` }
func (AclPolicyOption) String ¶
func (o AclPolicyOption) String() string
type AclPolicyResult ¶
type AclPolicyResult struct { // 允许访问的IP地址或网段。 AllowAddressNetmasks []AllowAddressNetmasksResult `json:"allow_address_netmasks"` // 允许访问的IP地址区间。 AllowIpRanges []AllowIpRangesResult `json:"allow_ip_ranges"` }
func (AclPolicyResult) String ¶
func (o AclPolicyResult) String() string
type AgencyAllProjectRole ¶
type AgencyAllProjectRole struct { // 权限ID。 Id string `json:"id"` Links *LinksSelf `json:"links"` // 权限名。 Name string `json:"name"` }
func (AgencyAllProjectRole) String ¶
func (o AgencyAllProjectRole) String() string
type AgencyAssumedby ¶
type AgencyAssumedby struct {
User *AgencyAssumedbyUser `json:"user"`
}
func (AgencyAssumedby) String ¶
func (o AgencyAssumedby) String() string
type AgencyAssumedbyUser ¶
type AgencyAssumedbyUser struct { // 被委托方B中IAM用户的用户名。 Name string `json:"name"` // 被委托方B中IAM用户的用户ID。 Id string `json:"id"` Domain *AgencyAssumedbyUserDomain `json:"domain"` // 被委托方B中IAM用户的密码过期时间(UTC时间),“”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` }
func (AgencyAssumedbyUser) String ¶
func (o AgencyAssumedbyUser) String() string
type AgencyAssumedbyUserDomain ¶
type AgencyAssumedbyUserDomain struct { // 被委托方B的账号名称。 Name string `json:"name"` // 被委托方B的账号ID。 Id string `json:"id"` }
func (AgencyAssumedbyUserDomain) String ¶
func (o AgencyAssumedbyUserDomain) String() string
type AgencyAuth ¶
type AgencyAuth struct {
Identity *AgencyAuthIdentity `json:"identity"`
}
func (AgencyAuth) String ¶
func (o AgencyAuth) String() string
type AgencyAuthIdentity ¶
type AgencyAuthIdentity struct { // 认证方法,该字段内容为[\"assume_role\"]。 Methods []AgencyAuthIdentityMethods `json:"methods"` AssumeRole *IdentityAssumerole `json:"assume_role"` Policy *ServicePolicy `json:"policy,omitempty"` }
func (AgencyAuthIdentity) String ¶
func (o AgencyAuthIdentity) String() string
type AgencyAuthIdentityMethods ¶
type AgencyAuthIdentityMethods struct {
// contains filtered or unexported fields
}
func (AgencyAuthIdentityMethods) MarshalJSON ¶
func (c AgencyAuthIdentityMethods) MarshalJSON() ([]byte, error)
func (*AgencyAuthIdentityMethods) UnmarshalJSON ¶
func (c *AgencyAuthIdentityMethods) UnmarshalJSON(b []byte) error
type AgencyAuthIdentityMethodsEnum ¶
type AgencyAuthIdentityMethodsEnum struct {
ASSUME_ROLE AgencyAuthIdentityMethods
}
func GetAgencyAuthIdentityMethodsEnum ¶
func GetAgencyAuthIdentityMethodsEnum() AgencyAuthIdentityMethodsEnum
type AgencyPolicy ¶
type AgencyPolicy struct { // 权限版本号,创建自定义策略时,该字段值填为“1.1”。 > - 1.0:系统预置的角色。以服务为粒度,提供有限的服务相关角色用于授权。 > - 1.1:策略。IAM最新提供的一种细粒度授权的能力,可以精确到具体服务的操作、资源以及请求条件等。 Version string `json:"Version"` // 授权语句,描述自定义策略的具体内容,不超过8个。 Statement []AgencyPolicyStatement `json:"Statement"` }
func (AgencyPolicy) String ¶
func (o AgencyPolicy) String() string
type AgencyPolicyResource ¶
type AgencyPolicyResource struct { // 委托资源的URI,长度不超过128。格式为:/iam/agencies/委托ID。例: “` \"uri\": [\"/iam/agencies/07805acaba800fdd4fbdc00b8f888c7c\"] “` Uri []string `json:"uri"` }
func (AgencyPolicyResource) String ¶
func (o AgencyPolicyResource) String() string
type AgencyPolicyRoleOption ¶
type AgencyPolicyRoleOption struct { // 自定义策略展示名。 DisplayName string `json:"display_name"` // 自定义策略的显示模式。 > - AX表示在domain层显示。 > - XA表示在project层显示。 > - 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)。 Type string `json:"type"` // 自定义策略的描述信息。 Description string `json:"description"` // 自定义策略的中文描述信息。 DescriptionCn *string `json:"description_cn,omitempty"` Policy *AgencyPolicy `json:"policy"` }
func (AgencyPolicyRoleOption) String ¶
func (o AgencyPolicyRoleOption) String() string
type AgencyPolicyRoleResult ¶
type AgencyPolicyRoleResult struct { // 自定义策略所在目录。 Catalog string `json:"catalog"` // 自定义策略展示名。 DisplayName string `json:"display_name"` // 自定义策略的描述信息。 Description string `json:"description"` Links *LinksSelf `json:"links"` Policy *AgencyPolicy `json:"policy"` // 自定义策略的中文描述信息。 DescriptionCn *string `json:"description_cn,omitempty"` // 自定义策略所属账号ID。 DomainId string `json:"domain_id"` // 自定义策略的显示模式。 > - AX表示在domain层显示。 > - XA表示在project层显示。 > - 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)。 Type string `json:"type"` // 自定义策略ID。 Id string `json:"id"` // 自定义策略名。 Name string `json:"name"` // 自定义策略更新时间。 UpdatedTime *string `json:"updated_time,omitempty"` // 自定义策略创建时间。 CreatedTime *string `json:"created_time,omitempty"` // 自定义策略的引用次数。 References *string `json:"references,omitempty"` }
func (AgencyPolicyRoleResult) String ¶
func (o AgencyPolicyRoleResult) String() string
type AgencyPolicyStatement ¶
type AgencyPolicyStatement struct { // 授权项,指对资源的具体操作权限。 > - 当自定义策略为委托自定义策略时,该字段值为:“` \"Action\": [\"iam:agencies:assume\"]“`。 Action []AgencyPolicyStatementAction `json:"Action"` // 作用。包含两种:允许(Allow)和拒绝(Deny),既有Allow又有Deny的授权语句时,遵循Deny优先的原则。 Effect AgencyPolicyStatementEffect `json:"Effect"` Resource *AgencyPolicyResource `json:"Resource"` }
func (AgencyPolicyStatement) String ¶
func (o AgencyPolicyStatement) String() string
type AgencyPolicyStatementAction ¶
type AgencyPolicyStatementAction struct {
// contains filtered or unexported fields
}
func (AgencyPolicyStatementAction) MarshalJSON ¶
func (c AgencyPolicyStatementAction) MarshalJSON() ([]byte, error)
func (*AgencyPolicyStatementAction) UnmarshalJSON ¶
func (c *AgencyPolicyStatementAction) UnmarshalJSON(b []byte) error
type AgencyPolicyStatementActionEnum ¶
type AgencyPolicyStatementActionEnum struct {
IAMAGENCIESASSUME AgencyPolicyStatementAction
}
func GetAgencyPolicyStatementActionEnum ¶
func GetAgencyPolicyStatementActionEnum() AgencyPolicyStatementActionEnum
type AgencyPolicyStatementEffect ¶
type AgencyPolicyStatementEffect struct {
// contains filtered or unexported fields
}
func (AgencyPolicyStatementEffect) MarshalJSON ¶
func (c AgencyPolicyStatementEffect) MarshalJSON() ([]byte, error)
func (*AgencyPolicyStatementEffect) UnmarshalJSON ¶
func (c *AgencyPolicyStatementEffect) UnmarshalJSON(b []byte) error
type AgencyPolicyStatementEffectEnum ¶
type AgencyPolicyStatementEffectEnum struct { ALLOW AgencyPolicyStatementEffect DENY AgencyPolicyStatementEffect }
func GetAgencyPolicyStatementEffectEnum ¶
func GetAgencyPolicyStatementEffectEnum() AgencyPolicyStatementEffectEnum
type AgencyResult ¶
type AgencyResult struct { // 委托创建时间。 CreateTime string `json:"create_time"` // 委托描述信息。 Description string `json:"description"` // 委托方账号ID。 DomainId *string `json:"domain_id,omitempty"` // 委托的期限。取值为\"FOREVER\"或“null”表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。 Duration string `json:"duration"` // 委托过期时间。“null”表示不过期。 ExpireTime string `json:"expire_time"` // 委托ID。 Id string `json:"id"` // 委托名。 Name string `json:"name"` // 被委托方账号ID。 TrustDomainId *string `json:"trust_domain_id,omitempty"` // 被委托方账号名。 TrustDomainName *string `json:"trust_domain_name,omitempty"` }
func (AgencyResult) String ¶
func (o AgencyResult) String() string
type AgencyTokenAssumerole ¶
type AgencyTokenAssumerole struct { // 委托方A的账号ID。“domain_id”与“domain_name”至少填写一个。 DomainId *string `json:"domain_id,omitempty"` // 委托方A的账号名称。“domain_id”与“domain_name”至少填写一个。 DomainName *string `json:"domain_name,omitempty"` // 委托方A创建的委托的名称。 AgencyName string `json:"agency_name"` }
func (AgencyTokenAssumerole) String ¶
func (o AgencyTokenAssumerole) String() string
type AgencyTokenAuth ¶
type AgencyTokenAuth struct { Identity *AgencyTokenIdentity `json:"identity"` Scope *AgencyTokenScope `json:"scope"` }
func (AgencyTokenAuth) String ¶
func (o AgencyTokenAuth) String() string
type AgencyTokenDomain ¶
type AgencyTokenDomain struct { // 委托方A的账号名称。 Name string `json:"name"` // 委托方A的账号ID。 Id string `json:"id"` }
func (AgencyTokenDomain) String ¶
func (o AgencyTokenDomain) String() string
type AgencyTokenIdentity ¶
type AgencyTokenIdentity struct { // token的获取方式,该字段内容为[\"assume_role\"]。 Methods []AgencyTokenIdentityMethods `json:"methods"` AssumeRole *AgencyTokenAssumerole `json:"assume_role"` }
func (AgencyTokenIdentity) String ¶
func (o AgencyTokenIdentity) String() string
type AgencyTokenIdentityMethods ¶
type AgencyTokenIdentityMethods struct {
// contains filtered or unexported fields
}
func (AgencyTokenIdentityMethods) MarshalJSON ¶
func (c AgencyTokenIdentityMethods) MarshalJSON() ([]byte, error)
func (*AgencyTokenIdentityMethods) UnmarshalJSON ¶
func (c *AgencyTokenIdentityMethods) UnmarshalJSON(b []byte) error
type AgencyTokenIdentityMethodsEnum ¶
type AgencyTokenIdentityMethodsEnum struct {
ASSUME_ROLE AgencyTokenIdentityMethods
}
func GetAgencyTokenIdentityMethodsEnum ¶
func GetAgencyTokenIdentityMethodsEnum() AgencyTokenIdentityMethodsEnum
type AgencyTokenProject ¶
type AgencyTokenProject struct { // 委托方A的项目名称。 Name string `json:"name"` // 委托方A的项目ID。 Id string `json:"id"` Domain *AgencyTokenProjectDomain `json:"domain"` }
func (AgencyTokenProject) String ¶
func (o AgencyTokenProject) String() string
type AgencyTokenProjectDomain ¶
type AgencyTokenProjectDomain struct { // 委托方A的账号名称。 Name string `json:"name"` // 委托方A的账号ID。 Id string `json:"id"` }
func (AgencyTokenProjectDomain) String ¶
func (o AgencyTokenProjectDomain) String() string
type AgencyTokenResult ¶
type AgencyTokenResult struct { // 获取token的方式。 Methods []string `json:"methods"` // token到期时间。 ExpiresAt string `json:"expires_at"` // token下发时间。 IssuedAt string `json:"issued_at"` AssumedBy *AgencyAssumedby `json:"assumed_by"` // 服务目录信息。 Catalog *[]TokenCatalog `json:"catalog,omitempty"` Domain *AgencyTokenDomain `json:"domain,omitempty"` Project *AgencyTokenProject `json:"project,omitempty"` // 委托token的权限信息。 Roles []TokenRole `json:"roles"` User *AgencyTokenUser `json:"user"` }
func (AgencyTokenResult) String ¶
func (o AgencyTokenResult) String() string
type AgencyTokenScope ¶
type AgencyTokenScope struct { Domain *AgencyTokenScopeDomain `json:"domain,omitempty"` Project *AgencyTokenScopeProject `json:"project,omitempty"` }
func (AgencyTokenScope) String ¶
func (o AgencyTokenScope) String() string
type AgencyTokenScopeDomain ¶
type AgencyTokenScopeDomain struct { // 委托方A的账号ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Id *string `json:"id,omitempty"` // 委托方A的账号名,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Name *string `json:"name,omitempty"` }
func (AgencyTokenScopeDomain) String ¶
func (o AgencyTokenScopeDomain) String() string
type AgencyTokenScopeProject ¶
type AgencyTokenScopeProject struct { // 委托方A项目的ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Id *string `json:"id,omitempty"` // 委托方A项目的名称,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Name *string `json:"name,omitempty"` }
func (AgencyTokenScopeProject) String ¶
func (o AgencyTokenScopeProject) String() string
type AgencyTokenUser ¶
type AgencyTokenUser struct { // 委托方A账号名/委托名。 Name string `json:"name"` // 委托ID。 Id string `json:"id"` Domain *AgencyTokenUserDomain `json:"domain"` }
func (AgencyTokenUser) String ¶
func (o AgencyTokenUser) String() string
type AgencyTokenUserDomain ¶
type AgencyTokenUserDomain struct { // 委托方A的账号ID。 Id string `json:"id"` // 委托方A的账号名称。 Name string `json:"name"` }
func (AgencyTokenUserDomain) String ¶
func (o AgencyTokenUserDomain) String() string
type AllowAddressNetmasksOption ¶
type AllowAddressNetmasksOption struct { // IP地址或网段,例如:192.168.0.1/24。 AddressNetmask string `json:"address_netmask"` // 描述信息。 Description *string `json:"description,omitempty"` }
func (AllowAddressNetmasksOption) String ¶
func (o AllowAddressNetmasksOption) String() string
type AllowAddressNetmasksResult ¶
type AllowAddressNetmasksResult struct { // IP地址或网段,例如:192.168.0.1/24。 AddressNetmask string `json:"address_netmask"` // 描述信息。 Description string `json:"description"` }
func (AllowAddressNetmasksResult) String ¶
func (o AllowAddressNetmasksResult) String() string
type AllowIpRangesOption ¶
type AllowIpRangesOption struct { // 描述信息。 Description *string `json:"description,omitempty"` // IP地址区间,例如:0.0.0.0-255.255.255.255。 IpRange string `json:"ip_range"` }
func (AllowIpRangesOption) String ¶
func (o AllowIpRangesOption) String() string
type AllowIpRangesResult ¶
type AllowIpRangesResult struct { // 描述信息。 Description string `json:"description"` // IP地址区间,例如:0.0.0.0-255.255.255.255。 IpRange string `json:"ip_range"` }
func (AllowIpRangesResult) String ¶
func (o AllowIpRangesResult) String() string
type AssociateAgencyWithAllProjectsPermissionRequest ¶
type AssociateAgencyWithAllProjectsPermissionRequest struct { AgencyId string `json:"agency_id"` DomainId string `json:"domain_id"` RoleId string `json:"role_id"` }
Request Object
func (AssociateAgencyWithAllProjectsPermissionRequest) String ¶
func (o AssociateAgencyWithAllProjectsPermissionRequest) String() string
type AssociateAgencyWithAllProjectsPermissionResponse ¶
type AssociateAgencyWithAllProjectsPermissionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AssociateAgencyWithAllProjectsPermissionResponse) String ¶
func (o AssociateAgencyWithAllProjectsPermissionResponse) String() string
type AssociateAgencyWithDomainPermissionRequest ¶
type AssociateAgencyWithDomainPermissionRequest struct { DomainId string `json:"domain_id"` AgencyId string `json:"agency_id"` RoleId string `json:"role_id"` }
Request Object
func (AssociateAgencyWithDomainPermissionRequest) String ¶
func (o AssociateAgencyWithDomainPermissionRequest) String() string
type AssociateAgencyWithDomainPermissionResponse ¶
type AssociateAgencyWithDomainPermissionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AssociateAgencyWithDomainPermissionResponse) String ¶
func (o AssociateAgencyWithDomainPermissionResponse) String() string
type AssociateAgencyWithProjectPermissionRequest ¶
type AssociateAgencyWithProjectPermissionRequest struct { ProjectId string `json:"project_id"` AgencyId string `json:"agency_id"` RoleId string `json:"role_id"` }
Request Object
func (AssociateAgencyWithProjectPermissionRequest) String ¶
func (o AssociateAgencyWithProjectPermissionRequest) String() string
type AssociateAgencyWithProjectPermissionResponse ¶
type AssociateAgencyWithProjectPermissionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AssociateAgencyWithProjectPermissionResponse) String ¶
func (o AssociateAgencyWithProjectPermissionResponse) String() string
type AssumeroleSessionuser ¶
type AssumeroleSessionuser struct { // 委托方对应的企业用户名。用户名需满足如下规则:长度5~32,只能包含大写字母、小写字母、数字(0-9)、特殊字符(\"-\"与\"_\")且只能以字母开头。 Name *string `json:"name,omitempty"` }
func (AssumeroleSessionuser) String ¶
func (o AssumeroleSessionuser) String() string
type AuthProjectResult ¶
type AuthProjectResult struct { // false. IsDomain bool `json:"is_domain"` // 项目描述信息。 Description string `json:"description"` Links *LinksSelf `json:"links"` // 项目是否可用。 Enabled bool `json:"enabled"` // 项目ID。 Id string `json:"id"` // 如果查询自己创建的项目,则此处返回所属区域的项目ID。 如果查询的是系统内置项目,如cn-north-4,则此处返回账号ID。 ParentId string `json:"parent_id"` // 项目所属账号ID。 DomainId string `json:"domain_id"` // 项目名称。 Name string `json:"name"` }
func (AuthProjectResult) String ¶
func (o AuthProjectResult) String() string
type AuthScope ¶
type AuthScope struct { Domain *AuthScopeDomain `json:"domain,omitempty"` Project *AuthScopeProject `json:"project,omitempty"` }
type AuthScopeDomain ¶
type AuthScopeDomain struct { // IAM用户所属账号ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Id *string `json:"id,omitempty"` // IAM用户所属账号名称,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Name *string `json:"name,omitempty"` }
func (AuthScopeDomain) String ¶
func (o AuthScopeDomain) String() string
type AuthScopeProject ¶
type AuthScopeProject struct { // IAM用户所属账号的项目ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Id *string `json:"id,omitempty"` // IAM用户所属账号的项目名称,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 Name *string `json:"name,omitempty"` }
func (AuthScopeProject) String ¶
func (o AuthScopeProject) String() string
type BindMfaDevice ¶
type BindMfaDevice struct { // 待绑定MFA设备的IAM用户ID。 UserId string `json:"user_id"` // MFA设备序列号。 SerialNumber string `json:"serial_number"` // 第一组验证码。 AuthenticationCodeFirst string `json:"authentication_code_first"` // 第二组验证码。 AuthenticationCodeSecond string `json:"authentication_code_second"` }
func (BindMfaDevice) String ¶
func (o BindMfaDevice) String() string
type Catalog ¶
type Catalog struct { // 终端节点信息。 Endpoints []CatalogEndpoints `json:"endpoints"` // 服务ID。 Id string `json:"id"` // 服务名。 Name string `json:"name"` // 服务类型。 Type string `json:"type"` }
type CatalogEndpoints ¶
type CatalogEndpoints struct { // 终端节点ID。 Id string `json:"id"` // 终端节点平面,public表示为公开。 Interface string `json:"interface"` // 终端节点所属区域。 Region string `json:"region"` // 终端节点所属区域的ID。 RegionId string `json:"region_id"` // 终端节点的地址。 Url string `json:"url"` }
func (CatalogEndpoints) String ¶
func (o CatalogEndpoints) String() string
type CheckAllProjectsPermissionForAgencyRequest ¶
type CheckAllProjectsPermissionForAgencyRequest struct { AgencyId string `json:"agency_id"` DomainId string `json:"domain_id"` RoleId string `json:"role_id"` }
Request Object
func (CheckAllProjectsPermissionForAgencyRequest) String ¶
func (o CheckAllProjectsPermissionForAgencyRequest) String() string
type CheckAllProjectsPermissionForAgencyResponse ¶
type CheckAllProjectsPermissionForAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckAllProjectsPermissionForAgencyResponse) String ¶
func (o CheckAllProjectsPermissionForAgencyResponse) String() string
type CheckDomainPermissionForAgencyRequest ¶
type CheckDomainPermissionForAgencyRequest struct { DomainId string `json:"domain_id"` AgencyId string `json:"agency_id"` RoleId string `json:"role_id"` }
Request Object
func (CheckDomainPermissionForAgencyRequest) String ¶
func (o CheckDomainPermissionForAgencyRequest) String() string
type CheckDomainPermissionForAgencyResponse ¶
type CheckDomainPermissionForAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckDomainPermissionForAgencyResponse) String ¶
func (o CheckDomainPermissionForAgencyResponse) String() string
type CheckProjectPermissionForAgencyRequest ¶
type CheckProjectPermissionForAgencyRequest struct { ProjectId string `json:"project_id"` AgencyId string `json:"agency_id"` RoleId string `json:"role_id"` }
Request Object
func (CheckProjectPermissionForAgencyRequest) String ¶
func (o CheckProjectPermissionForAgencyRequest) String() string
type CheckProjectPermissionForAgencyResponse ¶
type CheckProjectPermissionForAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckProjectPermissionForAgencyResponse) String ¶
func (o CheckProjectPermissionForAgencyResponse) String() string
type Config ¶
type Config struct {
SecurityCompliance *SecurityCompliance `json:"security_compliance"`
}
type ConfigByOption ¶
type ConfigByOption struct { // 密码强度策略的正则表达式。(当option为password_regex时返回) PasswordRegex *string `json:"password_regex,omitempty"` // 密码强度策略的描述。(当option为password_regex_description时返回) PasswordRegexDescription *string `json:"password_regex_description,omitempty"` }
func (ConfigByOption) String ¶
func (o ConfigByOption) String() string
type CreateAgencyCustomPolicyRequest ¶
type CreateAgencyCustomPolicyRequest struct {
Body *CreateAgencyCustomPolicyRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateAgencyCustomPolicyRequest) String ¶
func (o CreateAgencyCustomPolicyRequest) String() string
type CreateAgencyCustomPolicyRequestBody ¶
type CreateAgencyCustomPolicyRequestBody struct {
Role *AgencyPolicyRoleOption `json:"role"`
}
func (CreateAgencyCustomPolicyRequestBody) String ¶
func (o CreateAgencyCustomPolicyRequestBody) String() string
type CreateAgencyCustomPolicyResponse ¶
type CreateAgencyCustomPolicyResponse struct { Role *AgencyPolicyRoleResult `json:"role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAgencyCustomPolicyResponse) String ¶
func (o CreateAgencyCustomPolicyResponse) String() string
type CreateAgencyOption ¶
type CreateAgencyOption struct { // 委托名,长度不大于64位。 Name string `json:"name"` // 委托方账号ID。 DomainId string `json:"domain_id"` // 被委托方账号ID。trust_domain_id和trust_domain_name至少填写一个,若都填写优先校验trust_domain_name。 TrustDomainId *string `json:"trust_domain_id,omitempty"` // 被委托方账号名。trust_domain_id和trust_domain_name至少填写一个,若都填写优先校验trust_domain_name。 TrustDomainName *string `json:"trust_domain_name,omitempty"` // 委托描述信息,长度不大于255位。 Description *string `json:"description,omitempty"` // 委托的期限。取值为“FOREVER\"表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。不填写该参数则默认为\"null\"也表示委托的期限为永久。 Duration *CreateAgencyOptionDuration `json:"duration,omitempty"` }
func (CreateAgencyOption) String ¶
func (o CreateAgencyOption) String() string
type CreateAgencyOptionDuration ¶
type CreateAgencyOptionDuration struct {
// contains filtered or unexported fields
}
func (CreateAgencyOptionDuration) MarshalJSON ¶
func (c CreateAgencyOptionDuration) MarshalJSON() ([]byte, error)
func (*CreateAgencyOptionDuration) UnmarshalJSON ¶
func (c *CreateAgencyOptionDuration) UnmarshalJSON(b []byte) error
type CreateAgencyOptionDurationEnum ¶
type CreateAgencyOptionDurationEnum struct { FOREVER CreateAgencyOptionDuration ONEDAY CreateAgencyOptionDuration }
func GetCreateAgencyOptionDurationEnum ¶
func GetCreateAgencyOptionDurationEnum() CreateAgencyOptionDurationEnum
type CreateAgencyRequest ¶
type CreateAgencyRequest struct {
Body *CreateAgencyRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateAgencyRequest) String ¶
func (o CreateAgencyRequest) String() string
type CreateAgencyRequestBody ¶
type CreateAgencyRequestBody struct {
Agency *CreateAgencyOption `json:"agency"`
}
func (CreateAgencyRequestBody) String ¶
func (o CreateAgencyRequestBody) String() string
type CreateAgencyResponse ¶
type CreateAgencyResponse struct { Agency *AgencyResult `json:"agency,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAgencyResponse) String ¶
func (o CreateAgencyResponse) String() string
type CreateBindingDeviceRequest ¶
type CreateBindingDeviceRequest struct {
Body *BindMfaDevice `json:"body,omitempty"`
}
Request Object
func (CreateBindingDeviceRequest) String ¶
func (o CreateBindingDeviceRequest) String() string
type CreateBindingDeviceResponse ¶
type CreateBindingDeviceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateBindingDeviceResponse) String ¶
func (o CreateBindingDeviceResponse) String() string
type CreateCloudServiceCustomPolicyRequest ¶
type CreateCloudServiceCustomPolicyRequest struct {
Body *CreateCloudServiceCustomPolicyRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateCloudServiceCustomPolicyRequest) String ¶
func (o CreateCloudServiceCustomPolicyRequest) String() string
type CreateCloudServiceCustomPolicyRequestBody ¶
type CreateCloudServiceCustomPolicyRequestBody struct {
Role *ServicePolicyRoleOption `json:"role"`
}
func (CreateCloudServiceCustomPolicyRequestBody) String ¶
func (o CreateCloudServiceCustomPolicyRequestBody) String() string
type CreateCloudServiceCustomPolicyResponse ¶
type CreateCloudServiceCustomPolicyResponse struct { Role *ServicePolicyRoleResult `json:"role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCloudServiceCustomPolicyResponse) String ¶
func (o CreateCloudServiceCustomPolicyResponse) String() string
type CreateCredentialOption ¶
type CreateCredentialOption struct { // 待创建访问秘钥(AK/SK)的IAM用户ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 UserId string `json:"user_id"` // 访问密钥描述信息。 Description *string `json:"description,omitempty"` }
func (CreateCredentialOption) String ¶
func (o CreateCredentialOption) String() string
type CreateCredentialResult ¶
type CreateCredentialResult struct { // 创建访问密钥时间。 CreateTime string `json:"create_time"` // 创建的AK。 Access string `json:"access"` // 创建的SK。 Secret string `json:"secret"` // 访问密钥状态。 Status string `json:"status"` // IAM用户ID。 UserId string `json:"user_id"` // 访问密钥描述信息。 Description string `json:"description"` }
func (CreateCredentialResult) String ¶
func (o CreateCredentialResult) String() string
type CreateLoginTokenRequest ¶
type CreateLoginTokenRequest struct {
Body *CreateLoginTokenRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateLoginTokenRequest) String ¶
func (o CreateLoginTokenRequest) String() string
type CreateLoginTokenRequestBody ¶
type CreateLoginTokenRequestBody struct {
Auth *LoginTokenAuth `json:"auth"`
}
func (CreateLoginTokenRequestBody) String ¶
func (o CreateLoginTokenRequestBody) String() string
type CreateLoginTokenResponse ¶
type CreateLoginTokenResponse struct { Logintoken *LoginToken `json:"logintoken,omitempty"` XSubjectLoginToken *string `json:"X-Subject-LoginToken,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLoginTokenResponse) String ¶
func (o CreateLoginTokenResponse) String() string
type CreateMetadataRequest ¶
type CreateMetadataRequest struct { IdpId string `json:"idp_id"` ProtocolId string `json:"protocol_id"` Body *CreateMetadataRequestBody `json:"body,omitempty"` }
Request Object
func (CreateMetadataRequest) String ¶
func (o CreateMetadataRequest) String() string
type CreateMetadataRequestBody ¶
type CreateMetadataRequestBody struct { // 用户所属账号ID。 DomainId string `json:"domain_id"` // 该字段为标识租户来源字段,默认为空。 XaccountType string `json:"xaccount_type"` // 该字段为用户IdP服务器的Metadata文件的内容。 Metadata string `json:"metadata"` }
func (CreateMetadataRequestBody) String ¶
func (o CreateMetadataRequestBody) String() string
type CreateMetadataResponse ¶
type CreateMetadataResponse struct { // 导入结果信息。 Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMetadataResponse) String ¶
func (o CreateMetadataResponse) String() string
type CreateMfaDevice ¶
type CreateMfaDevice struct { // 设备名称。 Name string `json:"name"` // 创建MFA设备的IAM用户ID。 UserId string `json:"user_id"` }
{ \"virtual_mfa_device\": { \"name\": \"{divice_name}\", \"user_id\": \"{user_id}\" } }
func (CreateMfaDevice) String ¶
func (o CreateMfaDevice) String() string
type CreateMfaDeviceReq ¶
type CreateMfaDeviceReq struct {
VirtualMfaDevice *CreateMfaDevice `json:"virtual_mfa_device"`
}
func (CreateMfaDeviceReq) String ¶
func (o CreateMfaDeviceReq) String() string
type CreateMfaDeviceRequest ¶
type CreateMfaDeviceRequest struct {
Body *CreateMfaDeviceReq `json:"body,omitempty"`
}
Request Object
func (CreateMfaDeviceRequest) String ¶
func (o CreateMfaDeviceRequest) String() string
type CreateMfaDeviceRespon ¶
type CreateMfaDeviceRespon struct { // MFA设备序列号。 SerialNumber string `json:"serial_number"` // 密钥信息,用于第三方生成图片验证码。 Base32StringSeed string `json:"base32_string_seed"` }
MFA设备密钥。
func (CreateMfaDeviceRespon) String ¶
func (o CreateMfaDeviceRespon) String() string
type CreateMfaDeviceResponse ¶
type CreateMfaDeviceResponse struct { VirtualMfaDevice *CreateMfaDeviceRespon `json:"virtual_mfa_device,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMfaDeviceResponse) String ¶
func (o CreateMfaDeviceResponse) String() string
type CreatePermanentAccessKeyRequest ¶
type CreatePermanentAccessKeyRequest struct {
Body *CreatePermanentAccessKeyRequestBody `json:"body,omitempty"`
}
Request Object
func (CreatePermanentAccessKeyRequest) String ¶
func (o CreatePermanentAccessKeyRequest) String() string
type CreatePermanentAccessKeyRequestBody ¶
type CreatePermanentAccessKeyRequestBody struct {
Credential *CreateCredentialOption `json:"credential"`
}
func (CreatePermanentAccessKeyRequestBody) String ¶
func (o CreatePermanentAccessKeyRequestBody) String() string
type CreatePermanentAccessKeyResponse ¶
type CreatePermanentAccessKeyResponse struct { Credential *CreateCredentialResult `json:"credential,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePermanentAccessKeyResponse) String ¶
func (o CreatePermanentAccessKeyResponse) String() string
type CreateTemporaryAccessKeyByAgencyRequest ¶
type CreateTemporaryAccessKeyByAgencyRequest struct {
Body *CreateTemporaryAccessKeyByAgencyRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateTemporaryAccessKeyByAgencyRequest) String ¶
func (o CreateTemporaryAccessKeyByAgencyRequest) String() string
type CreateTemporaryAccessKeyByAgencyRequestBody ¶
type CreateTemporaryAccessKeyByAgencyRequestBody struct {
Auth *AgencyAuth `json:"auth"`
}
func (CreateTemporaryAccessKeyByAgencyRequestBody) String ¶
func (o CreateTemporaryAccessKeyByAgencyRequestBody) String() string
type CreateTemporaryAccessKeyByAgencyResponse ¶
type CreateTemporaryAccessKeyByAgencyResponse struct { Credential *Credential `json:"credential,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTemporaryAccessKeyByAgencyResponse) String ¶
func (o CreateTemporaryAccessKeyByAgencyResponse) String() string
type CreateTemporaryAccessKeyByTokenRequest ¶
type CreateTemporaryAccessKeyByTokenRequest struct {
Body *CreateTemporaryAccessKeyByTokenRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateTemporaryAccessKeyByTokenRequest) String ¶
func (o CreateTemporaryAccessKeyByTokenRequest) String() string
type CreateTemporaryAccessKeyByTokenRequestBody ¶
type CreateTemporaryAccessKeyByTokenRequestBody struct {
Auth *TokenAuth `json:"auth"`
}
func (CreateTemporaryAccessKeyByTokenRequestBody) String ¶
func (o CreateTemporaryAccessKeyByTokenRequestBody) String() string
type CreateTemporaryAccessKeyByTokenResponse ¶
type CreateTemporaryAccessKeyByTokenResponse struct { Credential *Credential `json:"credential,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTemporaryAccessKeyByTokenResponse) String ¶
func (o CreateTemporaryAccessKeyByTokenResponse) String() string
type CreateUnscopeTokenByIdpInitiatedRequest ¶
type CreateUnscopeTokenByIdpInitiatedRequest struct { XIdpId string `json:"X-Idp-Id"` Body *interface{} `json:"body,omitempty"` }
Request Object
func (CreateUnscopeTokenByIdpInitiatedRequest) String ¶
func (o CreateUnscopeTokenByIdpInitiatedRequest) String() string
type CreateUnscopeTokenByIdpInitiatedResponse ¶
type CreateUnscopeTokenByIdpInitiatedResponse struct { Token *IdpToken `json:"token,omitempty"` XSubjectToken *string `json:"X-Subject-Token,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateUnscopeTokenByIdpInitiatedResponse) String ¶
func (o CreateUnscopeTokenByIdpInitiatedResponse) String() string
type CreateUserOption ¶
type CreateUserOption struct { // IAM用户名。长度5~32字符之间,首位不能为数字,特殊字符只能包含下划线“_”、中划线“-”和空格。 Name string `json:"name"` // IAM用户所属的账号ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 DomainId string `json:"domain_id"` // IAM用户密码。 - 系统默认密码最小长度为6字符,在6-32字符之间支持用户自定义密码长度。 - 至少包含以下四种字符中的两种: 大写字母、小写字母、数字和特殊字符。 - 不能包含手机号和邮箱。 - 必须满足账户设置中密码策略的要求。 Password *string `json:"password,omitempty"` // IAM用户邮箱,需符合邮箱格式,长度小于等于255字符。 Email *string `json:"email,omitempty"` // 国家码。必须与手机号同时存在。中国大陆为“0086”。 Areacode *string `json:"areacode,omitempty"` // IAM用户手机号,纯数字,长度小于等于32字符。必须与国家码同时存在。 Phone *string `json:"phone,omitempty"` // 是否启用IAM用户。true为启用,false为停用,默认为true。 Enabled *bool `json:"enabled,omitempty"` // IAM用户首次登录是否重置密码,默认需要重置。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户在外部系统中的类型。长度小于等于64字符。xuser_type如果存在,则需要与同一租户中的xaccount_type、xdomain_type校验,须与xuser_id同时存在。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserType *string `json:"xuser_type,omitempty"` // IAM用户在外部系统中的ID。长度小于等于128字符,须与xuser_type同时存在。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserId *string `json:"xuser_id,omitempty"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` }
func (CreateUserOption) String ¶
func (o CreateUserOption) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
Body *CreateUserRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateUserRequest) String ¶
func (o CreateUserRequest) String() string
type CreateUserRequestBody ¶
type CreateUserRequestBody struct {
User *CreateUserOption `json:"user"`
}
func (CreateUserRequestBody) String ¶
func (o CreateUserRequestBody) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { User *CreateUserResult `json:"user,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateUserResponse) String ¶
func (o CreateUserResponse) String() string
type CreateUserResult ¶
type CreateUserResult struct { // IAM用户状态信息。 Status *int32 `json:"status,omitempty"` // IAM用户首次登录是否重置密码。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户在外部系统中的ID。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserId *string `json:"xuser_id,omitempty"` // 用户在外部系统中的类型。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserType *string `json:"xuser_type,omitempty"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户名,长度5~32字符之间,首位不能为数字,特殊字符只能包含下划线“_”、中划线“-”和空格。 Name string `json:"name"` // IAM用户手机号,纯数字,长度小于等于32字符。必须与国家码同时存在。 Phone *string `json:"phone,omitempty"` // IAM用户是否为账号管理员。 IsDomainOwner *string `json:"is_domain_owner,omitempty"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // 是否启用IAM用户。true为启用,false为停用,默认为true。 Enabled bool `json:"enabled"` // 国家码。中国大陆为“0086”。 Areacode *string `json:"areacode,omitempty"` // IAM用户邮箱。 Email *string `json:"email,omitempty"` // IAM用户创建时间。 CreateTime *string `json:"create_time,omitempty"` // 运营主体的客户编码。 XdomainId *string `json:"xdomain_id,omitempty"` // 运营主体。 XdomainType *string `json:"xdomain_type,omitempty"` // IAM用户ID。 Id string `json:"id"` // 密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt *string `json:"password_expires_at,omitempty"` }
func (CreateUserResult) String ¶
func (o CreateUserResult) String() string
type Credential ¶
type Credential struct { // AK/SK和securitytoken的过期时间。 ExpiresAt string `json:"expires_at"` // 获取的AK。 Access string `json:"access"` // 获取的SK。 Secret string `json:"secret"` // securitytoken是将所获的AK、SK等信息进行加密后的字符串。 Securitytoken string `json:"securitytoken"` }
func (Credential) String ¶
func (o Credential) String() string
type Credentials ¶
type Credentials struct { // IAM用户ID。 UserId string `json:"user_id"` // 查询的AK。 Access string `json:"access"` // 访问密钥状态。 Status string `json:"status"` // 访问密钥创建时间。 CreateTime string `json:"create_time"` // 访问密钥描述信息。 Description string `json:"description"` }
func (Credentials) String ¶
func (o Credentials) String() string
type DeleteAgencyRequest ¶
type DeleteAgencyRequest struct {
AgencyId string `json:"agency_id"`
}
Request Object
func (DeleteAgencyRequest) String ¶
func (o DeleteAgencyRequest) String() string
type DeleteAgencyResponse ¶
type DeleteAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAgencyResponse) String ¶
func (o DeleteAgencyResponse) String() string
type DeleteBindingDeviceRequest ¶
type DeleteBindingDeviceRequest struct {
Body *UnbindMfaDevice `json:"body,omitempty"`
}
Request Object
func (DeleteBindingDeviceRequest) String ¶
func (o DeleteBindingDeviceRequest) String() string
type DeleteBindingDeviceResponse ¶
type DeleteBindingDeviceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBindingDeviceResponse) String ¶
func (o DeleteBindingDeviceResponse) String() string
type DeleteCustomPolicyRequest ¶
type DeleteCustomPolicyRequest struct {
RoleId string `json:"role_id"`
}
Request Object
func (DeleteCustomPolicyRequest) String ¶
func (o DeleteCustomPolicyRequest) String() string
type DeleteCustomPolicyResponse ¶
type DeleteCustomPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteCustomPolicyResponse) String ¶
func (o DeleteCustomPolicyResponse) String() string
type DeleteDomainGroupInheritedRoleRequest ¶
type DeleteDomainGroupInheritedRoleRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (DeleteDomainGroupInheritedRoleRequest) String ¶
func (o DeleteDomainGroupInheritedRoleRequest) String() string
type DeleteDomainGroupInheritedRoleResponse ¶
type DeleteDomainGroupInheritedRoleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDomainGroupInheritedRoleResponse) String ¶
func (o DeleteDomainGroupInheritedRoleResponse) String() string
type DeleteMfaDeviceRequest ¶
type DeleteMfaDeviceRequest struct { UserId string `json:"user_id"` SerialNumber string `json:"serial_number"` }
Request Object
func (DeleteMfaDeviceRequest) String ¶
func (o DeleteMfaDeviceRequest) String() string
type DeleteMfaDeviceResponse ¶
type DeleteMfaDeviceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteMfaDeviceResponse) String ¶
func (o DeleteMfaDeviceResponse) String() string
type DeletePermanentAccessKeyRequest ¶
type DeletePermanentAccessKeyRequest struct {
AccessKey string `json:"access_key"`
}
Request Object
func (DeletePermanentAccessKeyRequest) String ¶
func (o DeletePermanentAccessKeyRequest) String() string
type DeletePermanentAccessKeyResponse ¶
type DeletePermanentAccessKeyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeletePermanentAccessKeyResponse) String ¶
func (o DeletePermanentAccessKeyResponse) String() string
type Domains ¶
type Endpoint ¶
type Endpoint struct { // 终端节点所属服务的ID。 ServiceId string `json:"service_id"` // 终端节点所属区域的ID。 RegionId string `json:"region_id"` Links *Links `json:"links"` // 终端节点ID。 Id string `json:"id"` // 终端节点平面。 Interface string `json:"interface"` // 终端节点所属区域。 Region string `json:"region"` // 终端节点的地址。 Url string `json:"url"` // 终端节点是否可用。 Enabled bool `json:"enabled"` }
type IdentityAssumerole ¶
type IdentityAssumerole struct { // 委托名。 AgencyName string `json:"agency_name"` // 委托方的账号ID。“domain_id”与“domain_name”至少填写一个。 DomainId *string `json:"domain_id,omitempty"` // 委托方的账号名。“domain_id”与“domain_name”至少填写一个。 DomainName *string `json:"domain_name,omitempty"` // AK/SK和securitytoken的有效期,时间单位为秒。取值范围:15min ~ 24h ,默认为15min。 DurationSeconds *int32 `json:"duration_seconds,omitempty"` SessionUser *AssumeroleSessionuser `json:"session_user,omitempty"` }
func (IdentityAssumerole) String ¶
func (o IdentityAssumerole) String() string
type IdentityToken ¶
type IdentityToken struct { // token的ID。与请求头中的X-Auth-Token填写其一即可,若都填写,优先校验X-Auth-Token。 Id *string `json:"id,omitempty"` // AK/SK和securitytoken的有效期,时间单位为秒。取值范围:15min ~ 24h ,默认为15min。 DurationSeconds *int32 `json:"duration_seconds,omitempty"` }
func (IdentityToken) String ¶
func (o IdentityToken) String() string
type IdentityproviderOption ¶
type IdentityproviderOption struct { // 身份提供商描述信息。 Description *string `json:"description,omitempty"` // 身份提供商是否启用,true为启用,false为停用,默认为false。 Enabled *bool `json:"enabled,omitempty"` }
func (IdentityproviderOption) String ¶
func (o IdentityproviderOption) String() string
type IdentityprovidersLinks ¶
type IdentityprovidersLinks struct { // 身份提供商的资源链接地址。 Self string `json:"self"` // 协议的资源链接地址。 Protocols string `json:"protocols"` }
func (IdentityprovidersLinks) String ¶
func (o IdentityprovidersLinks) String() string
type IdentityprovidersResult ¶
type IdentityprovidersResult struct { // 身份提供商ID。 Id string `json:"id"` // 身份提供商描述信息。 Description string `json:"description"` // 身份提供商是否启用,true为启用,false为停用,默认为false。 Enabled bool `json:"enabled"` // 身份提供商的联邦用户ID列表。 RemoteIds []string `json:"remote_ids"` Links *IdentityprovidersLinks `json:"links"` }
func (IdentityprovidersResult) String ¶
func (o IdentityprovidersResult) String() string
type IdpToken ¶
type IdpToken struct { // token产生时间。 IssuedAt string `json:"issued_at"` // token到期时间。 ExpiresAt string `json:"expires_at"` // 获取token的方式。 Methods []string `json:"methods"` User *UnscopedTokenUser `json:"user"` }
type KeystoneAddUserToGroupRequest ¶
type KeystoneAddUserToGroupRequest struct { GroupId string `json:"group_id"` UserId string `json:"user_id"` }
Request Object
func (KeystoneAddUserToGroupRequest) String ¶
func (o KeystoneAddUserToGroupRequest) String() string
type KeystoneAddUserToGroupResponse ¶
type KeystoneAddUserToGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneAddUserToGroupResponse) String ¶
func (o KeystoneAddUserToGroupResponse) String() string
type KeystoneAssociateGroupWithDomainPermissionRequest ¶
type KeystoneAssociateGroupWithDomainPermissionRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneAssociateGroupWithDomainPermissionRequest) String ¶
func (o KeystoneAssociateGroupWithDomainPermissionRequest) String() string
type KeystoneAssociateGroupWithDomainPermissionResponse ¶
type KeystoneAssociateGroupWithDomainPermissionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneAssociateGroupWithDomainPermissionResponse) String ¶
func (o KeystoneAssociateGroupWithDomainPermissionResponse) String() string
type KeystoneAssociateGroupWithProjectPermissionRequest ¶
type KeystoneAssociateGroupWithProjectPermissionRequest struct { ProjectId string `json:"project_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneAssociateGroupWithProjectPermissionRequest) String ¶
func (o KeystoneAssociateGroupWithProjectPermissionRequest) String() string
type KeystoneAssociateGroupWithProjectPermissionResponse ¶
type KeystoneAssociateGroupWithProjectPermissionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneAssociateGroupWithProjectPermissionResponse) String ¶
func (o KeystoneAssociateGroupWithProjectPermissionResponse) String() string
type KeystoneCheckDomainPermissionForGroupRequest ¶
type KeystoneCheckDomainPermissionForGroupRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneCheckDomainPermissionForGroupRequest) String ¶
func (o KeystoneCheckDomainPermissionForGroupRequest) String() string
type KeystoneCheckDomainPermissionForGroupResponse ¶
type KeystoneCheckDomainPermissionForGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneCheckDomainPermissionForGroupResponse) String ¶
func (o KeystoneCheckDomainPermissionForGroupResponse) String() string
type KeystoneCheckProjectPermissionForGroupRequest ¶
type KeystoneCheckProjectPermissionForGroupRequest struct { ProjectId string `json:"project_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneCheckProjectPermissionForGroupRequest) String ¶
func (o KeystoneCheckProjectPermissionForGroupRequest) String() string
type KeystoneCheckProjectPermissionForGroupResponse ¶
type KeystoneCheckProjectPermissionForGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneCheckProjectPermissionForGroupResponse) String ¶
func (o KeystoneCheckProjectPermissionForGroupResponse) String() string
type KeystoneCheckUserInGroupRequest ¶
type KeystoneCheckUserInGroupRequest struct { GroupId string `json:"group_id"` UserId string `json:"user_id"` }
Request Object
func (KeystoneCheckUserInGroupRequest) String ¶
func (o KeystoneCheckUserInGroupRequest) String() string
type KeystoneCheckUserInGroupResponse ¶
type KeystoneCheckUserInGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneCheckUserInGroupResponse) String ¶
func (o KeystoneCheckUserInGroupResponse) String() string
type KeystoneCheckroleForGroupRequest ¶
type KeystoneCheckroleForGroupRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneCheckroleForGroupRequest) String ¶
func (o KeystoneCheckroleForGroupRequest) String() string
type KeystoneCheckroleForGroupResponse ¶
type KeystoneCheckroleForGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneCheckroleForGroupResponse) String ¶
func (o KeystoneCheckroleForGroupResponse) String() string
type KeystoneCreateAgencyTokenRequest ¶
type KeystoneCreateAgencyTokenRequest struct { Nocatalog *string `json:"nocatalog,omitempty"` Body *KeystoneCreateAgencyTokenRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneCreateAgencyTokenRequest) String ¶
func (o KeystoneCreateAgencyTokenRequest) String() string
type KeystoneCreateAgencyTokenRequestBody ¶
type KeystoneCreateAgencyTokenRequestBody struct {
Auth *AgencyTokenAuth `json:"auth"`
}
func (KeystoneCreateAgencyTokenRequestBody) String ¶
func (o KeystoneCreateAgencyTokenRequestBody) String() string
type KeystoneCreateAgencyTokenResponse ¶
type KeystoneCreateAgencyTokenResponse struct { Token *AgencyTokenResult `json:"token,omitempty"` XSubjectToken *string `json:"X-Subject-Token,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateAgencyTokenResponse) String ¶
func (o KeystoneCreateAgencyTokenResponse) String() string
type KeystoneCreateGroupOption ¶
type KeystoneCreateGroupOption struct { // 用户组描述信息,长度小于等于255字节。 Description *string `json:"description,omitempty"` // 用户组所属账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 DomainId *string `json:"domain_id,omitempty"` // 用户组名,长度小于等于64字节。 Name string `json:"name"` }
func (KeystoneCreateGroupOption) String ¶
func (o KeystoneCreateGroupOption) String() string
type KeystoneCreateGroupRequest ¶
type KeystoneCreateGroupRequest struct {
Body *KeystoneCreateGroupRequestBody `json:"body,omitempty"`
}
Request Object
func (KeystoneCreateGroupRequest) String ¶
func (o KeystoneCreateGroupRequest) String() string
type KeystoneCreateGroupRequestBody ¶
type KeystoneCreateGroupRequestBody struct {
Group *KeystoneCreateGroupOption `json:"group"`
}
func (KeystoneCreateGroupRequestBody) String ¶
func (o KeystoneCreateGroupRequestBody) String() string
type KeystoneCreateGroupResponse ¶
type KeystoneCreateGroupResponse struct { Group *KeystoneGroupResultWithLinksSelf `json:"group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateGroupResponse) String ¶
func (o KeystoneCreateGroupResponse) String() string
type KeystoneCreateIdentityProviderRequest ¶
type KeystoneCreateIdentityProviderRequest struct { Id string `json:"id"` Body *KeystoneCreateIdentityProviderRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneCreateIdentityProviderRequest) String ¶
func (o KeystoneCreateIdentityProviderRequest) String() string
type KeystoneCreateIdentityProviderRequestBody ¶
type KeystoneCreateIdentityProviderRequestBody struct {
IdentityProvider *IdentityproviderOption `json:"identity_provider"`
}
func (KeystoneCreateIdentityProviderRequestBody) String ¶
func (o KeystoneCreateIdentityProviderRequestBody) String() string
type KeystoneCreateIdentityProviderResponse ¶
type KeystoneCreateIdentityProviderResponse struct { IdentityProvider *IdentityprovidersResult `json:"identity_provider,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateIdentityProviderResponse) String ¶
func (o KeystoneCreateIdentityProviderResponse) String() string
type KeystoneCreateMappingRequest ¶
type KeystoneCreateMappingRequest struct { Id string `json:"id"` Body *KeystoneCreateMappingRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneCreateMappingRequest) String ¶
func (o KeystoneCreateMappingRequest) String() string
type KeystoneCreateMappingRequestBody ¶
type KeystoneCreateMappingRequestBody struct {
Mapping *MappingOption `json:"mapping"`
}
func (KeystoneCreateMappingRequestBody) String ¶
func (o KeystoneCreateMappingRequestBody) String() string
type KeystoneCreateMappingResponse ¶
type KeystoneCreateMappingResponse struct { Mapping *MappingResult `json:"mapping,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateMappingResponse) String ¶
func (o KeystoneCreateMappingResponse) String() string
type KeystoneCreateProjectOption ¶
type KeystoneCreateProjectOption struct { // 项目名称。必须以存在的\"区域ID_\"开头,长度小于等于64字符。例如区域“华北-北京一”的区域ID为“cn-north-1”,在其下创建项目时,项目名应填“cn-north-1_IAMProject” Name string `json:"name"` // 区域对应的项目ID,例如区域“华北-北京一”区域对应的项目ID为:04dd42abe48026ad2fa3c01ad7fa.....,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 ParentId string `json:"parent_id"` // 项目所属账号ID。 DomainId *string `json:"domain_id,omitempty"` // 项目描述信息,长度小于等于255字符。 Description *string `json:"description,omitempty"` }
项目信息。
func (KeystoneCreateProjectOption) String ¶
func (o KeystoneCreateProjectOption) String() string
type KeystoneCreateProjectRequest ¶
type KeystoneCreateProjectRequest struct {
Body *KeystoneCreateProjectRequestBody `json:"body,omitempty"`
}
Request Object
func (KeystoneCreateProjectRequest) String ¶
func (o KeystoneCreateProjectRequest) String() string
type KeystoneCreateProjectRequestBody ¶
type KeystoneCreateProjectRequestBody struct {
Project *KeystoneCreateProjectOption `json:"project"`
}
创建项目的请求体。
func (KeystoneCreateProjectRequestBody) String ¶
func (o KeystoneCreateProjectRequestBody) String() string
type KeystoneCreateProjectResponse ¶
type KeystoneCreateProjectResponse struct { Project *AuthProjectResult `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateProjectResponse) String ¶
func (o KeystoneCreateProjectResponse) String() string
type KeystoneCreateProtocolRequest ¶
type KeystoneCreateProtocolRequest struct { IdpId string `json:"idp_id"` ProtocolId string `json:"protocol_id"` Body *KeystoneCreateProtocolRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneCreateProtocolRequest) String ¶
func (o KeystoneCreateProtocolRequest) String() string
type KeystoneCreateProtocolRequestBody ¶
type KeystoneCreateProtocolRequestBody struct {
Protocol *ProtocolOption `json:"protocol"`
}
func (KeystoneCreateProtocolRequestBody) String ¶
func (o KeystoneCreateProtocolRequestBody) String() string
type KeystoneCreateProtocolResponse ¶
type KeystoneCreateProtocolResponse struct { Protocol *ProtocolResult `json:"protocol,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateProtocolResponse) String ¶
func (o KeystoneCreateProtocolResponse) String() string
type KeystoneCreateScopedTokenRequest ¶
type KeystoneCreateScopedTokenRequest struct {
Body *KeystoneCreateScopedTokenRequestBody `json:"body,omitempty"`
}
Request Object
func (KeystoneCreateScopedTokenRequest) String ¶
func (o KeystoneCreateScopedTokenRequest) String() string
type KeystoneCreateScopedTokenRequestBody ¶
type KeystoneCreateScopedTokenRequestBody struct {
Auth *ScopedTokenAuth `json:"auth"`
}
func (KeystoneCreateScopedTokenRequestBody) String ¶
func (o KeystoneCreateScopedTokenRequestBody) String() string
type KeystoneCreateScopedTokenResponse ¶
type KeystoneCreateScopedTokenResponse struct { Token *ScopeTokenResult `json:"token,omitempty"` XSubjectToken *string `json:"X-Subject-Token,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateScopedTokenResponse) String ¶
func (o KeystoneCreateScopedTokenResponse) String() string
type KeystoneCreateUserOption ¶
type KeystoneCreateUserOption struct { // IAM用户名,长度5~32之间,首位不能为数字,特殊字符只能包含下划线“_”、中划线“-”和空格。 Name string `json:"name"` // IAM用户所属账号ID。 DomainId *string `json:"domain_id,omitempty"` // IAM用户密码。 - 系统默认密码最小长度为6位字符,在6-32位之间支持用户自定义密码长度。 - 至少包含以下四种字符中的两种: 大写字母、小写字母、数字和特殊字符。 - 不能包含手机号和邮箱。 - 必须满足账户设置中密码策略的要求。 Password *string `json:"password,omitempty"` // 是否启用IAM用户。true为启用,false为停用,默认为true。 Enabled *bool `json:"enabled,omitempty"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` }
func (KeystoneCreateUserOption) String ¶
func (o KeystoneCreateUserOption) String() string
type KeystoneCreateUserRequest ¶
type KeystoneCreateUserRequest struct {
Body *KeystoneCreateUserRequestBody `json:"body,omitempty"`
}
Request Object
func (KeystoneCreateUserRequest) String ¶
func (o KeystoneCreateUserRequest) String() string
type KeystoneCreateUserRequestBody ¶
type KeystoneCreateUserRequestBody struct {
User *KeystoneCreateUserOption `json:"user"`
}
func (KeystoneCreateUserRequestBody) String ¶
func (o KeystoneCreateUserRequestBody) String() string
type KeystoneCreateUserResponse ¶
type KeystoneCreateUserResponse struct { User *KeystoneCreateUserResult `json:"user,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateUserResponse) String ¶
func (o KeystoneCreateUserResponse) String() string
type KeystoneCreateUserResult ¶
type KeystoneCreateUserResult struct { // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // IAM用户名。 Name string `json:"name"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` Links *LinksSelf `json:"links"` // IAM用户ID。 Id string `json:"id"` // IAM用户是否启用。true表示启用,false表示停用,默认为true。 Enabled bool `json:"enabled"` }
func (KeystoneCreateUserResult) String ¶
func (o KeystoneCreateUserResult) String() string
type KeystoneCreateUserTokenByPasswordAndMfaRequest ¶
type KeystoneCreateUserTokenByPasswordAndMfaRequest struct { Nocatalog *string `json:"nocatalog,omitempty"` Body *KeystoneCreateUserTokenByPasswordAndMfaRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneCreateUserTokenByPasswordAndMfaRequest) String ¶
func (o KeystoneCreateUserTokenByPasswordAndMfaRequest) String() string
type KeystoneCreateUserTokenByPasswordAndMfaRequestBody ¶
type KeystoneCreateUserTokenByPasswordAndMfaRequestBody struct {
Auth *MfaAuth `json:"auth"`
}
func (KeystoneCreateUserTokenByPasswordAndMfaRequestBody) String ¶
func (o KeystoneCreateUserTokenByPasswordAndMfaRequestBody) String() string
type KeystoneCreateUserTokenByPasswordAndMfaResponse ¶
type KeystoneCreateUserTokenByPasswordAndMfaResponse struct { Token *TokenResult `json:"token,omitempty"` XSubjectToken *string `json:"X-Subject-Token,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateUserTokenByPasswordAndMfaResponse) String ¶
func (o KeystoneCreateUserTokenByPasswordAndMfaResponse) String() string
type KeystoneCreateUserTokenByPasswordRequest ¶
type KeystoneCreateUserTokenByPasswordRequest struct { Nocatalog *string `json:"nocatalog,omitempty"` Body *KeystoneCreateUserTokenByPasswordRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneCreateUserTokenByPasswordRequest) String ¶
func (o KeystoneCreateUserTokenByPasswordRequest) String() string
type KeystoneCreateUserTokenByPasswordRequestBody ¶
type KeystoneCreateUserTokenByPasswordRequestBody struct {
Auth *PwdAuth `json:"auth"`
}
func (KeystoneCreateUserTokenByPasswordRequestBody) String ¶
func (o KeystoneCreateUserTokenByPasswordRequestBody) String() string
type KeystoneCreateUserTokenByPasswordResponse ¶
type KeystoneCreateUserTokenByPasswordResponse struct { Token *TokenResult `json:"token,omitempty"` XSubjectToken *string `json:"X-Subject-Token,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneCreateUserTokenByPasswordResponse) String ¶
func (o KeystoneCreateUserTokenByPasswordResponse) String() string
type KeystoneDeleteGroupRequest ¶
type KeystoneDeleteGroupRequest struct {
GroupId string `json:"group_id"`
}
Request Object
func (KeystoneDeleteGroupRequest) String ¶
func (o KeystoneDeleteGroupRequest) String() string
type KeystoneDeleteGroupResponse ¶
type KeystoneDeleteGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneDeleteGroupResponse) String ¶
func (o KeystoneDeleteGroupResponse) String() string
type KeystoneDeleteIdentityProviderRequest ¶
type KeystoneDeleteIdentityProviderRequest struct {
Id string `json:"id"`
}
Request Object
func (KeystoneDeleteIdentityProviderRequest) String ¶
func (o KeystoneDeleteIdentityProviderRequest) String() string
type KeystoneDeleteIdentityProviderResponse ¶
type KeystoneDeleteIdentityProviderResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneDeleteIdentityProviderResponse) String ¶
func (o KeystoneDeleteIdentityProviderResponse) String() string
type KeystoneDeleteMappingRequest ¶
type KeystoneDeleteMappingRequest struct {
Id string `json:"id"`
}
Request Object
func (KeystoneDeleteMappingRequest) String ¶
func (o KeystoneDeleteMappingRequest) String() string
type KeystoneDeleteMappingResponse ¶
type KeystoneDeleteMappingResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneDeleteMappingResponse) String ¶
func (o KeystoneDeleteMappingResponse) String() string
type KeystoneDeleteProtocolRequest ¶
type KeystoneDeleteProtocolRequest struct { IdpId string `json:"idp_id"` ProtocolId string `json:"protocol_id"` }
Request Object
func (KeystoneDeleteProtocolRequest) String ¶
func (o KeystoneDeleteProtocolRequest) String() string
type KeystoneDeleteProtocolResponse ¶
type KeystoneDeleteProtocolResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneDeleteProtocolResponse) String ¶
func (o KeystoneDeleteProtocolResponse) String() string
type KeystoneDeleteUserRequest ¶
type KeystoneDeleteUserRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (KeystoneDeleteUserRequest) String ¶
func (o KeystoneDeleteUserRequest) String() string
type KeystoneDeleteUserResponse ¶
type KeystoneDeleteUserResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneDeleteUserResponse) String ¶
func (o KeystoneDeleteUserResponse) String() string
type KeystoneGroupResult ¶
type KeystoneGroupResult struct { // 用户组描述信息。 Description string `json:"description"` // 用户组ID。 Id string `json:"id"` // 用户组所属账号ID。 DomainId string `json:"domain_id"` // 用户组名称。 Name string `json:"name"` Links *Links `json:"links"` // 用户组创建时间。 CreateTime int64 `json:"create_time"` }
func (KeystoneGroupResult) String ¶
func (o KeystoneGroupResult) String() string
type KeystoneGroupResultWithLinksSelf ¶
type KeystoneGroupResultWithLinksSelf struct { // 用户组描述信息。 Description string `json:"description"` // 用户组ID。 Id string `json:"id"` // 用户组所属账号ID。 DomainId string `json:"domain_id"` // 用户组名称。 Name string `json:"name"` Links *LinksSelf `json:"links"` // 用户组创建时间。 CreateTime int64 `json:"create_time"` }
func (KeystoneGroupResultWithLinksSelf) String ¶
func (o KeystoneGroupResultWithLinksSelf) String() string
type KeystoneListAllProjectPermissionsForGroupRequest ¶
type KeystoneListAllProjectPermissionsForGroupRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` }
Request Object
func (KeystoneListAllProjectPermissionsForGroupRequest) String ¶
func (o KeystoneListAllProjectPermissionsForGroupRequest) String() string
type KeystoneListAllProjectPermissionsForGroupResponse ¶
type KeystoneListAllProjectPermissionsForGroupResponse struct { Links *Links `json:"links,omitempty"` // 权限信息列表。 Roles *[]RoleResult `json:"roles,omitempty"` // 在查询参数存在domain_id时,返回自定义策略总数 TotalNumber *int32 `json:"total_number,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListAllProjectPermissionsForGroupResponse) String ¶
func (o KeystoneListAllProjectPermissionsForGroupResponse) String() string
type KeystoneListAuthDomainsRequest ¶
type KeystoneListAuthDomainsRequest struct { }
Request Object
func (KeystoneListAuthDomainsRequest) String ¶
func (o KeystoneListAuthDomainsRequest) String() string
type KeystoneListAuthDomainsResponse ¶
type KeystoneListAuthDomainsResponse struct { // 账号信息列表。 Domains *[]Domains `json:"domains,omitempty"` Links *LinksSelf `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListAuthDomainsResponse) String ¶
func (o KeystoneListAuthDomainsResponse) String() string
type KeystoneListAuthProjectsRequest ¶
type KeystoneListAuthProjectsRequest struct { }
Request Object
func (KeystoneListAuthProjectsRequest) String ¶
func (o KeystoneListAuthProjectsRequest) String() string
type KeystoneListAuthProjectsResponse ¶
type KeystoneListAuthProjectsResponse struct { Links *LinksSelf `json:"links,omitempty"` // 项目信息列表。 Projects *[]AuthProjectResult `json:"projects,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListAuthProjectsResponse) String ¶
func (o KeystoneListAuthProjectsResponse) String() string
type KeystoneListDomainPermissionsForGroupRequest ¶
type KeystoneListDomainPermissionsForGroupRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` }
Request Object
func (KeystoneListDomainPermissionsForGroupRequest) String ¶
func (o KeystoneListDomainPermissionsForGroupRequest) String() string
type KeystoneListDomainPermissionsForGroupResponse ¶
type KeystoneListDomainPermissionsForGroupResponse struct { Links *Links `json:"links,omitempty"` // 权限信息列表。 Roles *[]RoleResult `json:"roles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListDomainPermissionsForGroupResponse) String ¶
func (o KeystoneListDomainPermissionsForGroupResponse) String() string
type KeystoneListEndpointsRequest ¶
type KeystoneListEndpointsRequest struct { Interface *KeystoneListEndpointsRequestInterface `json:"interface,omitempty"` ServiceId *string `json:"service_id,omitempty"` }
Request Object
func (KeystoneListEndpointsRequest) String ¶
func (o KeystoneListEndpointsRequest) String() string
type KeystoneListEndpointsRequestInterface ¶
type KeystoneListEndpointsRequestInterface struct {
// contains filtered or unexported fields
}
func (KeystoneListEndpointsRequestInterface) MarshalJSON ¶
func (c KeystoneListEndpointsRequestInterface) MarshalJSON() ([]byte, error)
func (*KeystoneListEndpointsRequestInterface) UnmarshalJSON ¶
func (c *KeystoneListEndpointsRequestInterface) UnmarshalJSON(b []byte) error
type KeystoneListEndpointsRequestInterfaceEnum ¶
type KeystoneListEndpointsRequestInterfaceEnum struct { PUBLIC KeystoneListEndpointsRequestInterface INTERNAL KeystoneListEndpointsRequestInterface ADMIN KeystoneListEndpointsRequestInterface }
func GetKeystoneListEndpointsRequestInterfaceEnum ¶
func GetKeystoneListEndpointsRequestInterfaceEnum() KeystoneListEndpointsRequestInterfaceEnum
type KeystoneListEndpointsResponse ¶
type KeystoneListEndpointsResponse struct { Links *Links `json:"links,omitempty"` // 终端节点信息列表。 Endpoints *[]Endpoint `json:"endpoints,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListEndpointsResponse) String ¶
func (o KeystoneListEndpointsResponse) String() string
type KeystoneListGroupsForUserRequest ¶
type KeystoneListGroupsForUserRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (KeystoneListGroupsForUserRequest) String ¶
func (o KeystoneListGroupsForUserRequest) String() string
type KeystoneListGroupsForUserResponse ¶
type KeystoneListGroupsForUserResponse struct { // 用户组信息列表。 Groups *[]KeystoneGroupResult `json:"groups,omitempty"` Links *Links `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListGroupsForUserResponse) String ¶
func (o KeystoneListGroupsForUserResponse) String() string
type KeystoneListGroupsRequest ¶
type KeystoneListGroupsRequest struct { DomainId *string `json:"domain_id,omitempty"` Name *string `json:"name,omitempty"` }
Request Object
func (KeystoneListGroupsRequest) String ¶
func (o KeystoneListGroupsRequest) String() string
type KeystoneListGroupsResponse ¶
type KeystoneListGroupsResponse struct { // 用户组信息列表。 Groups *[]KeystoneGroupResult `json:"groups,omitempty"` Links *Links `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListGroupsResponse) String ¶
func (o KeystoneListGroupsResponse) String() string
type KeystoneListIdentityProvidersRequest ¶
type KeystoneListIdentityProvidersRequest struct { }
Request Object
func (KeystoneListIdentityProvidersRequest) String ¶
func (o KeystoneListIdentityProvidersRequest) String() string
type KeystoneListIdentityProvidersResponse ¶
type KeystoneListIdentityProvidersResponse struct { // 身份提供商信息列表。 IdentityProviders *[]IdentityprovidersResult `json:"identity_providers,omitempty"` Links *Links `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListIdentityProvidersResponse) String ¶
func (o KeystoneListIdentityProvidersResponse) String() string
type KeystoneListMappingsRequest ¶
type KeystoneListMappingsRequest struct { }
Request Object
func (KeystoneListMappingsRequest) String ¶
func (o KeystoneListMappingsRequest) String() string
type KeystoneListMappingsResponse ¶
type KeystoneListMappingsResponse struct { Links *Links `json:"links,omitempty"` // 映射信息列表。 Mappings *[]MappingResult `json:"mappings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListMappingsResponse) String ¶
func (o KeystoneListMappingsResponse) String() string
type KeystoneListPermissionsRequest ¶
type KeystoneListPermissionsRequest struct { Name *string `json:"name,omitempty"` DomainId *string `json:"domain_id,omitempty"` Page *int32 `json:"page,omitempty"` PerPage *int32 `json:"per_page,omitempty"` }
Request Object
func (KeystoneListPermissionsRequest) String ¶
func (o KeystoneListPermissionsRequest) String() string
type KeystoneListPermissionsResponse ¶
type KeystoneListPermissionsResponse struct { Links *Links `json:"links,omitempty"` // 权限信息列表。 Roles *[]RoleResult `json:"roles,omitempty"` // 在查询参数存在domain_id时,返回自定义策略总数 TotalNumber *int32 `json:"total_number,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListPermissionsResponse) String ¶
func (o KeystoneListPermissionsResponse) String() string
type KeystoneListProjectPermissionsForGroupRequest ¶
type KeystoneListProjectPermissionsForGroupRequest struct { ProjectId string `json:"project_id"` GroupId string `json:"group_id"` }
Request Object
func (KeystoneListProjectPermissionsForGroupRequest) String ¶
func (o KeystoneListProjectPermissionsForGroupRequest) String() string
type KeystoneListProjectPermissionsForGroupResponse ¶
type KeystoneListProjectPermissionsForGroupResponse struct { Links *Links `json:"links,omitempty"` // 权限信息列表。 Roles *[]RoleResult `json:"roles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListProjectPermissionsForGroupResponse) String ¶
func (o KeystoneListProjectPermissionsForGroupResponse) String() string
type KeystoneListProjectsForUserRequest ¶
type KeystoneListProjectsForUserRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (KeystoneListProjectsForUserRequest) String ¶
func (o KeystoneListProjectsForUserRequest) String() string
type KeystoneListProjectsForUserResponse ¶
type KeystoneListProjectsForUserResponse struct { Links *Links `json:"links,omitempty"` // 项目信息列表。 Projects *[]ProjectResult `json:"projects,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListProjectsForUserResponse) String ¶
func (o KeystoneListProjectsForUserResponse) String() string
type KeystoneListProjectsRequest ¶
type KeystoneListProjectsRequest struct { DomainId *string `json:"domain_id,omitempty"` Name *string `json:"name,omitempty"` ParentId *string `json:"parent_id,omitempty"` Enabled *bool `json:"enabled,omitempty"` IsDomain *bool `json:"is_domain,omitempty"` Page *int32 `json:"page,omitempty"` PerPage *int32 `json:"per_page,omitempty"` }
Request Object
func (KeystoneListProjectsRequest) String ¶
func (o KeystoneListProjectsRequest) String() string
type KeystoneListProjectsResponse ¶
type KeystoneListProjectsResponse struct { Links *Links `json:"links,omitempty"` // 项目信息列表。 Projects *[]ProjectResult `json:"projects,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListProjectsResponse) String ¶
func (o KeystoneListProjectsResponse) String() string
type KeystoneListProtocolsRequest ¶
type KeystoneListProtocolsRequest struct {
IdpId string `json:"idp_id"`
}
Request Object
func (KeystoneListProtocolsRequest) String ¶
func (o KeystoneListProtocolsRequest) String() string
type KeystoneListProtocolsResponse ¶
type KeystoneListProtocolsResponse struct { Links *Links `json:"links,omitempty"` // 协议信息列表。 Protocols *[]ProtocolResult `json:"protocols,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListProtocolsResponse) String ¶
func (o KeystoneListProtocolsResponse) String() string
type KeystoneListRegionsRequest ¶
type KeystoneListRegionsRequest struct { }
Request Object
func (KeystoneListRegionsRequest) String ¶
func (o KeystoneListRegionsRequest) String() string
type KeystoneListRegionsResponse ¶
type KeystoneListRegionsResponse struct { Links *Links `json:"links,omitempty"` // 区域信息列表。 Regions *[]Region `json:"regions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListRegionsResponse) String ¶
func (o KeystoneListRegionsResponse) String() string
type KeystoneListServicesRequest ¶
type KeystoneListServicesRequest struct {
Type *string `json:"type,omitempty"`
}
Request Object
func (KeystoneListServicesRequest) String ¶
func (o KeystoneListServicesRequest) String() string
type KeystoneListServicesResponse ¶
type KeystoneListServicesResponse struct { // 服务信息列表。 Services *[]Service `json:"services,omitempty"` Links *Links `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListServicesResponse) String ¶
func (o KeystoneListServicesResponse) String() string
type KeystoneListUsersForGroupByAdminRequest ¶
type KeystoneListUsersForGroupByAdminRequest struct {
GroupId string `json:"group_id"`
}
Request Object
func (KeystoneListUsersForGroupByAdminRequest) String ¶
func (o KeystoneListUsersForGroupByAdminRequest) String() string
type KeystoneListUsersForGroupByAdminResponse ¶
type KeystoneListUsersForGroupByAdminResponse struct { Links *Links `json:"links,omitempty"` // IAM用户信息列表。 Users *[]KeystoneUserResult `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListUsersForGroupByAdminResponse) String ¶
func (o KeystoneListUsersForGroupByAdminResponse) String() string
type KeystoneListUsersRequest ¶
type KeystoneListUsersRequest struct { DomainId *string `json:"domain_id,omitempty"` Enabled *bool `json:"enabled,omitempty"` Name *string `json:"name,omitempty"` PasswordExpiresAt *string `json:"password_expires_at,omitempty"` }
Request Object
func (KeystoneListUsersRequest) String ¶
func (o KeystoneListUsersRequest) String() string
type KeystoneListUsersResponse ¶
type KeystoneListUsersResponse struct { Links *Links `json:"links,omitempty"` // IAM用户信息列表。 Users *[]KeystoneListUsersResult `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListUsersResponse) String ¶
func (o KeystoneListUsersResponse) String() string
type KeystoneListUsersResult ¶
type KeystoneListUsersResult struct { // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // IAM用户退出系统前,在控制台最后访问的项目ID。 LastProjectId *string `json:"last_project_id,omitempty"` // IAM用户名。 Name string `json:"name"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` Links *Links `json:"links"` // IAM用户ID。 Id string `json:"id"` // IAM用户是否启用。true表示启用,false表示停用,默认为true。 Enabled bool `json:"enabled"` // IAM用户的密码强度。high:密码强度高;mid:密码强度中等;low:密码强度低。 PwdStrength *string `json:"pwd_strength,omitempty"` }
func (KeystoneListUsersResult) String ¶
func (o KeystoneListUsersResult) String() string
type KeystoneListVersionsRequest ¶
type KeystoneListVersionsRequest struct { }
Request Object
func (KeystoneListVersionsRequest) String ¶
func (o KeystoneListVersionsRequest) String() string
type KeystoneListVersionsResponse ¶
type KeystoneListVersionsResponse struct { Versions *Versions `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneListVersionsResponse) String ¶
func (o KeystoneListVersionsResponse) String() string
type KeystoneRemoveDomainPermissionFromGroupRequest ¶
type KeystoneRemoveDomainPermissionFromGroupRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneRemoveDomainPermissionFromGroupRequest) String ¶
func (o KeystoneRemoveDomainPermissionFromGroupRequest) String() string
type KeystoneRemoveDomainPermissionFromGroupResponse ¶
type KeystoneRemoveDomainPermissionFromGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneRemoveDomainPermissionFromGroupResponse) String ¶
func (o KeystoneRemoveDomainPermissionFromGroupResponse) String() string
type KeystoneRemoveProjectPermissionFromGroupRequest ¶
type KeystoneRemoveProjectPermissionFromGroupRequest struct { ProjectId string `json:"project_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (KeystoneRemoveProjectPermissionFromGroupRequest) String ¶
func (o KeystoneRemoveProjectPermissionFromGroupRequest) String() string
type KeystoneRemoveProjectPermissionFromGroupResponse ¶
type KeystoneRemoveProjectPermissionFromGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneRemoveProjectPermissionFromGroupResponse) String ¶
func (o KeystoneRemoveProjectPermissionFromGroupResponse) String() string
type KeystoneRemoveUserFromGroupRequest ¶
type KeystoneRemoveUserFromGroupRequest struct { GroupId string `json:"group_id"` UserId string `json:"user_id"` }
Request Object
func (KeystoneRemoveUserFromGroupRequest) String ¶
func (o KeystoneRemoveUserFromGroupRequest) String() string
type KeystoneRemoveUserFromGroupResponse ¶
type KeystoneRemoveUserFromGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneRemoveUserFromGroupResponse) String ¶
func (o KeystoneRemoveUserFromGroupResponse) String() string
type KeystoneShowCatalogRequest ¶
type KeystoneShowCatalogRequest struct { }
Request Object
func (KeystoneShowCatalogRequest) String ¶
func (o KeystoneShowCatalogRequest) String() string
type KeystoneShowCatalogResponse ¶
type KeystoneShowCatalogResponse struct { // 服务目录信息列表。 Catalog *[]Catalog `json:"catalog,omitempty"` Links *LinksSelf `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowCatalogResponse) String ¶
func (o KeystoneShowCatalogResponse) String() string
type KeystoneShowEndpointRequest ¶
type KeystoneShowEndpointRequest struct {
EndpointId string `json:"endpoint_id"`
}
Request Object
func (KeystoneShowEndpointRequest) String ¶
func (o KeystoneShowEndpointRequest) String() string
type KeystoneShowEndpointResponse ¶
type KeystoneShowEndpointResponse struct { Endpoint *Endpoint `json:"endpoint,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowEndpointResponse) String ¶
func (o KeystoneShowEndpointResponse) String() string
type KeystoneShowGroupRequest ¶
type KeystoneShowGroupRequest struct {
GroupId string `json:"group_id"`
}
Request Object
func (KeystoneShowGroupRequest) String ¶
func (o KeystoneShowGroupRequest) String() string
type KeystoneShowGroupResponse ¶
type KeystoneShowGroupResponse struct { Group *KeystoneGroupResult `json:"group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowGroupResponse) String ¶
func (o KeystoneShowGroupResponse) String() string
type KeystoneShowIdentityProviderRequest ¶
type KeystoneShowIdentityProviderRequest struct {
Id string `json:"id"`
}
Request Object
func (KeystoneShowIdentityProviderRequest) String ¶
func (o KeystoneShowIdentityProviderRequest) String() string
type KeystoneShowIdentityProviderResponse ¶
type KeystoneShowIdentityProviderResponse struct { IdentityProvider *IdentityprovidersResult `json:"identity_provider,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowIdentityProviderResponse) String ¶
func (o KeystoneShowIdentityProviderResponse) String() string
type KeystoneShowMappingRequest ¶
type KeystoneShowMappingRequest struct {
Id string `json:"id"`
}
Request Object
func (KeystoneShowMappingRequest) String ¶
func (o KeystoneShowMappingRequest) String() string
type KeystoneShowMappingResponse ¶
type KeystoneShowMappingResponse struct { Mapping *MappingResult `json:"mapping,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowMappingResponse) String ¶
func (o KeystoneShowMappingResponse) String() string
type KeystoneShowPermissionRequest ¶
type KeystoneShowPermissionRequest struct {
RoleId string `json:"role_id"`
}
Request Object
func (KeystoneShowPermissionRequest) String ¶
func (o KeystoneShowPermissionRequest) String() string
type KeystoneShowPermissionResponse ¶
type KeystoneShowPermissionResponse struct { Role *RoleResult `json:"role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowPermissionResponse) String ¶
func (o KeystoneShowPermissionResponse) String() string
type KeystoneShowProjectRequest ¶
type KeystoneShowProjectRequest struct {
ProjectId string `json:"project_id"`
}
Request Object
func (KeystoneShowProjectRequest) String ¶
func (o KeystoneShowProjectRequest) String() string
type KeystoneShowProjectResponse ¶
type KeystoneShowProjectResponse struct { Project *ProjectResult `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowProjectResponse) String ¶
func (o KeystoneShowProjectResponse) String() string
type KeystoneShowProtocolRequest ¶
type KeystoneShowProtocolRequest struct { IdpId string `json:"idp_id"` ProtocolId string `json:"protocol_id"` }
Request Object
func (KeystoneShowProtocolRequest) String ¶
func (o KeystoneShowProtocolRequest) String() string
type KeystoneShowProtocolResponse ¶
type KeystoneShowProtocolResponse struct { Protocol *ProtocolResult `json:"protocol,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowProtocolResponse) String ¶
func (o KeystoneShowProtocolResponse) String() string
type KeystoneShowRegionRequest ¶
type KeystoneShowRegionRequest struct {
RegionId string `json:"region_id"`
}
Request Object
func (KeystoneShowRegionRequest) String ¶
func (o KeystoneShowRegionRequest) String() string
type KeystoneShowRegionResponse ¶
type KeystoneShowRegionResponse struct { Region *Region `json:"region,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowRegionResponse) String ¶
func (o KeystoneShowRegionResponse) String() string
type KeystoneShowSecurityComplianceByOptionRequest ¶
type KeystoneShowSecurityComplianceByOptionRequest struct { DomainId string `json:"domain_id"` Option KeystoneShowSecurityComplianceByOptionRequestOption `json:"option"` }
Request Object
func (KeystoneShowSecurityComplianceByOptionRequest) String ¶
func (o KeystoneShowSecurityComplianceByOptionRequest) String() string
type KeystoneShowSecurityComplianceByOptionRequestOption ¶
type KeystoneShowSecurityComplianceByOptionRequestOption struct {
// contains filtered or unexported fields
}
func (KeystoneShowSecurityComplianceByOptionRequestOption) MarshalJSON ¶
func (c KeystoneShowSecurityComplianceByOptionRequestOption) MarshalJSON() ([]byte, error)
func (*KeystoneShowSecurityComplianceByOptionRequestOption) UnmarshalJSON ¶
func (c *KeystoneShowSecurityComplianceByOptionRequestOption) UnmarshalJSON(b []byte) error
type KeystoneShowSecurityComplianceByOptionRequestOptionEnum ¶
type KeystoneShowSecurityComplianceByOptionRequestOptionEnum struct { PASSWORD_REGEX KeystoneShowSecurityComplianceByOptionRequestOption PASSWORD_REGEX_DESCRIPTION KeystoneShowSecurityComplianceByOptionRequestOption }
func GetKeystoneShowSecurityComplianceByOptionRequestOptionEnum ¶
func GetKeystoneShowSecurityComplianceByOptionRequestOptionEnum() KeystoneShowSecurityComplianceByOptionRequestOptionEnum
type KeystoneShowSecurityComplianceByOptionResponse ¶
type KeystoneShowSecurityComplianceByOptionResponse struct { Config *ConfigByOption `json:"config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowSecurityComplianceByOptionResponse) String ¶
func (o KeystoneShowSecurityComplianceByOptionResponse) String() string
type KeystoneShowSecurityComplianceRequest ¶
type KeystoneShowSecurityComplianceRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (KeystoneShowSecurityComplianceRequest) String ¶
func (o KeystoneShowSecurityComplianceRequest) String() string
type KeystoneShowSecurityComplianceResponse ¶
type KeystoneShowSecurityComplianceResponse struct { Config *Config `json:"config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowSecurityComplianceResponse) String ¶
func (o KeystoneShowSecurityComplianceResponse) String() string
type KeystoneShowServiceRequest ¶
type KeystoneShowServiceRequest struct {
ServiceId string `json:"service_id"`
}
Request Object
func (KeystoneShowServiceRequest) String ¶
func (o KeystoneShowServiceRequest) String() string
type KeystoneShowServiceResponse ¶
type KeystoneShowServiceResponse struct { Service *Service `json:"service,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowServiceResponse) String ¶
func (o KeystoneShowServiceResponse) String() string
type KeystoneShowUserRequest ¶
type KeystoneShowUserRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (KeystoneShowUserRequest) String ¶
func (o KeystoneShowUserRequest) String() string
type KeystoneShowUserResponse ¶
type KeystoneShowUserResponse struct { User *KeystoneShowUserResult `json:"user,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowUserResponse) String ¶
func (o KeystoneShowUserResponse) String() string
type KeystoneShowUserResult ¶
type KeystoneShowUserResult struct { // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // IAM用户退出系统前,在控制台最后访问的项目ID。 LastProjectId *string `json:"last_project_id,omitempty"` // IAM用户名。 Name string `json:"name"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` Links *Links `json:"links"` // IAM用户ID。 Id string `json:"id"` // IAM用户是否启用。true表示启用,false表示停用,默认为true。 Enabled bool `json:"enabled"` }
func (KeystoneShowUserResult) String ¶
func (o KeystoneShowUserResult) String() string
type KeystoneShowVersionRequest ¶
type KeystoneShowVersionRequest struct { }
Request Object
func (KeystoneShowVersionRequest) String ¶
func (o KeystoneShowVersionRequest) String() string
type KeystoneShowVersionResponse ¶
type KeystoneShowVersionResponse struct { Version *Version `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneShowVersionResponse) String ¶
func (o KeystoneShowVersionResponse) String() string
type KeystoneUpdateGroupOption ¶
type KeystoneUpdateGroupOption struct { // 用户组描述信息,长度小于等于255字节。name与description至少填写一个。 Description *string `json:"description,omitempty"` // 用户组所属账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。 DomainId *string `json:"domain_id,omitempty"` // 用户组名,长度小于等于64字节。name与description至少填写一个。 Name *string `json:"name,omitempty"` }
func (KeystoneUpdateGroupOption) String ¶
func (o KeystoneUpdateGroupOption) String() string
type KeystoneUpdateGroupRequest ¶
type KeystoneUpdateGroupRequest struct { GroupId string `json:"group_id"` Body *KeystoneUpdateGroupRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateGroupRequest) String ¶
func (o KeystoneUpdateGroupRequest) String() string
type KeystoneUpdateGroupRequestBody ¶
type KeystoneUpdateGroupRequestBody struct {
Group *KeystoneUpdateGroupOption `json:"group"`
}
func (KeystoneUpdateGroupRequestBody) String ¶
func (o KeystoneUpdateGroupRequestBody) String() string
type KeystoneUpdateGroupResponse ¶
type KeystoneUpdateGroupResponse struct { Group *KeystoneGroupResultWithLinksSelf `json:"group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneUpdateGroupResponse) String ¶
func (o KeystoneUpdateGroupResponse) String() string
type KeystoneUpdateIdentityProviderRequest ¶
type KeystoneUpdateIdentityProviderRequest struct { Id string `json:"id"` Body *KeystoneUpdateIdentityProviderRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateIdentityProviderRequest) String ¶
func (o KeystoneUpdateIdentityProviderRequest) String() string
type KeystoneUpdateIdentityProviderRequestBody ¶
type KeystoneUpdateIdentityProviderRequestBody struct {
IdentityProvider *IdentityproviderOption `json:"identity_provider"`
}
func (KeystoneUpdateIdentityProviderRequestBody) String ¶
func (o KeystoneUpdateIdentityProviderRequestBody) String() string
type KeystoneUpdateIdentityProviderResponse ¶
type KeystoneUpdateIdentityProviderResponse struct { IdentityProvider *IdentityprovidersResult `json:"identity_provider,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneUpdateIdentityProviderResponse) String ¶
func (o KeystoneUpdateIdentityProviderResponse) String() string
type KeystoneUpdateMappingRequest ¶
type KeystoneUpdateMappingRequest struct { Id string `json:"id"` Body *KeystoneUpdateMappingRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateMappingRequest) String ¶
func (o KeystoneUpdateMappingRequest) String() string
type KeystoneUpdateMappingRequestBody ¶
type KeystoneUpdateMappingRequestBody struct {
Mapping *MappingOption `json:"mapping"`
}
func (KeystoneUpdateMappingRequestBody) String ¶
func (o KeystoneUpdateMappingRequestBody) String() string
type KeystoneUpdateMappingResponse ¶
type KeystoneUpdateMappingResponse struct { Mapping *MappingResult `json:"mapping,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneUpdateMappingResponse) String ¶
func (o KeystoneUpdateMappingResponse) String() string
type KeystoneUpdatePasswordOption ¶
type KeystoneUpdatePasswordOption struct { // IAM用户的新密码。 - 系统默认密码最小长度为6位字符,在6-32位之间支持用户自定义密码长度。 - 至少包含以下四种字符中的两种: 大写字母、小写字母、数字和特殊字符。 - 不能包含手机号和邮箱。 - 必须满足用户所属账号的[密码策略](https://support.huaweicloud.com/usermanual-iam/iam_01_0607.html)要求。 - 新密码不能与当前密码相同。 Password string `json:"password"` // IAM用户的原密码。 OriginalPassword string `json:"original_password"` }
func (KeystoneUpdatePasswordOption) String ¶
func (o KeystoneUpdatePasswordOption) String() string
type KeystoneUpdateProjectOption ¶
type KeystoneUpdateProjectOption struct { // 项目名称,必须以存在的\"区域ID_\"开头,长度小于等于64字符。项目所属区域不能改变,即原项目名为“cn-north-1_IAMProject”时,新项目名只能以“cn-north-1_”开头。“name”与\"description\"至少填写一个。 Name *string `json:"name,omitempty"` // 项目描述,长度小于等于255字符。“name”与\"description\"至少填写一个。 Description *string `json:"description,omitempty"` }
修改的项目信息。
func (KeystoneUpdateProjectOption) String ¶
func (o KeystoneUpdateProjectOption) String() string
type KeystoneUpdateProjectRequest ¶
type KeystoneUpdateProjectRequest struct { ProjectId string `json:"project_id"` Body *KeystoneUpdateProjectRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateProjectRequest) String ¶
func (o KeystoneUpdateProjectRequest) String() string
type KeystoneUpdateProjectRequestBody ¶
type KeystoneUpdateProjectRequestBody struct {
Project *KeystoneUpdateProjectOption `json:"project"`
}
func (KeystoneUpdateProjectRequestBody) String ¶
func (o KeystoneUpdateProjectRequestBody) String() string
type KeystoneUpdateProjectResponse ¶
type KeystoneUpdateProjectResponse struct { Project *KeystoneUpdateProjectResult `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneUpdateProjectResponse) String ¶
func (o KeystoneUpdateProjectResponse) String() string
type KeystoneUpdateProjectResult ¶
type KeystoneUpdateProjectResult struct { // false. IsDomain bool `json:"is_domain"` // 项目描述信息。 Description string `json:"description"` // 项目的其他信息。 Extra *interface{} `json:"extra,omitempty"` Links *LinksSelf `json:"links"` // 项目是否可用。 Enabled bool `json:"enabled"` // 项目ID。 Id string `json:"id"` // 区域对应的项目ID,例如区域“华北-北京一”区域对应的项目ID为:04dd42abe48026ad2fa3c01ad7fa.....。 ParentId string `json:"parent_id"` // 项目所属账号ID。 DomainId string `json:"domain_id"` // 项目名称。 Name string `json:"name"` }
func (KeystoneUpdateProjectResult) String ¶
func (o KeystoneUpdateProjectResult) String() string
type KeystoneUpdateProtocolRequest ¶
type KeystoneUpdateProtocolRequest struct { IdpId string `json:"idp_id"` ProtocolId string `json:"protocol_id"` Body *KeystoneUpdateProtocolRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateProtocolRequest) String ¶
func (o KeystoneUpdateProtocolRequest) String() string
type KeystoneUpdateProtocolRequestBody ¶
type KeystoneUpdateProtocolRequestBody struct {
Protocol *ProtocolOption `json:"protocol"`
}
func (KeystoneUpdateProtocolRequestBody) String ¶
func (o KeystoneUpdateProtocolRequestBody) String() string
type KeystoneUpdateProtocolResponse ¶
type KeystoneUpdateProtocolResponse struct { Protocol *ProtocolResult `json:"protocol,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneUpdateProtocolResponse) String ¶
func (o KeystoneUpdateProtocolResponse) String() string
type KeystoneUpdateUserByAdminRequest ¶
type KeystoneUpdateUserByAdminRequest struct { UserId string `json:"user_id"` Body *KeystoneUpdateUserByAdminRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateUserByAdminRequest) String ¶
func (o KeystoneUpdateUserByAdminRequest) String() string
type KeystoneUpdateUserByAdminRequestBody ¶
type KeystoneUpdateUserByAdminRequestBody struct {
User *KeystoneUpdateUserOption `json:"user"`
}
func (KeystoneUpdateUserByAdminRequestBody) String ¶
func (o KeystoneUpdateUserByAdminRequestBody) String() string
type KeystoneUpdateUserByAdminResponse ¶
type KeystoneUpdateUserByAdminResponse struct { User *KeystoneUpdateUserByAdminResult `json:"user,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneUpdateUserByAdminResponse) String ¶
func (o KeystoneUpdateUserByAdminResponse) String() string
type KeystoneUpdateUserByAdminResult ¶
type KeystoneUpdateUserByAdminResult struct { // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // IAM用户退出系统前,在控制台最后访问的项目ID。 LastProjectId *string `json:"last_project_id,omitempty"` // IAM用户名。 Name string `json:"name"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` Links *LinksSelf `json:"links"` // IAM用户ID。 Id string `json:"id"` // IAM用户是否启用。true表示启用,false表示停用,默认为true。 Enabled bool `json:"enabled"` Extra *KeystoneUserResultExtra `json:"extra,omitempty"` }
func (KeystoneUpdateUserByAdminResult) String ¶
func (o KeystoneUpdateUserByAdminResult) String() string
type KeystoneUpdateUserOption ¶
type KeystoneUpdateUserOption struct { // IAM用户所属账号ID。 DomainId *string `json:"domain_id,omitempty"` // IAM用户新用户名,长度5~32之间,首位不能为数字,特殊字符只能包含下划线“_”、中划线“-”和空格。 Name *string `json:"name,omitempty"` // IAM用户密码。 - 系统默认密码最小长度为6位字符,在6-32位之间支持用户自定义密码长度。 - 至少包含以下四种字符中的两种: 大写字母、小写字母、数字和特殊字符。 - 不能包含手机号和邮箱。 - 必须满足账户设置中密码策略的要求。 - 新密码不能与当前密码相同。 Password *string `json:"password,omitempty"` // 是否启用IAM用户。true为启用,false为停用,默认为true。 Enabled *bool `json:"enabled,omitempty"` // IAM用户新描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` }
func (KeystoneUpdateUserOption) String ¶
func (o KeystoneUpdateUserOption) String() string
type KeystoneUpdateUserPasswordRequest ¶
type KeystoneUpdateUserPasswordRequest struct { UserId string `json:"user_id"` Body *KeystoneUpdateUserPasswordRequestBody `json:"body,omitempty"` }
Request Object
func (KeystoneUpdateUserPasswordRequest) String ¶
func (o KeystoneUpdateUserPasswordRequest) String() string
type KeystoneUpdateUserPasswordRequestBody ¶
type KeystoneUpdateUserPasswordRequestBody struct {
User *KeystoneUpdatePasswordOption `json:"user"`
}
func (KeystoneUpdateUserPasswordRequestBody) String ¶
func (o KeystoneUpdateUserPasswordRequestBody) String() string
type KeystoneUpdateUserPasswordResponse ¶
type KeystoneUpdateUserPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (KeystoneUpdateUserPasswordResponse) String ¶
func (o KeystoneUpdateUserPasswordResponse) String() string
type KeystoneUserResult ¶
type KeystoneUserResult struct { // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // IAM用户退出系统前,在控制台最后访问的项目ID。 LastProjectId *string `json:"last_project_id,omitempty"` // IAM用户名。 Name string `json:"name"` // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` Links *Links `json:"links"` // IAM用户ID。 Id string `json:"id"` // IAM用户是否启用。true表示启用,false表示停用,默认为true。 Enabled bool `json:"enabled"` // IAM用户的密码强度。high:密码强度高;mid:密码强度中等;low:密码强度低。 PwdStrength *string `json:"pwd_strength,omitempty"` Extra *KeystoneUserResultExtra `json:"extra,omitempty"` }
func (KeystoneUserResult) String ¶
func (o KeystoneUserResult) String() string
type KeystoneUserResultExtra ¶
type KeystoneUserResultExtra struct { // IAM用户描述信息。 Description *string `json:"description,omitempty"` // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户退出系统前,在控制台最后访问的项目ID。 LastProjectId *string `json:"last_project_id,omitempty"` }
func (KeystoneUserResultExtra) String ¶
func (o KeystoneUserResultExtra) String() string
type KeystoneValidateTokenRequest ¶
type KeystoneValidateTokenRequest struct { XSubjectToken string `json:"X-Subject-Token"` Nocatalog *string `json:"nocatalog,omitempty"` }
Request Object
func (KeystoneValidateTokenRequest) String ¶
func (o KeystoneValidateTokenRequest) String() string
type KeystoneValidateTokenResponse ¶
type KeystoneValidateTokenResponse struct { Token *TokenResult `json:"token,omitempty"` XSubjectToken *string `json:"X-Subject-Token,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (KeystoneValidateTokenResponse) String ¶
func (o KeystoneValidateTokenResponse) String() string
type Links ¶
type ListAgenciesRequest ¶
type ListAgenciesRequest struct { DomainId string `json:"domain_id"` TrustDomainId *string `json:"trust_domain_id,omitempty"` Name *string `json:"name,omitempty"` }
Request Object
func (ListAgenciesRequest) String ¶
func (o ListAgenciesRequest) String() string
type ListAgenciesResponse ¶
type ListAgenciesResponse struct { // 委托信息列表。 Agencies *[]AgencyResult `json:"agencies,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAgenciesResponse) String ¶
func (o ListAgenciesResponse) String() string
type ListAllProjectsPermissionsForAgencyRequest ¶
type ListAllProjectsPermissionsForAgencyRequest struct { AgencyId string `json:"agency_id"` DomainId string `json:"domain_id"` }
Request Object
func (ListAllProjectsPermissionsForAgencyRequest) String ¶
func (o ListAllProjectsPermissionsForAgencyRequest) String() string
type ListAllProjectsPermissionsForAgencyResponse ¶
type ListAllProjectsPermissionsForAgencyResponse struct { // 权限信息列表。 Roles *[]AgencyAllProjectRole `json:"roles,omitempty"` Links *LinksSelf `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAllProjectsPermissionsForAgencyResponse) String ¶
func (o ListAllProjectsPermissionsForAgencyResponse) String() string
type ListCustomPoliciesRequest ¶
type ListCustomPoliciesRequest struct { Page *int32 `json:"page,omitempty"` PerPage *int32 `json:"per_page,omitempty"` }
Request Object
func (ListCustomPoliciesRequest) String ¶
func (o ListCustomPoliciesRequest) String() string
type ListCustomPoliciesResponse ¶
type ListCustomPoliciesResponse struct { Links *Links `json:"links,omitempty"` // 自定义策略信息列表。 Roles *[]PolicyRoleResult `json:"roles,omitempty"` // 返回自定义策略的总条数 TotalNumber *int32 `json:"total_number,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCustomPoliciesResponse) String ¶
func (o ListCustomPoliciesResponse) String() string
type ListDomainPermissionsForAgencyRequest ¶
type ListDomainPermissionsForAgencyRequest struct { DomainId string `json:"domain_id"` AgencyId string `json:"agency_id"` }
Request Object
func (ListDomainPermissionsForAgencyRequest) String ¶
func (o ListDomainPermissionsForAgencyRequest) String() string
type ListDomainPermissionsForAgencyResponse ¶
type ListDomainPermissionsForAgencyResponse struct { // 权限信息列表。 Roles *[]RoleResult `json:"roles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDomainPermissionsForAgencyResponse) String ¶
func (o ListDomainPermissionsForAgencyResponse) String() string
type ListPermanentAccessKeysRequest ¶
type ListPermanentAccessKeysRequest struct {
UserId *string `json:"user_id,omitempty"`
}
Request Object
func (ListPermanentAccessKeysRequest) String ¶
func (o ListPermanentAccessKeysRequest) String() string
type ListPermanentAccessKeysResponse ¶
type ListPermanentAccessKeysResponse struct { // 认证结果信息列表。 Credentials *[]Credentials `json:"credentials,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPermanentAccessKeysResponse) String ¶
func (o ListPermanentAccessKeysResponse) String() string
type ListProjectPermissionsForAgencyRequest ¶
type ListProjectPermissionsForAgencyRequest struct { ProjectId string `json:"project_id"` AgencyId string `json:"agency_id"` }
Request Object
func (ListProjectPermissionsForAgencyRequest) String ¶
func (o ListProjectPermissionsForAgencyRequest) String() string
type ListProjectPermissionsForAgencyResponse ¶
type ListProjectPermissionsForAgencyResponse struct { // 权限信息列表。 Roles *[]RoleResult `json:"roles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectPermissionsForAgencyResponse) String ¶
func (o ListProjectPermissionsForAgencyResponse) String() string
type ListUserLoginProtectsRequest ¶
type ListUserLoginProtectsRequest struct { }
Request Object
func (ListUserLoginProtectsRequest) String ¶
func (o ListUserLoginProtectsRequest) String() string
type ListUserLoginProtectsResponse ¶
type ListUserLoginProtectsResponse struct { // 登录状态保护信息列表。 LoginProtects *[]LoginProtectResult `json:"login_protects,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListUserLoginProtectsResponse) String ¶
func (o ListUserLoginProtectsResponse) String() string
type ListUserMfaDevicesRequest ¶
type ListUserMfaDevicesRequest struct { }
Request Object
func (ListUserMfaDevicesRequest) String ¶
func (o ListUserMfaDevicesRequest) String() string
type ListUserMfaDevicesResponse ¶
type ListUserMfaDevicesResponse struct { // 虚拟MFA设备信息列表。 VirtualMfaDevices *[]MfaDeviceResult `json:"virtual_mfa_devices,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListUserMfaDevicesResponse) String ¶
func (o ListUserMfaDevicesResponse) String() string
type LoginPolicyOption ¶
type LoginPolicyOption struct { // 登录提示信息,取值范围[0,240]。 AccountValidityPeriod int32 `json:"account_validity_period"` // 登录提示信息。 CustomInfoForLogin string `json:"custom_info_for_login"` // 帐号锁定时长(分钟),取值范围[15,30]。 LockoutDuration int32 `json:"lockout_duration"` // 限定时间内登录失败次数,取值范围[3,10]。 LoginFailedTimes int32 `json:"login_failed_times"` // 限定时间长度(分钟),取值范围[15,60]。 PeriodWithLoginFailures int32 `json:"period_with_login_failures"` // 登录会话失效时间,取值范围[15,1440]。 SessionTimeout int32 `json:"session_timeout"` // 显示最近一次的登录信息。取值范围true或false。 ShowRecentLoginInfo bool `json:"show_recent_login_info"` }
func (LoginPolicyOption) String ¶
func (o LoginPolicyOption) String() string
type LoginPolicyResult ¶
type LoginPolicyResult struct { // 账号在该值设置的有效期内未使用,则被停用。 AccountValidityPeriod int32 `json:"account_validity_period"` // 登录提示信息。 CustomInfoForLogin string `json:"custom_info_for_login"` // 帐号锁定时长(分钟)。 LockoutDuration int32 `json:"lockout_duration"` // 限定时间内登录失败次数。 LoginFailedTimes int32 `json:"login_failed_times"` // 限定时间长度(分钟)。 PeriodWithLoginFailures int32 `json:"period_with_login_failures"` // 登录会话失效时间。 SessionTimeout int32 `json:"session_timeout"` // 是否显示最近一次的登录信息。 ShowRecentLoginInfo bool `json:"show_recent_login_info"` }
func (LoginPolicyResult) String ¶
func (o LoginPolicyResult) String() string
type LoginProtectResult ¶
type LoginProtectResult struct { // IAM用户是否开启登录保护,开启为\"true\",未开启为\"false\"。 Enabled bool `json:"enabled"` // IAM用户ID。 UserId string `json:"user_id"` // IAM用户登录验证方式。 VerificationMethod string `json:"verification_method"` }
func (LoginProtectResult) String ¶
func (o LoginProtectResult) String() string
type LoginToken ¶
type LoginToken struct { // 账号ID。 DomainId string `json:"domain_id"` // logintoken的过期时间,默认10min。 ExpiresAt string `json:"expires_at"` // 认证方法。当认证用户为华为云用户时,该字段内容为“token”,当认证用户为自定义代理用户时,该字段内容为“federation_proxy”。 Method string `json:"method"` // 用户ID。 UserId string `json:"user_id"` // 用户名。 UserName string `json:"user_name"` // 会话ID。 SessionId string `json:"session_id"` // 自定义代理用户名。 > - [通过委托获取临时访问密钥和securitytoken](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=IAM&api=CreateTemporaryAccessKeyByAgency)且请求体中填写session_user.name参数时,会返回该字段。该字段的值即为session_user.name所填写的值。 SessionName *string `json:"session_name,omitempty"` AssumedBy *LoginTokenAssumedBy `json:"assumed_by,omitempty"` }
func (LoginToken) String ¶
func (o LoginToken) String() string
type LoginTokenAssumedBy ¶
type LoginTokenAssumedBy struct {
User *LoginTokenUser `json:"user,omitempty"`
}
func (LoginTokenAssumedBy) String ¶
func (o LoginTokenAssumedBy) String() string
type LoginTokenAuth ¶
type LoginTokenAuth struct {
Securitytoken *LoginTokenSecurityToken `json:"securitytoken"`
}
func (LoginTokenAuth) String ¶
func (o LoginTokenAuth) String() string
type LoginTokenDomain ¶
type LoginTokenDomain struct { // 被委托方用户所属账号名称。 Name *string `json:"name,omitempty"` // 被委托方用户所属账号ID。 Id *string `json:"id,omitempty"` }
func (LoginTokenDomain) String ¶
func (o LoginTokenDomain) String() string
type LoginTokenSecurityToken ¶
type LoginTokenSecurityToken struct { // AK。 Access string `json:"access"` // SK。 Secret string `json:"secret"` // securitytoken,即临时身份的安全token。 支持使用自定义代理用户或普通用户获取的securitytoken换取logintoken,详情请参见:[通过token获取临时访问密钥和securitytoken](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=IAM&api=CreateTemporaryAccessKeyByToken)。 支持委托的方式,但获取securitytoken时,请求体中必须填写session_user.name参数,详情请参见:[通过委托获取临时访问密钥和securitytoken](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=IAM&api=CreateTemporaryAccessKeyByAgency)。 Id string `json:"id"` }
func (LoginTokenSecurityToken) String ¶
func (o LoginTokenSecurityToken) String() string
type LoginTokenUser ¶
type LoginTokenUser struct { Domain *LoginTokenDomain `json:"domain,omitempty"` // 被委托方用户名。 Name *string `json:"name,omitempty"` // 被委托方用户的密码过期时间。 PasswordExpiresAt *string `json:"password_expires_at,omitempty"` // 被委托方用户ID。 Id *string `json:"id,omitempty"` }
func (LoginTokenUser) String ¶
func (o LoginTokenUser) String() string
type MappingOption ¶
type MappingOption struct { // 将联邦用户映射为本地用户的规则列表。 Rules []MappingRules `json:"rules"` }
func (MappingOption) String ¶
func (o MappingOption) String() string
type MappingResult ¶
type MappingResult struct { // 映射ID。 Id string `json:"id"` Links *LinksSelf `json:"links"` // 将联邦用户映射为本地用户的规则列表。 Rules []MappingRules `json:"rules"` }
func (MappingResult) String ¶
func (o MappingResult) String() string
type MappingRules ¶
type MappingRules struct { // 表示联邦用户在本系统中的用户信息。 user:联邦用户在本系统中的用户名称。group:联邦用户在本系统中所属用户组。 Local []map[string]RulesLocalAdditional `json:"local"` // 表示联邦用户在IdP中的用户信息。由断言属性及运算符组成的表达式,取值由断言决定。 Remote []RulesRemote `json:"remote"` }
func (MappingRules) String ¶
func (o MappingRules) String() string
type MfaAuth ¶
type MfaAuth struct { Identity *MfaIdentity `json:"identity"` Scope *AuthScope `json:"scope"` }
type MfaDeviceResult ¶
type MfaDeviceResult struct { // 虚拟MFA的设备序列号。 SerialNumber string `json:"serial_number"` // IAM用户ID。 UserId string `json:"user_id"` }
func (MfaDeviceResult) String ¶
func (o MfaDeviceResult) String() string
type MfaIdentity ¶
type MfaIdentity struct { // 认证方法,该字段内容为[\"password\", \"totp\"]。 Methods []MfaIdentityMethods `json:"methods"` Password *PwdPassword `json:"password"` Totp *MfaTotp `json:"totp"` }
func (MfaIdentity) String ¶
func (o MfaIdentity) String() string
type MfaIdentityMethods ¶
type MfaIdentityMethods struct {
// contains filtered or unexported fields
}
func (MfaIdentityMethods) MarshalJSON ¶
func (c MfaIdentityMethods) MarshalJSON() ([]byte, error)
func (*MfaIdentityMethods) UnmarshalJSON ¶
func (c *MfaIdentityMethods) UnmarshalJSON(b []byte) error
type MfaIdentityMethodsEnum ¶
type MfaIdentityMethodsEnum struct { PASSWORD MfaIdentityMethods TOTP MfaIdentityMethods }
func GetMfaIdentityMethodsEnum ¶
func GetMfaIdentityMethodsEnum() MfaIdentityMethodsEnum
type MfaTotp ¶
type MfaTotp struct {
User *MfaTotpUser `json:"user"`
}
type MfaTotpUser ¶
type MfaTotpUser struct { // 已开启虚拟MFA方式的登录保护的IAM用户ID。 Id string `json:"id"` // 虚拟MFA验证码,在MFA应用程序中获取动态验证码,获取方法请参见:[如何获取虚拟MFA验证码](https://support.huaweicloud.com/iam_faq/iam_01_0001.html)。 Passcode string `json:"passcode"` }
func (MfaTotpUser) String ¶
func (o MfaTotpUser) String() string
type OsfederationGroups ¶
type OsfederationGroups struct { // 用户组ID。 Id string `json:"id"` // 用户组名称。 Name string `json:"name"` }
func (OsfederationGroups) String ¶
func (o OsfederationGroups) String() string
type OsfederationIdentityprovider ¶
type OsfederationIdentityprovider struct { // 身份提供商ID。 Id string `json:"id"` }
func (OsfederationIdentityprovider) String ¶
func (o OsfederationIdentityprovider) String() string
type OsfederationProtocol ¶
type OsfederationProtocol struct { // 协议ID。 Id string `json:"id"` }
func (OsfederationProtocol) String ¶
func (o OsfederationProtocol) String() string
type PasswordPolicyOption ¶
type PasswordPolicyOption struct { // 同一字符连续出现的最大次数,取值范围[0,32]。 MaximumConsecutiveIdenticalChars int32 `json:"maximum_consecutive_identical_chars"` // 密码最短使用时间(分钟),取值范围[0,1440]。 MinimumPasswordAge int32 `json:"minimum_password_age"` // 密码最小字符数,取值范围[6,32]。 MinimumPasswordLength int32 `json:"minimum_password_length"` // 密码不能与历史密码重复次数,取值范围[0,10]。 NumberOfRecentPasswordsDisallowed int32 `json:"number_of_recent_passwords_disallowed"` // 密码是否可以是用户名或用户名的反序。 PasswordNotUsernameOrInvert bool `json:"password_not_username_or_invert"` // 密码有效期(天),取值范围[0,180],设置0表示关闭该策略。 PasswordValidityPeriod int32 `json:"password_validity_period"` // 至少包含字符种类的个数,取值区间[2,4]。 PasswordCharCombination int32 `json:"password_char_combination"` }
func (PasswordPolicyOption) String ¶
func (o PasswordPolicyOption) String() string
type PasswordPolicyResult ¶
type PasswordPolicyResult struct { // 同一字符连续出现的最大次数。 MaximumConsecutiveIdenticalChars int32 `json:"maximum_consecutive_identical_chars"` // 密码最大字符数。 MaximumPasswordLength int32 `json:"maximum_password_length"` // 密码最短使用时间(分钟)。 MinimumPasswordAge int32 `json:"minimum_password_age"` // 密码最小字符数。 MinimumPasswordLength int32 `json:"minimum_password_length"` // 密码不能与历史密码重复次数。 NumberOfRecentPasswordsDisallowed int32 `json:"number_of_recent_passwords_disallowed"` // 密码是否可以是用户名或用户名的反序。 PasswordNotUsernameOrInvert bool `json:"password_not_username_or_invert"` // 设置密码必须包含的字符要求。 PasswordRequirements string `json:"password_requirements"` // 密码有效期(天)。 PasswordValidityPeriod int32 `json:"password_validity_period"` // 至少包含字符种类的个数,取值区间[2,4]。 PasswordCharCombination int32 `json:"password_char_combination"` }
func (PasswordPolicyResult) String ¶
func (o PasswordPolicyResult) String() string
type PolicyDepends ¶
type PolicyDepends struct { // 权限所在目录。 Catalog string `json:"catalog"` // 权限展示名。 DisplayName string `json:"display_name"` }
func (PolicyDepends) String ¶
func (o PolicyDepends) String() string
type PolicyRoleResult ¶
type PolicyRoleResult struct { // 自定义策略所属账号ID。 DomainId string `json:"domain_id"` // 自定义策略的引用次数。 References *int32 `json:"references,omitempty"` // 自定义策略更新时间。 UpdatedTime *string `json:"updated_time,omitempty"` // 自定义策略创建时间。 CreatedTime *string `json:"created_time,omitempty"` // 自定义策略的中文描述信息。 DescriptionCn *string `json:"description_cn,omitempty"` // 自定义策略所在目录。 Catalog string `json:"catalog"` // 自定义策略名。 Name string `json:"name"` // 自定义策略的描述信息。 Description string `json:"description"` Links *LinksSelf `json:"links"` // 自定义策略ID。 Id string `json:"id"` // 自定义策略展示名。 DisplayName string `json:"display_name"` // 自定义策略的显示模式。 > - AX表示在domain层显示。 > - XA表示在project层显示。 > - 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)。 Type string `json:"type"` Policy *ServicePolicy `json:"policy"` }
func (PolicyRoleResult) String ¶
func (o PolicyRoleResult) String() string
type PolicyStatement ¶
type PolicyStatement struct { // 授权项,指对资源的具体操作权限,不超过100个。 > - 格式为:服务名:资源类型:操作,例:vpc:ports:create。 > - 服务名为产品名称,例如ecs、evs和vpc等,服务名仅支持小写。 资源类型和操作没有大小写,要求支持通配符号*,无需罗列全部授权项。 > - 当自定义策略为委托自定义策略时,该字段值为:“` \"Action\": [\"iam:agencies:assume\"]“`。 Action []string `json:"Action"` // 作用。包含两种:允许(Allow)和拒绝(Deny),既有Allow又有Deny的授权语句时,遵循Deny优先的原则。 Effect PolicyStatementEffect `json:"Effect"` // 限制条件。不超过10个。 Condition *interface{} `json:"Condition,omitempty"` // 资源。数组长度不超过10,每个字符串长度不超过128,规则如下: > - 可填 * 的五段式:<service-name>:<region>:<account-id>:<resource-type>:<resource-path>,例:\"obs:*:*:bucket:*\"。 > - region字段为*或用户可访问的region。service必须存在且resource属于对应service。 > - 当该自定义策略为委托自定义策略时,该字段类型为Object,值为:“`\"Resource\": {\"uri\": [\"/iam/agencies/07805acaba800fdd4fbdc00b8f888c7c\"]}“`。 Resource *[]string `json:"Resource,omitempty"` }
func (PolicyStatement) String ¶
func (o PolicyStatement) String() string
type PolicyStatementEffect ¶
type PolicyStatementEffect struct {
// contains filtered or unexported fields
}
func (PolicyStatementEffect) MarshalJSON ¶
func (c PolicyStatementEffect) MarshalJSON() ([]byte, error)
func (*PolicyStatementEffect) UnmarshalJSON ¶
func (c *PolicyStatementEffect) UnmarshalJSON(b []byte) error
type PolicyStatementEffectEnum ¶
type PolicyStatementEffectEnum struct { ALLOW PolicyStatementEffect DENY PolicyStatementEffect }
func GetPolicyStatementEffectEnum ¶
func GetPolicyStatementEffectEnum() PolicyStatementEffectEnum
type ProjectDetailsAndStatusResult ¶
type ProjectDetailsAndStatusResult struct { // 项目所属账号ID。 DomainId string `json:"domain_id"` // false. IsDomain bool `json:"is_domain"` // 如果查询自己创建的项目,则此处返回所属区域的项目ID。 如果查询的是系统内置项目,如cn-north-4,则此处返回账号ID。 ParentId string `json:"parent_id"` // 项目名称。 Name string `json:"name"` // 项目描述信息。 Description string `json:"description"` // 项目ID。 Id string `json:"id"` // 项目是否可用。 Enabled bool `json:"enabled"` // 项目状态。 Status string `json:"status"` }
func (ProjectDetailsAndStatusResult) String ¶
func (o ProjectDetailsAndStatusResult) String() string
type ProjectResult ¶
type ProjectResult struct { // false. IsDomain bool `json:"is_domain"` // 项目描述信息。 Description string `json:"description"` Links *Links `json:"links"` // 项目是否可用。 Enabled bool `json:"enabled"` // 项目ID。 Id string `json:"id"` // 如果查询自己创建的项目,则此处返回所属区域的项目ID。 如果查询的是系统内置项目,如cn-north-4,则此处返回账号ID。 ParentId string `json:"parent_id"` // 项目所属账号ID。 DomainId string `json:"domain_id"` // 项目名称。 Name string `json:"name"` }
func (ProjectResult) String ¶
func (o ProjectResult) String() string
type ProtectPolicyOption ¶
type ProtectPolicyOption struct { // 是否开启操作保护,开启为\"true\",未开启为\"false\"。 OperationProtection bool `json:"operation_protection"` }
func (ProtectPolicyOption) String ¶
func (o ProtectPolicyOption) String() string
type ProtectPolicyResult ¶
type ProtectPolicyResult struct { // 是否开启操作保护,开启为\"true\",未开启为\"false\"。 OperationProtection bool `json:"operation_protection"` }
func (ProtectPolicyResult) String ¶
func (o ProtectPolicyResult) String() string
type ProtocolLinks ¶
type ProtocolLinks struct { // 身份提供商的资源链接地址。 IdentityProvider string `json:"identity_provider"` // 资源链接地址。 Self string `json:"self"` }
func (ProtocolLinks) String ¶
func (o ProtocolLinks) String() string
type ProtocolOption ¶
type ProtocolOption struct { // 映射ID。 MappingId string `json:"mapping_id"` }
func (ProtocolOption) String ¶
func (o ProtocolOption) String() string
type ProtocolResult ¶
type ProtocolResult struct { // 协议ID。 Id string `json:"id"` // 映射ID。 MappingId string `json:"mapping_id"` Links *ProtocolLinks `json:"links"` }
func (ProtocolResult) String ¶
func (o ProtocolResult) String() string
type PwdAuth ¶
type PwdAuth struct { Identity *PwdIdentity `json:"identity"` Scope *AuthScope `json:"scope"` }
type PwdIdentity ¶
type PwdIdentity struct { // 认证方法,该字段内容为[\"password\"]。 Methods []PwdIdentityMethods `json:"methods"` Password *PwdPassword `json:"password"` }
func (PwdIdentity) String ¶
func (o PwdIdentity) String() string
type PwdIdentityMethods ¶
type PwdIdentityMethods struct {
// contains filtered or unexported fields
}
func (PwdIdentityMethods) MarshalJSON ¶
func (c PwdIdentityMethods) MarshalJSON() ([]byte, error)
func (*PwdIdentityMethods) UnmarshalJSON ¶
func (c *PwdIdentityMethods) UnmarshalJSON(b []byte) error
type PwdIdentityMethodsEnum ¶
type PwdIdentityMethodsEnum struct {
PASSWORD PwdIdentityMethods
}
func GetPwdIdentityMethodsEnum ¶
func GetPwdIdentityMethodsEnum() PwdIdentityMethodsEnum
type PwdPassword ¶
type PwdPassword struct {
User *PwdPasswordUser `json:"user"`
}
func (PwdPassword) String ¶
func (o PwdPassword) String() string
type PwdPasswordUser ¶
type PwdPasswordUser struct { Domain *PwdPasswordUserDomain `json:"domain"` // IAM用户名。 Name string `json:"name"` // IAM用户的登录密码。 Password string `json:"password"` }
func (PwdPasswordUser) String ¶
func (o PwdPasswordUser) String() string
type PwdPasswordUserDomain ¶
type PwdPasswordUserDomain struct { // IAM用户所属账号名。 Name string `json:"name"` }
func (PwdPasswordUserDomain) String ¶
func (o PwdPasswordUserDomain) String() string
type QuotaResult ¶
type QuotaResult struct { // 资源信息 Resources *[]Resources `json:"resources,omitempty"` }
func (QuotaResult) String ¶
func (o QuotaResult) String() string
type Region ¶
type RegionLocales ¶
type RegionLocales struct { // 区域的中文名称。 ZhCn string `json:"zh-cn"` // 区域的英文名称。 EnUs string `json:"en-us"` // 区域的葡萄牙语名称。 PtBr *string `json:"pt-br,omitempty"` // 区域的美国西班牙语名称。 EsUs *string `json:"es-us,omitempty"` // 区域的西班牙语名称。 EsEs *string `json:"es-es,omitempty"` }
func (RegionLocales) String ¶
func (o RegionLocales) String() string
type RemoveAllProjectsPermissionFromAgencyRequest ¶
type RemoveAllProjectsPermissionFromAgencyRequest struct { AgencyId string `json:"agency_id"` DomainId string `json:"domain_id"` RoleId string `json:"role_id"` }
Request Object
func (RemoveAllProjectsPermissionFromAgencyRequest) String ¶
func (o RemoveAllProjectsPermissionFromAgencyRequest) String() string
type RemoveAllProjectsPermissionFromAgencyResponse ¶
type RemoveAllProjectsPermissionFromAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveAllProjectsPermissionFromAgencyResponse) String ¶
func (o RemoveAllProjectsPermissionFromAgencyResponse) String() string
type RemoveDomainPermissionFromAgencyRequest ¶
type RemoveDomainPermissionFromAgencyRequest struct { DomainId string `json:"domain_id"` AgencyId string `json:"agency_id"` RoleId string `json:"role_id"` }
Request Object
func (RemoveDomainPermissionFromAgencyRequest) String ¶
func (o RemoveDomainPermissionFromAgencyRequest) String() string
type RemoveDomainPermissionFromAgencyResponse ¶
type RemoveDomainPermissionFromAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveDomainPermissionFromAgencyResponse) String ¶
func (o RemoveDomainPermissionFromAgencyResponse) String() string
type RemoveProjectPermissionFromAgencyRequest ¶
type RemoveProjectPermissionFromAgencyRequest struct { ProjectId string `json:"project_id"` AgencyId string `json:"agency_id"` RoleId string `json:"role_id"` }
Request Object
func (RemoveProjectPermissionFromAgencyRequest) String ¶
func (o RemoveProjectPermissionFromAgencyRequest) String() string
type RemoveProjectPermissionFromAgencyResponse ¶
type RemoveProjectPermissionFromAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RemoveProjectPermissionFromAgencyResponse) String ¶
func (o RemoveProjectPermissionFromAgencyResponse) String() string
type Resources ¶
type RolePolicy ¶
type RolePolicy struct { // 该权限所依赖的权限。 Depends *[]PolicyDepends `json:"Depends,omitempty"` // 授权语句,描述权限的具体内容。 Statement []PolicyStatement `json:"Statement"` // 权限版本号。 > - 1.0:系统预置的角色。以服务为粒度,提供有限的服务相关角色用于授权。 > - 1.1:策略。IAM最新提供的一种细粒度授权的能力,可以精确到具体服务的操作、资源以及请求条件等。 Version string `json:"Version"` }
func (RolePolicy) String ¶
func (o RolePolicy) String() string
type RoleResult ¶
type RoleResult struct { // 权限所属账号ID。 DomainId *string `json:"domain_id,omitempty"` // 该参数值为fine_grained时,标识此权限为系统内置的策略。 Flag *string `json:"flag,omitempty"` // 权限的中文描述信息。 DescriptionCn *string `json:"description_cn,omitempty"` // 权限所在目录。 Catalog *string `json:"catalog,omitempty"` // 权限名。携带在用户的token中,云服务根据该名称来判断用户是否有权限访问。 Name string `json:"name"` // 权限描述信息。 Description *string `json:"description,omitempty"` Links *Links `json:"links,omitempty"` // 权限ID。 Id string `json:"id"` // 权限展示名。 DisplayName *string `json:"display_name,omitempty"` // 权限的显示模式。 > - AX表示在domain层显示。 > - XA表示在project层显示。 > - AA表示在domain和project层均显示。 > - XX表示在domain和project层均不显示。 > - 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)。 Type string `json:"type"` Policy *RolePolicy `json:"policy"` // 权限更新时间。 UpdatedTime *string `json:"updated_time,omitempty"` // 权限创建时间。 CreatedTime *string `json:"created_time,omitempty"` }
func (RoleResult) String ¶
func (o RoleResult) String() string
type RulesLocalAdditional ¶
type RulesLocalAdditional struct { // user:联邦用户在本系统中的用户名称。 “` \"user\":{\"name\":\"{0}\"} “` group:联邦用户在本系统中所属用户组。 “` \"group\":{\"name\":\"0cd5e9\"} “` Name *string `json:"name,omitempty"` }
func (RulesLocalAdditional) String ¶
func (o RulesLocalAdditional) String() string
type RulesRemote ¶
type RulesRemote struct { // 表示IdP断言中的属性。 Type string `json:"type"` // 输入属性值中包含指定值才生效,并返回布尔值,返回值不能用于local块中的占位符。在同一个remote数组元素中,any_one_of与not_any_of互斥,两者至多填写一个,不能同时填写。 AnyOneOf *[]string `json:"any_one_of,omitempty"` // 输入属性值中不包含指定值才生效,并返回布尔值,返回值不能用于local块中的占位符。在同一个remote数组元素中,any_one_of与not_any_of互斥,两者至多填写一个,不能同时填写。 NotAnyOf *[]string `json:"not_any_of,omitempty"` }
func (RulesRemote) String ¶
func (o RulesRemote) String() string
type ScopeDomainOption ¶
type ScopeDomainOption struct { // 账号ID,id与name二选一即可。 Id *string `json:"id,omitempty"` // 账号名,id与name二选一即可。 Name *string `json:"name,omitempty"` }
func (ScopeDomainOption) String ¶
func (o ScopeDomainOption) String() string
type ScopeProjectOption ¶
type ScopeProjectOption struct { // 项目ID,id与name二选一即可。 Id *string `json:"id,omitempty"` // 项目名,id与name二选一即可。 Name *string `json:"name,omitempty"` Domain *ScopeDomainOption `json:"domain,omitempty"` }
func (ScopeProjectOption) String ¶
func (o ScopeProjectOption) String() string
type ScopeTokenResult ¶
type ScopeTokenResult struct { // 获取token的方式。 Methods []string `json:"methods"` // token过期时间。 ExpiresAt string `json:"expires_at"` // 服务目录信息。 Catalog *[]TokenCatalog `json:"catalog,omitempty"` Domain *TokenDomainResult `json:"domain"` Project *TokenProjectResult `json:"project"` // token的权限信息。 Roles []TokenRole `json:"roles"` User *ScopedTokenUser `json:"user"` // token下发时间。 IssuedAt string `json:"issued_at"` }
func (ScopeTokenResult) String ¶
func (o ScopeTokenResult) String() string
type ScopedToken ¶
type ScopedToken struct { // 联邦unscoped token的ID。 Id string `json:"id"` }
func (ScopedToken) String ¶
func (o ScopedToken) String() string
type ScopedTokenAuth ¶
type ScopedTokenAuth struct { Identity *ScopedTokenIdentity `json:"identity"` Scope *TokenSocpeOption `json:"scope"` }
func (ScopedTokenAuth) String ¶
func (o ScopedTokenAuth) String() string
type ScopedTokenIdentity ¶
type ScopedTokenIdentity struct { // 认证方法,该字段内容为“token”。 Methods []string `json:"methods"` Token *ScopedToken `json:"token"` }
func (ScopedTokenIdentity) String ¶
func (o ScopedTokenIdentity) String() string
type ScopedTokenUser ¶
type ScopedTokenUser struct { Domain *TokenDomainResult `json:"domain"` OsFederation *TokenUserOsfederation `json:"OS-FEDERATION"` // 用户ID。 Id string `json:"id"` // 用户名。 Name string `json:"name"` // 密码过期时间(UTC时间),“”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` }
func (ScopedTokenUser) String ¶
func (o ScopedTokenUser) String() string
type SecurityCompliance ¶
type SecurityCompliance struct { // 密码强度策略的正则表达式。 PasswordRegex string `json:"password_regex"` // 密码强度策略的描述。 PasswordRegexDescription string `json:"password_regex_description"` }
func (SecurityCompliance) String ¶
func (o SecurityCompliance) String() string
type Service ¶
type ServicePolicy ¶
type ServicePolicy struct { // 权限版本号,创建自定义策略时,该字段值填为“1.1”。 > - 1.0:系统预置的角色。以服务为粒度,提供有限的服务相关角色用于授权。 > - 1.1:策略。IAM最新提供的一种细粒度授权的能力,可以精确到具体服务的操作、资源以及请求条件等。 Version string `json:"Version"` // 授权语句,描述自定义策略的具体内容,不超过8个。 Statement []ServiceStatement `json:"Statement"` }
func (ServicePolicy) String ¶
func (o ServicePolicy) String() string
type ServicePolicyRoleOption ¶
type ServicePolicyRoleOption struct { // 自定义策略展示名。 DisplayName string `json:"display_name"` // 自定义策略的显示模式。 > - AX表示在domain层显示。 > - XA表示在project层显示。 > - 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)。 Type string `json:"type"` // 自定义策略的描述信息。 Description string `json:"description"` // 自定义策略的中文描述信息。 DescriptionCn *string `json:"description_cn,omitempty"` Policy *ServicePolicy `json:"policy"` }
func (ServicePolicyRoleOption) String ¶
func (o ServicePolicyRoleOption) String() string
type ServicePolicyRoleResult ¶
type ServicePolicyRoleResult struct { // 自定义策略所在目录。 Catalog string `json:"catalog"` // 自定义策略展示名。 DisplayName string `json:"display_name"` // 自定义策略的描述信息。 Description string `json:"description"` Links *LinksSelf `json:"links"` Policy *ServicePolicy `json:"policy"` // 自定义策略的中文描述信息。 DescriptionCn *string `json:"description_cn,omitempty"` // 自定义策略所属账号ID。 DomainId string `json:"domain_id"` // 自定义策略的显示模式。 > - AX表示在domain层显示。 > - XA表示在project层显示。 > - 自定义策略的显示模式只能为AX或者XA,不能在domain层和project层都显示(AA),或者在domain层和project层都不显示(XX)。 Type string `json:"type"` // 自定义策略ID。 Id string `json:"id"` // 自定义策略名。 Name string `json:"name"` // 自定义策略更新时间。 UpdatedTime *string `json:"updated_time,omitempty"` // 自定义策略创建时间。 CreatedTime *string `json:"created_time,omitempty"` // 自定义策略的引用次数。 References *string `json:"references,omitempty"` }
func (ServicePolicyRoleResult) String ¶
func (o ServicePolicyRoleResult) String() string
type ServiceStatement ¶
type ServiceStatement struct { // 授权项,指对资源的具体操作权限,不超过100个。 > - 格式为:服务名:资源类型:操作,例:vpc:ports:create。 > - 服务名为产品名称,例如ecs、evs和vpc等,服务名仅支持小写。 资源类型和操作没有大小写,要求支持通配符号*,无需罗列全部授权项。 Action []string `json:"Action"` // 作用。包含两种:允许(Allow)和拒绝(Deny),既有Allow又有Deny的授权语句时,遵循Deny优先的原则。 Effect ServiceStatementEffect `json:"Effect"` // 限制条件。不超过10个。 Condition map[string]map[string][]string `json:"Condition,omitempty"` // 资源。数组长度不超过10,每个字符串长度不超过128,规则如下: > - 可填 * 的五段式:<service-name>:<region>:<account-id>:<resource-type>:<resource-path>,例:\"obs:*:*:bucket:*\"。 > - region字段为*或用户可访问的region。service必须存在且resource属于对应service。 Resource *[]string `json:"Resource,omitempty"` }
func (ServiceStatement) String ¶
func (o ServiceStatement) String() string
type ServiceStatementEffect ¶
type ServiceStatementEffect struct {
// contains filtered or unexported fields
}
func (ServiceStatementEffect) MarshalJSON ¶
func (c ServiceStatementEffect) MarshalJSON() ([]byte, error)
func (*ServiceStatementEffect) UnmarshalJSON ¶
func (c *ServiceStatementEffect) UnmarshalJSON(b []byte) error
type ServiceStatementEffectEnum ¶
type ServiceStatementEffectEnum struct { ALLOW ServiceStatementEffect DENY ServiceStatementEffect }
func GetServiceStatementEffectEnum ¶
func GetServiceStatementEffectEnum() ServiceStatementEffectEnum
type ShowAgencyRequest ¶
type ShowAgencyRequest struct {
AgencyId string `json:"agency_id"`
}
Request Object
func (ShowAgencyRequest) String ¶
func (o ShowAgencyRequest) String() string
type ShowAgencyResponse ¶
type ShowAgencyResponse struct { Agency *AgencyResult `json:"agency,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAgencyResponse) String ¶
func (o ShowAgencyResponse) String() string
type ShowCredential ¶
type ShowCredential struct { // IAM用户ID。 UserId string `json:"user_id"` // 查询的AK。 Access string `json:"access"` // 访问密钥状态。 Status string `json:"status"` // 访问密钥创建时间。 CreateTime string `json:"create_time"` // 访问密钥的上次使用时间。 LastUseTime string `json:"last_use_time"` // 访问密钥描述信息。 Description string `json:"description"` }
func (ShowCredential) String ¶
func (o ShowCredential) String() string
type ShowCustomPolicyRequest ¶
type ShowCustomPolicyRequest struct {
RoleId string `json:"role_id"`
}
Request Object
func (ShowCustomPolicyRequest) String ¶
func (o ShowCustomPolicyRequest) String() string
type ShowCustomPolicyResponse ¶
type ShowCustomPolicyResponse struct { Role *PolicyRoleResult `json:"role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCustomPolicyResponse) String ¶
func (o ShowCustomPolicyResponse) String() string
type ShowDomainApiAclPolicyRequest ¶
type ShowDomainApiAclPolicyRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (ShowDomainApiAclPolicyRequest) String ¶
func (o ShowDomainApiAclPolicyRequest) String() string
type ShowDomainApiAclPolicyResponse ¶
type ShowDomainApiAclPolicyResponse struct { ApiAclPolicy *AclPolicyResult `json:"api_acl_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainApiAclPolicyResponse) String ¶
func (o ShowDomainApiAclPolicyResponse) String() string
type ShowDomainConsoleAclPolicyRequest ¶
type ShowDomainConsoleAclPolicyRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (ShowDomainConsoleAclPolicyRequest) String ¶
func (o ShowDomainConsoleAclPolicyRequest) String() string
type ShowDomainConsoleAclPolicyResponse ¶
type ShowDomainConsoleAclPolicyResponse struct { ConsoleAclPolicy *AclPolicyResult `json:"console_acl_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainConsoleAclPolicyResponse) String ¶
func (o ShowDomainConsoleAclPolicyResponse) String() string
type ShowDomainLoginPolicyRequest ¶
type ShowDomainLoginPolicyRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (ShowDomainLoginPolicyRequest) String ¶
func (o ShowDomainLoginPolicyRequest) String() string
type ShowDomainLoginPolicyResponse ¶
type ShowDomainLoginPolicyResponse struct { LoginPolicy *LoginPolicyResult `json:"login_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainLoginPolicyResponse) String ¶
func (o ShowDomainLoginPolicyResponse) String() string
type ShowDomainPasswordPolicyRequest ¶
type ShowDomainPasswordPolicyRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (ShowDomainPasswordPolicyRequest) String ¶
func (o ShowDomainPasswordPolicyRequest) String() string
type ShowDomainPasswordPolicyResponse ¶
type ShowDomainPasswordPolicyResponse struct { PasswordPolicy *PasswordPolicyResult `json:"password_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainPasswordPolicyResponse) String ¶
func (o ShowDomainPasswordPolicyResponse) String() string
type ShowDomainProtectPolicyRequest ¶
type ShowDomainProtectPolicyRequest struct {
DomainId string `json:"domain_id"`
}
Request Object
func (ShowDomainProtectPolicyRequest) String ¶
func (o ShowDomainProtectPolicyRequest) String() string
type ShowDomainProtectPolicyResponse ¶
type ShowDomainProtectPolicyResponse struct { ProtectPolicy *ProtectPolicyResult `json:"protect_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainProtectPolicyResponse) String ¶
func (o ShowDomainProtectPolicyResponse) String() string
type ShowDomainQuotaRequest ¶
type ShowDomainQuotaRequest struct { DomainId string `json:"domain_id"` Type *ShowDomainQuotaRequestType `json:"type,omitempty"` }
Request Object
func (ShowDomainQuotaRequest) String ¶
func (o ShowDomainQuotaRequest) String() string
type ShowDomainQuotaRequestType ¶
type ShowDomainQuotaRequestType struct {
// contains filtered or unexported fields
}
func (ShowDomainQuotaRequestType) MarshalJSON ¶
func (c ShowDomainQuotaRequestType) MarshalJSON() ([]byte, error)
func (*ShowDomainQuotaRequestType) UnmarshalJSON ¶
func (c *ShowDomainQuotaRequestType) UnmarshalJSON(b []byte) error
type ShowDomainQuotaRequestTypeEnum ¶
type ShowDomainQuotaRequestTypeEnum struct { USER ShowDomainQuotaRequestType GROUP ShowDomainQuotaRequestType IDP ShowDomainQuotaRequestType AGENCY ShowDomainQuotaRequestType POLICY ShowDomainQuotaRequestType }
func GetShowDomainQuotaRequestTypeEnum ¶
func GetShowDomainQuotaRequestTypeEnum() ShowDomainQuotaRequestTypeEnum
type ShowDomainQuotaResponse ¶
type ShowDomainQuotaResponse struct { Quotas *QuotaResult `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDomainQuotaResponse) String ¶
func (o ShowDomainQuotaResponse) String() string
type ShowMetadataRequest ¶
type ShowMetadataRequest struct { IdpId string `json:"idp_id"` ProtocolId string `json:"protocol_id"` }
Request Object
func (ShowMetadataRequest) String ¶
func (o ShowMetadataRequest) String() string
type ShowMetadataResponse ¶
type ShowMetadataResponse struct { // Metadata的ID。 Id *string `json:"id,omitempty"` // 身份提供商ID。 IdpId *string `json:"idp_id,omitempty"` // Metadata文件中的entityID字段。 EntityId *string `json:"entity_id,omitempty"` // 协议ID。 ProtocolId *string `json:"protocol_id,omitempty"` // 用户所属账号ID。 DomainId *string `json:"domain_id,omitempty"` // 账号来源,默认为空。 XaccountType *string `json:"xaccount_type,omitempty"` // 导入或更新Metadata文件的时间。 UpdateTime *string `json:"update_time,omitempty"` // Metadata文件的内容。 Data *string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMetadataResponse) String ¶
func (o ShowMetadataResponse) String() string
type ShowPermanentAccessKeyRequest ¶
type ShowPermanentAccessKeyRequest struct {
AccessKey string `json:"access_key"`
}
Request Object
func (ShowPermanentAccessKeyRequest) String ¶
func (o ShowPermanentAccessKeyRequest) String() string
type ShowPermanentAccessKeyResponse ¶
type ShowPermanentAccessKeyResponse struct { Credential *ShowCredential `json:"credential,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPermanentAccessKeyResponse) String ¶
func (o ShowPermanentAccessKeyResponse) String() string
type ShowProjectDetailsAndStatusRequest ¶
type ShowProjectDetailsAndStatusRequest struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ShowProjectDetailsAndStatusRequest) String ¶
func (o ShowProjectDetailsAndStatusRequest) String() string
type ShowProjectDetailsAndStatusResponse ¶
type ShowProjectDetailsAndStatusResponse struct { Project *ProjectDetailsAndStatusResult `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectDetailsAndStatusResponse) String ¶
func (o ShowProjectDetailsAndStatusResponse) String() string
type ShowProjectQuotaRequest ¶
type ShowProjectQuotaRequest struct {
ProjectId string `json:"project_id"`
}
Request Object
func (ShowProjectQuotaRequest) String ¶
func (o ShowProjectQuotaRequest) String() string
type ShowProjectQuotaResponse ¶
type ShowProjectQuotaResponse struct { Quotas *QuotaResult `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProjectQuotaResponse) String ¶
func (o ShowProjectQuotaResponse) String() string
type ShowUserLoginProtectRequest ¶
type ShowUserLoginProtectRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (ShowUserLoginProtectRequest) String ¶
func (o ShowUserLoginProtectRequest) String() string
type ShowUserLoginProtectResponse ¶
type ShowUserLoginProtectResponse struct { LoginProtect *LoginProtectResult `json:"login_protect,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowUserLoginProtectResponse) String ¶
func (o ShowUserLoginProtectResponse) String() string
type ShowUserMfaDeviceRequest ¶
type ShowUserMfaDeviceRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (ShowUserMfaDeviceRequest) String ¶
func (o ShowUserMfaDeviceRequest) String() string
type ShowUserMfaDeviceResponse ¶
type ShowUserMfaDeviceResponse struct { VirtualMfaDevice *MfaDeviceResult `json:"virtual_mfa_device,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowUserMfaDeviceResponse) String ¶
func (o ShowUserMfaDeviceResponse) String() string
type ShowUserRequest ¶
type ShowUserRequest struct {
UserId string `json:"user_id"`
}
Request Object
func (ShowUserRequest) String ¶
func (o ShowUserRequest) String() string
type ShowUserResponse ¶
type ShowUserResponse struct { User *ShowUserResult `json:"user,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowUserResponse) String ¶
func (o ShowUserResponse) String() string
type ShowUserResult ¶
type ShowUserResult struct { // IAM用户是否启用。true表示启用,false表示停用,默认为true。 Enabled bool `json:"enabled"` // IAM用户ID。 Id string `json:"id"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // IAM用户名。 Name string `json:"name"` Links *Links `json:"links"` // IAM用户在外部系统中的ID。 XuserId *string `json:"xuser_id,omitempty"` // IAM用户在外部系统中的类型。 XuserType *string `json:"xuser_type,omitempty"` // IAM用户手机号的国家码。 Areacode *string `json:"areacode,omitempty"` // IAM用户邮箱。 Email *string `json:"email,omitempty"` // IAM用户手机号。 Phone *string `json:"phone,omitempty"` // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户更新时间。 UpdateTime *string `json:"update_time,omitempty"` // IAM用户创建时间。 CreateTime *string `json:"create_time,omitempty"` // IAM用户最后登录时间。 LastLoginTime *string `json:"last_login_time,omitempty"` // IAM用户密码强度。结果为low/middle/high/none,分别表示密码强度低/中/高/无。 PwdStength *string `json:"pwd_stength,omitempty"` // IAM用户是否为根用户。 IsDomainOwner bool `json:"is_domain_owner"` // IAM用户描述信息 Description string `json:"description"` }
func (ShowUserResult) String ¶
func (o ShowUserResult) String() string
type TokenAuth ¶
type TokenAuth struct {
Identity *TokenAuthIdentity `json:"identity"`
}
type TokenAuthIdentity ¶
type TokenAuthIdentity struct { // 认证方法,该字段内容为[\"token\"]。 Methods []TokenAuthIdentityMethods `json:"methods"` Token *IdentityToken `json:"token,omitempty"` Policy *ServicePolicy `json:"policy,omitempty"` }
func (TokenAuthIdentity) String ¶
func (o TokenAuthIdentity) String() string
type TokenAuthIdentityMethods ¶
type TokenAuthIdentityMethods struct {
// contains filtered or unexported fields
}
func (TokenAuthIdentityMethods) MarshalJSON ¶
func (c TokenAuthIdentityMethods) MarshalJSON() ([]byte, error)
func (*TokenAuthIdentityMethods) UnmarshalJSON ¶
func (c *TokenAuthIdentityMethods) UnmarshalJSON(b []byte) error
type TokenAuthIdentityMethodsEnum ¶
type TokenAuthIdentityMethodsEnum struct {
TOKEN TokenAuthIdentityMethods
}
func GetTokenAuthIdentityMethodsEnum ¶
func GetTokenAuthIdentityMethodsEnum() TokenAuthIdentityMethodsEnum
type TokenCatalog ¶
type TokenCatalog struct { // 该接口所属服务。 Type string `json:"type"` // 服务ID。 Id string `json:"id"` // 服务名称。 Name string `json:"name"` // 终端节点。 Endpoints []TokenCatalogEndpoint `json:"endpoints"` }
func (TokenCatalog) String ¶
func (o TokenCatalog) String() string
type TokenCatalogEndpoint ¶
type TokenCatalogEndpoint struct { // 终端节点的URL。 Url string `json:"url"` // 终端节点所属区域。 Region string `json:"region"` // 终端节点所属区域ID。 RegionId string `json:"region_id"` // 接口类型,描述接口在该终端节点的可见性。值为“public”,表示该接口为公开接口。 Interface string `json:"interface"` // 终端节点ID。 Id string `json:"id"` }
func (TokenCatalogEndpoint) String ¶
func (o TokenCatalogEndpoint) String() string
type TokenDomainResult ¶
type TokenDomainResult struct { // 用户所属账号名。 Name string `json:"name"` // 用户所属账号ID。 Id string `json:"id"` }
func (TokenDomainResult) String ¶
func (o TokenDomainResult) String() string
type TokenProjectDomainResult ¶
type TokenProjectDomainResult struct { // 账号名。 Name string `json:"name"` // 账号ID。 Id string `json:"id"` }
func (TokenProjectDomainResult) String ¶
func (o TokenProjectDomainResult) String() string
type TokenProjectResult ¶
type TokenProjectResult struct { // 项目名。 Name string `json:"name"` // 项目ID。 Id string `json:"id"` Domain *TokenProjectDomainResult `json:"domain"` }
func (TokenProjectResult) String ¶
func (o TokenProjectResult) String() string
type TokenResult ¶
type TokenResult struct { // 服务目录信息。 Catalog []TokenCatalog `json:"catalog"` Domain *TokenDomainResult `json:"domain,omitempty"` // token过期时间。 ExpiresAt string `json:"expires_at"` // token下发时间。 IssuedAt string `json:"issued_at"` // 获取token的方式。 Methods []string `json:"methods"` Project *TokenProjectResult `json:"project,omitempty"` // token的权限信息。 Roles []TokenRole `json:"roles"` User *TokenUserResult `json:"user"` }
func (TokenResult) String ¶
func (o TokenResult) String() string
type TokenRole ¶
type TokenSocpeOption ¶
type TokenSocpeOption struct { Domain *ScopeDomainOption `json:"domain,omitempty"` Project *ScopeProjectOption `json:"project,omitempty"` }
func (TokenSocpeOption) String ¶
func (o TokenSocpeOption) String() string
type TokenUserDomainResult ¶
type TokenUserDomainResult struct { // IAM用户所属账号名称。 Name string `json:"name"` // IAM用户所属账号ID。 Id string `json:"id"` }
func (TokenUserDomainResult) String ¶
func (o TokenUserDomainResult) String() string
type TokenUserOsfederation ¶
type TokenUserOsfederation struct { // 用户组信息列表。 Groups []OsfederationGroups `json:"groups"` IdentityProvider *OsfederationIdentityprovider `json:"identity_provider"` Protocol *OsfederationProtocol `json:"protocol"` }
func (TokenUserOsfederation) String ¶
func (o TokenUserOsfederation) String() string
type TokenUserResult ¶
type TokenUserResult struct { // IAM用户名。 Name string `json:"name"` // IAM用户ID。 Id string `json:"id"` // 密码过期时间(UTC时间),“”表示密码不过期。 PasswordExpiresAt string `json:"password_expires_at"` Domain *TokenUserDomainResult `json:"domain"` }
func (TokenUserResult) String ¶
func (o TokenUserResult) String() string
type UnbindMfaDevice ¶
type UnbindMfaDevice struct { // 待解绑MFA设备的IAM用户ID。 UserId string `json:"user_id"` // 验证码。 AuthenticationCode *string `json:"authentication_code,omitempty"` // MFA设备序列号。 SerialNumber string `json:"serial_number"` }
func (UnbindMfaDevice) String ¶
func (o UnbindMfaDevice) String() string
type UnscopedTokenUser ¶
type UnscopedTokenUser struct { Domain *TokenDomainResult `json:"domain"` // 用户ID。 Id string `json:"id"` // 用户名称。 Name string `json:"name"` OsFederation *TokenUserOsfederation `json:"OS-FEDERATION"` }
func (UnscopedTokenUser) String ¶
func (o UnscopedTokenUser) String() string
type UpdateAgencyCustomPolicyRequest ¶
type UpdateAgencyCustomPolicyRequest struct { RoleId string `json:"role_id"` Body *UpdateAgencyCustomPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateAgencyCustomPolicyRequest) String ¶
func (o UpdateAgencyCustomPolicyRequest) String() string
type UpdateAgencyCustomPolicyRequestBody ¶
type UpdateAgencyCustomPolicyRequestBody struct {
Role *AgencyPolicyRoleOption `json:"role"`
}
func (UpdateAgencyCustomPolicyRequestBody) String ¶
func (o UpdateAgencyCustomPolicyRequestBody) String() string
type UpdateAgencyCustomPolicyResponse ¶
type UpdateAgencyCustomPolicyResponse struct { Role *AgencyPolicyRoleResult `json:"role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAgencyCustomPolicyResponse) String ¶
func (o UpdateAgencyCustomPolicyResponse) String() string
type UpdateAgencyOption ¶
type UpdateAgencyOption struct { // 被委托方账号ID。如果trust_domain_id和trust_domain_name都填写,则优先校验trust_domain_name。四个参数至少填写一个。 TrustDomainId *string `json:"trust_domain_id,omitempty"` // 被委托方账号名。如果trust_domain_id和trust_domain_name都填写,则优先校验trust_domain_name。四个参数至少填写一个。 TrustDomainName *string `json:"trust_domain_name,omitempty"` // 委托描述信息,长度不大于255位。四个参数至少填写一个。 Description *string `json:"description,omitempty"` // 委托的期限。取值为“FOREVER\"表示委托的期限为永久,取值为\"ONEDAY\"表示委托的期限为一天。四个参数至少填写一个。 Duration *UpdateAgencyOptionDuration `json:"duration,omitempty"` }
func (UpdateAgencyOption) String ¶
func (o UpdateAgencyOption) String() string
type UpdateAgencyOptionDuration ¶
type UpdateAgencyOptionDuration struct {
// contains filtered or unexported fields
}
func (UpdateAgencyOptionDuration) MarshalJSON ¶
func (c UpdateAgencyOptionDuration) MarshalJSON() ([]byte, error)
func (*UpdateAgencyOptionDuration) UnmarshalJSON ¶
func (c *UpdateAgencyOptionDuration) UnmarshalJSON(b []byte) error
type UpdateAgencyOptionDurationEnum ¶
type UpdateAgencyOptionDurationEnum struct { FOREVER UpdateAgencyOptionDuration ONEDAY UpdateAgencyOptionDuration }
func GetUpdateAgencyOptionDurationEnum ¶
func GetUpdateAgencyOptionDurationEnum() UpdateAgencyOptionDurationEnum
type UpdateAgencyRequest ¶
type UpdateAgencyRequest struct { AgencyId string `json:"agency_id"` Body *UpdateAgencyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateAgencyRequest) String ¶
func (o UpdateAgencyRequest) String() string
type UpdateAgencyRequestBody ¶
type UpdateAgencyRequestBody struct {
Agency *UpdateAgencyOption `json:"agency"`
}
func (UpdateAgencyRequestBody) String ¶
func (o UpdateAgencyRequestBody) String() string
type UpdateAgencyResponse ¶
type UpdateAgencyResponse struct { Agency *AgencyResult `json:"agency,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAgencyResponse) String ¶
func (o UpdateAgencyResponse) String() string
type UpdateCloudServiceCustomPolicyRequest ¶
type UpdateCloudServiceCustomPolicyRequest struct { RoleId string `json:"role_id"` Body *UpdateCloudServiceCustomPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateCloudServiceCustomPolicyRequest) String ¶
func (o UpdateCloudServiceCustomPolicyRequest) String() string
type UpdateCloudServiceCustomPolicyRequestBody ¶
type UpdateCloudServiceCustomPolicyRequestBody struct {
Role *ServicePolicyRoleOption `json:"role"`
}
func (UpdateCloudServiceCustomPolicyRequestBody) String ¶
func (o UpdateCloudServiceCustomPolicyRequestBody) String() string
type UpdateCloudServiceCustomPolicyResponse ¶
type UpdateCloudServiceCustomPolicyResponse struct { Role *ServicePolicyRoleResult `json:"role,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCloudServiceCustomPolicyResponse) String ¶
func (o UpdateCloudServiceCustomPolicyResponse) String() string
type UpdateCredentialOption ¶
type UpdateCredentialOption struct { // 访问密钥状态。取值为:“active”(启用)或者 “inactive”(停用)。status与description至少填写一个。 Status *UpdateCredentialOptionStatus `json:"status,omitempty"` // 访问密钥描述信息。status与description至少填写一个。 Description *string `json:"description,omitempty"` }
func (UpdateCredentialOption) String ¶
func (o UpdateCredentialOption) String() string
type UpdateCredentialOptionStatus ¶
type UpdateCredentialOptionStatus struct {
// contains filtered or unexported fields
}
func (UpdateCredentialOptionStatus) MarshalJSON ¶
func (c UpdateCredentialOptionStatus) MarshalJSON() ([]byte, error)
func (*UpdateCredentialOptionStatus) UnmarshalJSON ¶
func (c *UpdateCredentialOptionStatus) UnmarshalJSON(b []byte) error
type UpdateCredentialOptionStatusEnum ¶
type UpdateCredentialOptionStatusEnum struct { ACTIVE UpdateCredentialOptionStatus INACTIVE UpdateCredentialOptionStatus }
func GetUpdateCredentialOptionStatusEnum ¶
func GetUpdateCredentialOptionStatusEnum() UpdateCredentialOptionStatusEnum
type UpdateCredentialResult ¶
type UpdateCredentialResult struct { // IAM用户ID。 UserId string `json:"user_id"` // 修改的AK。 Access string `json:"access"` // 访问密钥状态。 Status string `json:"status"` // 访问密钥创建时间。 CreateTime string `json:"create_time"` // 访问密钥描述信息。 Description string `json:"description"` }
func (UpdateCredentialResult) String ¶
func (o UpdateCredentialResult) String() string
type UpdateDomainApiAclPolicyRequest ¶
type UpdateDomainApiAclPolicyRequest struct { DomainId string `json:"domain_id"` Body *UpdateDomainApiAclPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDomainApiAclPolicyRequest) String ¶
func (o UpdateDomainApiAclPolicyRequest) String() string
type UpdateDomainApiAclPolicyRequestBody ¶
type UpdateDomainApiAclPolicyRequestBody struct {
ApiAclPolicy *AclPolicyOption `json:"api_acl_policy"`
}
func (UpdateDomainApiAclPolicyRequestBody) String ¶
func (o UpdateDomainApiAclPolicyRequestBody) String() string
type UpdateDomainApiAclPolicyResponse ¶
type UpdateDomainApiAclPolicyResponse struct { ApiAclPolicy *AclPolicyResult `json:"api_acl_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainApiAclPolicyResponse) String ¶
func (o UpdateDomainApiAclPolicyResponse) String() string
type UpdateDomainConsoleAclPolicyRequest ¶
type UpdateDomainConsoleAclPolicyRequest struct { DomainId string `json:"domain_id"` Body *UpdateDomainConsoleAclPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDomainConsoleAclPolicyRequest) String ¶
func (o UpdateDomainConsoleAclPolicyRequest) String() string
type UpdateDomainConsoleAclPolicyRequestBody ¶
type UpdateDomainConsoleAclPolicyRequestBody struct {
ConsoleAclPolicy *AclPolicyOption `json:"console_acl_policy"`
}
func (UpdateDomainConsoleAclPolicyRequestBody) String ¶
func (o UpdateDomainConsoleAclPolicyRequestBody) String() string
type UpdateDomainConsoleAclPolicyResponse ¶
type UpdateDomainConsoleAclPolicyResponse struct { ConsoleAclPolicy *AclPolicyResult `json:"console_acl_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainConsoleAclPolicyResponse) String ¶
func (o UpdateDomainConsoleAclPolicyResponse) String() string
type UpdateDomainGroupInheritRoleRequest ¶
type UpdateDomainGroupInheritRoleRequest struct { DomainId string `json:"domain_id"` GroupId string `json:"group_id"` RoleId string `json:"role_id"` }
Request Object
func (UpdateDomainGroupInheritRoleRequest) String ¶
func (o UpdateDomainGroupInheritRoleRequest) String() string
type UpdateDomainGroupInheritRoleResponse ¶
type UpdateDomainGroupInheritRoleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateDomainGroupInheritRoleResponse) String ¶
func (o UpdateDomainGroupInheritRoleResponse) String() string
type UpdateDomainLoginPolicyRequest ¶
type UpdateDomainLoginPolicyRequest struct { DomainId string `json:"domain_id"` Body *UpdateDomainLoginPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDomainLoginPolicyRequest) String ¶
func (o UpdateDomainLoginPolicyRequest) String() string
type UpdateDomainLoginPolicyRequestBody ¶
type UpdateDomainLoginPolicyRequestBody struct {
LoginPolicy *LoginPolicyOption `json:"login_policy"`
}
func (UpdateDomainLoginPolicyRequestBody) String ¶
func (o UpdateDomainLoginPolicyRequestBody) String() string
type UpdateDomainLoginPolicyResponse ¶
type UpdateDomainLoginPolicyResponse struct { LoginPolicy *LoginPolicyResult `json:"login_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainLoginPolicyResponse) String ¶
func (o UpdateDomainLoginPolicyResponse) String() string
type UpdateDomainPasswordPolicyRequest ¶
type UpdateDomainPasswordPolicyRequest struct { DomainId string `json:"domain_id"` Body *UpdateDomainPasswordPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDomainPasswordPolicyRequest) String ¶
func (o UpdateDomainPasswordPolicyRequest) String() string
type UpdateDomainPasswordPolicyRequestBody ¶
type UpdateDomainPasswordPolicyRequestBody struct {
PasswordPolicy *PasswordPolicyOption `json:"password_policy"`
}
func (UpdateDomainPasswordPolicyRequestBody) String ¶
func (o UpdateDomainPasswordPolicyRequestBody) String() string
type UpdateDomainPasswordPolicyResponse ¶
type UpdateDomainPasswordPolicyResponse struct { PasswordPolicy *PasswordPolicyResult `json:"password_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainPasswordPolicyResponse) String ¶
func (o UpdateDomainPasswordPolicyResponse) String() string
type UpdateDomainProtectPolicyRequest ¶
type UpdateDomainProtectPolicyRequest struct { DomainId string `json:"domain_id"` Body *UpdateDomainProtectPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDomainProtectPolicyRequest) String ¶
func (o UpdateDomainProtectPolicyRequest) String() string
type UpdateDomainProtectPolicyRequestBody ¶
type UpdateDomainProtectPolicyRequestBody struct {
ProtectPolicy *ProtectPolicyOption `json:"protect_policy"`
}
func (UpdateDomainProtectPolicyRequestBody) String ¶
func (o UpdateDomainProtectPolicyRequestBody) String() string
type UpdateDomainProtectPolicyResponse ¶
type UpdateDomainProtectPolicyResponse struct { ProtectPolicy *ProtectPolicyResult `json:"protect_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainProtectPolicyResponse) String ¶
func (o UpdateDomainProtectPolicyResponse) String() string
type UpdateLoginProject ¶
type UpdateLoginProject struct { // IAM用户是否开启登录保护,开启为\"true\",未开启为\"false\"。 Enabled bool `json:"enabled"` // IAM用户登录验证方式。手机验证为“sms”,邮箱验证为“email”,MFA验证为“vmfa”。 VerificationMethod string `json:"verification_method"` }
func (UpdateLoginProject) String ¶
func (o UpdateLoginProject) String() string
type UpdateLoginProjectReq ¶
type UpdateLoginProjectReq struct {
LoginProtect *UpdateLoginProject `json:"login_protect"`
}
func (UpdateLoginProjectReq) String ¶
func (o UpdateLoginProjectReq) String() string
type UpdateLoginProtectRequest ¶
type UpdateLoginProtectRequest struct { UserId string `json:"user_id"` Body *UpdateLoginProjectReq `json:"body,omitempty"` }
Request Object
func (UpdateLoginProtectRequest) String ¶
func (o UpdateLoginProtectRequest) String() string
type UpdateLoginProtectRespon ¶
type UpdateLoginProtectRespon struct { // 待修改信息的IAM用户ID。 UserId string `json:"user_id"` // IAM用户是否开启登录保护,开启为\"true\",不开启为\"false\"。 Enabled bool `json:"enabled"` // IAM用户登录验证方式。手机验证为“sms”,邮箱验证为“email”,MFA验证为“vmfa”。 VerificationMethod string `json:"verification_method"` }
{ \"login_protect\":{ \"user_id\": \"16b26081f43d4c628c4bb88cf32e9f9b\", \"enabled\": true, \"verification_method\": \"vmfa\" } }
func (UpdateLoginProtectRespon) String ¶
func (o UpdateLoginProtectRespon) String() string
type UpdateLoginProtectResponse ¶
type UpdateLoginProtectResponse struct { LoginProtect *UpdateLoginProtectRespon `json:"login_protect,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateLoginProtectResponse) String ¶
func (o UpdateLoginProtectResponse) String() string
type UpdatePermanentAccessKeyRequest ¶
type UpdatePermanentAccessKeyRequest struct { AccessKey string `json:"access_key"` Body *UpdatePermanentAccessKeyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdatePermanentAccessKeyRequest) String ¶
func (o UpdatePermanentAccessKeyRequest) String() string
type UpdatePermanentAccessKeyRequestBody ¶
type UpdatePermanentAccessKeyRequestBody struct {
Credential *UpdateCredentialOption `json:"credential"`
}
func (UpdatePermanentAccessKeyRequestBody) String ¶
func (o UpdatePermanentAccessKeyRequestBody) String() string
type UpdatePermanentAccessKeyResponse ¶
type UpdatePermanentAccessKeyResponse struct { Credential *UpdateCredentialResult `json:"credential,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePermanentAccessKeyResponse) String ¶
func (o UpdatePermanentAccessKeyResponse) String() string
type UpdateProjectOption ¶
type UpdateProjectOption struct { // 项目的状态信息,参数的值为\"suspended\"或\"normal\"。 - status值为\"suspended\"时,会将项目设置为冻结状态。 - status值为\"normal\"时,会将项目设置为正常(解冻)状态。 Status UpdateProjectOptionStatus `json:"status"` }
func (UpdateProjectOption) String ¶
func (o UpdateProjectOption) String() string
type UpdateProjectOptionStatus ¶
type UpdateProjectOptionStatus struct {
// contains filtered or unexported fields
}
func (UpdateProjectOptionStatus) MarshalJSON ¶
func (c UpdateProjectOptionStatus) MarshalJSON() ([]byte, error)
func (*UpdateProjectOptionStatus) UnmarshalJSON ¶
func (c *UpdateProjectOptionStatus) UnmarshalJSON(b []byte) error
type UpdateProjectOptionStatusEnum ¶
type UpdateProjectOptionStatusEnum struct { SUSPENDED UpdateProjectOptionStatus NORMAL UpdateProjectOptionStatus }
func GetUpdateProjectOptionStatusEnum ¶
func GetUpdateProjectOptionStatusEnum() UpdateProjectOptionStatusEnum
type UpdateProjectStatusRequest ¶
type UpdateProjectStatusRequest struct { ProjectId string `json:"project_id"` Body *UpdateProjectStatusRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateProjectStatusRequest) String ¶
func (o UpdateProjectStatusRequest) String() string
type UpdateProjectStatusRequestBody ¶
type UpdateProjectStatusRequestBody struct {
Project *UpdateProjectOption `json:"project"`
}
func (UpdateProjectStatusRequestBody) String ¶
func (o UpdateProjectStatusRequestBody) String() string
type UpdateProjectStatusResponse ¶
type UpdateProjectStatusResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateProjectStatusResponse) String ¶
func (o UpdateProjectStatusResponse) String() string
type UpdateUserInformationOption ¶
type UpdateUserInformationOption struct { // IAM用户的新邮箱,符合邮箱格式,长度小于等于255字符。 Email *string `json:"email,omitempty"` // IAM用户的国家码+新手机号,手机号为纯数字,长度小于等于32字符。 Mobile *string `json:"mobile,omitempty"` }
func (UpdateUserInformationOption) String ¶
func (o UpdateUserInformationOption) String() string
type UpdateUserInformationRequest ¶
type UpdateUserInformationRequest struct { UserId string `json:"user_id"` Body *UpdateUserInformationRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateUserInformationRequest) String ¶
func (o UpdateUserInformationRequest) String() string
type UpdateUserInformationRequestBody ¶
type UpdateUserInformationRequestBody struct {
User *UpdateUserInformationOption `json:"user"`
}
func (UpdateUserInformationRequestBody) String ¶
func (o UpdateUserInformationRequestBody) String() string
type UpdateUserInformationResponse ¶
type UpdateUserInformationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateUserInformationResponse) String ¶
func (o UpdateUserInformationResponse) String() string
type UpdateUserOption ¶
type UpdateUserOption struct { // 新IAM用户名,长度5~32字符之间,首位不能为数字,特殊字符只能包含下划线“_”、中划线“-”和空格。 Name *string `json:"name,omitempty"` // IAM用户新密码。 - 系统默认密码最小长度为6字符,在6-32字符之间支持用户自定义密码长度。 - 至少包含以下四种字符中的两种: 大写字母、小写字母、数字和特殊字符。 - 必须满足账户设置中[密码策略](https://support.huaweicloud.com/usermanual-iam/iam_01_0607.html)的要求。 - 新密码不能与当前密码相同。 Password *string `json:"password,omitempty"` // IAM用户新邮箱,需符合邮箱格式,长度小于等于255字符。 Email *string `json:"email,omitempty"` // 国家码。必须与手机号同时存在。中国大陆为“0086”。 Areacode *string `json:"areacode,omitempty"` // IAM用户新手机号,纯数字,长度小于等于32字符。必须与国家码同时存在。 Phone *string `json:"phone,omitempty"` // 是否启用IAM用户。true为启用,false为停用,默认为true。 Enabled *bool `json:"enabled,omitempty"` // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户在外部系统中的类型。长度小于等于64字符。xuser_type如果存在,则需要与同一租户中的xaccount_type、xdomain_type校验,须与xuser_id同时存在。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserType *string `json:"xuser_type,omitempty"` // IAM用户在外部系统中的ID。长度小于等于128字符,必须与xuser_type同时存在。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserId *string `json:"xuser_id,omitempty"` // IAM用户新描述信息。 Description *string `json:"description,omitempty"` }
func (UpdateUserOption) String ¶
func (o UpdateUserOption) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { UserId string `json:"user_id"` Body *UpdateUserRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateUserRequest) String ¶
func (o UpdateUserRequest) String() string
type UpdateUserRequestBody ¶
type UpdateUserRequestBody struct {
User *UpdateUserOption `json:"user"`
}
func (UpdateUserRequestBody) String ¶
func (o UpdateUserRequestBody) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { User *UpdateUserResult `json:"user,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateUserResponse) String ¶
func (o UpdateUserResponse) String() string
type UpdateUserResult ¶
type UpdateUserResult struct { // IAM用户密码状态。true:需要修改密码,false:正常。 PwdStatus *bool `json:"pwd_status,omitempty"` // IAM用户在外部系统中的ID。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserId *string `json:"xuser_id,omitempty"` // IAM用户在外部系统中的类型。 >外部系统指与华为云对接的外部企业管理系统,xaccount_type、xaccount_id、xdomain_type、xdomain_id、xuser_type、xuser_id等参数值,无法在华为云获取,请咨询企业管理员。 XuserType *string `json:"xuser_type,omitempty"` // IAM用户的新描述信息。 Description *string `json:"description,omitempty"` // IAM用户新用户名,长度5~32字符之间,首位不能为数字,特殊字符只能包含下划线“_”、中划线“-”和空格。 Name string `json:"name"` // IAM用户新手机号,纯数字,长度小于等于32字符。必须与国家码同时存在。 Phone *string `json:"phone,omitempty"` // IAM用户所属账号ID。 DomainId string `json:"domain_id"` // 是否启用IAM用户。true为启用,false为停用,默认为true。 Enabled bool `json:"enabled"` // 国家码。中国大陆为“0086”。 Areacode *string `json:"areacode,omitempty"` // IAM用户新邮箱。 Email *string `json:"email,omitempty"` // IAM用户ID。 Id string `json:"id"` Links *LinksSelf `json:"links"` // 密码过期时间(UTC时间),“null”表示密码不过期。 PasswordExpiresAt *string `json:"password_expires_at,omitempty"` }
func (UpdateUserResult) String ¶
func (o UpdateUserResult) String() string
type Version ¶
type Version struct { // 版本状态。 Status string `json:"status"` // 最后更新时间。 Updated string `json:"updated"` // 版本的资源链接信息。 Links []VersionLinks `json:"links"` // 版本号,如v3.6。 Id string `json:"id"` // 支持的消息格式。 MediaTypes []VersionMediatypes `json:"media-types"` }
type VersionLinks ¶
type VersionLinks struct { // 链接类型。self:自助链接包含了版本链接的资源。bookmark:书签链接提供了一个永久资源的永久链接。alternate:备用链接包含了资源的替换表示形式。 Rel string `json:"rel"` // 资源链接地址。 Href string `json:"href"` }
func (VersionLinks) String ¶
func (o VersionLinks) String() string
type VersionMediatypes ¶
type VersionMediatypes struct { // 媒体类型。 Type string `json:"type"` // 基础类型。 Base string `json:"base"` }
func (VersionMediatypes) String ¶
func (o VersionMediatypes) String() string
Source Files ¶
- model_acl_policy_option.go
- model_acl_policy_result.go
- model_agency_all_project_role.go
- model_agency_assumedby.go
- model_agency_assumedby_user.go
- model_agency_assumedby_user_domain.go
- model_agency_auth.go
- model_agency_auth_identity.go
- model_agency_policy.go
- model_agency_policy_resource.go
- model_agency_policy_role_option.go
- model_agency_policy_role_result.go
- model_agency_policy_statement.go
- model_agency_result.go
- model_agency_token_assumerole.go
- model_agency_token_auth.go
- model_agency_token_domain.go
- model_agency_token_identity.go
- model_agency_token_project.go
- model_agency_token_project_domain.go
- model_agency_token_result.go
- model_agency_token_scope.go
- model_agency_token_scope_domain.go
- model_agency_token_scope_project.go
- model_agency_token_user.go
- model_agency_token_user_domain.go
- model_allow_address_netmasks_option.go
- model_allow_address_netmasks_result.go
- model_allow_ip_ranges_option.go
- model_allow_ip_ranges_result.go
- model_associate_agency_with_all_projects_permission_request.go
- model_associate_agency_with_all_projects_permission_response.go
- model_associate_agency_with_domain_permission_request.go
- model_associate_agency_with_domain_permission_response.go
- model_associate_agency_with_project_permission_request.go
- model_associate_agency_with_project_permission_response.go
- model_assumerole_sessionuser.go
- model_auth_project_result.go
- model_auth_scope.go
- model_auth_scope_domain.go
- model_auth_scope_project.go
- model_bind_mfa_device.go
- model_catalog.go
- model_catalog_endpoints.go
- model_check_all_projects_permission_for_agency_request.go
- model_check_all_projects_permission_for_agency_response.go
- model_check_domain_permission_for_agency_request.go
- model_check_domain_permission_for_agency_response.go
- model_check_project_permission_for_agency_request.go
- model_check_project_permission_for_agency_response.go
- model_config.go
- model_config_by_option.go
- model_create_agency_custom_policy_request.go
- model_create_agency_custom_policy_request_body.go
- model_create_agency_custom_policy_response.go
- model_create_agency_option.go
- model_create_agency_request.go
- model_create_agency_request_body.go
- model_create_agency_response.go
- model_create_binding_device_request.go
- model_create_binding_device_response.go
- model_create_cloud_service_custom_policy_request.go
- model_create_cloud_service_custom_policy_request_body.go
- model_create_cloud_service_custom_policy_response.go
- model_create_credential_option.go
- model_create_credential_result.go
- model_create_login_token_request.go
- model_create_login_token_request_body.go
- model_create_login_token_response.go
- model_create_metadata_request.go
- model_create_metadata_request_body.go
- model_create_metadata_response.go
- model_create_mfa_device.go
- model_create_mfa_device_req.go
- model_create_mfa_device_request.go
- model_create_mfa_device_respon.go
- model_create_mfa_device_response.go
- model_create_permanent_access_key_request.go
- model_create_permanent_access_key_request_body.go
- model_create_permanent_access_key_response.go
- model_create_temporary_access_key_by_agency_request.go
- model_create_temporary_access_key_by_agency_request_body.go
- model_create_temporary_access_key_by_agency_response.go
- model_create_temporary_access_key_by_token_request.go
- model_create_temporary_access_key_by_token_request_body.go
- model_create_temporary_access_key_by_token_response.go
- model_create_unscope_token_by_idp_initiated_request.go
- model_create_unscope_token_by_idp_initiated_response.go
- model_create_user_option.go
- model_create_user_request.go
- model_create_user_request_body.go
- model_create_user_response.go
- model_create_user_result.go
- model_credential.go
- model_credentials.go
- model_delete_agency_request.go
- model_delete_agency_response.go
- model_delete_binding_device_request.go
- model_delete_binding_device_response.go
- model_delete_custom_policy_request.go
- model_delete_custom_policy_response.go
- model_delete_domain_group_inherited_role_request.go
- model_delete_domain_group_inherited_role_response.go
- model_delete_mfa_device_request.go
- model_delete_mfa_device_response.go
- model_delete_permanent_access_key_request.go
- model_delete_permanent_access_key_response.go
- model_domains.go
- model_endpoint.go
- model_identity_assumerole.go
- model_identity_token.go
- model_identityprovider_option.go
- model_identityproviders_links.go
- model_identityproviders_result.go
- model_idp_token.go
- model_keystone_add_user_to_group_request.go
- model_keystone_add_user_to_group_response.go
- model_keystone_associate_group_with_domain_permission_request.go
- model_keystone_associate_group_with_domain_permission_response.go
- model_keystone_associate_group_with_project_permission_request.go
- model_keystone_associate_group_with_project_permission_response.go
- model_keystone_check_domain_permission_for_group_request.go
- model_keystone_check_domain_permission_for_group_response.go
- model_keystone_check_project_permission_for_group_request.go
- model_keystone_check_project_permission_for_group_response.go
- model_keystone_check_user_in_group_request.go
- model_keystone_check_user_in_group_response.go
- model_keystone_checkrole_for_group_request.go
- model_keystone_checkrole_for_group_response.go
- model_keystone_create_agency_token_request.go
- model_keystone_create_agency_token_request_body.go
- model_keystone_create_agency_token_response.go
- model_keystone_create_group_option.go
- model_keystone_create_group_request.go
- model_keystone_create_group_request_body.go
- model_keystone_create_group_response.go
- model_keystone_create_identity_provider_request.go
- model_keystone_create_identity_provider_request_body.go
- model_keystone_create_identity_provider_response.go
- model_keystone_create_mapping_request.go
- model_keystone_create_mapping_request_body.go
- model_keystone_create_mapping_response.go
- model_keystone_create_project_option.go
- model_keystone_create_project_request.go
- model_keystone_create_project_request_body.go
- model_keystone_create_project_response.go
- model_keystone_create_protocol_request.go
- model_keystone_create_protocol_request_body.go
- model_keystone_create_protocol_response.go
- model_keystone_create_scoped_token_request.go
- model_keystone_create_scoped_token_request_body.go
- model_keystone_create_scoped_token_response.go
- model_keystone_create_user_option.go
- model_keystone_create_user_request.go
- model_keystone_create_user_request_body.go
- model_keystone_create_user_response.go
- model_keystone_create_user_result.go
- model_keystone_create_user_token_by_password_and_mfa_request.go
- model_keystone_create_user_token_by_password_and_mfa_request_body.go
- model_keystone_create_user_token_by_password_and_mfa_response.go
- model_keystone_create_user_token_by_password_request.go
- model_keystone_create_user_token_by_password_request_body.go
- model_keystone_create_user_token_by_password_response.go
- model_keystone_delete_group_request.go
- model_keystone_delete_group_response.go
- model_keystone_delete_identity_provider_request.go
- model_keystone_delete_identity_provider_response.go
- model_keystone_delete_mapping_request.go
- model_keystone_delete_mapping_response.go
- model_keystone_delete_protocol_request.go
- model_keystone_delete_protocol_response.go
- model_keystone_delete_user_request.go
- model_keystone_delete_user_response.go
- model_keystone_group_result.go
- model_keystone_group_result_with_links_self.go
- model_keystone_list_all_project_permissions_for_group_request.go
- model_keystone_list_all_project_permissions_for_group_response.go
- model_keystone_list_auth_domains_request.go
- model_keystone_list_auth_domains_response.go
- model_keystone_list_auth_projects_request.go
- model_keystone_list_auth_projects_response.go
- model_keystone_list_domain_permissions_for_group_request.go
- model_keystone_list_domain_permissions_for_group_response.go
- model_keystone_list_endpoints_request.go
- model_keystone_list_endpoints_response.go
- model_keystone_list_groups_for_user_request.go
- model_keystone_list_groups_for_user_response.go
- model_keystone_list_groups_request.go
- model_keystone_list_groups_response.go
- model_keystone_list_identity_providers_request.go
- model_keystone_list_identity_providers_response.go
- model_keystone_list_mappings_request.go
- model_keystone_list_mappings_response.go
- model_keystone_list_permissions_request.go
- model_keystone_list_permissions_response.go
- model_keystone_list_project_permissions_for_group_request.go
- model_keystone_list_project_permissions_for_group_response.go
- model_keystone_list_projects_for_user_request.go
- model_keystone_list_projects_for_user_response.go
- model_keystone_list_projects_request.go
- model_keystone_list_projects_response.go
- model_keystone_list_protocols_request.go
- model_keystone_list_protocols_response.go
- model_keystone_list_regions_request.go
- model_keystone_list_regions_response.go
- model_keystone_list_services_request.go
- model_keystone_list_services_response.go
- model_keystone_list_users_for_group_by_admin_request.go
- model_keystone_list_users_for_group_by_admin_response.go
- model_keystone_list_users_request.go
- model_keystone_list_users_response.go
- model_keystone_list_users_result.go
- model_keystone_list_versions_request.go
- model_keystone_list_versions_response.go
- model_keystone_remove_domain_permission_from_group_request.go
- model_keystone_remove_domain_permission_from_group_response.go
- model_keystone_remove_project_permission_from_group_request.go
- model_keystone_remove_project_permission_from_group_response.go
- model_keystone_remove_user_from_group_request.go
- model_keystone_remove_user_from_group_response.go
- model_keystone_show_catalog_request.go
- model_keystone_show_catalog_response.go
- model_keystone_show_endpoint_request.go
- model_keystone_show_endpoint_response.go
- model_keystone_show_group_request.go
- model_keystone_show_group_response.go
- model_keystone_show_identity_provider_request.go
- model_keystone_show_identity_provider_response.go
- model_keystone_show_mapping_request.go
- model_keystone_show_mapping_response.go
- model_keystone_show_permission_request.go
- model_keystone_show_permission_response.go
- model_keystone_show_project_request.go
- model_keystone_show_project_response.go
- model_keystone_show_protocol_request.go
- model_keystone_show_protocol_response.go
- model_keystone_show_region_request.go
- model_keystone_show_region_response.go
- model_keystone_show_security_compliance_by_option_request.go
- model_keystone_show_security_compliance_by_option_response.go
- model_keystone_show_security_compliance_request.go
- model_keystone_show_security_compliance_response.go
- model_keystone_show_service_request.go
- model_keystone_show_service_response.go
- model_keystone_show_user_request.go
- model_keystone_show_user_response.go
- model_keystone_show_user_result.go
- model_keystone_show_version_request.go
- model_keystone_show_version_response.go
- model_keystone_update_group_option.go
- model_keystone_update_group_request.go
- model_keystone_update_group_request_body.go
- model_keystone_update_group_response.go
- model_keystone_update_identity_provider_request.go
- model_keystone_update_identity_provider_request_body.go
- model_keystone_update_identity_provider_response.go
- model_keystone_update_mapping_request.go
- model_keystone_update_mapping_request_body.go
- model_keystone_update_mapping_response.go
- model_keystone_update_password_option.go
- model_keystone_update_project_option.go
- model_keystone_update_project_request.go
- model_keystone_update_project_request_body.go
- model_keystone_update_project_response.go
- model_keystone_update_project_result.go
- model_keystone_update_protocol_request.go
- model_keystone_update_protocol_request_body.go
- model_keystone_update_protocol_response.go
- model_keystone_update_user_by_admin_request.go
- model_keystone_update_user_by_admin_request_body.go
- model_keystone_update_user_by_admin_response.go
- model_keystone_update_user_by_admin_result.go
- model_keystone_update_user_option.go
- model_keystone_update_user_password_request.go
- model_keystone_update_user_password_request_body.go
- model_keystone_update_user_password_response.go
- model_keystone_user_result.go
- model_keystone_user_result_extra.go
- model_keystone_validate_token_request.go
- model_keystone_validate_token_response.go
- model_links.go
- model_links_self.go
- model_list_agencies_request.go
- model_list_agencies_response.go
- model_list_all_projects_permissions_for_agency_request.go
- model_list_all_projects_permissions_for_agency_response.go
- model_list_custom_policies_request.go
- model_list_custom_policies_response.go
- model_list_domain_permissions_for_agency_request.go
- model_list_domain_permissions_for_agency_response.go
- model_list_permanent_access_keys_request.go
- model_list_permanent_access_keys_response.go
- model_list_project_permissions_for_agency_request.go
- model_list_project_permissions_for_agency_response.go
- model_list_user_login_protects_request.go
- model_list_user_login_protects_response.go
- model_list_user_mfa_devices_request.go
- model_list_user_mfa_devices_response.go
- model_login_policy_option.go
- model_login_policy_result.go
- model_login_protect_result.go
- model_login_token.go
- model_login_token_assumed_by.go
- model_login_token_auth.go
- model_login_token_domain.go
- model_login_token_security_token.go
- model_login_token_user.go
- model_mapping_option.go
- model_mapping_result.go
- model_mapping_rules.go
- model_mfa_auth.go
- model_mfa_device_result.go
- model_mfa_identity.go
- model_mfa_totp.go
- model_mfa_totp_user.go
- model_osfederation_groups.go
- model_osfederation_identityprovider.go
- model_osfederation_protocol.go
- model_password_policy_option.go
- model_password_policy_result.go
- model_policy_depends.go
- model_policy_role_result.go
- model_policy_statement.go
- model_project_details_and_status_result.go
- model_project_result.go
- model_protect_policy_option.go
- model_protect_policy_result.go
- model_protocol_links.go
- model_protocol_option.go
- model_protocol_result.go
- model_pwd_auth.go
- model_pwd_identity.go
- model_pwd_password.go
- model_pwd_password_user.go
- model_pwd_password_user_domain.go
- model_quota_result.go
- model_region.go
- model_region_locales.go
- model_remove_all_projects_permission_from_agency_request.go
- model_remove_all_projects_permission_from_agency_response.go
- model_remove_domain_permission_from_agency_request.go
- model_remove_domain_permission_from_agency_response.go
- model_remove_project_permission_from_agency_request.go
- model_remove_project_permission_from_agency_response.go
- model_resources.go
- model_role_policy.go
- model_role_result.go
- model_rules_local_additional.go
- model_rules_remote.go
- model_scope_domain_option.go
- model_scope_project_option.go
- model_scope_token_result.go
- model_scoped_token.go
- model_scoped_token_auth.go
- model_scoped_token_identity.go
- model_scoped_token_user.go
- model_security_compliance.go
- model_service.go
- model_service_policy.go
- model_service_policy_role_option.go
- model_service_policy_role_result.go
- model_service_statement.go
- model_show_agency_request.go
- model_show_agency_response.go
- model_show_credential.go
- model_show_custom_policy_request.go
- model_show_custom_policy_response.go
- model_show_domain_api_acl_policy_request.go
- model_show_domain_api_acl_policy_response.go
- model_show_domain_console_acl_policy_request.go
- model_show_domain_console_acl_policy_response.go
- model_show_domain_login_policy_request.go
- model_show_domain_login_policy_response.go
- model_show_domain_password_policy_request.go
- model_show_domain_password_policy_response.go
- model_show_domain_protect_policy_request.go
- model_show_domain_protect_policy_response.go
- model_show_domain_quota_request.go
- model_show_domain_quota_response.go
- model_show_metadata_request.go
- model_show_metadata_response.go
- model_show_permanent_access_key_request.go
- model_show_permanent_access_key_response.go
- model_show_project_details_and_status_request.go
- model_show_project_details_and_status_response.go
- model_show_project_quota_request.go
- model_show_project_quota_response.go
- model_show_user_login_protect_request.go
- model_show_user_login_protect_response.go
- model_show_user_mfa_device_request.go
- model_show_user_mfa_device_response.go
- model_show_user_request.go
- model_show_user_response.go
- model_show_user_result.go
- model_token_auth.go
- model_token_auth_identity.go
- model_token_catalog.go
- model_token_catalog_endpoint.go
- model_token_domain_result.go
- model_token_project_domain_result.go
- model_token_project_result.go
- model_token_result.go
- model_token_role.go
- model_token_socpe_option.go
- model_token_user_domain_result.go
- model_token_user_osfederation.go
- model_token_user_result.go
- model_unbind_mfa_device.go
- model_unscoped_token_user.go
- model_update_agency_custom_policy_request.go
- model_update_agency_custom_policy_request_body.go
- model_update_agency_custom_policy_response.go
- model_update_agency_option.go
- model_update_agency_request.go
- model_update_agency_request_body.go
- model_update_agency_response.go
- model_update_cloud_service_custom_policy_request.go
- model_update_cloud_service_custom_policy_request_body.go
- model_update_cloud_service_custom_policy_response.go
- model_update_credential_option.go
- model_update_credential_result.go
- model_update_domain_api_acl_policy_request.go
- model_update_domain_api_acl_policy_request_body.go
- model_update_domain_api_acl_policy_response.go
- model_update_domain_console_acl_policy_request.go
- model_update_domain_console_acl_policy_request_body.go
- model_update_domain_console_acl_policy_response.go
- model_update_domain_group_inherit_role_request.go
- model_update_domain_group_inherit_role_response.go
- model_update_domain_login_policy_request.go
- model_update_domain_login_policy_request_body.go
- model_update_domain_login_policy_response.go
- model_update_domain_password_policy_request.go
- model_update_domain_password_policy_request_body.go
- model_update_domain_password_policy_response.go
- model_update_domain_protect_policy_request.go
- model_update_domain_protect_policy_request_body.go
- model_update_domain_protect_policy_response.go
- model_update_login_project.go
- model_update_login_project_req.go
- model_update_login_protect_request.go
- model_update_login_protect_respon.go
- model_update_login_protect_response.go
- model_update_permanent_access_key_request.go
- model_update_permanent_access_key_request_body.go
- model_update_permanent_access_key_response.go
- model_update_project_option.go
- model_update_project_status_request.go
- model_update_project_status_request_body.go
- model_update_project_status_response.go
- model_update_user_information_option.go
- model_update_user_information_request.go
- model_update_user_information_request_body.go
- model_update_user_information_response.go
- model_update_user_option.go
- model_update_user_request.go
- model_update_user_request_body.go
- model_update_user_response.go
- model_update_user_result.go
- model_version.go
- model_version_links.go
- model_version_mediatypes.go
- model_versions.go