v1

package
v0.1.98 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 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 GenReqDefForAcceptResourceShareInvitation

func GenReqDefForAcceptResourceShareInvitation() *def.HttpRequestDef

func GenReqDefForAssociateResourceShare

func GenReqDefForAssociateResourceShare() *def.HttpRequestDef

func GenReqDefForAssociateResourceSharePermission

func GenReqDefForAssociateResourceSharePermission() *def.HttpRequestDef

func GenReqDefForBatchCreateResourceShareTags added in v0.1.34

func GenReqDefForBatchCreateResourceShareTags() *def.HttpRequestDef

func GenReqDefForBatchDeleteResourceShareTags added in v0.1.34

func GenReqDefForBatchDeleteResourceShareTags() *def.HttpRequestDef

func GenReqDefForCreateResourceShare

func GenReqDefForCreateResourceShare() *def.HttpRequestDef

func GenReqDefForDeleteResourceShare

func GenReqDefForDeleteResourceShare() *def.HttpRequestDef

func GenReqDefForDisableOrganizationShare

func GenReqDefForDisableOrganizationShare() *def.HttpRequestDef

func GenReqDefForDisassociateResourceShare

func GenReqDefForDisassociateResourceShare() *def.HttpRequestDef

func GenReqDefForDisassociateResourceSharePermission

func GenReqDefForDisassociateResourceSharePermission() *def.HttpRequestDef

func GenReqDefForEnableOrganizationShare

func GenReqDefForEnableOrganizationShare() *def.HttpRequestDef

func GenReqDefForListPermissionVersions added in v0.1.86

func GenReqDefForListPermissionVersions() *def.HttpRequestDef

func GenReqDefForListPermissions

func GenReqDefForListPermissions() *def.HttpRequestDef

func GenReqDefForListQuota added in v0.1.41

func GenReqDefForListQuota() *def.HttpRequestDef

func GenReqDefForListResourceSharePermissions

func GenReqDefForListResourceSharePermissions() *def.HttpRequestDef

func GenReqDefForListResourceShareTags added in v0.1.35

func GenReqDefForListResourceShareTags() *def.HttpRequestDef

func GenReqDefForListResourceSharesByTags added in v0.1.35

func GenReqDefForListResourceSharesByTags() *def.HttpRequestDef

func GenReqDefForListResourceTypes added in v0.1.57

func GenReqDefForListResourceTypes() *def.HttpRequestDef

func GenReqDefForRejectResourceShareInvitation

func GenReqDefForRejectResourceShareInvitation() *def.HttpRequestDef

func GenReqDefForSearchResourceShareAssociations

func GenReqDefForSearchResourceShareAssociations() *def.HttpRequestDef

func GenReqDefForSearchResourceShareCountByTags added in v0.1.35

func GenReqDefForSearchResourceShareCountByTags() *def.HttpRequestDef

func GenReqDefForSearchResourceShareInvitation

func GenReqDefForSearchResourceShareInvitation() *def.HttpRequestDef

func GenReqDefForSearchResourceShares

func GenReqDefForSearchResourceShares() *def.HttpRequestDef

func GenReqDefForSearchSharedPrincipals

func GenReqDefForSearchSharedPrincipals() *def.HttpRequestDef

func GenReqDefForSearchSharedResources

func GenReqDefForSearchSharedResources() *def.HttpRequestDef

func GenReqDefForShowOrganizationShare

func GenReqDefForShowOrganizationShare() *def.HttpRequestDef

func GenReqDefForShowPermission

func GenReqDefForShowPermission() *def.HttpRequestDef

func GenReqDefForUpdateResourceShare

func GenReqDefForUpdateResourceShare() *def.HttpRequestDef

func RamClientBuilder

func RamClientBuilder() *httpclient.HcHttpClientBuilder

Types

type AcceptResourceShareInvitationInvoker

type AcceptResourceShareInvitationInvoker struct {
	*invoker.BaseInvoker
}

func (*AcceptResourceShareInvitationInvoker) Invoke

type AssociateResourceShareInvoker

type AssociateResourceShareInvoker struct {
	*invoker.BaseInvoker
}

func (*AssociateResourceShareInvoker) Invoke

type AssociateResourceSharePermissionInvoker

type AssociateResourceSharePermissionInvoker struct {
	*invoker.BaseInvoker
}

func (*AssociateResourceSharePermissionInvoker) Invoke

type BatchCreateResourceShareTagsInvoker added in v0.1.34

type BatchCreateResourceShareTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateResourceShareTagsInvoker) Invoke added in v0.1.34

type BatchDeleteResourceShareTagsInvoker added in v0.1.34

type BatchDeleteResourceShareTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteResourceShareTagsInvoker) Invoke added in v0.1.34

type CreateResourceShareInvoker

type CreateResourceShareInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateResourceShareInvoker) Invoke

type DeleteResourceShareInvoker

type DeleteResourceShareInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteResourceShareInvoker) Invoke

type DisableOrganizationShareInvoker

type DisableOrganizationShareInvoker struct {
	*invoker.BaseInvoker
}

func (*DisableOrganizationShareInvoker) Invoke

type DisassociateResourceShareInvoker

type DisassociateResourceShareInvoker struct {
	*invoker.BaseInvoker
}

func (*DisassociateResourceShareInvoker) Invoke

type DisassociateResourceSharePermissionInvoker

type DisassociateResourceSharePermissionInvoker struct {
	*invoker.BaseInvoker
}

func (*DisassociateResourceSharePermissionInvoker) Invoke

type EnableOrganizationShareInvoker

type EnableOrganizationShareInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableOrganizationShareInvoker) Invoke

type ListPermissionVersionsInvoker added in v0.1.86

type ListPermissionVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPermissionVersionsInvoker) Invoke added in v0.1.86

type ListPermissionsInvoker

type ListPermissionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPermissionsInvoker) Invoke

type ListQuotaInvoker added in v0.1.41

type ListQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotaInvoker) Invoke added in v0.1.41

type ListResourceSharePermissionsInvoker

type ListResourceSharePermissionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceSharePermissionsInvoker) Invoke

type ListResourceShareTagsInvoker added in v0.1.35

type ListResourceShareTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceShareTagsInvoker) Invoke added in v0.1.35

type ListResourceSharesByTagsInvoker added in v0.1.35

type ListResourceSharesByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceSharesByTagsInvoker) Invoke added in v0.1.35

type ListResourceTypesInvoker added in v0.1.57

type ListResourceTypesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceTypesInvoker) Invoke added in v0.1.57

type RamClient

type RamClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewRamClient

func NewRamClient(hcClient *httpclient.HcHttpClient) *RamClient

func (*RamClient) AcceptResourceShareInvitation

AcceptResourceShareInvitation 接受共享邀请

接受来自其他账号的资源共享邀请。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) AcceptResourceShareInvitationInvoker

func (c *RamClient) AcceptResourceShareInvitationInvoker(request *model.AcceptResourceShareInvitationRequest) *AcceptResourceShareInvitationInvoker

AcceptResourceShareInvitationInvoker 接受共享邀请

func (*RamClient) AssociateResourceShare

AssociateResourceShare 绑定资源使用者和共享资源

向资源共享实例绑定指定的资源使用者列表或共享资源列表。对于新增的共享资源,有权访问此资源共享实例的资源使用者获得该共享资源的访问权限。对于新增的资源使用者,获得对此资源共享实例中共享资源的访问权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) AssociateResourceShareInvoker

func (c *RamClient) AssociateResourceShareInvoker(request *model.AssociateResourceShareRequest) *AssociateResourceShareInvoker

AssociateResourceShareInvoker 绑定资源使用者和共享资源

func (*RamClient) AssociateResourceSharePermission

AssociateResourceSharePermission 绑定或替换共享资源权限

为资源共享实例中包含的资源类型绑定或替换共享资源权限。 对于资源共享实例中的每一种资源类型,您可以设置唯一权限。仅当资源共享实例中当前没有该资源类型的资源时,您才能绑定新的共享资源权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) AssociateResourceSharePermissionInvoker

func (c *RamClient) AssociateResourceSharePermissionInvoker(request *model.AssociateResourceSharePermissionRequest) *AssociateResourceSharePermissionInvoker

AssociateResourceSharePermissionInvoker 绑定或替换共享资源权限

func (*RamClient) BatchCreateResourceShareTags added in v0.1.34

BatchCreateResourceShareTags 资源共享实例增加标签

资源共享实例增加标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) BatchCreateResourceShareTagsInvoker added in v0.1.34

func (c *RamClient) BatchCreateResourceShareTagsInvoker(request *model.BatchCreateResourceShareTagsRequest) *BatchCreateResourceShareTagsInvoker

BatchCreateResourceShareTagsInvoker 资源共享实例增加标签

func (*RamClient) BatchDeleteResourceShareTags added in v0.1.34

BatchDeleteResourceShareTags 删除资源共享实例的标签

删除资源共享实例指定的标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) BatchDeleteResourceShareTagsInvoker added in v0.1.34

func (c *RamClient) BatchDeleteResourceShareTagsInvoker(request *model.BatchDeleteResourceShareTagsRequest) *BatchDeleteResourceShareTagsInvoker

BatchDeleteResourceShareTagsInvoker 删除资源共享实例的标签

func (*RamClient) CreateResourceShare

CreateResourceShare 创建资源共享实例

创建一个资源共享实例。您可以指定需要共享的资源列表,资源使用者列表,以及授予资源使用者的权限列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) CreateResourceShareInvoker

func (c *RamClient) CreateResourceShareInvoker(request *model.CreateResourceShareRequest) *CreateResourceShareInvoker

CreateResourceShareInvoker 创建资源共享实例

func (*RamClient) DeleteResourceShare

DeleteResourceShare 删除资源共享实例

删除指定的资源共享实例。此操作不会删除实体资源,仅停止向其他账号共享资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) DeleteResourceShareInvoker

func (c *RamClient) DeleteResourceShareInvoker(request *model.DeleteResourceShareRequest) *DeleteResourceShareInvoker

DeleteResourceShareInvoker 删除资源共享实例

func (*RamClient) DisableOrganizationShare

DisableOrganizationShare 关闭与组织共享

关闭与组织共享资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) DisableOrganizationShareInvoker

func (c *RamClient) DisableOrganizationShareInvoker(request *model.DisableOrganizationShareRequest) *DisableOrganizationShareInvoker

DisableOrganizationShareInvoker 关闭与组织共享

func (*RamClient) DisassociateResourceShare

DisassociateResourceShare 移除资源使用者和共享资源

将指定的资源使用者或共享资源从指定的资源共享实例中移除。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) DisassociateResourceShareInvoker

func (c *RamClient) DisassociateResourceShareInvoker(request *model.DisassociateResourceShareRequest) *DisassociateResourceShareInvoker

DisassociateResourceShareInvoker 移除资源使用者和共享资源

func (*RamClient) DisassociateResourceSharePermission

DisassociateResourceSharePermission 移除共享资源权限

移除资源共享实例绑定的共享资源权限。权限更改立即生效。只有当目前资源共享实例中没有绑定相关资源类型时,您才能从资源共享实例中移除共享资源权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) DisassociateResourceSharePermissionInvoker

func (c *RamClient) DisassociateResourceSharePermissionInvoker(request *model.DisassociateResourceSharePermissionRequest) *DisassociateResourceSharePermissionInvoker

DisassociateResourceSharePermissionInvoker 移除共享资源权限

func (*RamClient) EnableOrganizationShare

EnableOrganizationShare 启用与组织共享

启用与组织共享资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) EnableOrganizationShareInvoker

func (c *RamClient) EnableOrganizationShareInvoker(request *model.EnableOrganizationShareRequest) *EnableOrganizationShareInvoker

EnableOrganizationShareInvoker 启用与组织共享

func (*RamClient) ListPermissionVersions added in v0.1.86

ListPermissionVersions 获取权限的所有版本

获取权限的所有版本。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListPermissionVersionsInvoker added in v0.1.86

func (c *RamClient) ListPermissionVersionsInvoker(request *model.ListPermissionVersionsRequest) *ListPermissionVersionsInvoker

ListPermissionVersionsInvoker 获取权限的所有版本

func (*RamClient) ListPermissions

func (c *RamClient) ListPermissions(request *model.ListPermissionsRequest) (*model.ListPermissionsResponse, error)

ListPermissions 检索共享资源权限列表

检索指定资源类型的共享资源权限列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListPermissionsInvoker

func (c *RamClient) ListPermissionsInvoker(request *model.ListPermissionsRequest) *ListPermissionsInvoker

ListPermissionsInvoker 检索共享资源权限列表

func (*RamClient) ListQuota added in v0.1.41

func (c *RamClient) ListQuota(request *model.ListQuotaRequest) (*model.ListQuotaResponse, error)

ListQuota 查询资源共享的配额

查询当前账号的资源共享配额信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListQuotaInvoker added in v0.1.41

func (c *RamClient) ListQuotaInvoker(request *model.ListQuotaRequest) *ListQuotaInvoker

ListQuotaInvoker 查询资源共享的配额

func (*RamClient) ListResourceSharePermissions

ListResourceSharePermissions 检索绑定的共享资源权限

检索资源共享实例关联的共享资源权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListResourceSharePermissionsInvoker

func (c *RamClient) ListResourceSharePermissionsInvoker(request *model.ListResourceSharePermissionsRequest) *ListResourceSharePermissionsInvoker

ListResourceSharePermissionsInvoker 检索绑定的共享资源权限

func (*RamClient) ListResourceShareTags added in v0.1.35

ListResourceShareTags 查询已使用的标签列表

查询资源共享实例已使用标签的列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListResourceShareTagsInvoker added in v0.1.35

func (c *RamClient) ListResourceShareTagsInvoker(request *model.ListResourceShareTagsRequest) *ListResourceShareTagsInvoker

ListResourceShareTagsInvoker 查询已使用的标签列表

func (*RamClient) ListResourceSharesByTags added in v0.1.35

ListResourceSharesByTags 根据标签信息查询实例列表

根据标签信息查询资源共享实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListResourceSharesByTagsInvoker added in v0.1.35

func (c *RamClient) ListResourceSharesByTagsInvoker(request *model.ListResourceSharesByTagsRequest) *ListResourceSharesByTagsInvoker

ListResourceSharesByTagsInvoker 根据标签信息查询实例列表

func (*RamClient) ListResourceTypes added in v0.1.57

func (c *RamClient) ListResourceTypes(request *model.ListResourceTypesRequest) (*model.ListResourceTypesResponse, error)

ListResourceTypes 检索云服务资源类型

查询已对接云服务的资源类型和区域等信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ListResourceTypesInvoker added in v0.1.57

func (c *RamClient) ListResourceTypesInvoker(request *model.ListResourceTypesRequest) *ListResourceTypesInvoker

ListResourceTypesInvoker 检索云服务资源类型

func (*RamClient) RejectResourceShareInvitation

RejectResourceShareInvitation 拒绝共享邀请

拒绝来自其他账号的资源共享邀请。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) RejectResourceShareInvitationInvoker

func (c *RamClient) RejectResourceShareInvitationInvoker(request *model.RejectResourceShareInvitationRequest) *RejectResourceShareInvitationInvoker

RejectResourceShareInvitationInvoker 拒绝共享邀请

func (*RamClient) SearchResourceShareAssociations

SearchResourceShareAssociations 检索绑定的资源使用者和共享资源

检索您拥有的资源共享实例中绑定的共享资源和资源使用者。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) SearchResourceShareAssociationsInvoker

func (c *RamClient) SearchResourceShareAssociationsInvoker(request *model.SearchResourceShareAssociationsRequest) *SearchResourceShareAssociationsInvoker

SearchResourceShareAssociationsInvoker 检索绑定的资源使用者和共享资源

func (*RamClient) SearchResourceShareCountByTags added in v0.1.35

SearchResourceShareCountByTags 根据标签信息查询实例数量

根据标签信息查询资源共享实例数量。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) SearchResourceShareCountByTagsInvoker added in v0.1.35

func (c *RamClient) SearchResourceShareCountByTagsInvoker(request *model.SearchResourceShareCountByTagsRequest) *SearchResourceShareCountByTagsInvoker

SearchResourceShareCountByTagsInvoker 根据标签信息查询实例数量

func (*RamClient) SearchResourceShareInvitation

SearchResourceShareInvitation 检索共享邀请

通过条件检索资源共享邀请。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) SearchResourceShareInvitationInvoker

func (c *RamClient) SearchResourceShareInvitationInvoker(request *model.SearchResourceShareInvitationRequest) *SearchResourceShareInvitationInvoker

SearchResourceShareInvitationInvoker 检索共享邀请

func (*RamClient) SearchResourceShares

SearchResourceShares 检索资源共享实例

检索您创建的或者共享给您的资源共享实例详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) SearchResourceSharesInvoker

func (c *RamClient) SearchResourceSharesInvoker(request *model.SearchResourceSharesRequest) *SearchResourceSharesInvoker

SearchResourceSharesInvoker 检索资源共享实例

func (*RamClient) SearchSharedPrincipals

SearchSharedPrincipals 检索资源使用者

检索共享资源的使用者。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) SearchSharedPrincipalsInvoker

func (c *RamClient) SearchSharedPrincipalsInvoker(request *model.SearchSharedPrincipalsRequest) *SearchSharedPrincipalsInvoker

SearchSharedPrincipalsInvoker 检索资源使用者

func (*RamClient) SearchSharedResources

SearchSharedResources 检索共享的资源

检索您共享的或共享给您的资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) SearchSharedResourcesInvoker

func (c *RamClient) SearchSharedResourcesInvoker(request *model.SearchSharedResourcesRequest) *SearchSharedResourcesInvoker

SearchSharedResourcesInvoker 检索共享的资源

func (*RamClient) ShowOrganizationShare

ShowOrganizationShare 检索是否启用与组织共享

检索是否启用与组织共享资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ShowOrganizationShareInvoker

func (c *RamClient) ShowOrganizationShareInvoker(request *model.ShowOrganizationShareRequest) *ShowOrganizationShareInvoker

ShowOrganizationShareInvoker 检索是否启用与组织共享

func (*RamClient) ShowPermission

func (c *RamClient) ShowPermission(request *model.ShowPermissionRequest) (*model.ShowPermissionResponse, error)

ShowPermission 检索资源共享权限内容

检索指定资源类型的共享资源指定版本的权限内容,如果不指定权限版本,则返回默认版本的权限内容。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) ShowPermissionInvoker

func (c *RamClient) ShowPermissionInvoker(request *model.ShowPermissionRequest) *ShowPermissionInvoker

ShowPermissionInvoker 检索资源共享权限内容

func (*RamClient) UpdateResourceShare

UpdateResourceShare 更新资源共享实例

修改资源共享实例的特定属性。

Please refer to HUAWEI cloud API Explorer for details.

func (*RamClient) UpdateResourceShareInvoker

func (c *RamClient) UpdateResourceShareInvoker(request *model.UpdateResourceShareRequest) *UpdateResourceShareInvoker

UpdateResourceShareInvoker 更新资源共享实例

type RejectResourceShareInvitationInvoker

type RejectResourceShareInvitationInvoker struct {
	*invoker.BaseInvoker
}

func (*RejectResourceShareInvitationInvoker) Invoke

type SearchResourceShareAssociationsInvoker

type SearchResourceShareAssociationsInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchResourceShareAssociationsInvoker) Invoke

type SearchResourceShareCountByTagsInvoker added in v0.1.35

type SearchResourceShareCountByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchResourceShareCountByTagsInvoker) Invoke added in v0.1.35

type SearchResourceShareInvitationInvoker

type SearchResourceShareInvitationInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchResourceShareInvitationInvoker) Invoke

type SearchResourceSharesInvoker

type SearchResourceSharesInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchResourceSharesInvoker) Invoke

type SearchSharedPrincipalsInvoker

type SearchSharedPrincipalsInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchSharedPrincipalsInvoker) Invoke

type SearchSharedResourcesInvoker

type SearchSharedResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchSharedResourcesInvoker) Invoke

type ShowOrganizationShareInvoker

type ShowOrganizationShareInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOrganizationShareInvoker) Invoke

type ShowPermissionInvoker

type ShowPermissionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPermissionInvoker) Invoke

type UpdateResourceShareInvoker

type UpdateResourceShareInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateResourceShareInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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