v3

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAssociateAgencyWithAllProjectsPermission

func GenReqDefForAssociateAgencyWithAllProjectsPermission() *def.HttpRequestDef

func GenReqDefForAssociateAgencyWithDomainPermission

func GenReqDefForAssociateAgencyWithDomainPermission() *def.HttpRequestDef

func GenReqDefForAssociateAgencyWithProjectPermission

func GenReqDefForAssociateAgencyWithProjectPermission() *def.HttpRequestDef

func GenReqDefForCheckAllProjectsPermissionForAgency

func GenReqDefForCheckAllProjectsPermissionForAgency() *def.HttpRequestDef

func GenReqDefForCheckDomainPermissionForAgency

func GenReqDefForCheckDomainPermissionForAgency() *def.HttpRequestDef

func GenReqDefForCheckProjectPermissionForAgency

func GenReqDefForCheckProjectPermissionForAgency() *def.HttpRequestDef

func GenReqDefForCreateAgency

func GenReqDefForCreateAgency() *def.HttpRequestDef

func GenReqDefForCreateAgencyCustomPolicy

func GenReqDefForCreateAgencyCustomPolicy() *def.HttpRequestDef

func GenReqDefForCreateBindingDevice

func GenReqDefForCreateBindingDevice() *def.HttpRequestDef

func GenReqDefForCreateCloudServiceCustomPolicy

func GenReqDefForCreateCloudServiceCustomPolicy() *def.HttpRequestDef

func GenReqDefForCreateLoginToken

func GenReqDefForCreateLoginToken() *def.HttpRequestDef

func GenReqDefForCreateMetadata

func GenReqDefForCreateMetadata() *def.HttpRequestDef

func GenReqDefForCreateMfaDevice

func GenReqDefForCreateMfaDevice() *def.HttpRequestDef

func GenReqDefForCreateOpenIdConnectConfig

func GenReqDefForCreateOpenIdConnectConfig() *def.HttpRequestDef

func GenReqDefForCreatePermanentAccessKey

func GenReqDefForCreatePermanentAccessKey() *def.HttpRequestDef

func GenReqDefForCreateTemporaryAccessKeyByAgency

func GenReqDefForCreateTemporaryAccessKeyByAgency() *def.HttpRequestDef

func GenReqDefForCreateTemporaryAccessKeyByToken

func GenReqDefForCreateTemporaryAccessKeyByToken() *def.HttpRequestDef

func GenReqDefForCreateTokenWithIdToken

func GenReqDefForCreateTokenWithIdToken() *def.HttpRequestDef

func GenReqDefForCreateUser

func GenReqDefForCreateUser() *def.HttpRequestDef

func GenReqDefForDeleteAgency

func GenReqDefForDeleteAgency() *def.HttpRequestDef

func GenReqDefForDeleteBindingDevice

func GenReqDefForDeleteBindingDevice() *def.HttpRequestDef

func GenReqDefForDeleteCustomPolicy

func GenReqDefForDeleteCustomPolicy() *def.HttpRequestDef

func GenReqDefForDeleteDomainGroupInheritedRole

func GenReqDefForDeleteDomainGroupInheritedRole() *def.HttpRequestDef

func GenReqDefForDeleteMfaDevice

func GenReqDefForDeleteMfaDevice() *def.HttpRequestDef

func GenReqDefForDeletePermanentAccessKey

func GenReqDefForDeletePermanentAccessKey() *def.HttpRequestDef

func GenReqDefForKeystoneAddUserToGroup

func GenReqDefForKeystoneAddUserToGroup() *def.HttpRequestDef

func GenReqDefForKeystoneAssociateGroupWithDomainPermission

func GenReqDefForKeystoneAssociateGroupWithDomainPermission() *def.HttpRequestDef

func GenReqDefForKeystoneAssociateGroupWithProjectPermission

func GenReqDefForKeystoneAssociateGroupWithProjectPermission() *def.HttpRequestDef

func GenReqDefForKeystoneCheckDomainPermissionForGroup

func GenReqDefForKeystoneCheckDomainPermissionForGroup() *def.HttpRequestDef

func GenReqDefForKeystoneCheckProjectPermissionForGroup

func GenReqDefForKeystoneCheckProjectPermissionForGroup() *def.HttpRequestDef

func GenReqDefForKeystoneCheckUserInGroup

func GenReqDefForKeystoneCheckUserInGroup() *def.HttpRequestDef

func GenReqDefForKeystoneCheckroleForGroup

func GenReqDefForKeystoneCheckroleForGroup() *def.HttpRequestDef

func GenReqDefForKeystoneCreateAgencyToken

func GenReqDefForKeystoneCreateAgencyToken() *def.HttpRequestDef

func GenReqDefForKeystoneCreateGroup

func GenReqDefForKeystoneCreateGroup() *def.HttpRequestDef

func GenReqDefForKeystoneCreateIdentityProvider

func GenReqDefForKeystoneCreateIdentityProvider() *def.HttpRequestDef

func GenReqDefForKeystoneCreateMapping

func GenReqDefForKeystoneCreateMapping() *def.HttpRequestDef

func GenReqDefForKeystoneCreateProject

func GenReqDefForKeystoneCreateProject() *def.HttpRequestDef

func GenReqDefForKeystoneCreateProtocol

func GenReqDefForKeystoneCreateProtocol() *def.HttpRequestDef

func GenReqDefForKeystoneCreateScopedToken

func GenReqDefForKeystoneCreateScopedToken() *def.HttpRequestDef

func GenReqDefForKeystoneCreateUser

func GenReqDefForKeystoneCreateUser() *def.HttpRequestDef

func GenReqDefForKeystoneCreateUserTokenByPassword

func GenReqDefForKeystoneCreateUserTokenByPassword() *def.HttpRequestDef

func GenReqDefForKeystoneCreateUserTokenByPasswordAndMfa

func GenReqDefForKeystoneCreateUserTokenByPasswordAndMfa() *def.HttpRequestDef

func GenReqDefForKeystoneDeleteGroup

func GenReqDefForKeystoneDeleteGroup() *def.HttpRequestDef

func GenReqDefForKeystoneDeleteIdentityProvider

func GenReqDefForKeystoneDeleteIdentityProvider() *def.HttpRequestDef

func GenReqDefForKeystoneDeleteMapping

func GenReqDefForKeystoneDeleteMapping() *def.HttpRequestDef

func GenReqDefForKeystoneDeleteProtocol

func GenReqDefForKeystoneDeleteProtocol() *def.HttpRequestDef

func GenReqDefForKeystoneDeleteUser

func GenReqDefForKeystoneDeleteUser() *def.HttpRequestDef

func GenReqDefForKeystoneListAllProjectPermissionsForGroup

func GenReqDefForKeystoneListAllProjectPermissionsForGroup() *def.HttpRequestDef

func GenReqDefForKeystoneListAuthDomains

func GenReqDefForKeystoneListAuthDomains() *def.HttpRequestDef

func GenReqDefForKeystoneListAuthProjects

func GenReqDefForKeystoneListAuthProjects() *def.HttpRequestDef

func GenReqDefForKeystoneListDomainPermissionsForGroup

func GenReqDefForKeystoneListDomainPermissionsForGroup() *def.HttpRequestDef

func GenReqDefForKeystoneListEndpoints

func GenReqDefForKeystoneListEndpoints() *def.HttpRequestDef

func GenReqDefForKeystoneListGroups

func GenReqDefForKeystoneListGroups() *def.HttpRequestDef

func GenReqDefForKeystoneListGroupsForUser

func GenReqDefForKeystoneListGroupsForUser() *def.HttpRequestDef

func GenReqDefForKeystoneListIdentityProviders

func GenReqDefForKeystoneListIdentityProviders() *def.HttpRequestDef

func GenReqDefForKeystoneListMappings

func GenReqDefForKeystoneListMappings() *def.HttpRequestDef

func GenReqDefForKeystoneListPermissions

func GenReqDefForKeystoneListPermissions() *def.HttpRequestDef

func GenReqDefForKeystoneListProjectPermissionsForGroup

func GenReqDefForKeystoneListProjectPermissionsForGroup() *def.HttpRequestDef

func GenReqDefForKeystoneListProjects

func GenReqDefForKeystoneListProjects() *def.HttpRequestDef

func GenReqDefForKeystoneListProjectsForUser

func GenReqDefForKeystoneListProjectsForUser() *def.HttpRequestDef

func GenReqDefForKeystoneListProtocols

func GenReqDefForKeystoneListProtocols() *def.HttpRequestDef

func GenReqDefForKeystoneListRegions

func GenReqDefForKeystoneListRegions() *def.HttpRequestDef

func GenReqDefForKeystoneListServices

func GenReqDefForKeystoneListServices() *def.HttpRequestDef

func GenReqDefForKeystoneListUsers

func GenReqDefForKeystoneListUsers() *def.HttpRequestDef

func GenReqDefForKeystoneListUsersForGroupByAdmin

func GenReqDefForKeystoneListUsersForGroupByAdmin() *def.HttpRequestDef

func GenReqDefForKeystoneListVersions

func GenReqDefForKeystoneListVersions() *def.HttpRequestDef

func GenReqDefForKeystoneRemoveDomainPermissionFromGroup

func GenReqDefForKeystoneRemoveDomainPermissionFromGroup() *def.HttpRequestDef

func GenReqDefForKeystoneRemoveProjectPermissionFromGroup

func GenReqDefForKeystoneRemoveProjectPermissionFromGroup() *def.HttpRequestDef

func GenReqDefForKeystoneRemoveUserFromGroup

func GenReqDefForKeystoneRemoveUserFromGroup() *def.HttpRequestDef

func GenReqDefForKeystoneShowCatalog

func GenReqDefForKeystoneShowCatalog() *def.HttpRequestDef

func GenReqDefForKeystoneShowEndpoint

func GenReqDefForKeystoneShowEndpoint() *def.HttpRequestDef

func GenReqDefForKeystoneShowGroup

func GenReqDefForKeystoneShowGroup() *def.HttpRequestDef

func GenReqDefForKeystoneShowIdentityProvider

func GenReqDefForKeystoneShowIdentityProvider() *def.HttpRequestDef

func GenReqDefForKeystoneShowMapping

func GenReqDefForKeystoneShowMapping() *def.HttpRequestDef

func GenReqDefForKeystoneShowPermission

func GenReqDefForKeystoneShowPermission() *def.HttpRequestDef

func GenReqDefForKeystoneShowProject

func GenReqDefForKeystoneShowProject() *def.HttpRequestDef

func GenReqDefForKeystoneShowProtocol

func GenReqDefForKeystoneShowProtocol() *def.HttpRequestDef

func GenReqDefForKeystoneShowRegion

func GenReqDefForKeystoneShowRegion() *def.HttpRequestDef

func GenReqDefForKeystoneShowSecurityCompliance

func GenReqDefForKeystoneShowSecurityCompliance() *def.HttpRequestDef

func GenReqDefForKeystoneShowSecurityComplianceByOption

func GenReqDefForKeystoneShowSecurityComplianceByOption() *def.HttpRequestDef

func GenReqDefForKeystoneShowService

func GenReqDefForKeystoneShowService() *def.HttpRequestDef

func GenReqDefForKeystoneShowUser

func GenReqDefForKeystoneShowUser() *def.HttpRequestDef

func GenReqDefForKeystoneShowVersion

func GenReqDefForKeystoneShowVersion() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateGroup

func GenReqDefForKeystoneUpdateGroup() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateIdentityProvider

func GenReqDefForKeystoneUpdateIdentityProvider() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateMapping

func GenReqDefForKeystoneUpdateMapping() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateProject

func GenReqDefForKeystoneUpdateProject() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateProtocol

func GenReqDefForKeystoneUpdateProtocol() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateUserByAdmin

func GenReqDefForKeystoneUpdateUserByAdmin() *def.HttpRequestDef

func GenReqDefForKeystoneUpdateUserPassword

func GenReqDefForKeystoneUpdateUserPassword() *def.HttpRequestDef

func GenReqDefForKeystoneValidateToken

func GenReqDefForKeystoneValidateToken() *def.HttpRequestDef

func GenReqDefForListAgencies

func GenReqDefForListAgencies() *def.HttpRequestDef

func GenReqDefForListAllProjectsPermissionsForAgency

func GenReqDefForListAllProjectsPermissionsForAgency() *def.HttpRequestDef

func GenReqDefForListCustomPolicies

func GenReqDefForListCustomPolicies() *def.HttpRequestDef

func GenReqDefForListDomainPermissionsForAgency

func GenReqDefForListDomainPermissionsForAgency() *def.HttpRequestDef

func GenReqDefForListPermanentAccessKeys

func GenReqDefForListPermanentAccessKeys() *def.HttpRequestDef

func GenReqDefForListProjectPermissionsForAgency

func GenReqDefForListProjectPermissionsForAgency() *def.HttpRequestDef

func GenReqDefForListUserLoginProtects

func GenReqDefForListUserLoginProtects() *def.HttpRequestDef

func GenReqDefForListUserMfaDevices

func GenReqDefForListUserMfaDevices() *def.HttpRequestDef

func GenReqDefForRemoveAllProjectsPermissionFromAgency

func GenReqDefForRemoveAllProjectsPermissionFromAgency() *def.HttpRequestDef

func GenReqDefForRemoveDomainPermissionFromAgency

func GenReqDefForRemoveDomainPermissionFromAgency() *def.HttpRequestDef

func GenReqDefForRemoveProjectPermissionFromAgency

func GenReqDefForRemoveProjectPermissionFromAgency() *def.HttpRequestDef

func GenReqDefForShowAgency

func GenReqDefForShowAgency() *def.HttpRequestDef

func GenReqDefForShowCustomPolicy

func GenReqDefForShowCustomPolicy() *def.HttpRequestDef

func GenReqDefForShowDomainApiAclPolicy

func GenReqDefForShowDomainApiAclPolicy() *def.HttpRequestDef

func GenReqDefForShowDomainConsoleAclPolicy

func GenReqDefForShowDomainConsoleAclPolicy() *def.HttpRequestDef

func GenReqDefForShowDomainLoginPolicy

func GenReqDefForShowDomainLoginPolicy() *def.HttpRequestDef

func GenReqDefForShowDomainPasswordPolicy

func GenReqDefForShowDomainPasswordPolicy() *def.HttpRequestDef

func GenReqDefForShowDomainProtectPolicy

func GenReqDefForShowDomainProtectPolicy() *def.HttpRequestDef

func GenReqDefForShowDomainQuota

func GenReqDefForShowDomainQuota() *def.HttpRequestDef

func GenReqDefForShowMetadata

func GenReqDefForShowMetadata() *def.HttpRequestDef

func GenReqDefForShowOpenIdConnectConfig

func GenReqDefForShowOpenIdConnectConfig() *def.HttpRequestDef

func GenReqDefForShowPermanentAccessKey

func GenReqDefForShowPermanentAccessKey() *def.HttpRequestDef

func GenReqDefForShowProjectDetailsAndStatus

func GenReqDefForShowProjectDetailsAndStatus() *def.HttpRequestDef

func GenReqDefForShowProjectQuota

func GenReqDefForShowProjectQuota() *def.HttpRequestDef

func GenReqDefForShowUser

func GenReqDefForShowUser() *def.HttpRequestDef

func GenReqDefForShowUserLoginProtect

func GenReqDefForShowUserLoginProtect() *def.HttpRequestDef

func GenReqDefForShowUserMfaDevice

func GenReqDefForShowUserMfaDevice() *def.HttpRequestDef

func GenReqDefForUpdateAgency

func GenReqDefForUpdateAgency() *def.HttpRequestDef

func GenReqDefForUpdateAgencyCustomPolicy

func GenReqDefForUpdateAgencyCustomPolicy() *def.HttpRequestDef

func GenReqDefForUpdateCloudServiceCustomPolicy

func GenReqDefForUpdateCloudServiceCustomPolicy() *def.HttpRequestDef

func GenReqDefForUpdateDomainApiAclPolicy

func GenReqDefForUpdateDomainApiAclPolicy() *def.HttpRequestDef

func GenReqDefForUpdateDomainConsoleAclPolicy

func GenReqDefForUpdateDomainConsoleAclPolicy() *def.HttpRequestDef

func GenReqDefForUpdateDomainGroupInheritRole

func GenReqDefForUpdateDomainGroupInheritRole() *def.HttpRequestDef

func GenReqDefForUpdateDomainLoginPolicy

func GenReqDefForUpdateDomainLoginPolicy() *def.HttpRequestDef

func GenReqDefForUpdateDomainPasswordPolicy

func GenReqDefForUpdateDomainPasswordPolicy() *def.HttpRequestDef

func GenReqDefForUpdateDomainProtectPolicy

func GenReqDefForUpdateDomainProtectPolicy() *def.HttpRequestDef

func GenReqDefForUpdateLoginProtect

func GenReqDefForUpdateLoginProtect() *def.HttpRequestDef

func GenReqDefForUpdateOpenIdConnectConfig

func GenReqDefForUpdateOpenIdConnectConfig() *def.HttpRequestDef

func GenReqDefForUpdatePermanentAccessKey

func GenReqDefForUpdatePermanentAccessKey() *def.HttpRequestDef

func GenReqDefForUpdateProjectStatus

func GenReqDefForUpdateProjectStatus() *def.HttpRequestDef

func GenReqDefForUpdateUser

func GenReqDefForUpdateUser() *def.HttpRequestDef

func GenReqDefForUpdateUserInformation

func GenReqDefForUpdateUserInformation() *def.HttpRequestDef

func IamClientBuilder

func IamClientBuilder() *http_client.HcHttpClientBuilder

Types

type IamClient

type IamClient struct {
	HcClient *http_client.HcHttpClient
}

func NewIamClient

func NewIamClient(hcClient *http_client.HcHttpClient) *IamClient

func (*IamClient) AssociateAgencyWithAllProjectsPermission

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)为委托授予所有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) AssociateAgencyWithDomainPermission

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)为委托授予全局服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) AssociateAgencyWithProjectPermission

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)为委托授予项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CheckAllProjectsPermissionForAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)检查委托是否具有所有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CheckDomainPermissionForAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询委托是否拥有全局服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CheckProjectPermissionForAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询委托是否拥有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateAgency

func (c *IamClient) CreateAgency(request *model.CreateAgencyRequest) (*model.CreateAgencyResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建委托。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateAgencyCustomPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建委托自定义策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateBindingDevice

该接口可以用于绑定MFA设备。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateCloudServiceCustomPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建云服务自定义策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateLoginToken

func (c *IamClient) CreateLoginToken(request *model.CreateLoginTokenRequest) (*model.CreateLoginTokenResponse, error)

该接口用于用于获取自定义代理登录票据logintoken。logintoken是系统颁发给自定义代理用户的登录票据,承载用户的身份、session等信息。调用自定义代理URL登录云服务控制台时,可以使用本接口获取的logintoken进行认证。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。 > - logintoken的有效期为10分钟。

func (*IamClient) CreateMetadata

func (c *IamClient) CreateMetadata(request *model.CreateMetadataRequest) (*model.CreateMetadataResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)导入Metadata文件。 账号在使用联邦认证功能前,需要先将Metadata文件导入到IAM中。Metadata文件是SAML 2.0协议约定的接口文件,包含访问接口地址和证书信息,请找企业管理员获取企业IdP的Metadata文件。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateMfaDevice

func (c *IamClient) CreateMfaDevice(request *model.CreateMfaDeviceRequest) (*model.CreateMfaDeviceResponse, error)

该接口可以用于创建MFA设备。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateOpenIdConnectConfig

创建OpenId Connect身份提供商配置

func (*IamClient) CreatePermanentAccessKey

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)给IAM用户创建永久访问密钥,或IAM用户给自己创建永久访问密钥。 访问密钥(Access Key ID/Secret Access Key,简称AK/SK),是您通过开发工具(API、CLI、SDK)访问华为云时的身份凭证,不用于登录控制台。系统通过AK识别访问用户的身份,通过SK进行签名验证,通过加密签名验证可以确保请求的机密性、完整性和请求者身份的正确性。在控制台创建访问密钥的方式请参见:[访问密钥](https://support.huaweicloud.com/usermanual-ca/zh-cn_topic_0046606340.html) 。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateTemporaryAccessKeyByAgency

该接口可以用于通过委托来获取临时访问密钥(临时AK/SK)和securitytoken。 临时AK/SK和securitytoken是系统颁发给IAM用户的临时访问令牌,有效期为15分钟至24小时,过期后需要重新获取。临时AK/SK和securitytoken遵循权限最小化原则。鉴权时,临时AK/SK和securitytoken必须同时使用,请求头中需要添加“x-security-token”字段,使用方法详情请参考:[API签名参考](https://support.huaweicloud.com/devg-apisign/api-sign-provide.html) 。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateTemporaryAccessKeyByToken

该接口可以用于通过token来获取临时AK/SK和securitytoken。 临时AK/SK和securitytoken是系统颁发给IAM用户的临时访问令牌,有效期为15分钟至24小时,过期后需要重新获取。临时AK/SK和securitytoken遵循权限最小化原则。鉴权时,临时AK/SK和securitytoken必须同时使用,请求头中需要添加“x-security-token”字段,使用方法详情请参考:[API签名参考](https://support.huaweicloud.com/devg-apisign/api-sign-provide.html)。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) CreateTokenWithIdToken

获取联邦认证token(OpenId Connect Id token方式)

func (*IamClient) CreateUser

func (c *IamClient) CreateUser(request *model.CreateUserRequest) (*model.CreateUserResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建IAM用户。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) DeleteAgency

func (c *IamClient) DeleteAgency(request *model.DeleteAgencyRequest) (*model.DeleteAgencyResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除委托。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) DeleteBindingDevice

该接口可以用于解绑MFA设备 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) DeleteCustomPolicy

func (c *IamClient) DeleteCustomPolicy(request *model.DeleteCustomPolicyRequest) (*model.DeleteCustomPolicyResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除自定义策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) DeleteDomainGroupInheritedRole

该接口可以用于移除用户组的所有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) DeleteMfaDevice

func (c *IamClient) DeleteMfaDevice(request *model.DeleteMfaDeviceRequest) (*model.DeleteMfaDeviceResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除MFA设备。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) DeletePermanentAccessKey

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除IAM用户的指定永久访问密钥,或IAM用户删除自己的指定永久访问密钥。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneAddUserToGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)添加IAM用户到用户组。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneAssociateGroupWithDomainPermission

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)为用户组授予全局服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneAssociateGroupWithProjectPermission

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)为用户组授予项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCheckDomainPermissionForGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询用户组是否拥有全局服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCheckProjectPermissionForGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询用户组是否拥有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCheckUserInGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户是否在用户组中。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCheckroleForGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询用户组是否拥有所有项目指定权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateAgencyToken

该接口可以用于获取委托方的token。 例如:A账号希望B账号管理自己的某些资源,所以A账号创建了委托给B账号,则A账号为委托方,B账号为被委托方。那么B账号可以通过该接口获取委托token。B账号仅能使用该token管理A账号的委托资源,不能管理自己账号中的资源。如果B账号需要管理自己账号中的资源,则需要获取自己的用户token。 token是系统颁发给用户的访问令牌,承载用户的身份、权限等信息。调用IAM以及其他云服务的接口时,可以使用本接口获取的token进行鉴权。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。如果使用全局区域的Endpoint调用,该token可以在所有区域使用;如果使用非全局区域的Endpoint调用,则该token仅在该区域生效,不能跨区域使用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。 > - token的有效期为24小时,建议进行缓存,避免频繁调用。

func (*IamClient) KeystoneCreateGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建用户组。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateIdentityProvider

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)注册身份提供商。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateMapping

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)注册映射。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateProject

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建项目。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateProtocol

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)注册协议(将协议关联到某一身份提供商)。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateScopedToken

该接口可以用于通过联邦认证方式获取scoped token。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateUser

func (c *IamClient) KeystoneCreateUser(request *model.KeystoneCreateUserRequest) (*model.KeystoneCreateUserResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)创建IAM用户。IAM用户首次登录时需要修改密码。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneCreateUserTokenByPassword

该接口可以用于通过用户名/密码的方式进行认证来获取IAM用户token。 token是系统颁发给IAM用户的访问令牌,承载用户的身份、权限等信息。调用IAM以及其他云服务的接口时,可以使用本接口获取的IAM用户token进行鉴权。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。如果使用全局区域的Endpoint调用,该token可以在所有区域使用;如果使用非全局区域的Endpoint调用,则该token仅在该区域生效,不能跨区域使用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。 > - token的有效期为24小时,建议进行缓存,避免频繁调用。 > - 通过Postman获取用户token示例请参见:[如何通过Postman获取用户token](https://support.huaweicloud.com/iam_faq/iam_01_034.html)。 > - 如果需要获取具有Security Administrator权限的token,请参见:[IAM 常见问题](https://support.huaweicloud.com/iam_faq/iam_01_0608.html)。

func (*IamClient) KeystoneCreateUserTokenByPasswordAndMfa

该接口可以用于通过用户名/密码+虚拟MFA的方式进行认证,在IAM用户开启了的登录保护功能,并选择通过虚拟MFA验证时获取IAM用户token。 token是系统颁发给用户的访问令牌,承载用户的身份、权限等信息。调用IAM以及其他云服务的接口时,可以使用本接口获取的token进行鉴权。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。如果使用全局区域的Endpoint调用,该token可以在所有区域使用;如果使用非全局区域的Endpoint调用,则该token仅在该区域生效,不能跨区域使用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。 > - token的有效期为24小时,建议进行缓存,避免频繁调用。 > - 通过Postman获取用户token示例请参见:[如何通过Postman获取用户token](https://support.huaweicloud.com/iam_faq/iam_01_034.html)。 > - 如果需要获取具有Security Administrator权限的token,请参见:[IAM 常见问题](https://support.huaweicloud.com/iam_faq/iam_01_0608.html)。

func (*IamClient) KeystoneDeleteGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除用户组。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneDeleteIdentityProvider

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html) 删除身份提供商。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneDeleteMapping

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除映射。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneDeleteProtocol

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除协议。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneDeleteUser

func (c *IamClient) KeystoneDeleteUser(request *model.KeystoneDeleteUserRequest) (*model.KeystoneDeleteUserResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)删除指定IAM用户。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListAllProjectPermissionsForGroup

该接口可以用于管理员查询用户组所有项目服务权限列表。 \\n\\n该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListAuthDomains

该接口可以用于查询IAM用户可以用访问的账号详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListAuthProjects

该接口可以用于查询IAM用户可以访问的项目列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListDomainPermissionsForGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询全局服务中的用户组权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListEndpoints

该接口可以用于查询终端节点列表。终端节点用来提供服务访问入口。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListGroups

func (c *IamClient) KeystoneListGroups(request *model.KeystoneListGroupsRequest) (*model.KeystoneListGroupsResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询用户组列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListGroupsForUser

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户所属用户组,或IAM用户查询自己所属用户组。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListIdentityProviders

该接口可以用于查询身份提供商列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListMappings

该接口可以用于查询映射列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListPermissions

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询权限列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListProjectPermissionsForGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询项目服务中的用户组权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListProjects

该接口可以用于查询指定条件下的项目列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListProjectsForUser

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询指定IAM用户的项目列表,或IAM用户查询自己的项目列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListProtocols

该接口可以用于查询协议列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListRegions

该接口可以用于查询区域列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListServices

该接口可以用于查询服务列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListUsers

func (c *IamClient) KeystoneListUsers(request *model.KeystoneListUsersRequest) (*model.KeystoneListUsersResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListUsersForGroupByAdmin

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询用户组中所包含的IAM用户。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneListVersions

该接口用于查询Keystone API的版本信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneRemoveDomainPermissionFromGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)移除用户组的全局服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneRemoveProjectPermissionFromGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)移除用户组的项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneRemoveUserFromGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)移除用户组中的IAM用户。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowCatalog

该接口可以用于查询请求头中X-Auth-Token对应的服务目录。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowEndpoint

该接口可以用于查询终端节点详情。终端节点用来提供服务访问入口。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowGroup

func (c *IamClient) KeystoneShowGroup(request *model.KeystoneShowGroupRequest) (*model.KeystoneShowGroupResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询用户组详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowIdentityProvider

该接口可以用于查询身份提供商详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowMapping

该接口可以用于查询映射详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowPermission

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询权限详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowProject

该接口可以用于查询项目详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowProtocol

该接口可以用于查询协议详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowRegion

func (c *IamClient) KeystoneShowRegion(request *model.KeystoneShowRegionRequest) (*model.KeystoneShowRegionResponse, error)

该接口可以用于查询区域详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowSecurityCompliance

该接口可以用于查询账号密码强度策略,查询结果包括密码强度策略的正则表达式及其描述。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowSecurityComplianceByOption

该接口可以用于按条件查询账号密码强度策略,查询结果包括密码强度策略的正则表达式及其描述。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowService

该接口可以用于查询服务详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowUser

func (c *IamClient) KeystoneShowUser(request *model.KeystoneShowUserRequest) (*model.KeystoneShowUserResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户详情,或IAM用户查询自己的用户详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneShowVersion

该接口用于查询Keystone API的3.0版本的信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateGroup

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)更新用户组信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateIdentityProvider

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)更新身份提供商。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateMapping

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)更新映射。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateProject

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改项目信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateProtocol

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)更新协议。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateUserByAdmin

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改IAM用户信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneUpdateUserPassword

该接口可以用于IAM用户修改自己的密码。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) KeystoneValidateToken

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)校验本账号中IAM用户token的有效性,或IAM用户校验自己token的有效性。管理员仅能校验本账号中IAM用户token的有效性,不能校验其他账号中IAM用户token的有效性。如果被校验的token有效,则返回该token的详细信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListAgencies

func (c *IamClient) ListAgencies(request *model.ListAgenciesRequest) (*model.ListAgenciesResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询指定条件下的委托列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListAllProjectsPermissionsForAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询委托所有项目服务权限列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListCustomPolicies

func (c *IamClient) ListCustomPolicies(request *model.ListCustomPoliciesRequest) (*model.ListCustomPoliciesResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询自定义策略列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListDomainPermissionsForAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询全局服务中的委托权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListPermanentAccessKeys

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户的所有永久访问密钥,或IAM用户查询自己的所有永久访问密钥。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListProjectPermissionsForAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询项目服务中的委托权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListUserLoginProtects

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户的登录保护状态列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ListUserMfaDevices

func (c *IamClient) ListUserMfaDevices(request *model.ListUserMfaDevicesRequest) (*model.ListUserMfaDevicesResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户的MFA绑定信息列表。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) RemoveAllProjectsPermissionFromAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)移除委托的所有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) RemoveDomainPermissionFromAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)移除委托的全局服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) RemoveProjectPermissionFromAgency

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)移除委托的项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowAgency

func (c *IamClient) ShowAgency(request *model.ShowAgencyRequest) (*model.ShowAgencyResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询委托详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowCustomPolicy

func (c *IamClient) ShowCustomPolicy(request *model.ShowCustomPolicyRequest) (*model.ShowCustomPolicyResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询自定义策略详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowDomainApiAclPolicy

该接口可以用于查询账号接口访问控制策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowDomainConsoleAclPolicy

该接口可以用于查询账号控制台访问控制策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowDomainLoginPolicy

该接口可以用于查询账号登录策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowDomainPasswordPolicy

该接口可以用于查询账号密码策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowDomainProtectPolicy

该接口可以用于查询账号操作保护策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowDomainQuota

func (c *IamClient) ShowDomainQuota(request *model.ShowDomainQuotaRequest) (*model.ShowDomainQuotaResponse, error)

该接口可以用于查询账号配额。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowMetadata

func (c *IamClient) ShowMetadata(request *model.ShowMetadataRequest) (*model.ShowMetadataResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询身份提供商导入到IAM中的Metadata文件。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowOpenIdConnectConfig

查询OpenId Connect身份提供商配置

func (*IamClient) ShowPermanentAccessKey

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户的指定永久访问密钥,或IAM用户查询自己的指定永久访问密钥。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowProjectDetailsAndStatus

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询项目详情与状态。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowProjectQuota

func (c *IamClient) ShowProjectQuota(request *model.ShowProjectQuotaRequest) (*model.ShowProjectQuotaResponse, error)

该接口可以用于查询项目配额。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowUser

func (c *IamClient) ShowUser(request *model.ShowUserRequest) (*model.ShowUserResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询IAM用户详情,或IAM用户查询自己的详情。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowUserLoginProtect

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询指定IAM用户的登录保护状态信息,或IAM用户查询自己的登录保护状态信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) ShowUserMfaDevice

func (c *IamClient) ShowUserMfaDevice(request *model.ShowUserMfaDeviceRequest) (*model.ShowUserMfaDeviceResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)查询指定IAM用户的MFA绑定信息,或IAM用户查询自己的MFA绑定信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateAgency

func (c *IamClient) UpdateAgency(request *model.UpdateAgencyRequest) (*model.UpdateAgencyResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改委托。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateAgencyCustomPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改委托自定义策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateCloudServiceCustomPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改云服务自定义策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateDomainApiAclPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改账号接口访问策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateDomainConsoleAclPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改账号控制台访问策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateDomainGroupInheritRole

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/zh-cn_topic_0079496985.html)为用户组授予所有项目服务权限。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateDomainLoginPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改账号登录策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateDomainPasswordPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改账号密码策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateDomainProtectPolicy

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改账号操作保护策略。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateLoginProtect

func (c *IamClient) UpdateLoginProtect(request *model.UpdateLoginProtectRequest) (*model.UpdateLoginProtectResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改账号操作保护。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateOpenIdConnectConfig

修改OpenId Connect身份提供商配置

func (*IamClient) UpdatePermanentAccessKey

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改IAM用户的指定永久访问密钥,或IAM用户修改自己的指定永久访问密钥。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateProjectStatus

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)设置项目状态。项目状态包括:正常、冻结。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateUser

func (c *IamClient) UpdateUser(request *model.UpdateUserRequest) (*model.UpdateUserResponse, error)

该接口可以用于[管理员](https://support.huaweicloud.com/usermanual-iam/iam_01_0001.html)修改IAM用户信息 。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

func (*IamClient) UpdateUserInformation

该接口可以用于IAM用户修改自己的用户信息。 该接口可以使用全局区域的Endpoint和其他区域的Endpoint调用。IAM的Endpoint请参见:[地区和终端节点](https://developer.huaweicloud.com/endpoint?IAM)。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL