v1

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAcceptHandshake

func GenReqDefForAcceptHandshake() *def.HttpRequestDef

func GenReqDefForAttachPolicy

func GenReqDefForAttachPolicy() *def.HttpRequestDef

func GenReqDefForCancelHandshake

func GenReqDefForCancelHandshake() *def.HttpRequestDef

func GenReqDefForCreateOrganization

func GenReqDefForCreateOrganization() *def.HttpRequestDef

func GenReqDefForCreateOrganizationalUnit

func GenReqDefForCreateOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForCreatePolicy

func GenReqDefForCreatePolicy() *def.HttpRequestDef

func GenReqDefForCreateTagResource

func GenReqDefForCreateTagResource() *def.HttpRequestDef

func GenReqDefForDeclineHandshake

func GenReqDefForDeclineHandshake() *def.HttpRequestDef

func GenReqDefForDeleteOrganization

func GenReqDefForDeleteOrganization() *def.HttpRequestDef

func GenReqDefForDeleteOrganizationalUnit

func GenReqDefForDeleteOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForDeletePolicy

func GenReqDefForDeletePolicy() *def.HttpRequestDef

func GenReqDefForDeleteTagResource

func GenReqDefForDeleteTagResource() *def.HttpRequestDef

func GenReqDefForDeregisterDelegatedAdministrator

func GenReqDefForDeregisterDelegatedAdministrator() *def.HttpRequestDef

func GenReqDefForDetachPolicy

func GenReqDefForDetachPolicy() *def.HttpRequestDef

func GenReqDefForDisablePolicyType

func GenReqDefForDisablePolicyType() *def.HttpRequestDef

func GenReqDefForDisableTrustedService

func GenReqDefForDisableTrustedService() *def.HttpRequestDef

func GenReqDefForEnablePolicyType

func GenReqDefForEnablePolicyType() *def.HttpRequestDef

func GenReqDefForEnableTrustedService

func GenReqDefForEnableTrustedService() *def.HttpRequestDef

func GenReqDefForInviteAccount

func GenReqDefForInviteAccount() *def.HttpRequestDef

func GenReqDefForLeaveOrganization

func GenReqDefForLeaveOrganization() *def.HttpRequestDef

func GenReqDefForListAccounts

func GenReqDefForListAccounts() *def.HttpRequestDef

func GenReqDefForListCreateAccountStatuses

func GenReqDefForListCreateAccountStatuses() *def.HttpRequestDef

func GenReqDefForListDelegatedAdministrators

func GenReqDefForListDelegatedAdministrators() *def.HttpRequestDef

func GenReqDefForListDelegatedServices

func GenReqDefForListDelegatedServices() *def.HttpRequestDef

func GenReqDefForListEntities

func GenReqDefForListEntities() *def.HttpRequestDef

func GenReqDefForListEntitiesForPolicy

func GenReqDefForListEntitiesForPolicy() *def.HttpRequestDef

func GenReqDefForListHandshakes

func GenReqDefForListHandshakes() *def.HttpRequestDef

func GenReqDefForListOrganizationalUnits

func GenReqDefForListOrganizationalUnits() *def.HttpRequestDef

func GenReqDefForListPolicies

func GenReqDefForListPolicies() *def.HttpRequestDef

func GenReqDefForListQuotas

func GenReqDefForListQuotas() *def.HttpRequestDef

func GenReqDefForListReceivedHandshakes

func GenReqDefForListReceivedHandshakes() *def.HttpRequestDef

func GenReqDefForListResourceInstances

func GenReqDefForListResourceInstances() *def.HttpRequestDef

func GenReqDefForListResourceTags

func GenReqDefForListResourceTags() *def.HttpRequestDef

func GenReqDefForListRoots

func GenReqDefForListRoots() *def.HttpRequestDef

func GenReqDefForListServices

func GenReqDefForListServices() *def.HttpRequestDef

func GenReqDefForListTagPolicyServices

func GenReqDefForListTagPolicyServices() *def.HttpRequestDef

func GenReqDefForListTagResources

func GenReqDefForListTagResources() *def.HttpRequestDef

func GenReqDefForListTagsForResource

func GenReqDefForListTagsForResource() *def.HttpRequestDef

func GenReqDefForListTrustedServices

func GenReqDefForListTrustedServices() *def.HttpRequestDef

func GenReqDefForMoveAccount

func GenReqDefForMoveAccount() *def.HttpRequestDef

func GenReqDefForRegisterDelegatedAdministrator

func GenReqDefForRegisterDelegatedAdministrator() *def.HttpRequestDef

func GenReqDefForRemoveAccount

func GenReqDefForRemoveAccount() *def.HttpRequestDef

func GenReqDefForShowAccount

func GenReqDefForShowAccount() *def.HttpRequestDef

func GenReqDefForShowCreateAccountStatus

func GenReqDefForShowCreateAccountStatus() *def.HttpRequestDef

func GenReqDefForShowEffectivePolicies

func GenReqDefForShowEffectivePolicies() *def.HttpRequestDef

func GenReqDefForShowHandshake

func GenReqDefForShowHandshake() *def.HttpRequestDef

func GenReqDefForShowOrganization

func GenReqDefForShowOrganization() *def.HttpRequestDef

func GenReqDefForShowOrganizationalUnit

func GenReqDefForShowOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForShowPolicy

func GenReqDefForShowPolicy() *def.HttpRequestDef

func GenReqDefForShowResourceInstancesCount

func GenReqDefForShowResourceInstancesCount() *def.HttpRequestDef

func GenReqDefForTagResource

func GenReqDefForTagResource() *def.HttpRequestDef

func GenReqDefForUntagResource

func GenReqDefForUntagResource() *def.HttpRequestDef

func GenReqDefForUpdateOrganizationalUnit

func GenReqDefForUpdateOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForUpdatePolicy

func GenReqDefForUpdatePolicy() *def.HttpRequestDef

func OrganizationsClientBuilder

func OrganizationsClientBuilder() *http_client.HcHttpClientBuilder

Types

type AcceptHandshakeInvoker

type AcceptHandshakeInvoker struct {
	*invoker.BaseInvoker
}

func (*AcceptHandshakeInvoker) Invoke

type AttachPolicyInvoker

type AttachPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*AttachPolicyInvoker) Invoke

type CancelHandshakeInvoker

type CancelHandshakeInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelHandshakeInvoker) Invoke

type CreateOrganizationInvoker

type CreateOrganizationInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateOrganizationInvoker) Invoke

type CreateOrganizationalUnitInvoker

type CreateOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateOrganizationalUnitInvoker) Invoke

type CreatePolicyInvoker

type CreatePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePolicyInvoker) Invoke

type CreateTagResourceInvoker

type CreateTagResourceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTagResourceInvoker) Invoke

type DeclineHandshakeInvoker

type DeclineHandshakeInvoker struct {
	*invoker.BaseInvoker
}

func (*DeclineHandshakeInvoker) Invoke

type DeleteOrganizationInvoker

type DeleteOrganizationInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteOrganizationInvoker) Invoke

type DeleteOrganizationalUnitInvoker

type DeleteOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteOrganizationalUnitInvoker) Invoke

type DeletePolicyInvoker

type DeletePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePolicyInvoker) Invoke

type DeleteTagResourceInvoker

type DeleteTagResourceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTagResourceInvoker) Invoke

type DeregisterDelegatedAdministratorInvoker

type DeregisterDelegatedAdministratorInvoker struct {
	*invoker.BaseInvoker
}

func (*DeregisterDelegatedAdministratorInvoker) Invoke

type DetachPolicyInvoker

type DetachPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*DetachPolicyInvoker) Invoke

type DisablePolicyTypeInvoker

type DisablePolicyTypeInvoker struct {
	*invoker.BaseInvoker
}

func (*DisablePolicyTypeInvoker) Invoke

type DisableTrustedServiceInvoker

type DisableTrustedServiceInvoker struct {
	*invoker.BaseInvoker
}

func (*DisableTrustedServiceInvoker) Invoke

type EnablePolicyTypeInvoker

type EnablePolicyTypeInvoker struct {
	*invoker.BaseInvoker
}

func (*EnablePolicyTypeInvoker) Invoke

type EnableTrustedServiceInvoker

type EnableTrustedServiceInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableTrustedServiceInvoker) Invoke

type InviteAccountInvoker

type InviteAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*InviteAccountInvoker) Invoke

type LeaveOrganizationInvoker

type LeaveOrganizationInvoker struct {
	*invoker.BaseInvoker
}

func (*LeaveOrganizationInvoker) Invoke

type ListAccountsInvoker

type ListAccountsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAccountsInvoker) Invoke

type ListCreateAccountStatusesInvoker

type ListCreateAccountStatusesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCreateAccountStatusesInvoker) Invoke

type ListDelegatedAdministratorsInvoker

type ListDelegatedAdministratorsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDelegatedAdministratorsInvoker) Invoke

type ListDelegatedServicesInvoker

type ListDelegatedServicesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDelegatedServicesInvoker) Invoke

type ListEntitiesForPolicyInvoker

type ListEntitiesForPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEntitiesForPolicyInvoker) Invoke

type ListEntitiesInvoker

type ListEntitiesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEntitiesInvoker) Invoke

type ListHandshakesInvoker

type ListHandshakesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHandshakesInvoker) Invoke

type ListOrganizationalUnitsInvoker

type ListOrganizationalUnitsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOrganizationalUnitsInvoker) Invoke

type ListPoliciesInvoker

type ListPoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPoliciesInvoker) Invoke

type ListQuotasInvoker

type ListQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotasInvoker) Invoke

type ListReceivedHandshakesInvoker

type ListReceivedHandshakesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListReceivedHandshakesInvoker) Invoke

type ListResourceInstancesInvoker

type ListResourceInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceInstancesInvoker) Invoke

type ListResourceTagsInvoker

type ListResourceTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceTagsInvoker) Invoke

type ListRootsInvoker

type ListRootsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRootsInvoker) Invoke

type ListServicesInvoker

type ListServicesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServicesInvoker) Invoke

type ListTagPolicyServicesInvoker

type ListTagPolicyServicesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagPolicyServicesInvoker) Invoke

type ListTagResourcesInvoker

type ListTagResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagResourcesInvoker) Invoke

type ListTagsForResourceInvoker

type ListTagsForResourceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagsForResourceInvoker) Invoke

type ListTrustedServicesInvoker

type ListTrustedServicesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTrustedServicesInvoker) Invoke

type MoveAccountInvoker

type MoveAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*MoveAccountInvoker) Invoke

type OrganizationsClient

type OrganizationsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewOrganizationsClient

func NewOrganizationsClient(hcClient *http_client.HcHttpClient) *OrganizationsClient

func (*OrganizationsClient) AcceptHandshake

AcceptHandshake 接受邀请

向邀请的发起方发送应答,接受加入组织邀请。在您接受邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) AcceptHandshakeInvoker

func (c *OrganizationsClient) AcceptHandshakeInvoker(request *model.AcceptHandshakeRequest) *AcceptHandshakeInvoker

AcceptHandshakeInvoker 接受邀请

func (*OrganizationsClient) AttachPolicy

AttachPolicy 将策略跟实体绑定

绑定策略到根、组织单元或个人账户。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) AttachPolicyInvoker

func (c *OrganizationsClient) AttachPolicyInvoker(request *model.AttachPolicyRequest) *AttachPolicyInvoker

AttachPolicyInvoker 将策略跟实体绑定

func (*OrganizationsClient) CancelHandshake

CancelHandshake 取消邀请

取消邀请,此时邀请状态将设置为已取消。此接口只能由发起邀请的帐号调用。取消邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) CancelHandshakeInvoker

func (c *OrganizationsClient) CancelHandshakeInvoker(request *model.CancelHandshakeRequest) *CancelHandshakeInvoker

CancelHandshakeInvoker 取消邀请

func (*OrganizationsClient) CreateOrganization

CreateOrganization 创建组织

创建组织。调用此接口的帐号将自动成为新组织的管理帐号,调用此接口的帐号凭证必须是新组织管理帐号的帐号凭证。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) CreateOrganizationInvoker

func (c *OrganizationsClient) CreateOrganizationInvoker(request *model.CreateOrganizationRequest) *CreateOrganizationInvoker

CreateOrganizationInvoker 创建组织

func (*OrganizationsClient) CreateOrganizationalUnit

CreateOrganizationalUnit 创建组织单元

在根或父组织单元中创建组织单元。组织单元是帐号的容器,使您能够对帐号进行分组管理,并根据业务要求应用策略。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) CreateOrganizationalUnitInvoker

func (c *OrganizationsClient) CreateOrganizationalUnitInvoker(request *model.CreateOrganizationalUnitRequest) *CreateOrganizationalUnitInvoker

CreateOrganizationalUnitInvoker 创建组织单元

func (*OrganizationsClient) CreatePolicy

CreatePolicy 创建策略

创建指定类型的策略。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) CreatePolicyInvoker

func (c *OrganizationsClient) CreatePolicyInvoker(request *model.CreatePolicyRequest) *CreatePolicyInvoker

CreatePolicyInvoker 创建策略

func (*OrganizationsClient) CreateTagResource

CreateTagResource 为指定资源添加标签

向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) CreateTagResourceInvoker

func (c *OrganizationsClient) CreateTagResourceInvoker(request *model.CreateTagResourceRequest) *CreateTagResourceInvoker

CreateTagResourceInvoker 为指定资源添加标签

func (*OrganizationsClient) DeclineHandshake

DeclineHandshake 拒绝邀请

拒绝邀请请求。受邀帐号拒绝邀请,此时当前邀请状态将设置为拒绝,邀请停止。此接口只能由受邀帐号调用。邀请发起者无法再次激活被拒绝的邀请,但可以重新发送新的邀请。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DeclineHandshakeInvoker

func (c *OrganizationsClient) DeclineHandshakeInvoker(request *model.DeclineHandshakeRequest) *DeclineHandshakeInvoker

DeclineHandshakeInvoker 拒绝邀请

func (*OrganizationsClient) DeleteOrganization

DeleteOrganization 删除组织

删除组织。您必须使用管理帐号才能删除组织,并且先移除组织中的所有帐号、组织单元和策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DeleteOrganizationInvoker

func (c *OrganizationsClient) DeleteOrganizationInvoker(request *model.DeleteOrganizationRequest) *DeleteOrganizationInvoker

DeleteOrganizationInvoker 删除组织

func (*OrganizationsClient) DeleteOrganizationalUnit

DeleteOrganizationalUnit 删除组织单元

从根或其他组织单元中删除组织单元。前提是您必须先移除该组织单元中的所有成员帐号或将成员帐号移动至其他组织单元,必须删除该组织单元中的所有子组织单元。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DeleteOrganizationalUnitInvoker

func (c *OrganizationsClient) DeleteOrganizationalUnitInvoker(request *model.DeleteOrganizationalUnitRequest) *DeleteOrganizationalUnitInvoker

DeleteOrganizationalUnitInvoker 删除组织单元

func (*OrganizationsClient) DeletePolicy

DeletePolicy 删除策略

从组织中删除指定的策略。在执行此操作之前,必须首先将策略跟所有组织单元、根和帐号解绑。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DeletePolicyInvoker

func (c *OrganizationsClient) DeletePolicyInvoker(request *model.DeletePolicyRequest) *DeletePolicyInvoker

DeletePolicyInvoker 删除策略

func (*OrganizationsClient) DeleteTagResource

DeleteTagResource 从指定资源中删除指定主键标签

从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DeleteTagResourceInvoker

func (c *OrganizationsClient) DeleteTagResourceInvoker(request *model.DeleteTagResourceRequest) *DeleteTagResourceInvoker

DeleteTagResourceInvoker 从指定资源中删除指定主键标签

func (*OrganizationsClient) DeregisterDelegatedAdministrator

DeregisterDelegatedAdministrator 注销服务的委托管理员

删除指定成员帐号作为指定服务的委托管理员。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DeregisterDelegatedAdministratorInvoker

DeregisterDelegatedAdministratorInvoker 注销服务的委托管理员

func (*OrganizationsClient) DetachPolicy

DetachPolicy 将策略跟实体解绑

从根、组织单元或帐号解绑策略。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DetachPolicyInvoker

func (c *OrganizationsClient) DetachPolicyInvoker(request *model.DetachPolicyRequest) *DetachPolicyInvoker

DetachPolicyInvoker 将策略跟实体解绑

func (*OrganizationsClient) DisablePolicyType

DisablePolicyType 禁用根中的策略类型

禁用根中的策略类型。只有在根中启用了特定类型的策略,才能将该类型的策略绑定到根中的实体。执行此操作后,您不能再将指定类型的策略绑定到该根或该根中的任何组织单元或帐号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DisablePolicyTypeInvoker

func (c *OrganizationsClient) DisablePolicyTypeInvoker(request *model.DisablePolicyTypeRequest) *DisablePolicyTypeInvoker

DisablePolicyTypeInvoker 禁用根中的策略类型

func (*OrganizationsClient) DisableTrustedService

DisableTrustedService 禁用受信任服务

禁用服务(由service_principal指定的服务)与组织的集成。禁用可信服务后,指定服务将不可以在组织中的新帐号中创建服务关联委托。这意味着该服务无法代表您对组织中的任何新帐号执行操作。在服务完成从组织中的清理之前,服务仍可以在旧帐号中执行操作。此接口只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) DisableTrustedServiceInvoker

func (c *OrganizationsClient) DisableTrustedServiceInvoker(request *model.DisableTrustedServiceRequest) *DisableTrustedServiceInvoker

DisableTrustedServiceInvoker 禁用受信任服务

func (*OrganizationsClient) EnablePolicyType

EnablePolicyType 在根中启用策略类型

在根中启用策略类型。在根中启用策略类型后,您可以将该类型的策略绑定到根、或该根中的任何组织单元和帐号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) EnablePolicyTypeInvoker

func (c *OrganizationsClient) EnablePolicyTypeInvoker(request *model.EnablePolicyTypeRequest) *EnablePolicyTypeInvoker

EnablePolicyTypeInvoker 在根中启用策略类型

func (*OrganizationsClient) EnableTrustedService

EnableTrustedService 启用可信服务

启用服务(由service_principal指定的服务)与组织的集成。启用可信服务后,允许指定的可信服务对组织中的所有帐号创建服务关联委托。这允许可信服务代表您在组织及其帐号中执行操作。此接口只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) EnableTrustedServiceInvoker

func (c *OrganizationsClient) EnableTrustedServiceInvoker(request *model.EnableTrustedServiceRequest) *EnableTrustedServiceInvoker

EnableTrustedServiceInvoker 启用可信服务

func (*OrganizationsClient) InviteAccount

InviteAccount 邀请帐号加入组织

向另一个帐号发送邀请,受邀帐号将以成员帐号加入您的组织。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) InviteAccountInvoker

func (c *OrganizationsClient) InviteAccountInvoker(request *model.InviteAccountRequest) *InviteAccountInvoker

InviteAccountInvoker 邀请帐号加入组织

func (*OrganizationsClient) LeaveOrganization

LeaveOrganization 离开当前组织

此操作只能由组织的成员帐号调用。只有当组织帐号配置了作为独立帐号运行所需的信息时,您才能作为成员账户离开组织。要离开的帐号不能是组织启用的任何服务的委托管理员帐号。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) LeaveOrganizationInvoker

func (c *OrganizationsClient) LeaveOrganizationInvoker(request *model.LeaveOrganizationRequest) *LeaveOrganizationInvoker

LeaveOrganizationInvoker 离开当前组织

func (*OrganizationsClient) ListAccounts

ListAccounts 列出组织中的帐号

列出组织中的帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。如果指定父级组织单元,则将获得作为父级直系子级的所有帐号的列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListAccountsInvoker

func (c *OrganizationsClient) ListAccountsInvoker(request *model.ListAccountsRequest) *ListAccountsInvoker

ListAccountsInvoker 列出组织中的帐号

func (*OrganizationsClient) ListCreateAccountStatuses

ListCreateAccountStatuses 列出创建帐号的状态

列出组织中指定状态的帐号创建请求。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListCreateAccountStatusesInvoker

func (c *OrganizationsClient) ListCreateAccountStatusesInvoker(request *model.ListCreateAccountStatusesRequest) *ListCreateAccountStatusesInvoker

ListCreateAccountStatusesInvoker 列出创建帐号的状态

func (*OrganizationsClient) ListDelegatedAdministrators

ListDelegatedAdministrators 列出此组织中指定为委托管理员的帐号

列出在此组织中指定为委派管理员的帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListDelegatedAdministratorsInvoker

ListDelegatedAdministratorsInvoker 列出此组织中指定为委托管理员的帐号

func (*OrganizationsClient) ListDelegatedServices

ListDelegatedServices 列出指定帐号是其委托管理员的服务

列出指定帐号是其委托管理员的服务。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListDelegatedServicesInvoker

func (c *OrganizationsClient) ListDelegatedServicesInvoker(request *model.ListDelegatedServicesRequest) *ListDelegatedServicesInvoker

ListDelegatedServicesInvoker 列出指定帐号是其委托管理员的服务

func (*OrganizationsClient) ListEntities

ListEntities 列出组织中的根、组织单元和帐号

列出组织中包含的所有根、组织单元和帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。您可以通过指定父ID和子ID参数来过滤实体。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListEntitiesForPolicy

ListEntitiesForPolicy 列出跟指定策略绑定的所有实体

列出跟指定策略绑定的所有根、组织单元和帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListEntitiesForPolicyInvoker

func (c *OrganizationsClient) ListEntitiesForPolicyInvoker(request *model.ListEntitiesForPolicyRequest) *ListEntitiesForPolicyInvoker

ListEntitiesForPolicyInvoker 列出跟指定策略绑定的所有实体

func (*OrganizationsClient) ListEntitiesInvoker

func (c *OrganizationsClient) ListEntitiesInvoker(request *model.ListEntitiesRequest) *ListEntitiesInvoker

ListEntitiesInvoker 列出组织中的根、组织单元和帐号

func (*OrganizationsClient) ListHandshakes

ListHandshakes 列出发送的邀请

列出所属组织发送的邀请。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListHandshakesInvoker

func (c *OrganizationsClient) ListHandshakesInvoker(request *model.ListHandshakesRequest) *ListHandshakesInvoker

ListHandshakesInvoker 列出发送的邀请

func (*OrganizationsClient) ListOrganizationalUnits

ListOrganizationalUnits 列出组织单元

列出组织中的所有组织单元。如果指定父级组织单元,则将获得父级直系子级的组织单元列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListOrganizationalUnitsInvoker

func (c *OrganizationsClient) ListOrganizationalUnitsInvoker(request *model.ListOrganizationalUnitsRequest) *ListOrganizationalUnitsInvoker

ListOrganizationalUnitsInvoker 列出组织单元

func (*OrganizationsClient) ListPolicies

ListPolicies 列出策略

列出组织中的所有策略。如果指定了资源ID,例如组织单元ID或帐号ID,则将获得该资源已绑定的策略列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListPoliciesInvoker

func (c *OrganizationsClient) ListPoliciesInvoker(request *model.ListPoliciesRequest) *ListPoliciesInvoker

ListPoliciesInvoker 列出策略

func (*OrganizationsClient) ListQuotas

ListQuotas 列出租户的组织配额

列出租户的组织配额。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListQuotasInvoker

func (c *OrganizationsClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker

ListQuotasInvoker 列出租户的组织配额

func (*OrganizationsClient) ListReceivedHandshakes

ListReceivedHandshakes 列出收到的邀请

列出帐号收到的所有邀请。此操作可以由任何帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListReceivedHandshakesInvoker

func (c *OrganizationsClient) ListReceivedHandshakesInvoker(request *model.ListReceivedHandshakesRequest) *ListReceivedHandshakesInvoker

ListReceivedHandshakesInvoker 列出收到的邀请

func (*OrganizationsClient) ListResourceInstances

ListResourceInstances 根据资源类型及标签信息查询实例列表

根据资源类型及标签信息查询实例列表

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListResourceInstancesInvoker

func (c *OrganizationsClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker

ListResourceInstancesInvoker 根据资源类型及标签信息查询实例列表

func (*OrganizationsClient) ListResourceTags

ListResourceTags 查询项目标签

查询项目标签

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListResourceTagsInvoker

func (c *OrganizationsClient) ListResourceTagsInvoker(request *model.ListResourceTagsRequest) *ListResourceTagsInvoker

ListResourceTagsInvoker 查询项目标签

func (*OrganizationsClient) ListRoots

ListRoots 列出组织的根

列出当前组织的根。此接口只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListRootsInvoker

func (c *OrganizationsClient) ListRootsInvoker(request *model.ListRootsRequest) *ListRootsInvoker

ListRootsInvoker 列出组织的根

func (*OrganizationsClient) ListServices

ListServices 列出所有可以与组织服务集成的云服务

列出所有可以与组织服务集成的云服务。集成后云服务将成为组织的可信服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListServicesInvoker

func (c *OrganizationsClient) ListServicesInvoker(request *model.ListServicesRequest) *ListServicesInvoker

ListServicesInvoker 列出所有可以与组织服务集成的云服务

func (*OrganizationsClient) ListTagPolicyServices

ListTagPolicyServices 列出被添加到标签策略强制执行的资源类型

列出被添加到标签策略强制执行的资源类型。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListTagPolicyServicesInvoker

func (c *OrganizationsClient) ListTagPolicyServicesInvoker(request *model.ListTagPolicyServicesRequest) *ListTagPolicyServicesInvoker

ListTagPolicyServicesInvoker 列出被添加到标签策略强制执行的资源类型

func (*OrganizationsClient) ListTagResources

ListTagResources 列出绑定到指定资源的标签

列出绑定到指定资源的标签。您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListTagResourcesInvoker

func (c *OrganizationsClient) ListTagResourcesInvoker(request *model.ListTagResourcesRequest) *ListTagResourcesInvoker

ListTagResourcesInvoker 列出绑定到指定资源的标签

func (*OrganizationsClient) ListTagsForResource

ListTagsForResource 列出绑定到指定资源的标签

列出绑定到指定资源的标签。您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListTagsForResourceInvoker

func (c *OrganizationsClient) ListTagsForResourceInvoker(request *model.ListTagsForResourceRequest) *ListTagsForResourceInvoker

ListTagsForResourceInvoker 列出绑定到指定资源的标签

func (*OrganizationsClient) ListTrustedServices

ListTrustedServices 列出组织的可信服务列表

返回启用与组织集成的可信服务列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ListTrustedServicesInvoker

func (c *OrganizationsClient) ListTrustedServicesInvoker(request *model.ListTrustedServicesRequest) *ListTrustedServicesInvoker

ListTrustedServicesInvoker 列出组织的可信服务列表

func (*OrganizationsClient) MoveAccount

MoveAccount 移动帐号

将帐号从其当前源位置(根或组织单元)移动到指定的目标位置(根或组织单元)。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) MoveAccountInvoker

func (c *OrganizationsClient) MoveAccountInvoker(request *model.MoveAccountRequest) *MoveAccountInvoker

MoveAccountInvoker 移动帐号

func (*OrganizationsClient) RegisterDelegatedAdministrator

RegisterDelegatedAdministrator 注册作为服务委托管理员

指定成员帐号能够管理指定服务的组织功能。此接口授予委托管理员对组织服务数据的只读访问权限。委托管理员帐号中的IAM用户仍需要IAM权限才能访问和管理服务。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) RegisterDelegatedAdministratorInvoker

RegisterDelegatedAdministratorInvoker 注册作为服务委托管理员

func (*OrganizationsClient) RemoveAccount

RemoveAccount 移除指定的帐号

从组织中移除指定的帐号。移除的帐号将成为一个独立帐号,该帐号不是任何组织的成员。此操作只能由组织的管理帐号调用。只有当帐号配置了作为独立帐号运行所需的信息时,您才能从组织中移除帐号。注意,要移除的帐号不能是组织启用的任何服务的委托管理员帐号。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) RemoveAccountInvoker

func (c *OrganizationsClient) RemoveAccountInvoker(request *model.RemoveAccountRequest) *RemoveAccountInvoker

RemoveAccountInvoker 移除指定的帐号

func (*OrganizationsClient) ShowAccount

ShowAccount 查询帐号信息

查询有关指定帐号的信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowAccountInvoker

func (c *OrganizationsClient) ShowAccountInvoker(request *model.ShowAccountRequest) *ShowAccountInvoker

ShowAccountInvoker 查询帐号信息

func (*OrganizationsClient) ShowCreateAccountStatus

ShowCreateAccountStatus 查询有关创建帐号状态的信息

检索创建帐号的异步请求的当前状态。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowCreateAccountStatusInvoker

func (c *OrganizationsClient) ShowCreateAccountStatusInvoker(request *model.ShowCreateAccountStatusRequest) *ShowCreateAccountStatusInvoker

ShowCreateAccountStatusInvoker 查询有关创建帐号状态的信息

func (*OrganizationsClient) ShowEffectivePolicies

ShowEffectivePolicies 查询有效的策略

查询指定策略类型和帐户的有效策略信息。当前此接口不支持查询服务控制策略(service_control_policy)。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowEffectivePoliciesInvoker

func (c *OrganizationsClient) ShowEffectivePoliciesInvoker(request *model.ShowEffectivePoliciesRequest) *ShowEffectivePoliciesInvoker

ShowEffectivePoliciesInvoker 查询有效的策略

func (*OrganizationsClient) ShowHandshake

ShowHandshake 查询邀请相关信息

查询组织中已有帐号邀请的相关信息。此接口可以由组织中的任何帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowHandshakeInvoker

func (c *OrganizationsClient) ShowHandshakeInvoker(request *model.ShowHandshakeRequest) *ShowHandshakeInvoker

ShowHandshakeInvoker 查询邀请相关信息

func (*OrganizationsClient) ShowOrganization

ShowOrganization 查询所属组织信息

查询帐号所属组织的信息。此操作可以由组织中的任何帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowOrganizationInvoker

func (c *OrganizationsClient) ShowOrganizationInvoker(request *model.ShowOrganizationRequest) *ShowOrganizationInvoker

ShowOrganizationInvoker 查询所属组织信息

func (*OrganizationsClient) ShowOrganizationalUnit

ShowOrganizationalUnit 查询有关组织单元的信息

查询有关组织单元的信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowOrganizationalUnitInvoker

func (c *OrganizationsClient) ShowOrganizationalUnitInvoker(request *model.ShowOrganizationalUnitRequest) *ShowOrganizationalUnitInvoker

ShowOrganizationalUnitInvoker 查询有关组织单元的信息

func (*OrganizationsClient) ShowPolicy

ShowPolicy 查询策略相关信息

检索策略的相关信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowPolicyInvoker

func (c *OrganizationsClient) ShowPolicyInvoker(request *model.ShowPolicyRequest) *ShowPolicyInvoker

ShowPolicyInvoker 查询策略相关信息

func (*OrganizationsClient) ShowResourceInstancesCount

ShowResourceInstancesCount 根据资源类型及标签信息查询实例数量

根据资源类型及标签信息查询实例数量

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) ShowResourceInstancesCountInvoker

func (c *OrganizationsClient) ShowResourceInstancesCountInvoker(request *model.ShowResourceInstancesCountRequest) *ShowResourceInstancesCountInvoker

ShowResourceInstancesCountInvoker 根据资源类型及标签信息查询实例数量

func (*OrganizationsClient) TagResource

TagResource 为指定资源添加标签

向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) TagResourceInvoker

func (c *OrganizationsClient) TagResourceInvoker(request *model.TagResourceRequest) *TagResourceInvoker

TagResourceInvoker 为指定资源添加标签

func (*OrganizationsClient) UntagResource

UntagResource 从指定资源中删除指定主键标签

从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) UntagResourceInvoker

func (c *OrganizationsClient) UntagResourceInvoker(request *model.UntagResourceRequest) *UntagResourceInvoker

UntagResourceInvoker 从指定资源中删除指定主键标签

func (*OrganizationsClient) UpdateOrganizationalUnit

UpdateOrganizationalUnit 更改组织单元名称

重命名指定的组织单元。重命名后组织单元ID不变,下属子组织单元和下属帐号不变,组织单元绑定的策略不变。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) UpdateOrganizationalUnitInvoker

func (c *OrganizationsClient) UpdateOrganizationalUnitInvoker(request *model.UpdateOrganizationalUnitRequest) *UpdateOrganizationalUnitInvoker

UpdateOrganizationalUnitInvoker 更改组织单元名称

func (*OrganizationsClient) UpdatePolicy

UpdatePolicy 更新策略

更新策略,可以更新策略的名称、描述或内容。如果不提供任何参数,则策略将保持不变。您不能更改策略的类型。此操作只能由组织的管理帐号调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*OrganizationsClient) UpdatePolicyInvoker

func (c *OrganizationsClient) UpdatePolicyInvoker(request *model.UpdatePolicyRequest) *UpdatePolicyInvoker

UpdatePolicyInvoker 更新策略

type RegisterDelegatedAdministratorInvoker

type RegisterDelegatedAdministratorInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterDelegatedAdministratorInvoker) Invoke

type RemoveAccountInvoker

type RemoveAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*RemoveAccountInvoker) Invoke

type ShowAccountInvoker

type ShowAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAccountInvoker) Invoke

type ShowCreateAccountStatusInvoker

type ShowCreateAccountStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCreateAccountStatusInvoker) Invoke

type ShowEffectivePoliciesInvoker

type ShowEffectivePoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEffectivePoliciesInvoker) Invoke

type ShowHandshakeInvoker

type ShowHandshakeInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHandshakeInvoker) Invoke

type ShowOrganizationInvoker

type ShowOrganizationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOrganizationInvoker) Invoke

type ShowOrganizationalUnitInvoker

type ShowOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOrganizationalUnitInvoker) Invoke

type ShowPolicyInvoker

type ShowPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPolicyInvoker) Invoke

type ShowResourceInstancesCountInvoker

type ShowResourceInstancesCountInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceInstancesCountInvoker) Invoke

type TagResourceInvoker

type TagResourceInvoker struct {
	*invoker.BaseInvoker
}

func (*TagResourceInvoker) Invoke

type UntagResourceInvoker

type UntagResourceInvoker struct {
	*invoker.BaseInvoker
}

func (*UntagResourceInvoker) Invoke

type UpdateOrganizationalUnitInvoker

type UpdateOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateOrganizationalUnitInvoker) Invoke

type UpdatePolicyInvoker

type UpdatePolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePolicyInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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