Documentation ¶
Index ¶
- type AcceptResourceShareInvitationRequest
- type AcceptResourceShareInvitationResponse
- type AssociatePermissionReqBody
- type AssociateResourceSharePermissionRequest
- type AssociateResourceSharePermissionResponse
- type AssociateResourceShareRequest
- type AssociateResourceShareResponse
- type AssociatedPermission
- type BatchCreateResourceShareTagsRequest
- type BatchCreateResourceShareTagsResponse
- type BatchDeleteResourceShareTagsRequest
- type BatchDeleteResourceShareTagsResponse
- type CreateResourceShareReqBody
- type CreateResourceShareRequest
- type CreateResourceShareResponse
- type DeleteResourceShareRequest
- type DeleteResourceShareResponse
- type DisableOrganizationShareRequest
- type DisableOrganizationShareResponse
- type DisassociatePermissionReqBody
- type DisassociateResourceSharePermissionRequest
- type DisassociateResourceSharePermissionResponse
- type DisassociateResourceShareRequest
- type DisassociateResourceShareResponse
- type EnableOrganizationShareRequest
- type EnableOrganizationShareResponse
- type ListPermissionVersionsRequest
- type ListPermissionVersionsResponse
- type ListPermissionsRequest
- type ListPermissionsRequestPermissionType
- type ListPermissionsRequestPermissionTypeEnum
- type ListPermissionsResponse
- type ListQuotaRequest
- type ListQuotaResponse
- type ListResourceSharePermissionsRequest
- type ListResourceSharePermissionsResponse
- type ListResourceShareTagsRequest
- type ListResourceShareTagsResponse
- type ListResourceSharesByTagsRequest
- type ListResourceSharesByTagsResponse
- type ListResourceTypesRequest
- type ListResourceTypesResponse
- type Match
- type PageInfo
- type PageInfoMarkerByKey
- type Permission
- type PermissionSummary
- type QuotaResourcesDto
- type Quotas
- type RejectResourceShareInvitationRequest
- type RejectResourceShareInvitationResponse
- type ResourceDto
- type ResourceShare
- type ResourceShareAssociation
- type ResourceShareAssociationReqBody
- type ResourceShareInvitation
- type ResourceSharesByTagsReqBody
- type ResourceTypesSummary
- type SearchResourceShareAssociationsReqBody
- type SearchResourceShareAssociationsReqBodyAssociationType
- type SearchResourceShareAssociationsReqBodyAssociationTypeEnum
- type SearchResourceShareAssociationsRequest
- type SearchResourceShareAssociationsResponse
- type SearchResourceShareCountByTagsRequest
- type SearchResourceShareCountByTagsResponse
- type SearchResourceShareInvitationReqBody
- type SearchResourceShareInvitationRequest
- type SearchResourceShareInvitationResponse
- type SearchResourceSharesReqBody
- type SearchResourceSharesReqBodyResourceOwner
- type SearchResourceSharesReqBodyResourceOwnerEnum
- type SearchResourceSharesRequest
- type SearchResourceSharesResponse
- type SearchSharedPrincipalsReqBody
- type SearchSharedPrincipalsReqBodyResourceOwner
- type SearchSharedPrincipalsReqBodyResourceOwnerEnum
- type SearchSharedPrincipalsRequest
- type SearchSharedPrincipalsResponse
- type SearchSharedResourcesReqBody
- type SearchSharedResourcesReqBodyResourceOwner
- type SearchSharedResourcesReqBodyResourceOwnerEnum
- type SearchSharedResourcesRequest
- type SearchSharedResourcesResponse
- type SharedPrincipal
- type SharedResource
- type ShowOrganizationShareRequest
- type ShowOrganizationShareResponse
- type ShowPermissionRequest
- type ShowPermissionResponse
- type Tag
- type TagDto
- type TagFilter
- type TagResourceReqBody
- type Untag
- type UntagResourceReqBody
- type UpdateResourceShareReqBody
- type UpdateResourceShareRequest
- type UpdateResourceShareResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptResourceShareInvitationRequest ¶
type AcceptResourceShareInvitationRequest struct { string `json:"resource_share_invitation_id"` }ResourceShareInvitationId
AcceptResourceShareInvitationRequest Request Object
func (AcceptResourceShareInvitationRequest) String ¶
func (o AcceptResourceShareInvitationRequest) String() string
type AcceptResourceShareInvitationResponse ¶
type AcceptResourceShareInvitationResponse struct {}
AcceptResourceShareInvitationResponse Response Object
func (AcceptResourceShareInvitationResponse) String ¶
func (o AcceptResourceShareInvitationResponse) String() string
type AssociatePermissionReqBody ¶
type AssociatePermissionReqBody struct { // 指定特定的权限替换或绑定到与资源共享实例关联的现有资源类型。设置为\"true\"可将相同的资源类型的权限替换为当前权限。设置为\"false\"将权限绑定到当前资源类型。默认值为\"false\"。资源共享实例中的每个资源类型只能绑定一个权限。如果资源共享实例中已具有指定资源类型的权限,并且将\"replace\"设置为\"false\",则操作返回错误。这有助于防止意外覆盖权限。 Replace *bool `json:"replace,omitempty"` // 共享资源权限的ID。 PermissionId string `json:"permission_id"` }
AssociatePermissionReqBody The request body of the AssociateResourceSharePermission operation.
func (AssociatePermissionReqBody) String ¶
func (o AssociatePermissionReqBody) String() string
type AssociateResourceSharePermissionRequest ¶
type AssociateResourceSharePermissionRequest struct { string `json:"resource_share_id"` }ResourceShareId
AssociateResourceSharePermissionRequest Request Object
func (AssociateResourceSharePermissionRequest) String ¶
func (o AssociateResourceSharePermissionRequest) String() string
type AssociateResourceSharePermissionResponse ¶
type AssociateResourceSharePermissionResponse struct {
}AssociateResourceSharePermissionResponse Response Object
func (AssociateResourceSharePermissionResponse) String ¶
func (o AssociateResourceSharePermissionResponse) String() string
type AssociateResourceShareRequest ¶
type AssociateResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
AssociateResourceShareRequest Request Object
func (AssociateResourceShareRequest) String ¶
func (o AssociateResourceShareRequest) String() string
type AssociateResourceShareResponse ¶
type AssociateResourceShareResponse struct {}
AssociateResourceShareResponse Response Object
func (AssociateResourceShareResponse) String ¶
func (o AssociateResourceShareResponse) String() string
type AssociatedPermission ¶
type AssociatedPermission struct { // 权限的ID。 PermissionId *string `json:"permission_id,omitempty"` // 共享资源权限的名称。 PermissionName *string `json:"permission_name,omitempty"` // 权限适用的资源类型。 ResourceType *string `json:"resource_type,omitempty"` // 权限的当前状态。 Status *string `json:"status,omitempty"` // 创建权限的时间。 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 最后一次更新权限的时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
AssociatedPermission 描述与资源共享关联的权限的对象。
func (AssociatedPermission) String ¶
func (o AssociatedPermission) String() string
type BatchCreateResourceShareTagsRequest ¶ added in v0.1.34
type BatchCreateResourceShareTagsRequest struct { string `json:"resource_share_id"` }ResourceShareId
BatchCreateResourceShareTagsRequest Request Object
func (BatchCreateResourceShareTagsRequest) String ¶ added in v0.1.34
func (o BatchCreateResourceShareTagsRequest) String() string
type BatchCreateResourceShareTagsResponse ¶ added in v0.1.34
type BatchCreateResourceShareTagsResponse struct {
}BatchCreateResourceShareTagsResponse Response Object
func (BatchCreateResourceShareTagsResponse) String ¶ added in v0.1.34
func (o BatchCreateResourceShareTagsResponse) String() string
type BatchDeleteResourceShareTagsRequest ¶ added in v0.1.34
type BatchDeleteResourceShareTagsRequest struct { string `json:"resource_share_id"` }ResourceShareId
BatchDeleteResourceShareTagsRequest Request Object
func (BatchDeleteResourceShareTagsRequest) String ¶ added in v0.1.34
func (o BatchDeleteResourceShareTagsRequest) String() string
type BatchDeleteResourceShareTagsResponse ¶ added in v0.1.34
type BatchDeleteResourceShareTagsResponse struct {
}BatchDeleteResourceShareTagsResponse Response Object
func (BatchDeleteResourceShareTagsResponse) String ¶ added in v0.1.34
func (o BatchDeleteResourceShareTagsResponse) String() string
type CreateResourceShareReqBody ¶
type CreateResourceShareReqBody struct { string `json:"name"` Description *string `json:"description,omitempty"` AllowExternalPrincipals *bool `json:"allow_external_principals,omitempty"` PermissionIds *[]string `json:"permission_ids,omitempty"` Principals *[]string `json:"principals,omitempty"` ResourceUrns *[]string `json:"resource_urns,omitempty"` Tags *[]Tag `json:"tags,omitempty"` }Name
CreateResourceShareReqBody The request body of the CreateResourceShare operation.
func (CreateResourceShareReqBody) String ¶
func (o CreateResourceShareReqBody) String() string
type CreateResourceShareRequest ¶
type CreateResourceShareRequest struct {
}CreateResourceShareRequest Request Object
func (CreateResourceShareRequest) String ¶
func (o CreateResourceShareRequest) String() string
type CreateResourceShareResponse ¶
type CreateResourceShareResponse struct {}
CreateResourceShareResponse Response Object
func (CreateResourceShareResponse) String ¶
func (o CreateResourceShareResponse) String() string
type DeleteResourceShareRequest ¶
type DeleteResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
DeleteResourceShareRequest Request Object
func (DeleteResourceShareRequest) String ¶
func (o DeleteResourceShareRequest) String() string
type DeleteResourceShareResponse ¶
type DeleteResourceShareResponse struct {
}DeleteResourceShareResponse Response Object
func (DeleteResourceShareResponse) String ¶
func (o DeleteResourceShareResponse) String() string
type DisableOrganizationShareRequest ¶
type DisableOrganizationShareRequest struct { }
DisableOrganizationShareRequest Request Object
func (DisableOrganizationShareRequest) String ¶
func (o DisableOrganizationShareRequest) String() string
type DisableOrganizationShareResponse ¶
type DisableOrganizationShareResponse struct {
}DisableOrganizationShareResponse Response Object
func (DisableOrganizationShareResponse) String ¶
func (o DisableOrganizationShareResponse) String() string
type DisassociatePermissionReqBody ¶
type DisassociatePermissionReqBody struct { // 共享资源权限的ID。 PermissionId string `json:"permission_id"` }
DisassociatePermissionReqBody The request body of the DisassociateResourceSharePermission operation.
func (DisassociatePermissionReqBody) String ¶
func (o DisassociatePermissionReqBody) String() string
type DisassociateResourceSharePermissionRequest ¶
type DisassociateResourceSharePermissionRequest struct { string `json:"resource_share_id"` }ResourceShareId
DisassociateResourceSharePermissionRequest Request Object
func (DisassociateResourceSharePermissionRequest) String ¶
func (o DisassociateResourceSharePermissionRequest) String() string
type DisassociateResourceSharePermissionResponse ¶
type DisassociateResourceSharePermissionResponse struct {
}DisassociateResourceSharePermissionResponse Response Object
func (DisassociateResourceSharePermissionResponse) String ¶
func (o DisassociateResourceSharePermissionResponse) String() string
type DisassociateResourceShareRequest ¶
type DisassociateResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
DisassociateResourceShareRequest Request Object
func (DisassociateResourceShareRequest) String ¶
func (o DisassociateResourceShareRequest) String() string
type DisassociateResourceShareResponse ¶
type DisassociateResourceShareResponse struct {}
DisassociateResourceShareResponse Response Object
func (DisassociateResourceShareResponse) String ¶
func (o DisassociateResourceShareResponse) String() string
type EnableOrganizationShareRequest ¶
type EnableOrganizationShareRequest struct { }
EnableOrganizationShareRequest Request Object
func (EnableOrganizationShareRequest) String ¶
func (o EnableOrganizationShareRequest) String() string
type EnableOrganizationShareResponse ¶
type EnableOrganizationShareResponse struct {
}EnableOrganizationShareResponse Response Object
func (EnableOrganizationShareResponse) String ¶
func (o EnableOrganizationShareResponse) String() string
type ListPermissionVersionsRequest ¶ added in v0.1.86
type ListPermissionVersionsRequest struct { // 分页页面的最大值。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` // 共享资源权限的ID。 PermissionId string `json:"permission_id"` }
ListPermissionVersionsRequest Request Object
func (ListPermissionVersionsRequest) String ¶ added in v0.1.86
func (o ListPermissionVersionsRequest) String() string
type ListPermissionVersionsResponse ¶ added in v0.1.86
type ListPermissionVersionsResponse struct { // 共享资源权限的详细信息列表。 Permissions *[]PermissionSummary `json:"permissions,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListPermissionVersionsResponse Response Object
func (ListPermissionVersionsResponse) String ¶ added in v0.1.86
func (o ListPermissionVersionsResponse) String() string
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { // 分页页面的最大值。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` // 资源类型的名称。 ResourceType *string `json:"resource_type,omitempty"` // 权限类型。RAM_MANAGED表示RAM托管的权限,CUSTOMER_MANAGED表示租户创建的自定义的权限,ALL表示所有的权限。 PermissionType *ListPermissionsRequestPermissionType `json:"permission_type,omitempty"` }
ListPermissionsRequest Request Object
func (ListPermissionsRequest) String ¶
func (o ListPermissionsRequest) String() string
type ListPermissionsRequestPermissionType ¶ added in v0.1.86
type ListPermissionsRequestPermissionType struct {
// contains filtered or unexported fields
}
func (ListPermissionsRequestPermissionType) MarshalJSON ¶ added in v0.1.86
func (c ListPermissionsRequestPermissionType) MarshalJSON() ([]byte, error)
func (*ListPermissionsRequestPermissionType) UnmarshalJSON ¶ added in v0.1.86
func (c *ListPermissionsRequestPermissionType) UnmarshalJSON(b []byte) error
func (ListPermissionsRequestPermissionType) Value ¶ added in v0.1.86
func (c ListPermissionsRequestPermissionType) Value() string
type ListPermissionsRequestPermissionTypeEnum ¶ added in v0.1.86
type ListPermissionsRequestPermissionTypeEnum struct { RAM_MANAGED ListPermissionsRequestPermissionType CUSTOMER_MANAGED ListPermissionsRequestPermissionType ALL ListPermissionsRequestPermissionType }
func GetListPermissionsRequestPermissionTypeEnum ¶ added in v0.1.86
func GetListPermissionsRequestPermissionTypeEnum() ListPermissionsRequestPermissionTypeEnum
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { // 共享资源权限的详细信息列表。 Permissions *[]PermissionSummary `json:"permissions,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListPermissionsResponse Response Object
func (ListPermissionsResponse) String ¶
func (o ListPermissionsResponse) String() string
type ListQuotaRequest ¶ added in v0.1.41
type ListQuotaRequest struct { }
ListQuotaRequest Request Object
func (ListQuotaRequest) String ¶ added in v0.1.41
func (o ListQuotaRequest) String() string
type ListQuotaResponse ¶ added in v0.1.41
type ListQuotaResponse struct { Quotas *QuotaResourcesDto `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ListQuotaResponse Response Object
func (ListQuotaResponse) String ¶ added in v0.1.41
func (o ListQuotaResponse) String() string
type ListResourceSharePermissionsRequest ¶
type ListResourceSharePermissionsRequest struct { string `json:"resource_share_id"` PermissionName *string `json:"permission_name,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }ResourceShareId
ListResourceSharePermissionsRequest Request Object
func (ListResourceSharePermissionsRequest) String ¶
func (o ListResourceSharePermissionsRequest) String() string
type ListResourceSharePermissionsResponse ¶
type ListResourceSharePermissionsResponse struct { AssociatedPermission `json:"associated_permissions,omitempty"` }AssociatedPermissions *[]
ListResourceSharePermissionsResponse Response Object
func (ListResourceSharePermissionsResponse) String ¶
func (o ListResourceSharePermissionsResponse) String() string
type ListResourceShareTagsRequest ¶ added in v0.1.35
type ListResourceShareTagsRequest struct { int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }Limit *
ListResourceShareTagsRequest Request Object
func (ListResourceShareTagsRequest) String ¶ added in v0.1.35
func (o ListResourceShareTagsRequest) String() string
type ListResourceShareTagsResponse ¶ added in v0.1.35
type ListResourceShareTagsResponse struct { TagDto `json:"tags,omitempty"` }Tags *[]
ListResourceShareTagsResponse Response Object
func (ListResourceShareTagsResponse) String ¶ added in v0.1.35
func (o ListResourceShareTagsResponse) String() string
type ListResourceSharesByTagsRequest ¶ added in v0.1.35
type ListResourceSharesByTagsRequest struct { int32 `json:"limit,omitempty"` Offset *string `json:"offset,omitempty"` }Limit *
ListResourceSharesByTagsRequest Request Object
func (ListResourceSharesByTagsRequest) String ¶ added in v0.1.35
func (o ListResourceSharesByTagsRequest) String() string
type ListResourceSharesByTagsResponse ¶ added in v0.1.35
type ListResourceSharesByTagsResponse struct { ResourceDto `json:"resources,omitempty"` // 总记录数。 }Resources *[]
ListResourceSharesByTagsResponse Response Object
func (ListResourceSharesByTagsResponse) String ¶ added in v0.1.35
func (o ListResourceSharesByTagsResponse) String() string
type ListResourceTypesRequest ¶ added in v0.1.57
type ListResourceTypesRequest struct { // 分页页面的最大值。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` }
ListResourceTypesRequest Request Object
func (ListResourceTypesRequest) String ¶ added in v0.1.57
func (o ListResourceTypesRequest) String() string
type ListResourceTypesResponse ¶ added in v0.1.57
type ListResourceTypesResponse struct { // 云服务资源的详细信息列表。 ResourceTypes *[]ResourceTypesSummary `json:"resource_types,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListResourceTypesResponse Response Object
func (ListResourceTypesResponse) String ¶ added in v0.1.57
func (o ListResourceTypesResponse) String() string
type Match ¶ added in v0.1.35
type PageInfo ¶
type PageInfo struct { // 上一页的页面标识。 PreviousMarker *string `json:"previous_marker,omitempty"` // 下一页的页面标识。 NextMarker *string `json:"next_marker,omitempty"` // 页面数量。 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfo 分页详细信息。
type PageInfoMarkerByKey ¶ added in v0.1.35
type PageInfoMarkerByKey struct { // 上一页的页面标识。 PreviousMarker *string `json:"previous_marker,omitempty"` // 下一页的页面标识。 NextMarker *string `json:"next_marker,omitempty"` // 页面数量。 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfoMarkerByKey 分页详细信息。
func (PageInfoMarkerByKey) String ¶ added in v0.1.35
func (o PageInfoMarkerByKey) String() string
type Permission ¶
type Permission struct { // 权限ID。 Id string `json:"id"` // 权限名称。 Name string `json:"name"` // 资源类型。 ResourceType string `json:"resource_type"` // 权限的影响和行为。 Content string `json:"content"` // 该权限是否是此资源类型的默认权限。 IsResourceTypeDefault bool `json:"is_resource_type_default"` // 权限的创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 最后一次更新权限的时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 权限URN。 PermissionUrn *string `json:"permission_urn,omitempty"` // 权限类型。 PermissionType *string `json:"permission_type,omitempty"` // 此权限是否为默认版本。 DefaultVersion *bool `json:"default_version,omitempty"` // 权限版本。 Version *int32 `json:"version,omitempty"` // 权限的状态 Status *string `json:"status,omitempty"` }
Permission 有关RAM权限的信息。
func (Permission) String ¶
func (o Permission) String() string
type PermissionSummary ¶
type PermissionSummary struct { // 权限ID。 Id string `json:"id"` // 权限名称。 Name string `json:"name"` // 此权限适用的资源类型。 ResourceType string `json:"resource_type"` // 该权限是否是此资源类型的默认权限。 IsResourceTypeDefault bool `json:"is_resource_type_default"` // 权限的创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at"` // 上次更新权限的时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 权限URN。 PermissionUrn *string `json:"permission_urn,omitempty"` // 权限类型,RAM托管或者租户自定义权限。 PermissionType *string `json:"permission_type,omitempty"` // 是否是默认版本。 DefaultVersion *bool `json:"default_version,omitempty"` // 权限版本。 Version *int32 `json:"version,omitempty"` // 权限的状态 Status *string `json:"status,omitempty"` }
PermissionSummary 资源共享及其指定类型的任何资源关联的RAM权限的信息。
func (PermissionSummary) String ¶
func (o PermissionSummary) String() string
type QuotaResourcesDto ¶ added in v0.1.41
type QuotaResourcesDto struct { // 配额信息。 Resources []Quotas `json:"resources"` }
QuotaResourcesDto 配额信息列表。
func (QuotaResourcesDto) String ¶ added in v0.1.41
func (o QuotaResourcesDto) String() string
type Quotas ¶ added in v0.1.41
type Quotas struct { // 配额类型。resource_share账号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 Type string `json:"type"` // 总配额数量。 Quota int32 `json:"quota"` // 最小配额。 Min int32 `json:"min"` // 最大配额。 Max int32 `json:"max"` // 已使用的配额数量。 Used int32 `json:"used"` }
Quotas 资源共享的配额。
type RejectResourceShareInvitationRequest ¶
type RejectResourceShareInvitationRequest struct { string `json:"resource_share_invitation_id"` }ResourceShareInvitationId
RejectResourceShareInvitationRequest Request Object
func (RejectResourceShareInvitationRequest) String ¶
func (o RejectResourceShareInvitationRequest) String() string
type RejectResourceShareInvitationResponse ¶
type RejectResourceShareInvitationResponse struct {}
RejectResourceShareInvitationResponse Response Object
func (RejectResourceShareInvitationResponse) String ¶
func (o RejectResourceShareInvitationResponse) String() string
type ResourceDto ¶ added in v0.1.35
type ResourceDto struct { // 资源ID。 ResourceId string `json:"resource_id"` // 资源名称。 ResourceName string `json:"resource_name"` // 资源标签列表。 Tags []Tag `json:"tags"` // 资源详情。 ResourceDetail *interface{} `json:"resource_detail"` }
ResourceDto 资源信息。
func (ResourceDto) String ¶ added in v0.1.35
func (o ResourceDto) String() string
type ResourceShare ¶
type ResourceShare struct { string `json:"id"` Name string `json:"name"` Description string `json:"description"` AllowExternalPrincipals *bool `json:"allow_external_principals,omitempty"` OwningAccountId string `json:"owning_account_id"` Status string `json:"status"` Tags *[]Tag `json:"tags,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` }Id
ResourceShare 描述RAM中的资源共享。
func (ResourceShare) String ¶
func (o ResourceShare) String() string
type ResourceShareAssociation ¶
type ResourceShareAssociation struct { string `json:"associated_entity"` AssociationType string `json:"association_type"` CreatedAt *sdktime.SdkTime `json:"created_at"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` External *bool `json:"external,omitempty"` ResourceShareId string `json:"resource_share_id"` ResourceShareName string `json:"resource_share_name"` Status string `json:"status"` StatusMessage *string `json:"status_message,omitempty"` }AssociatedEntity
ResourceShareAssociation 与资源共享实例关联的资源使用者或共享资源的详细信息。
func (ResourceShareAssociation) String ¶
func (o ResourceShareAssociation) String() string
type ResourceShareAssociationReqBody ¶
type ResourceShareAssociationReqBody struct { string `json:"principals,omitempty"` ResourceUrns *[]string `json:"resource_urns,omitempty"` }Principals *[]
ResourceShareAssociationReqBody The request body of AssociateResourceShare and DisassociateResourceShare operations.
func (ResourceShareAssociationReqBody) String ¶
func (o ResourceShareAssociationReqBody) String() string
type ResourceShareInvitation ¶
type ResourceShareInvitation struct { string `json:"receiver_account_id,omitempty"` ResourceShareId *string `json:"resource_share_id,omitempty"` ResourceShareName *string `json:"resource_share_name,omitempty"` ResourceShareInvitationId *string `json:"resource_share_invitation_id,omitempty"` SenderAccountId *string `json:"sender_account_id,omitempty"` Status *string `json:"status,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }ReceiverAccountId *
ResourceShareInvitation 资源共享邀请的详细信息。
func (ResourceShareInvitation) String ¶
func (o ResourceShareInvitation) String() string
type ResourceSharesByTagsReqBody ¶ added in v0.1.35
type ResourceSharesByTagsReqBody struct { bool `json:"without_any_tag,omitempty"` Tags *[]TagFilter `json:"tags,omitempty"` Matches *[]Match `json:"matches,omitempty"` }WithoutAnyTag *
ResourceSharesByTagsReqBody ResourceInstance操作的请求体。
func (ResourceSharesByTagsReqBody) String ¶ added in v0.1.35
func (o ResourceSharesByTagsReqBody) String() string
type ResourceTypesSummary ¶ added in v0.1.57
type ResourceTypesSummary struct { // 资源所在区域名称。 RegionId string `json:"region_id"` // 资源类型名称。 ResourceType string `json:"resource_type"` }
ResourceTypesSummary 对接RAM云服务的资源类型和区域等信息。
func (ResourceTypesSummary) String ¶ added in v0.1.57
func (o ResourceTypesSummary) String() string
type SearchResourceShareAssociationsReqBody ¶
type SearchResourceShareAssociationsReqBody struct { string `json:"association_status,omitempty"` AssociationType SearchResourceShareAssociationsReqBodyAssociationType `json:"association_type"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Principal *string `json:"principal,omitempty"` ResourceUrn *string `json:"resource_urn,omitempty"` ResourceShareIds *[]string `json:"resource_share_ids,omitempty"` ResourceIds *[]string `json:"resource_ids,omitempty"` }AssociationStatus *
SearchResourceShareAssociationsReqBody The request body of the SearchResourceShareAssociations operation.
func (SearchResourceShareAssociationsReqBody) String ¶
func (o SearchResourceShareAssociationsReqBody) String() string
type SearchResourceShareAssociationsReqBodyAssociationType ¶
type SearchResourceShareAssociationsReqBodyAssociationType struct {
// contains filtered or unexported fields
}
func (SearchResourceShareAssociationsReqBodyAssociationType) MarshalJSON ¶
func (c SearchResourceShareAssociationsReqBodyAssociationType) MarshalJSON() ([]byte, error)
func (*SearchResourceShareAssociationsReqBodyAssociationType) UnmarshalJSON ¶
func (c *SearchResourceShareAssociationsReqBodyAssociationType) UnmarshalJSON(b []byte) error
func (SearchResourceShareAssociationsReqBodyAssociationType) Value ¶
func (c SearchResourceShareAssociationsReqBodyAssociationType) Value() string
type SearchResourceShareAssociationsReqBodyAssociationTypeEnum ¶
type SearchResourceShareAssociationsReqBodyAssociationTypeEnum struct {}
func GetSearchResourceShareAssociationsReqBodyAssociationTypeEnum ¶
func GetSearchResourceShareAssociationsReqBodyAssociationTypeEnum() SearchResourceShareAssociationsReqBodyAssociationTypeEnum
type SearchResourceShareAssociationsRequest ¶
type SearchResourceShareAssociationsRequest struct {
}SearchResourceShareAssociationsRequest Request Object
func (SearchResourceShareAssociationsRequest) String ¶
func (o SearchResourceShareAssociationsRequest) String() string
type SearchResourceShareAssociationsResponse ¶
type SearchResourceShareAssociationsResponse struct { ResourceShareAssociation `json:"resource_share_associations,omitempty"` }ResourceShareAssociations *[]
SearchResourceShareAssociationsResponse Response Object
func (SearchResourceShareAssociationsResponse) String ¶
func (o SearchResourceShareAssociationsResponse) String() string
type SearchResourceShareCountByTagsRequest ¶ added in v0.1.35
type SearchResourceShareCountByTagsRequest struct {
}SearchResourceShareCountByTagsRequest Request Object
func (SearchResourceShareCountByTagsRequest) String ¶ added in v0.1.35
func (o SearchResourceShareCountByTagsRequest) String() string
type SearchResourceShareCountByTagsResponse ¶ added in v0.1.35
type SearchResourceShareCountByTagsResponse struct { // 总记录数。 }
SearchResourceShareCountByTagsResponse Response Object
func (SearchResourceShareCountByTagsResponse) String ¶ added in v0.1.35
func (o SearchResourceShareCountByTagsResponse) String() string
type SearchResourceShareInvitationReqBody ¶
type SearchResourceShareInvitationReqBody struct { string `json:"resource_share_ids,omitempty"` ResourceShareInvitationIds *[]string `json:"resource_share_invitation_ids,omitempty"` Status *string `json:"status,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }ResourceShareIds *[]
func (SearchResourceShareInvitationReqBody) String ¶
func (o SearchResourceShareInvitationReqBody) String() string
type SearchResourceShareInvitationRequest ¶
type SearchResourceShareInvitationRequest struct {
}SearchResourceShareInvitationRequest Request Object
func (SearchResourceShareInvitationRequest) String ¶
func (o SearchResourceShareInvitationRequest) String() string
type SearchResourceShareInvitationResponse ¶
type SearchResourceShareInvitationResponse struct {}
SearchResourceShareInvitationResponse Response Object
func (SearchResourceShareInvitationResponse) String ¶
func (o SearchResourceShareInvitationResponse) String() string
type SearchResourceSharesReqBody ¶
type SearchResourceSharesReqBody struct { int32 `json:"limit,omitempty"` Name *string `json:"name,omitempty"` Marker *string `json:"marker,omitempty"` PermissionId *string `json:"permission_id,omitempty"` ResourceOwner SearchResourceSharesReqBodyResourceOwner `json:"resource_owner"` ResourceShareIds *[]string `json:"resource_share_ids,omitempty"` ResourceShareStatus *string `json:"resource_share_status,omitempty"` TagFilters *[]TagFilter `json:"tag_filters,omitempty"` }Limit *
SearchResourceSharesReqBody The request body of the SearchResourceShares operation.
func (SearchResourceSharesReqBody) String ¶
func (o SearchResourceSharesReqBody) String() string
type SearchResourceSharesReqBodyResourceOwner ¶
type SearchResourceSharesReqBodyResourceOwner struct {
// contains filtered or unexported fields
}
func (SearchResourceSharesReqBodyResourceOwner) MarshalJSON ¶
func (c SearchResourceSharesReqBodyResourceOwner) MarshalJSON() ([]byte, error)
func (*SearchResourceSharesReqBodyResourceOwner) UnmarshalJSON ¶
func (c *SearchResourceSharesReqBodyResourceOwner) UnmarshalJSON(b []byte) error
func (SearchResourceSharesReqBodyResourceOwner) Value ¶
func (c SearchResourceSharesReqBodyResourceOwner) Value() string
type SearchResourceSharesReqBodyResourceOwnerEnum ¶
type SearchResourceSharesReqBodyResourceOwnerEnum struct {}
func GetSearchResourceSharesReqBodyResourceOwnerEnum ¶
func GetSearchResourceSharesReqBodyResourceOwnerEnum() SearchResourceSharesReqBodyResourceOwnerEnum
type SearchResourceSharesRequest ¶
type SearchResourceSharesRequest struct {
}SearchResourceSharesRequest Request Object
func (SearchResourceSharesRequest) String ¶
func (o SearchResourceSharesRequest) String() string
type SearchResourceSharesResponse ¶
type SearchResourceSharesResponse struct { ResourceShare `json:"resource_shares,omitempty"` }ResourceShares *[]
SearchResourceSharesResponse Response Object
func (SearchResourceSharesResponse) String ¶
func (o SearchResourceSharesResponse) String() string
type SearchSharedPrincipalsReqBody ¶
type SearchSharedPrincipalsReqBody struct { int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Principals *[]string `json:"principals,omitempty"` ResourceUrn *string `json:"resource_urn,omitempty"` ResourceOwner SearchSharedPrincipalsReqBodyResourceOwner `json:"resource_owner"` ResourceShareIds *[]string `json:"resource_share_ids,omitempty"` }Limit *
SearchSharedPrincipalsReqBody The request body of the SearchSharedPrincipals operation.
func (SearchSharedPrincipalsReqBody) String ¶
func (o SearchSharedPrincipalsReqBody) String() string
type SearchSharedPrincipalsReqBodyResourceOwner ¶
type SearchSharedPrincipalsReqBodyResourceOwner struct {
// contains filtered or unexported fields
}
func (SearchSharedPrincipalsReqBodyResourceOwner) MarshalJSON ¶
func (c SearchSharedPrincipalsReqBodyResourceOwner) MarshalJSON() ([]byte, error)
func (*SearchSharedPrincipalsReqBodyResourceOwner) UnmarshalJSON ¶
func (c *SearchSharedPrincipalsReqBodyResourceOwner) UnmarshalJSON(b []byte) error
func (SearchSharedPrincipalsReqBodyResourceOwner) Value ¶
func (c SearchSharedPrincipalsReqBodyResourceOwner) Value() string
type SearchSharedPrincipalsReqBodyResourceOwnerEnum ¶
type SearchSharedPrincipalsReqBodyResourceOwnerEnum struct {}
func GetSearchSharedPrincipalsReqBodyResourceOwnerEnum ¶
func GetSearchSharedPrincipalsReqBodyResourceOwnerEnum() SearchSharedPrincipalsReqBodyResourceOwnerEnum
type SearchSharedPrincipalsRequest ¶
type SearchSharedPrincipalsRequest struct {
}SearchSharedPrincipalsRequest Request Object
func (SearchSharedPrincipalsRequest) String ¶
func (o SearchSharedPrincipalsRequest) String() string
type SearchSharedPrincipalsResponse ¶
type SearchSharedPrincipalsResponse struct { SharedPrincipal `json:"shared_principals,omitempty"` }SharedPrincipals *[]
SearchSharedPrincipalsResponse Response Object
func (SearchSharedPrincipalsResponse) String ¶
func (o SearchSharedPrincipalsResponse) String() string
type SearchSharedResourcesReqBody ¶
type SearchSharedResourcesReqBody struct { int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Principal *string `json:"principal,omitempty"` ResourceIds *[]string `json:"resource_ids,omitempty"` ResourceUrns *[]string `json:"resource_urns,omitempty"` ResourceOwner SearchSharedResourcesReqBodyResourceOwner `json:"resource_owner"` ResourceShareIds *[]string `json:"resource_share_ids,omitempty"` ResourceRegion *string `json:"resource_region,omitempty"` ResourceType *string `json:"resource_type,omitempty"` }Limit *
SearchSharedResourcesReqBody The request body of the SearchSharedResources operation.
func (SearchSharedResourcesReqBody) String ¶
func (o SearchSharedResourcesReqBody) String() string
type SearchSharedResourcesReqBodyResourceOwner ¶
type SearchSharedResourcesReqBodyResourceOwner struct {
// contains filtered or unexported fields
}
func (SearchSharedResourcesReqBodyResourceOwner) MarshalJSON ¶
func (c SearchSharedResourcesReqBodyResourceOwner) MarshalJSON() ([]byte, error)
func (*SearchSharedResourcesReqBodyResourceOwner) UnmarshalJSON ¶
func (c *SearchSharedResourcesReqBodyResourceOwner) UnmarshalJSON(b []byte) error
func (SearchSharedResourcesReqBodyResourceOwner) Value ¶
func (c SearchSharedResourcesReqBodyResourceOwner) Value() string
type SearchSharedResourcesReqBodyResourceOwnerEnum ¶
type SearchSharedResourcesReqBodyResourceOwnerEnum struct {}
func GetSearchSharedResourcesReqBodyResourceOwnerEnum ¶
func GetSearchSharedResourcesReqBodyResourceOwnerEnum() SearchSharedResourcesReqBodyResourceOwnerEnum
type SearchSharedResourcesRequest ¶
type SearchSharedResourcesRequest struct {
}SearchSharedResourcesRequest Request Object
func (SearchSharedResourcesRequest) String ¶
func (o SearchSharedResourcesRequest) String() string
type SearchSharedResourcesResponse ¶
type SearchSharedResourcesResponse struct { SharedResource `json:"shared_resources,omitempty"` }SharedResources *[]
SearchSharedResourcesResponse Response Object
func (SearchSharedResourcesResponse) String ¶
func (o SearchSharedResourcesResponse) String() string
type SharedPrincipal ¶
type SharedPrincipal struct { string `json:"resource_share_id,omitempty"` Id *string `json:"id,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }ResourceShareId *
SharedPrincipal 描述资源共享管理的角色
func (SharedPrincipal) String ¶
func (o SharedPrincipal) String() string
type SharedResource ¶
type SharedResource struct { string `json:"resource_urn,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` ResourceType *string `json:"resource_type,omitempty"` ResourceShareId *string `json:"resource_share_id,omitempty"` Status *string `json:"status,omitempty"` }ResourceUrn *
SharedResource 描述RAM中的资源共享关联的资源。
func (SharedResource) String ¶
func (o SharedResource) String() string
type ShowOrganizationShareRequest ¶
type ShowOrganizationShareRequest struct { }
ShowOrganizationShareRequest Request Object
func (ShowOrganizationShareRequest) String ¶
func (o ShowOrganizationShareRequest) String() string
type ShowOrganizationShareResponse ¶
type ShowOrganizationShareResponse struct { // 如果为\"true\",则表示启用与组织的共享。默认为\"false\"。 }
ShowOrganizationShareResponse Response Object
func (ShowOrganizationShareResponse) String ¶
func (o ShowOrganizationShareResponse) String() string
type ShowPermissionRequest ¶
type ShowPermissionRequest struct { // 共享资源权限的ID。 PermissionId string `json:"permission_id"` // 资源权限版本。 PermissionVersion *int32 `json:"permission_version,omitempty"` }
ShowPermissionRequest Request Object
func (ShowPermissionRequest) String ¶
func (o ShowPermissionRequest) String() string
type ShowPermissionResponse ¶
type ShowPermissionResponse struct { Permission *Permission `json:"permission,omitempty"` HttpStatusCode int `json:"-"` }
ShowPermissionResponse Response Object
func (ShowPermissionResponse) String ¶
func (o ShowPermissionResponse) String() string
type Tag ¶
type Tag struct { // 标签\"键\"的标识符或名称。 Key string `json:"key"` // 标签\"键\"对应的\"值\"。您可以将标签的值设置为空字符串,但不能设置为null。 Value string `json:"value"` }
Tag 自定义键值对。
type TagDto ¶ added in v0.1.35
type TagDto struct { // 标签\"键\"的标识符或名称。您可以将标签的值设置为空字符串,但不能设置为null。 Key string `json:"key"` // 值列表。每个值最大长度255个字符。 Values []string `json:"values"` }
TagDto 自定义标签键值对。
type TagFilter ¶
type TagFilter struct { // 标签\"键\"的标识符或名称。 Key string `json:"key"` // 标签\"键\"对应的\"值\"列表。 Values *[]string `json:"values,omitempty"` }
TagFilter 根据标签筛选。
type TagResourceReqBody ¶ added in v0.1.34
type TagResourceReqBody struct { // 一个或多个标签键值对的列表。标签键必须存在,而不是空字符串。标签值必须存在,但可以是空字符串。 Tags []Tag `json:"tags"` }
TagResourceReqBody The request body of the TagResource operation.
func (TagResourceReqBody) String ¶ added in v0.1.34
func (o TagResourceReqBody) String() string
type Untag ¶ added in v0.1.34
type Untag struct { // 标签\"键\"的标识符或名称。 Key string `json:"key"` // 标签\"键\"对应的\"值\"。您可以将标签的值设置为空字符串,但不能设置为null。 Value *string `json:"value,omitempty"` }
Untag 自定义键值对。
type UntagResourceReqBody ¶ added in v0.1.34
type UntagResourceReqBody struct { // 一个或多个标签键值对的列表。标签键必须存在,而不是空字符串。标签值必须存在,但可以是空字符串。 Tags []Untag `json:"tags"` }
UntagResourceReqBody The request body of the UntagResource operation.
func (UntagResourceReqBody) String ¶ added in v0.1.34
func (o UntagResourceReqBody) String() string
type UpdateResourceShareReqBody ¶
type UpdateResourceShareReqBody struct { string `json:"name"` Description *string `json:"description,omitempty"` AllowExternalPrincipals *bool `json:"allow_external_principals,omitempty"` }Name
UpdateResourceShareReqBody The request body of the UpdateResourceShare operation.
func (UpdateResourceShareReqBody) String ¶
func (o UpdateResourceShareReqBody) String() string
type UpdateResourceShareRequest ¶
type UpdateResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
UpdateResourceShareRequest Request Object
func (UpdateResourceShareRequest) String ¶
func (o UpdateResourceShareRequest) String() string
type UpdateResourceShareResponse ¶
type UpdateResourceShareResponse struct {}
UpdateResourceShareResponse Response Object
func (UpdateResourceShareResponse) String ¶
func (o UpdateResourceShareResponse) String() string
Source Files ¶
- model_accept_resource_share_invitation_request.go
- model_accept_resource_share_invitation_response.go
- model_associate_permission_req_body.go
- model_associate_resource_share_permission_request.go
- model_associate_resource_share_permission_response.go
- model_associate_resource_share_request.go
- model_associate_resource_share_response.go
- model_associated_permission.go
- model_batch_create_resource_share_tags_request.go
- model_batch_create_resource_share_tags_response.go
- model_batch_delete_resource_share_tags_request.go
- model_batch_delete_resource_share_tags_response.go
- model_create_resource_share_req_body.go
- model_create_resource_share_request.go
- model_create_resource_share_response.go
- model_delete_resource_share_request.go
- model_delete_resource_share_response.go
- model_disable_organization_share_request.go
- model_disable_organization_share_response.go
- model_disassociate_permission_req_body.go
- model_disassociate_resource_share_permission_request.go
- model_disassociate_resource_share_permission_response.go
- model_disassociate_resource_share_request.go
- model_disassociate_resource_share_response.go
- model_enable_organization_share_request.go
- model_enable_organization_share_response.go
- model_list_permission_versions_request.go
- model_list_permission_versions_response.go
- model_list_permissions_request.go
- model_list_permissions_response.go
- model_list_quota_request.go
- model_list_quota_response.go
- model_list_resource_share_permissions_request.go
- model_list_resource_share_permissions_response.go
- model_list_resource_share_tags_request.go
- model_list_resource_share_tags_response.go
- model_list_resource_shares_by_tags_request.go
- model_list_resource_shares_by_tags_response.go
- model_list_resource_types_request.go
- model_list_resource_types_response.go
- model_match.go
- model_page_info.go
- model_page_info_marker_by_key.go
- model_permission.go
- model_permission_summary.go
- model_quota_resources_dto.go
- model_quotas.go
- model_reject_resource_share_invitation_request.go
- model_reject_resource_share_invitation_response.go
- model_resource_dto.go
- model_resource_share.go
- model_resource_share_association.go
- model_resource_share_association_req_body.go
- model_resource_share_invitation.go
- model_resource_shares_by_tags_req_body.go
- model_resource_types_summary.go
- model_search_resource_share_associations_req_body.go
- model_search_resource_share_associations_request.go
- model_search_resource_share_associations_response.go
- model_search_resource_share_count_by_tags_request.go
- model_search_resource_share_count_by_tags_response.go
- model_search_resource_share_invitation_req_body.go
- model_search_resource_share_invitation_request.go
- model_search_resource_share_invitation_response.go
- model_search_resource_shares_req_body.go
- model_search_resource_shares_request.go
- model_search_resource_shares_response.go
- model_search_shared_principals_req_body.go
- model_search_shared_principals_request.go
- model_search_shared_principals_response.go
- model_search_shared_resources_req_body.go
- model_search_shared_resources_request.go
- model_search_shared_resources_response.go
- model_shared_principal.go
- model_shared_resource.go
- model_show_organization_share_request.go
- model_show_organization_share_response.go
- model_show_permission_request.go
- model_show_permission_response.go
- model_tag.go
- model_tag_dto.go
- model_tag_filter.go
- model_tag_resource_req_body.go
- model_untag.go
- model_untag_resource_req_body.go
- model_update_resource_share_req_body.go
- model_update_resource_share_request.go
- model_update_resource_share_response.go