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 DistinctSharedPrincipal
- type DistinctSharedResource
- type EnableOrganizationShareRequest
- type EnableOrganizationShareResponse
- type ListPermissionsRequest
- type ListPermissionsResponse
- type ListResourceSharePermissionsRequest
- type ListResourceSharePermissionsResponse
- type ListResourceShareTagsRequest
- type ListResourceShareTagsResponse
- type ListResourceSharesByTagsRequest
- type ListResourceSharesByTagsResponse
- type Match
- type PageInfo
- type PageInfoMarkerByKey
- type Permission
- type PermissionSummary
- type RejectResourceShareInvitationRequest
- type RejectResourceShareInvitationResponse
- type ResourceDto
- type ResourceShare
- type ResourceShareAssociation
- type ResourceShareAssociationReqBody
- type ResourceShareInvitation
- type ResourceSharesByTagsReqBody
- type SearchDistinctPrincipalsRequest
- type SearchDistinctPrincipalsResponse
- type SearchDistinctSharedPrincipalsReqBody
- type SearchDistinctSharedPrincipalsReqBodyResourceOwner
- type SearchDistinctSharedPrincipalsReqBodyResourceOwnerEnum
- type SearchDistinctSharedResourcesReqBody
- type SearchDistinctSharedResourcesReqBodyResourceOwner
- type SearchDistinctSharedResourcesReqBodyResourceOwnerEnum
- type SearchDistinctSharedResourcesRequest
- type SearchDistinctSharedResourcesResponse
- 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
Request Object
func (AcceptResourceShareInvitationRequest) String ¶
func (o AcceptResourceShareInvitationRequest) String() string
type AcceptResourceShareInvitationResponse ¶
type AcceptResourceShareInvitationResponse struct {}
Response Object
func (AcceptResourceShareInvitationResponse) String ¶
func (o AcceptResourceShareInvitationResponse) String() string
type AssociatePermissionReqBody ¶
type AssociatePermissionReqBody struct { // 共享资源权限的ID。 PermissionId string `json:"permission_id"` // 指定特定的权限替换或绑定到与资源共享实例关联的现有资源类型。设置为\"true\"可将相同的资源类型的权限替换为当前权限。设置为\"false\"将权限绑定到当前资源类型。默认值为\"false\"。资源共享实例中的每个资源类型只能绑定一个权限。如果资源共享实例中已具有指定资源类型的权限,并且将\"replace\"设置为\"false\",则操作返回错误。这有助于防止意外覆盖权限。 Replace *bool `json:"replace,omitempty"` }
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
Request Object
func (AssociateResourceSharePermissionRequest) String ¶
func (o AssociateResourceSharePermissionRequest) String() string
type AssociateResourceSharePermissionResponse ¶
type AssociateResourceSharePermissionResponse struct {
}Response Object
func (AssociateResourceSharePermissionResponse) String ¶
func (o AssociateResourceSharePermissionResponse) String() string
type AssociateResourceShareRequest ¶
type AssociateResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
Request Object
func (AssociateResourceShareRequest) String ¶
func (o AssociateResourceShareRequest) String() string
type AssociateResourceShareResponse ¶
type AssociateResourceShareResponse struct {}
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"` }
描述与资源共享关联的权限的对象。
func (AssociatedPermission) String ¶
func (o AssociatedPermission) String() string
type BatchCreateResourceShareTagsRequest ¶ added in v0.1.34
type BatchCreateResourceShareTagsRequest struct { string `json:"resource_share_id"` }ResourceShareId
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 {
}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
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 {
}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"` PermissionIds *[]string `json:"permission_ids,omitempty"` Principals *[]string `json:"principals,omitempty"` ResourceUrns *[]string `json:"resource_urns,omitempty"` Tags *[]Tag `json:"tags,omitempty"` }Name
The request body of the CreateResourceShare operation.
func (CreateResourceShareReqBody) String ¶
func (o CreateResourceShareReqBody) String() string
type CreateResourceShareRequest ¶
type CreateResourceShareRequest struct {
}Request Object
func (CreateResourceShareRequest) String ¶
func (o CreateResourceShareRequest) String() string
type CreateResourceShareResponse ¶
type CreateResourceShareResponse struct {}
Response Object
func (CreateResourceShareResponse) String ¶
func (o CreateResourceShareResponse) String() string
type DeleteResourceShareRequest ¶
type DeleteResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
Request Object
func (DeleteResourceShareRequest) String ¶
func (o DeleteResourceShareRequest) String() string
type DeleteResourceShareResponse ¶
type DeleteResourceShareResponse struct {
}Response Object
func (DeleteResourceShareResponse) String ¶
func (o DeleteResourceShareResponse) String() string
type DisableOrganizationShareRequest ¶
type DisableOrganizationShareRequest struct { }
Request Object
func (DisableOrganizationShareRequest) String ¶
func (o DisableOrganizationShareRequest) String() string
type DisableOrganizationShareResponse ¶
type DisableOrganizationShareResponse struct {
}Response Object
func (DisableOrganizationShareResponse) String ¶
func (o DisableOrganizationShareResponse) String() string
type DisassociatePermissionReqBody ¶
type DisassociatePermissionReqBody struct { // 共享资源权限的ID。 PermissionId string `json:"permission_id"` }
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
Request Object
func (DisassociateResourceSharePermissionRequest) String ¶
func (o DisassociateResourceSharePermissionRequest) String() string
type DisassociateResourceSharePermissionResponse ¶
type DisassociateResourceSharePermissionResponse struct {
}Response Object
func (DisassociateResourceSharePermissionResponse) String ¶
func (o DisassociateResourceSharePermissionResponse) String() string
type DisassociateResourceShareRequest ¶
type DisassociateResourceShareRequest struct { string `json:"resource_share_id"` }ResourceShareId
Request Object
func (DisassociateResourceShareRequest) String ¶
func (o DisassociateResourceShareRequest) String() string
type DisassociateResourceShareResponse ¶
type DisassociateResourceShareResponse struct {}
Response Object
func (DisassociateResourceShareResponse) String ¶
func (o DisassociateResourceShareResponse) String() string
type DistinctSharedPrincipal ¶
type DistinctSharedPrincipal struct { string `json:"id,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }Id *
描述共享的不同角色。
func (DistinctSharedPrincipal) String ¶
func (o DistinctSharedPrincipal) String() string
type DistinctSharedResource ¶
type DistinctSharedResource struct { string `json:"resource_urn,omitempty"` ResourceType *string `json:"resource_type,omitempty"` UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }ResourceUrn *
描述共享的不同资源。
func (DistinctSharedResource) String ¶
func (o DistinctSharedResource) String() string
type EnableOrganizationShareRequest ¶
type EnableOrganizationShareRequest struct { }
Request Object
func (EnableOrganizationShareRequest) String ¶
func (o EnableOrganizationShareRequest) String() string
type EnableOrganizationShareResponse ¶
type EnableOrganizationShareResponse struct {
}Response Object
func (EnableOrganizationShareResponse) String ¶
func (o EnableOrganizationShareResponse) String() string
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { // 分页页面的最大值。 Limit *int32 `json:"limit,omitempty"` // 页面标记。 Marker *string `json:"marker,omitempty"` // 资源类型的名称。 ResourceType *string `json:"resource_type,omitempty"` }
Request Object
func (ListPermissionsRequest) String ¶
func (o ListPermissionsRequest) String() string
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { // 共享资源权限的详细信息列表。 Permissions *[]PermissionSummary `json:"permissions,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPermissionsResponse) String ¶
func (o ListPermissionsResponse) 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
Request Object
func (ListResourceSharePermissionsRequest) String ¶
func (o ListResourceSharePermissionsRequest) String() string
type ListResourceSharePermissionsResponse ¶
type ListResourceSharePermissionsResponse struct { AssociatedPermission `json:"associated_permissions,omitempty"` }AssociatedPermissions *[]
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 *
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 *[]
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 *
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 *[]
Response Object
func (ListResourceSharesByTagsResponse) String ¶ added in v0.1.35
func (o ListResourceSharesByTagsResponse) 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"` }
分页详细信息。
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"` }
分页详细信息。
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"` }
有关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"` }
资源共享及其指定类型的任何资源关联的RAM权限的信息。
func (PermissionSummary) String ¶
func (o PermissionSummary) String() string
type RejectResourceShareInvitationRequest ¶
type RejectResourceShareInvitationRequest struct { string `json:"resource_share_invitation_id"` }ResourceShareInvitationId
Request Object
func (RejectResourceShareInvitationRequest) String ¶
func (o RejectResourceShareInvitationRequest) String() string
type RejectResourceShareInvitationResponse ¶
type RejectResourceShareInvitationResponse struct {}
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"` }
资源信息。
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"` 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
描述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"` ResourceShareId string `json:"resource_share_id"` ResourceShareName string `json:"resource_share_name"` Status string `json:"status"` }AssociatedEntity
与资源共享实例关联的资源使用者或共享资源的详细信息。
func (ResourceShareAssociation) String ¶
func (o ResourceShareAssociation) String() string
type ResourceShareAssociationReqBody ¶
type ResourceShareAssociationReqBody struct { string `json:"principals,omitempty"` ResourceUrns *[]string `json:"resource_urns,omitempty"` }Principals *[]
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 *
资源共享邀请的详细信息。
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 *
ResourceInstance操作的请求体。
func (ResourceSharesByTagsReqBody) String ¶ added in v0.1.35
func (o ResourceSharesByTagsReqBody) String() string
type SearchDistinctPrincipalsRequest ¶
type SearchDistinctPrincipalsRequest struct {
Body *SearchDistinctSharedPrincipalsReqBody `json:"body,omitempty"`
}
Request Object
func (SearchDistinctPrincipalsRequest) String ¶
func (o SearchDistinctPrincipalsRequest) String() string
type SearchDistinctPrincipalsResponse ¶
type SearchDistinctPrincipalsResponse struct { DistinctSharedPrincipal `json:"distinct_shared_principals,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }DistinctSharedPrincipals *[]
Response Object
func (SearchDistinctPrincipalsResponse) String ¶
func (o SearchDistinctPrincipalsResponse) String() string
type SearchDistinctSharedPrincipalsReqBody ¶
type SearchDistinctSharedPrincipalsReqBody struct { int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Principals *[]string `json:"principals,omitempty"` ResourceUrn *string `json:"resource_urn,omitempty"` ResourceOwner SearchDistinctSharedPrincipalsReqBodyResourceOwner `json:"resource_owner"` }Limit *
The request body of the SearchSharedPrincipals operation.
func (SearchDistinctSharedPrincipalsReqBody) String ¶
func (o SearchDistinctSharedPrincipalsReqBody) String() string
type SearchDistinctSharedPrincipalsReqBodyResourceOwner ¶
type SearchDistinctSharedPrincipalsReqBodyResourceOwner struct {
// contains filtered or unexported fields
}
func (SearchDistinctSharedPrincipalsReqBodyResourceOwner) MarshalJSON ¶
func (c SearchDistinctSharedPrincipalsReqBodyResourceOwner) MarshalJSON() ([]byte, error)
func (*SearchDistinctSharedPrincipalsReqBodyResourceOwner) UnmarshalJSON ¶
func (c *SearchDistinctSharedPrincipalsReqBodyResourceOwner) UnmarshalJSON(b []byte) error
func (SearchDistinctSharedPrincipalsReqBodyResourceOwner) Value ¶
func (c SearchDistinctSharedPrincipalsReqBodyResourceOwner) Value() string
type SearchDistinctSharedPrincipalsReqBodyResourceOwnerEnum ¶
type SearchDistinctSharedPrincipalsReqBodyResourceOwnerEnum struct {}
func GetSearchDistinctSharedPrincipalsReqBodyResourceOwnerEnum ¶
func GetSearchDistinctSharedPrincipalsReqBodyResourceOwnerEnum() SearchDistinctSharedPrincipalsReqBodyResourceOwnerEnum
type SearchDistinctSharedResourcesReqBody ¶
type SearchDistinctSharedResourcesReqBody struct { int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` ResourceIds *[]string `json:"resource_ids,omitempty"` Principal *string `json:"principal,omitempty"` ResourceRegion *string `json:"resource_region,omitempty"` ResourceUrns *[]string `json:"resource_urns,omitempty"` Status *string `json:"status,omitempty"` ResourceOwner SearchDistinctSharedResourcesReqBodyResourceOwner `json:"resource_owner"` }Limit *
The request body of the SearchSharedResources operation.
func (SearchDistinctSharedResourcesReqBody) String ¶
func (o SearchDistinctSharedResourcesReqBody) String() string
type SearchDistinctSharedResourcesReqBodyResourceOwner ¶
type SearchDistinctSharedResourcesReqBodyResourceOwner struct {
// contains filtered or unexported fields
}
func (SearchDistinctSharedResourcesReqBodyResourceOwner) MarshalJSON ¶
func (c SearchDistinctSharedResourcesReqBodyResourceOwner) MarshalJSON() ([]byte, error)
func (*SearchDistinctSharedResourcesReqBodyResourceOwner) UnmarshalJSON ¶
func (c *SearchDistinctSharedResourcesReqBodyResourceOwner) UnmarshalJSON(b []byte) error
func (SearchDistinctSharedResourcesReqBodyResourceOwner) Value ¶
func (c SearchDistinctSharedResourcesReqBodyResourceOwner) Value() string
type SearchDistinctSharedResourcesReqBodyResourceOwnerEnum ¶
type SearchDistinctSharedResourcesReqBodyResourceOwnerEnum struct {}
func GetSearchDistinctSharedResourcesReqBodyResourceOwnerEnum ¶
func GetSearchDistinctSharedResourcesReqBodyResourceOwnerEnum() SearchDistinctSharedResourcesReqBodyResourceOwnerEnum
type SearchDistinctSharedResourcesRequest ¶
type SearchDistinctSharedResourcesRequest struct {
}Request Object
func (SearchDistinctSharedResourcesRequest) String ¶
func (o SearchDistinctSharedResourcesRequest) String() string
type SearchDistinctSharedResourcesResponse ¶
type SearchDistinctSharedResourcesResponse struct { DistinctSharedResource `json:"distinct_shared_resources,omitempty"` }DistinctSharedResources *[]
Response Object
func (SearchDistinctSharedResourcesResponse) String ¶
func (o SearchDistinctSharedResourcesResponse) 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 *
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 {
}Request Object
func (SearchResourceShareAssociationsRequest) String ¶
func (o SearchResourceShareAssociationsRequest) String() string
type SearchResourceShareAssociationsResponse ¶
type SearchResourceShareAssociationsResponse struct { ResourceShareAssociation `json:"resource_share_associations,omitempty"` }ResourceShareAssociations *[]
Response Object
func (SearchResourceShareAssociationsResponse) String ¶
func (o SearchResourceShareAssociationsResponse) String() string
type SearchResourceShareCountByTagsRequest ¶ added in v0.1.35
type SearchResourceShareCountByTagsRequest struct {
}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 { // 总记录数。 }
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 {
}Request Object
func (SearchResourceShareInvitationRequest) String ¶
func (o SearchResourceShareInvitationRequest) String() string
type SearchResourceShareInvitationResponse ¶
type SearchResourceShareInvitationResponse struct {}
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 *
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 {
}Request Object
func (SearchResourceSharesRequest) String ¶
func (o SearchResourceSharesRequest) String() string
type SearchResourceSharesResponse ¶
type SearchResourceSharesResponse struct { ResourceShare `json:"resource_shares,omitempty"` }ResourceShares *[]
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 *
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 {
}Request Object
func (SearchSharedPrincipalsRequest) String ¶
func (o SearchSharedPrincipalsRequest) String() string
type SearchSharedPrincipalsResponse ¶
type SearchSharedPrincipalsResponse struct { SharedPrincipal `json:"shared_principals,omitempty"` }SharedPrincipals *[]
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 *
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 {
}Request Object
func (SearchSharedResourcesRequest) String ¶
func (o SearchSharedResourcesRequest) String() string
type SearchSharedResourcesResponse ¶
type SearchSharedResourcesResponse struct { SharedResource `json:"shared_resources,omitempty"` }SharedResources *[]
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 *
描述资源共享管理的角色
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 *
描述RAM中的资源共享关联的资源。
func (SharedResource) String ¶
func (o SharedResource) String() string
type ShowOrganizationShareRequest ¶
type ShowOrganizationShareRequest struct { }
Request Object
func (ShowOrganizationShareRequest) String ¶
func (o ShowOrganizationShareRequest) String() string
type ShowOrganizationShareResponse ¶
type ShowOrganizationShareResponse struct { // 如果为\"true\",则表示启用与组织的共享。默认为\"false\"。 }
Response Object
func (ShowOrganizationShareResponse) String ¶
func (o ShowOrganizationShareResponse) String() string
type ShowPermissionRequest ¶
type ShowPermissionRequest struct { // 共享资源权限的ID。 PermissionId string `json:"permission_id"` }
Request Object
func (ShowPermissionRequest) String ¶
func (o ShowPermissionRequest) String() string
type ShowPermissionResponse ¶
type ShowPermissionResponse struct { Permission *Permission `json:"permission,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPermissionResponse) String ¶
func (o ShowPermissionResponse) String() string
type Tag ¶
type Tag struct { // 标签\"键\"的标识符或名称。 Key string `json:"key"` // 标签\"键\"对应的\"值\"。您可以将标签的值设置为空字符串,但不能设置为null。 Value string `json:"value"` }
自定义键值对。
type TagDto ¶ added in v0.1.35
type TagDto struct { // 标签\"键\"的标识符或名称。您可以将标签的值设置为空字符串,但不能设置为null。 Key string `json:"key"` // 值列表。每个值最大长度255个unicode字符。 Values []string `json:"values"` }
自定义标签键值对。
type TagFilter ¶
type TagFilter struct { // 标签\"键\"的标识符或名称。 Key string `json:"key"` // 标签\"键\"对应的\"值\"列表。 Values *[]string `json:"values,omitempty"` }
根据标签筛选。
type TagResourceReqBody ¶ added in v0.1.34
type TagResourceReqBody struct { // 一个或多个标签键值对的列表。标签键必须存在,而不是空字符串。标签值必须存在,但可以是空字符串。 Tags []Tag `json:"tags"` }
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"` }
自定义键值对。
type UntagResourceReqBody ¶ added in v0.1.34
type UntagResourceReqBody struct { // 一个或多个标签键值对的列表。标签键必须存在,而不是空字符串。标签值必须存在,但可以是空字符串。 Tags []Untag `json:"tags"` }
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"` }Name
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
Request Object
func (UpdateResourceShareRequest) String ¶
func (o UpdateResourceShareRequest) String() string
type UpdateResourceShareResponse ¶
type UpdateResourceShareResponse struct {}
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_distinct_shared_principal.go
- model_distinct_shared_resource.go
- model_enable_organization_share_request.go
- model_enable_organization_share_response.go
- model_list_permissions_request.go
- model_list_permissions_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_match.go
- model_page_info.go
- model_page_info_marker_by_key.go
- model_permission.go
- model_permission_summary.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_search_distinct_principals_request.go
- model_search_distinct_principals_response.go
- model_search_distinct_shared_principals_req_body.go
- model_search_distinct_shared_resources_req_body.go
- model_search_distinct_shared_resources_request.go
- model_search_distinct_shared_resources_response.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