Documentation ¶
Index ¶
- func GenReqDefForAcceptResourceShareInvitation() *def.HttpRequestDef
- func GenReqDefForAssociateResourceShare() *def.HttpRequestDef
- func GenReqDefForAssociateResourceSharePermission() *def.HttpRequestDef
- func GenReqDefForBatchCreateResourceShareTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteResourceShareTags() *def.HttpRequestDef
- func GenReqDefForCreateResourceShare() *def.HttpRequestDef
- func GenReqDefForDeleteResourceShare() *def.HttpRequestDef
- func GenReqDefForDisableOrganizationShare() *def.HttpRequestDef
- func GenReqDefForDisassociateResourceShare() *def.HttpRequestDef
- func GenReqDefForDisassociateResourceSharePermission() *def.HttpRequestDef
- func GenReqDefForEnableOrganizationShare() *def.HttpRequestDef
- func GenReqDefForListPermissions() *def.HttpRequestDef
- func GenReqDefForListQuota() *def.HttpRequestDef
- func GenReqDefForListResourceSharePermissions() *def.HttpRequestDef
- func GenReqDefForListResourceShareTags() *def.HttpRequestDef
- func GenReqDefForListResourceSharesByTags() *def.HttpRequestDef
- func GenReqDefForListResourceTypes() *def.HttpRequestDef
- func GenReqDefForRejectResourceShareInvitation() *def.HttpRequestDef
- func GenReqDefForSearchResourceShareAssociations() *def.HttpRequestDef
- func GenReqDefForSearchResourceShareCountByTags() *def.HttpRequestDef
- func GenReqDefForSearchResourceShareInvitation() *def.HttpRequestDef
- func GenReqDefForSearchResourceShares() *def.HttpRequestDef
- func GenReqDefForSearchSharedPrincipals() *def.HttpRequestDef
- func GenReqDefForSearchSharedResources() *def.HttpRequestDef
- func GenReqDefForShowOrganizationShare() *def.HttpRequestDef
- func GenReqDefForShowPermission() *def.HttpRequestDef
- func GenReqDefForUpdateResourceShare() *def.HttpRequestDef
- func RamClientBuilder() *httpclient.HcHttpClientBuilder
- type AcceptResourceShareInvitationInvoker
- type AssociateResourceShareInvoker
- type AssociateResourceSharePermissionInvoker
- type BatchCreateResourceShareTagsInvoker
- type BatchDeleteResourceShareTagsInvoker
- type CreateResourceShareInvoker
- type DeleteResourceShareInvoker
- type DisableOrganizationShareInvoker
- type DisassociateResourceShareInvoker
- type DisassociateResourceSharePermissionInvoker
- type EnableOrganizationShareInvoker
- type ListPermissionsInvoker
- type ListQuotaInvoker
- type ListResourceSharePermissionsInvoker
- type ListResourceShareTagsInvoker
- type ListResourceSharesByTagsInvoker
- type ListResourceTypesInvoker
- type RamClient
- func (c *RamClient) AcceptResourceShareInvitation(request *model.AcceptResourceShareInvitationRequest) (*model.AcceptResourceShareInvitationResponse, error)
- func (c *RamClient) AcceptResourceShareInvitationInvoker(request *model.AcceptResourceShareInvitationRequest) *AcceptResourceShareInvitationInvoker
- func (c *RamClient) AssociateResourceShare(request *model.AssociateResourceShareRequest) (*model.AssociateResourceShareResponse, error)
- func (c *RamClient) AssociateResourceShareInvoker(request *model.AssociateResourceShareRequest) *AssociateResourceShareInvoker
- func (c *RamClient) AssociateResourceSharePermission(request *model.AssociateResourceSharePermissionRequest) (*model.AssociateResourceSharePermissionResponse, error)
- func (c *RamClient) AssociateResourceSharePermissionInvoker(request *model.AssociateResourceSharePermissionRequest) *AssociateResourceSharePermissionInvoker
- func (c *RamClient) BatchCreateResourceShareTags(request *model.BatchCreateResourceShareTagsRequest) (*model.BatchCreateResourceShareTagsResponse, error)
- func (c *RamClient) BatchCreateResourceShareTagsInvoker(request *model.BatchCreateResourceShareTagsRequest) *BatchCreateResourceShareTagsInvoker
- func (c *RamClient) BatchDeleteResourceShareTags(request *model.BatchDeleteResourceShareTagsRequest) (*model.BatchDeleteResourceShareTagsResponse, error)
- func (c *RamClient) BatchDeleteResourceShareTagsInvoker(request *model.BatchDeleteResourceShareTagsRequest) *BatchDeleteResourceShareTagsInvoker
- func (c *RamClient) CreateResourceShare(request *model.CreateResourceShareRequest) (*model.CreateResourceShareResponse, error)
- func (c *RamClient) CreateResourceShareInvoker(request *model.CreateResourceShareRequest) *CreateResourceShareInvoker
- func (c *RamClient) DeleteResourceShare(request *model.DeleteResourceShareRequest) (*model.DeleteResourceShareResponse, error)
- func (c *RamClient) DeleteResourceShareInvoker(request *model.DeleteResourceShareRequest) *DeleteResourceShareInvoker
- func (c *RamClient) DisableOrganizationShare(request *model.DisableOrganizationShareRequest) (*model.DisableOrganizationShareResponse, error)
- func (c *RamClient) DisableOrganizationShareInvoker(request *model.DisableOrganizationShareRequest) *DisableOrganizationShareInvoker
- func (c *RamClient) DisassociateResourceShare(request *model.DisassociateResourceShareRequest) (*model.DisassociateResourceShareResponse, error)
- func (c *RamClient) DisassociateResourceShareInvoker(request *model.DisassociateResourceShareRequest) *DisassociateResourceShareInvoker
- func (c *RamClient) DisassociateResourceSharePermission(request *model.DisassociateResourceSharePermissionRequest) (*model.DisassociateResourceSharePermissionResponse, error)
- func (c *RamClient) DisassociateResourceSharePermissionInvoker(request *model.DisassociateResourceSharePermissionRequest) *DisassociateResourceSharePermissionInvoker
- func (c *RamClient) EnableOrganizationShare(request *model.EnableOrganizationShareRequest) (*model.EnableOrganizationShareResponse, error)
- func (c *RamClient) EnableOrganizationShareInvoker(request *model.EnableOrganizationShareRequest) *EnableOrganizationShareInvoker
- func (c *RamClient) ListPermissions(request *model.ListPermissionsRequest) (*model.ListPermissionsResponse, error)
- func (c *RamClient) ListPermissionsInvoker(request *model.ListPermissionsRequest) *ListPermissionsInvoker
- func (c *RamClient) ListQuota(request *model.ListQuotaRequest) (*model.ListQuotaResponse, error)
- func (c *RamClient) ListQuotaInvoker(request *model.ListQuotaRequest) *ListQuotaInvoker
- func (c *RamClient) ListResourceSharePermissions(request *model.ListResourceSharePermissionsRequest) (*model.ListResourceSharePermissionsResponse, error)
- func (c *RamClient) ListResourceSharePermissionsInvoker(request *model.ListResourceSharePermissionsRequest) *ListResourceSharePermissionsInvoker
- func (c *RamClient) ListResourceShareTags(request *model.ListResourceShareTagsRequest) (*model.ListResourceShareTagsResponse, error)
- func (c *RamClient) ListResourceShareTagsInvoker(request *model.ListResourceShareTagsRequest) *ListResourceShareTagsInvoker
- func (c *RamClient) ListResourceSharesByTags(request *model.ListResourceSharesByTagsRequest) (*model.ListResourceSharesByTagsResponse, error)
- func (c *RamClient) ListResourceSharesByTagsInvoker(request *model.ListResourceSharesByTagsRequest) *ListResourceSharesByTagsInvoker
- func (c *RamClient) ListResourceTypes(request *model.ListResourceTypesRequest) (*model.ListResourceTypesResponse, error)
- func (c *RamClient) ListResourceTypesInvoker(request *model.ListResourceTypesRequest) *ListResourceTypesInvoker
- func (c *RamClient) RejectResourceShareInvitation(request *model.RejectResourceShareInvitationRequest) (*model.RejectResourceShareInvitationResponse, error)
- func (c *RamClient) RejectResourceShareInvitationInvoker(request *model.RejectResourceShareInvitationRequest) *RejectResourceShareInvitationInvoker
- func (c *RamClient) SearchResourceShareAssociations(request *model.SearchResourceShareAssociationsRequest) (*model.SearchResourceShareAssociationsResponse, error)
- func (c *RamClient) SearchResourceShareAssociationsInvoker(request *model.SearchResourceShareAssociationsRequest) *SearchResourceShareAssociationsInvoker
- func (c *RamClient) SearchResourceShareCountByTags(request *model.SearchResourceShareCountByTagsRequest) (*model.SearchResourceShareCountByTagsResponse, error)
- func (c *RamClient) SearchResourceShareCountByTagsInvoker(request *model.SearchResourceShareCountByTagsRequest) *SearchResourceShareCountByTagsInvoker
- func (c *RamClient) SearchResourceShareInvitation(request *model.SearchResourceShareInvitationRequest) (*model.SearchResourceShareInvitationResponse, error)
- func (c *RamClient) SearchResourceShareInvitationInvoker(request *model.SearchResourceShareInvitationRequest) *SearchResourceShareInvitationInvoker
- func (c *RamClient) SearchResourceShares(request *model.SearchResourceSharesRequest) (*model.SearchResourceSharesResponse, error)
- func (c *RamClient) SearchResourceSharesInvoker(request *model.SearchResourceSharesRequest) *SearchResourceSharesInvoker
- func (c *RamClient) SearchSharedPrincipals(request *model.SearchSharedPrincipalsRequest) (*model.SearchSharedPrincipalsResponse, error)
- func (c *RamClient) SearchSharedPrincipalsInvoker(request *model.SearchSharedPrincipalsRequest) *SearchSharedPrincipalsInvoker
- func (c *RamClient) SearchSharedResources(request *model.SearchSharedResourcesRequest) (*model.SearchSharedResourcesResponse, error)
- func (c *RamClient) SearchSharedResourcesInvoker(request *model.SearchSharedResourcesRequest) *SearchSharedResourcesInvoker
- func (c *RamClient) ShowOrganizationShare(request *model.ShowOrganizationShareRequest) (*model.ShowOrganizationShareResponse, error)
- func (c *RamClient) ShowOrganizationShareInvoker(request *model.ShowOrganizationShareRequest) *ShowOrganizationShareInvoker
- func (c *RamClient) ShowPermission(request *model.ShowPermissionRequest) (*model.ShowPermissionResponse, error)
- func (c *RamClient) ShowPermissionInvoker(request *model.ShowPermissionRequest) *ShowPermissionInvoker
- func (c *RamClient) UpdateResourceShare(request *model.UpdateResourceShareRequest) (*model.UpdateResourceShareResponse, error)
- func (c *RamClient) UpdateResourceShareInvoker(request *model.UpdateResourceShareRequest) *UpdateResourceShareInvoker
- type RejectResourceShareInvitationInvoker
- type SearchResourceShareAssociationsInvoker
- type SearchResourceShareCountByTagsInvoker
- type SearchResourceShareInvitationInvoker
- type SearchResourceSharesInvoker
- type SearchSharedPrincipalsInvoker
- type SearchSharedResourcesInvoker
- type ShowOrganizationShareInvoker
- type ShowPermissionInvoker
- type UpdateResourceShareInvoker
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 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 {
}func (*AcceptResourceShareInvitationInvoker) Invoke ¶
func (i *AcceptResourceShareInvitationInvoker) Invoke() (*model.AcceptResourceShareInvitationResponse, error)
type AssociateResourceShareInvoker ¶
type AssociateResourceShareInvoker struct {
}func (*AssociateResourceShareInvoker) Invoke ¶
func (i *AssociateResourceShareInvoker) Invoke() (*model.AssociateResourceShareResponse, error)
type AssociateResourceSharePermissionInvoker ¶
type AssociateResourceSharePermissionInvoker struct {
}func (*AssociateResourceSharePermissionInvoker) Invoke ¶
func (i *AssociateResourceSharePermissionInvoker) Invoke() (*model.AssociateResourceSharePermissionResponse, error)
type BatchCreateResourceShareTagsInvoker ¶ added in v0.1.34
type BatchCreateResourceShareTagsInvoker struct {
}func (*BatchCreateResourceShareTagsInvoker) Invoke ¶ added in v0.1.34
func (i *BatchCreateResourceShareTagsInvoker) Invoke() (*model.BatchCreateResourceShareTagsResponse, error)
type BatchDeleteResourceShareTagsInvoker ¶ added in v0.1.34
type BatchDeleteResourceShareTagsInvoker struct {
}func (*BatchDeleteResourceShareTagsInvoker) Invoke ¶ added in v0.1.34
func (i *BatchDeleteResourceShareTagsInvoker) Invoke() (*model.BatchDeleteResourceShareTagsResponse, error)
type CreateResourceShareInvoker ¶
type CreateResourceShareInvoker struct {
}func (*CreateResourceShareInvoker) Invoke ¶
func (i *CreateResourceShareInvoker) Invoke() (*model.CreateResourceShareResponse, error)
type DeleteResourceShareInvoker ¶
type DeleteResourceShareInvoker struct {
}func (*DeleteResourceShareInvoker) Invoke ¶
func (i *DeleteResourceShareInvoker) Invoke() (*model.DeleteResourceShareResponse, error)
type DisableOrganizationShareInvoker ¶
type DisableOrganizationShareInvoker struct {
}func (*DisableOrganizationShareInvoker) Invoke ¶
func (i *DisableOrganizationShareInvoker) Invoke() (*model.DisableOrganizationShareResponse, error)
type DisassociateResourceShareInvoker ¶
type DisassociateResourceShareInvoker struct {
}func (*DisassociateResourceShareInvoker) Invoke ¶
func (i *DisassociateResourceShareInvoker) Invoke() (*model.DisassociateResourceShareResponse, error)
type DisassociateResourceSharePermissionInvoker ¶
type DisassociateResourceSharePermissionInvoker struct {
}func (*DisassociateResourceSharePermissionInvoker) Invoke ¶
func (i *DisassociateResourceSharePermissionInvoker) Invoke() (*model.DisassociateResourceSharePermissionResponse, error)
type EnableOrganizationShareInvoker ¶
type EnableOrganizationShareInvoker struct {
}func (*EnableOrganizationShareInvoker) Invoke ¶
func (i *EnableOrganizationShareInvoker) Invoke() (*model.EnableOrganizationShareResponse, error)
type ListPermissionsInvoker ¶
type ListPermissionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPermissionsInvoker) Invoke ¶
func (i *ListPermissionsInvoker) Invoke() (*model.ListPermissionsResponse, error)
type ListQuotaInvoker ¶ added in v0.1.41
type ListQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ListQuotaInvoker) Invoke ¶ added in v0.1.41
func (i *ListQuotaInvoker) Invoke() (*model.ListQuotaResponse, error)
type ListResourceSharePermissionsInvoker ¶
type ListResourceSharePermissionsInvoker struct {
}func (*ListResourceSharePermissionsInvoker) Invoke ¶
func (i *ListResourceSharePermissionsInvoker) Invoke() (*model.ListResourceSharePermissionsResponse, error)
type ListResourceShareTagsInvoker ¶ added in v0.1.35
type ListResourceShareTagsInvoker struct {
}func (*ListResourceShareTagsInvoker) Invoke ¶ added in v0.1.35
func (i *ListResourceShareTagsInvoker) Invoke() (*model.ListResourceShareTagsResponse, error)
type ListResourceSharesByTagsInvoker ¶ added in v0.1.35
type ListResourceSharesByTagsInvoker struct {
}func (*ListResourceSharesByTagsInvoker) Invoke ¶ added in v0.1.35
func (i *ListResourceSharesByTagsInvoker) Invoke() (*model.ListResourceSharesByTagsResponse, error)
type ListResourceTypesInvoker ¶ added in v0.1.57
type ListResourceTypesInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceTypesInvoker) Invoke ¶ added in v0.1.57
func (i *ListResourceTypesInvoker) Invoke() (*model.ListResourceTypesResponse, error)
type RamClient ¶
type RamClient struct {
HcClient *httpclient.HcHttpClient
}
func NewRamClient ¶
func NewRamClient(hcClient *httpclient.HcHttpClient) *RamClient
func (*RamClient) AcceptResourceShareInvitation ¶
func (c *RamClient) AcceptResourceShareInvitation(request *model.AcceptResourceShareInvitationRequest) (*model.AcceptResourceShareInvitationResponse, error)
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 ¶
func (c *RamClient) AssociateResourceShare(request *model.AssociateResourceShareRequest) (*model.AssociateResourceShareResponse, error)
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 ¶
func (c *RamClient) AssociateResourceSharePermission(request *model.AssociateResourceSharePermissionRequest) (*model.AssociateResourceSharePermissionResponse, error)
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
func (c *RamClient) BatchCreateResourceShareTags(request *model.BatchCreateResourceShareTagsRequest) (*model.BatchCreateResourceShareTagsResponse, error)
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
func (c *RamClient) BatchDeleteResourceShareTags(request *model.BatchDeleteResourceShareTagsRequest) (*model.BatchDeleteResourceShareTagsResponse, error)
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 ¶
func (c *RamClient) CreateResourceShare(request *model.CreateResourceShareRequest) (*model.CreateResourceShareResponse, error)
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 ¶
func (c *RamClient) DeleteResourceShare(request *model.DeleteResourceShareRequest) (*model.DeleteResourceShareResponse, error)
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 ¶
func (c *RamClient) DisableOrganizationShare(request *model.DisableOrganizationShareRequest) (*model.DisableOrganizationShareResponse, error)
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 ¶
func (c *RamClient) DisassociateResourceShare(request *model.DisassociateResourceShareRequest) (*model.DisassociateResourceShareResponse, error)
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 ¶
func (c *RamClient) DisassociateResourceSharePermission(request *model.DisassociateResourceSharePermissionRequest) (*model.DisassociateResourceSharePermissionResponse, error)
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 ¶
func (c *RamClient) EnableOrganizationShare(request *model.EnableOrganizationShareRequest) (*model.EnableOrganizationShareResponse, error)
EnableOrganizationShare 启用与组织共享
启用与组织共享资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*RamClient) EnableOrganizationShareInvoker ¶
func (c *RamClient) EnableOrganizationShareInvoker(request *model.EnableOrganizationShareRequest) *EnableOrganizationShareInvoker
EnableOrganizationShareInvoker 启用与组织共享
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 ¶
func (c *RamClient) ListResourceSharePermissions(request *model.ListResourceSharePermissionsRequest) (*model.ListResourceSharePermissionsResponse, error)
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
func (c *RamClient) ListResourceShareTags(request *model.ListResourceShareTagsRequest) (*model.ListResourceShareTagsResponse, error)
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
func (c *RamClient) ListResourceSharesByTags(request *model.ListResourceSharesByTagsRequest) (*model.ListResourceSharesByTagsResponse, error)
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 ¶
func (c *RamClient) RejectResourceShareInvitation(request *model.RejectResourceShareInvitationRequest) (*model.RejectResourceShareInvitationResponse, error)
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 ¶
func (c *RamClient) SearchResourceShareAssociations(request *model.SearchResourceShareAssociationsRequest) (*model.SearchResourceShareAssociationsResponse, error)
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
func (c *RamClient) SearchResourceShareCountByTags(request *model.SearchResourceShareCountByTagsRequest) (*model.SearchResourceShareCountByTagsResponse, error)
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 ¶
func (c *RamClient) SearchResourceShareInvitation(request *model.SearchResourceShareInvitationRequest) (*model.SearchResourceShareInvitationResponse, error)
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 ¶
func (c *RamClient) SearchResourceShares(request *model.SearchResourceSharesRequest) (*model.SearchResourceSharesResponse, error)
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 ¶
func (c *RamClient) SearchSharedPrincipals(request *model.SearchSharedPrincipalsRequest) (*model.SearchSharedPrincipalsResponse, error)
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 ¶
func (c *RamClient) SearchSharedResources(request *model.SearchSharedResourcesRequest) (*model.SearchSharedResourcesResponse, error)
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 ¶
func (c *RamClient) ShowOrganizationShare(request *model.ShowOrganizationShareRequest) (*model.ShowOrganizationShareResponse, error)
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 ¶
func (c *RamClient) UpdateResourceShare(request *model.UpdateResourceShareRequest) (*model.UpdateResourceShareResponse, error)
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 {
}func (*RejectResourceShareInvitationInvoker) Invoke ¶
func (i *RejectResourceShareInvitationInvoker) Invoke() (*model.RejectResourceShareInvitationResponse, error)
type SearchResourceShareAssociationsInvoker ¶
type SearchResourceShareAssociationsInvoker struct {
}func (*SearchResourceShareAssociationsInvoker) Invoke ¶
func (i *SearchResourceShareAssociationsInvoker) Invoke() (*model.SearchResourceShareAssociationsResponse, error)
type SearchResourceShareCountByTagsInvoker ¶ added in v0.1.35
type SearchResourceShareCountByTagsInvoker struct {
}func (*SearchResourceShareCountByTagsInvoker) Invoke ¶ added in v0.1.35
func (i *SearchResourceShareCountByTagsInvoker) Invoke() (*model.SearchResourceShareCountByTagsResponse, error)
type SearchResourceShareInvitationInvoker ¶
type SearchResourceShareInvitationInvoker struct {
}func (*SearchResourceShareInvitationInvoker) Invoke ¶
func (i *SearchResourceShareInvitationInvoker) Invoke() (*model.SearchResourceShareInvitationResponse, error)
type SearchResourceSharesInvoker ¶
type SearchResourceSharesInvoker struct {
}func (*SearchResourceSharesInvoker) Invoke ¶
func (i *SearchResourceSharesInvoker) Invoke() (*model.SearchResourceSharesResponse, error)
type SearchSharedPrincipalsInvoker ¶
type SearchSharedPrincipalsInvoker struct {
}func (*SearchSharedPrincipalsInvoker) Invoke ¶
func (i *SearchSharedPrincipalsInvoker) Invoke() (*model.SearchSharedPrincipalsResponse, error)
type SearchSharedResourcesInvoker ¶
type SearchSharedResourcesInvoker struct {
}func (*SearchSharedResourcesInvoker) Invoke ¶
func (i *SearchSharedResourcesInvoker) Invoke() (*model.SearchSharedResourcesResponse, error)
type ShowOrganizationShareInvoker ¶
type ShowOrganizationShareInvoker struct {
}func (*ShowOrganizationShareInvoker) Invoke ¶
func (i *ShowOrganizationShareInvoker) Invoke() (*model.ShowOrganizationShareResponse, error)
type ShowPermissionInvoker ¶
type ShowPermissionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowPermissionInvoker) Invoke ¶
func (i *ShowPermissionInvoker) Invoke() (*model.ShowPermissionResponse, error)
type UpdateResourceShareInvoker ¶
type UpdateResourceShareInvoker struct {
}func (*UpdateResourceShareInvoker) Invoke ¶
func (i *UpdateResourceShareInvoker) Invoke() (*model.UpdateResourceShareResponse, error)