Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AddTagsBatchRequest
- type AddTagsBatchResponse
- type ApplyAutoSnapshotPolicyRequest
- type ApplyAutoSnapshotPolicyResponse
- type AttachDbfsRequest
- type AttachDbfsResponse
- type CancelAutoSnapshotPolicyRequest
- type CancelAutoSnapshotPolicyResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AddTagsBatch(request *AddTagsBatchRequest) (response *AddTagsBatchResponse, err error)
- func (client *Client) AddTagsBatchWithCallback(request *AddTagsBatchRequest, ...) <-chan int
- func (client *Client) AddTagsBatchWithChan(request *AddTagsBatchRequest) (<-chan *AddTagsBatchResponse, <-chan error)
- func (client *Client) ApplyAutoSnapshotPolicy(request *ApplyAutoSnapshotPolicyRequest) (response *ApplyAutoSnapshotPolicyResponse, err error)
- func (client *Client) ApplyAutoSnapshotPolicyWithCallback(request *ApplyAutoSnapshotPolicyRequest, ...) <-chan int
- func (client *Client) ApplyAutoSnapshotPolicyWithChan(request *ApplyAutoSnapshotPolicyRequest) (<-chan *ApplyAutoSnapshotPolicyResponse, <-chan error)
- func (client *Client) AttachDbfs(request *AttachDbfsRequest) (response *AttachDbfsResponse, err error)
- func (client *Client) AttachDbfsWithCallback(request *AttachDbfsRequest, ...) <-chan int
- func (client *Client) AttachDbfsWithChan(request *AttachDbfsRequest) (<-chan *AttachDbfsResponse, <-chan error)
- func (client *Client) CancelAutoSnapshotPolicy(request *CancelAutoSnapshotPolicyRequest) (response *CancelAutoSnapshotPolicyResponse, err error)
- func (client *Client) CancelAutoSnapshotPolicyWithCallback(request *CancelAutoSnapshotPolicyRequest, ...) <-chan int
- func (client *Client) CancelAutoSnapshotPolicyWithChan(request *CancelAutoSnapshotPolicyRequest) (<-chan *CancelAutoSnapshotPolicyResponse, <-chan error)
- func (client *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
- func (client *Client) CreateAutoSnapshotPolicyWithCallback(request *CreateAutoSnapshotPolicyRequest, ...) <-chan int
- func (client *Client) CreateAutoSnapshotPolicyWithChan(request *CreateAutoSnapshotPolicyRequest) (<-chan *CreateAutoSnapshotPolicyResponse, <-chan error)
- func (client *Client) CreateDbfs(request *CreateDbfsRequest) (response *CreateDbfsResponse, err error)
- func (client *Client) CreateDbfsWithCallback(request *CreateDbfsRequest, ...) <-chan int
- func (client *Client) CreateDbfsWithChan(request *CreateDbfsRequest) (<-chan *CreateDbfsResponse, <-chan error)
- func (client *Client) CreateServiceLinkedRole(request *CreateServiceLinkedRoleRequest) (response *CreateServiceLinkedRoleResponse, err error)
- func (client *Client) CreateServiceLinkedRoleWithCallback(request *CreateServiceLinkedRoleRequest, ...) <-chan int
- func (client *Client) CreateServiceLinkedRoleWithChan(request *CreateServiceLinkedRoleRequest) (<-chan *CreateServiceLinkedRoleResponse, <-chan error)
- func (client *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
- func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest, ...) <-chan int
- func (client *Client) CreateSnapshotWithChan(request *CreateSnapshotRequest) (<-chan *CreateSnapshotResponse, <-chan error)
- func (client *Client) DeleteAutoSnapshotPolicy(request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
- func (client *Client) DeleteAutoSnapshotPolicyWithCallback(request *DeleteAutoSnapshotPolicyRequest, ...) <-chan int
- func (client *Client) DeleteAutoSnapshotPolicyWithChan(request *DeleteAutoSnapshotPolicyRequest) (<-chan *DeleteAutoSnapshotPolicyResponse, <-chan error)
- func (client *Client) DeleteDbfs(request *DeleteDbfsRequest) (response *DeleteDbfsResponse, err error)
- func (client *Client) DeleteDbfsWithCallback(request *DeleteDbfsRequest, ...) <-chan int
- func (client *Client) DeleteDbfsWithChan(request *DeleteDbfsRequest) (<-chan *DeleteDbfsResponse, <-chan error)
- func (client *Client) DeleteSnapshot(request *DeleteSnapshotRequest) (response *DeleteSnapshotResponse, err error)
- func (client *Client) DeleteSnapshotWithCallback(request *DeleteSnapshotRequest, ...) <-chan int
- func (client *Client) DeleteSnapshotWithChan(request *DeleteSnapshotRequest) (<-chan *DeleteSnapshotResponse, <-chan error)
- func (client *Client) DeleteTagsBatch(request *DeleteTagsBatchRequest) (response *DeleteTagsBatchResponse, err error)
- func (client *Client) DeleteTagsBatchWithCallback(request *DeleteTagsBatchRequest, ...) <-chan int
- func (client *Client) DeleteTagsBatchWithChan(request *DeleteTagsBatchRequest) (<-chan *DeleteTagsBatchResponse, <-chan error)
- func (client *Client) DescribeDbfsSpecifications(request *DescribeDbfsSpecificationsRequest) (response *DescribeDbfsSpecificationsResponse, err error)
- func (client *Client) DescribeDbfsSpecificationsWithCallback(request *DescribeDbfsSpecificationsRequest, ...) <-chan int
- func (client *Client) DescribeDbfsSpecificationsWithChan(request *DescribeDbfsSpecificationsRequest) (<-chan *DescribeDbfsSpecificationsResponse, <-chan error)
- func (client *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)
- func (client *Client) DescribeInstanceTypesWithCallback(request *DescribeInstanceTypesRequest, ...) <-chan int
- func (client *Client) DescribeInstanceTypesWithChan(request *DescribeInstanceTypesRequest) (<-chan *DescribeInstanceTypesResponse, <-chan error)
- func (client *Client) DetachDbfs(request *DetachDbfsRequest) (response *DetachDbfsResponse, err error)
- func (client *Client) DetachDbfsWithCallback(request *DetachDbfsRequest, ...) <-chan int
- func (client *Client) DetachDbfsWithChan(request *DetachDbfsRequest) (<-chan *DetachDbfsResponse, <-chan error)
- func (client *Client) GetAutoSnapshotPolicy(request *GetAutoSnapshotPolicyRequest) (response *GetAutoSnapshotPolicyResponse, err error)
- func (client *Client) GetAutoSnapshotPolicyWithCallback(request *GetAutoSnapshotPolicyRequest, ...) <-chan int
- func (client *Client) GetAutoSnapshotPolicyWithChan(request *GetAutoSnapshotPolicyRequest) (<-chan *GetAutoSnapshotPolicyResponse, <-chan error)
- func (client *Client) GetDbfs(request *GetDbfsRequest) (response *GetDbfsResponse, err error)
- func (client *Client) GetDbfsWithCallback(request *GetDbfsRequest, callback func(response *GetDbfsResponse, err error)) <-chan int
- func (client *Client) GetDbfsWithChan(request *GetDbfsRequest) (<-chan *GetDbfsResponse, <-chan error)
- func (client *Client) GetServiceLinkedRole(request *GetServiceLinkedRoleRequest) (response *GetServiceLinkedRoleResponse, err error)
- func (client *Client) GetServiceLinkedRoleWithCallback(request *GetServiceLinkedRoleRequest, ...) <-chan int
- func (client *Client) GetServiceLinkedRoleWithChan(request *GetServiceLinkedRoleRequest) (<-chan *GetServiceLinkedRoleResponse, <-chan error)
- func (client *Client) ListAutoSnapshotPolicies(request *ListAutoSnapshotPoliciesRequest) (response *ListAutoSnapshotPoliciesResponse, err error)
- func (client *Client) ListAutoSnapshotPoliciesWithCallback(request *ListAutoSnapshotPoliciesRequest, ...) <-chan int
- func (client *Client) ListAutoSnapshotPoliciesWithChan(request *ListAutoSnapshotPoliciesRequest) (<-chan *ListAutoSnapshotPoliciesResponse, <-chan error)
- func (client *Client) ListAutoSnapshotPolicyAppliedDbfs(request *ListAutoSnapshotPolicyAppliedDbfsRequest) (response *ListAutoSnapshotPolicyAppliedDbfsResponse, err error)
- func (client *Client) ListAutoSnapshotPolicyAppliedDbfsWithCallback(request *ListAutoSnapshotPolicyAppliedDbfsRequest, ...) <-chan int
- func (client *Client) ListAutoSnapshotPolicyAppliedDbfsWithChan(request *ListAutoSnapshotPolicyAppliedDbfsRequest) (<-chan *ListAutoSnapshotPolicyAppliedDbfsResponse, <-chan error)
- func (client *Client) ListAutoSnapshotPolicyUnappliedDbfs(request *ListAutoSnapshotPolicyUnappliedDbfsRequest) (response *ListAutoSnapshotPolicyUnappliedDbfsResponse, err error)
- func (client *Client) ListAutoSnapshotPolicyUnappliedDbfsWithCallback(request *ListAutoSnapshotPolicyUnappliedDbfsRequest, ...) <-chan int
- func (client *Client) ListAutoSnapshotPolicyUnappliedDbfsWithChan(request *ListAutoSnapshotPolicyUnappliedDbfsRequest) (<-chan *ListAutoSnapshotPolicyUnappliedDbfsResponse, <-chan error)
- func (client *Client) ListDbfs(request *ListDbfsRequest) (response *ListDbfsResponse, err error)
- func (client *Client) ListDbfsAttachableEcsInstances(request *ListDbfsAttachableEcsInstancesRequest) (response *ListDbfsAttachableEcsInstancesResponse, err error)
- func (client *Client) ListDbfsAttachableEcsInstancesWithCallback(request *ListDbfsAttachableEcsInstancesRequest, ...) <-chan int
- func (client *Client) ListDbfsAttachableEcsInstancesWithChan(request *ListDbfsAttachableEcsInstancesRequest) (<-chan *ListDbfsAttachableEcsInstancesResponse, <-chan error)
- func (client *Client) ListDbfsAttachedEcsInstances(request *ListDbfsAttachedEcsInstancesRequest) (response *ListDbfsAttachedEcsInstancesResponse, err error)
- func (client *Client) ListDbfsAttachedEcsInstancesWithCallback(request *ListDbfsAttachedEcsInstancesRequest, ...) <-chan int
- func (client *Client) ListDbfsAttachedEcsInstancesWithChan(request *ListDbfsAttachedEcsInstancesRequest) (<-chan *ListDbfsAttachedEcsInstancesResponse, <-chan error)
- func (client *Client) ListDbfsWithCallback(request *ListDbfsRequest, callback func(response *ListDbfsResponse, err error)) <-chan int
- func (client *Client) ListDbfsWithChan(request *ListDbfsRequest) (<-chan *ListDbfsResponse, <-chan error)
- func (client *Client) ListSnapshot(request *ListSnapshotRequest) (response *ListSnapshotResponse, err error)
- func (client *Client) ListSnapshotWithCallback(request *ListSnapshotRequest, ...) <-chan int
- func (client *Client) ListSnapshotWithChan(request *ListSnapshotRequest) (<-chan *ListSnapshotResponse, <-chan error)
- func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)
- func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, ...) <-chan int
- func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)
- func (client *Client) ListTagValues(request *ListTagValuesRequest) (response *ListTagValuesResponse, err error)
- func (client *Client) ListTagValuesWithCallback(request *ListTagValuesRequest, ...) <-chan int
- func (client *Client) ListTagValuesWithChan(request *ListTagValuesRequest) (<-chan *ListTagValuesResponse, <-chan error)
- func (client *Client) ModifyAutoSnapshotPolicy(request *ModifyAutoSnapshotPolicyRequest) (response *ModifyAutoSnapshotPolicyResponse, err error)
- func (client *Client) ModifyAutoSnapshotPolicyWithCallback(request *ModifyAutoSnapshotPolicyRequest, ...) <-chan int
- func (client *Client) ModifyAutoSnapshotPolicyWithChan(request *ModifyAutoSnapshotPolicyRequest) (<-chan *ModifyAutoSnapshotPolicyResponse, <-chan error)
- func (client *Client) ModifySnapshotAttribute(request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)
- func (client *Client) ModifySnapshotAttributeWithCallback(request *ModifySnapshotAttributeRequest, ...) <-chan int
- func (client *Client) ModifySnapshotAttributeWithChan(request *ModifySnapshotAttributeRequest) (<-chan *ModifySnapshotAttributeResponse, <-chan error)
- func (client *Client) RenameDbfs(request *RenameDbfsRequest) (response *RenameDbfsResponse, err error)
- func (client *Client) RenameDbfsWithCallback(request *RenameDbfsRequest, ...) <-chan int
- func (client *Client) RenameDbfsWithChan(request *RenameDbfsRequest) (<-chan *RenameDbfsResponse, <-chan error)
- func (client *Client) ResizeDbfs(request *ResizeDbfsRequest) (response *ResizeDbfsResponse, err error)
- func (client *Client) ResizeDbfsWithCallback(request *ResizeDbfsRequest, ...) <-chan int
- func (client *Client) ResizeDbfsWithChan(request *ResizeDbfsRequest) (<-chan *ResizeDbfsResponse, <-chan error)
- func (client *Client) TagDbfs(request *TagDbfsRequest) (response *TagDbfsResponse, err error)
- func (client *Client) TagDbfsWithCallback(request *TagDbfsRequest, callback func(response *TagDbfsResponse, err error)) <-chan int
- func (client *Client) TagDbfsWithChan(request *TagDbfsRequest) (<-chan *TagDbfsResponse, <-chan error)
- func (client *Client) UpdateDbfs(request *UpdateDbfsRequest) (response *UpdateDbfsResponse, err error)
- func (client *Client) UpdateDbfsWithCallback(request *UpdateDbfsRequest, ...) <-chan int
- func (client *Client) UpdateDbfsWithChan(request *UpdateDbfsRequest) (<-chan *UpdateDbfsResponse, <-chan error)
- type CreateAutoSnapshotPolicyRequest
- type CreateAutoSnapshotPolicyResponse
- type CreateDbfsRequest
- type CreateDbfsResponse
- type CreateServiceLinkedRoleRequest
- type CreateServiceLinkedRoleResponse
- type CreateSnapshotRequest
- type CreateSnapshotResponse
- type DBFSInfo
- type DBFSInfoInListDbfs
- type Data
- type DbfsListInListAutoSnapshotPolicyAppliedDbfs
- type DbfsListInListAutoSnapshotPolicyUnappliedDbfs
- type DbfsListItem
- type DbfsListItemInListAutoSnapshotPolicyUnappliedDbfs
- type DeleteAutoSnapshotPolicyRequest
- type DeleteAutoSnapshotPolicyResponse
- type DeleteDbfsRequest
- type DeleteDbfsResponse
- type DeleteSnapshotRequest
- type DeleteSnapshotResponse
- type DeleteTagsBatchRequest
- type DeleteTagsBatchResponse
- type DescribeDbfsSpecificationsRequest
- type DescribeDbfsSpecificationsResponse
- type DescribeInstanceTypesRequest
- type DescribeInstanceTypesResponse
- type DetachDbfsRequest
- type DetachDbfsResponse
- type EbsListInGetDbfs
- type EbsListInListDbfs
- type EbsListItem
- type EcsLabelInfoInListDbfsAttachableEcsInstances
- type EcsLabelInfoInListDbfsAttachedEcsInstances
- type EcsListInGetDbfs
- type EcsListInListDbfs
- type EcsListItem
- type GetAutoSnapshotPolicyRequest
- type GetAutoSnapshotPolicyResponse
- type GetDbfsRequest
- type GetDbfsResponse
- type GetServiceLinkedRoleRequest
- type GetServiceLinkedRoleResponse
- type Info
- type InstanceTypes
- type InstanceTypesItem
- type LabelInfo
- type ListAutoSnapshotPoliciesRequest
- type ListAutoSnapshotPoliciesResponse
- type ListAutoSnapshotPolicyAppliedDbfsRequest
- type ListAutoSnapshotPolicyAppliedDbfsResponse
- type ListAutoSnapshotPolicyUnappliedDbfsRequest
- type ListAutoSnapshotPolicyUnappliedDbfsResponse
- type ListDbfsAttachableEcsInstancesRequest
- type ListDbfsAttachableEcsInstancesResponse
- type ListDbfsAttachedEcsInstancesRequest
- type ListDbfsAttachedEcsInstancesResponse
- type ListDbfsRequest
- type ListDbfsResponse
- type ListSnapshotRequest
- type ListSnapshotResponse
- type ListTagKeysRequest
- type ListTagKeysResponse
- type ListTagValuesRequest
- type ListTagValuesResponse
- type ModifyAutoSnapshotPolicyRequest
- type ModifyAutoSnapshotPolicyResponse
- type ModifySnapshotAttributeRequest
- type ModifySnapshotAttributeResponse
- type RenameDbfsRequest
- type RenameDbfsResponse
- type RepeatWeekdaysInGetAutoSnapshotPolicy
- type RepeatWeekdaysInListAutoSnapshotPolicies
- type ResizeDbfsRequest
- type ResizeDbfsResponse
- type SnapshotInfo
- type SnapshotPolicies
- type SnapshotPoliciesItem
- type Snapshots
- type SnapshotsItem
- type SupportedEcsInstanceTypeFamily
- type TagDbfsRequest
- type TagDbfsResponse
- type TagKeys
- type TagList
- type TagListInListDbfs
- type TagValues
- type TagsInGetDbfs
- type TagsInListDbfs
- type TimePointsInGetAutoSnapshotPolicy
- type TimePointsInListAutoSnapshotPolicies
- type UpdateDbfsRequest
- type UpdateDbfsResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AddTagsBatchRequest ¶
type AddTagsBatchRequest struct { *requests.RpcRequest DbfsList string `position:"Query" name:"DbfsList"` ClientToken string `position:"Query" name:"ClientToken"` Tags string `position:"Query" name:"Tags"` }
AddTagsBatchRequest is the request struct for api AddTagsBatch
func CreateAddTagsBatchRequest ¶
func CreateAddTagsBatchRequest() (request *AddTagsBatchRequest)
CreateAddTagsBatchRequest creates a request to invoke AddTagsBatch API
type AddTagsBatchResponse ¶
type AddTagsBatchResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AddTagsBatchResponse is the response struct for api AddTagsBatch
func CreateAddTagsBatchResponse ¶
func CreateAddTagsBatchResponse() (response *AddTagsBatchResponse)
CreateAddTagsBatchResponse creates a response to parse from AddTagsBatch response
type ApplyAutoSnapshotPolicyRequest ¶
type ApplyAutoSnapshotPolicyRequest struct { *requests.RpcRequest DbfsIds *[]string `position:"Query" name:"DbfsIds" type:"Json"` PolicyId string `position:"Query" name:"PolicyId"` }
ApplyAutoSnapshotPolicyRequest is the request struct for api ApplyAutoSnapshotPolicy
func CreateApplyAutoSnapshotPolicyRequest ¶
func CreateApplyAutoSnapshotPolicyRequest() (request *ApplyAutoSnapshotPolicyRequest)
CreateApplyAutoSnapshotPolicyRequest creates a request to invoke ApplyAutoSnapshotPolicy API
type ApplyAutoSnapshotPolicyResponse ¶
type ApplyAutoSnapshotPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ApplyAutoSnapshotPolicyResponse is the response struct for api ApplyAutoSnapshotPolicy
func CreateApplyAutoSnapshotPolicyResponse ¶
func CreateApplyAutoSnapshotPolicyResponse() (response *ApplyAutoSnapshotPolicyResponse)
CreateApplyAutoSnapshotPolicyResponse creates a response to parse from ApplyAutoSnapshotPolicy response
type AttachDbfsRequest ¶
type AttachDbfsRequest struct { *requests.RpcRequest ECSInstanceId string `position:"Query" name:"ECSInstanceId"` AttachPoint string `position:"Query" name:"AttachPoint"` ServerUrl string `position:"Query" name:"ServerUrl"` FsId string `position:"Query" name:"FsId"` AttachMode string `position:"Query" name:"AttachMode"` }
AttachDbfsRequest is the request struct for api AttachDbfs
func CreateAttachDbfsRequest ¶
func CreateAttachDbfsRequest() (request *AttachDbfsRequest)
CreateAttachDbfsRequest creates a request to invoke AttachDbfs API
type AttachDbfsResponse ¶
type AttachDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AttachDbfsResponse is the response struct for api AttachDbfs
func CreateAttachDbfsResponse ¶
func CreateAttachDbfsResponse() (response *AttachDbfsResponse)
CreateAttachDbfsResponse creates a response to parse from AttachDbfs response
type CancelAutoSnapshotPolicyRequest ¶
type CancelAutoSnapshotPolicyRequest struct { *requests.RpcRequest DbfsIds *[]string `position:"Query" name:"DbfsIds" type:"Json"` PolicyId string `position:"Query" name:"PolicyId"` }
CancelAutoSnapshotPolicyRequest is the request struct for api CancelAutoSnapshotPolicy
func CreateCancelAutoSnapshotPolicyRequest ¶
func CreateCancelAutoSnapshotPolicyRequest() (request *CancelAutoSnapshotPolicyRequest)
CreateCancelAutoSnapshotPolicyRequest creates a request to invoke CancelAutoSnapshotPolicy API
type CancelAutoSnapshotPolicyResponse ¶
type CancelAutoSnapshotPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CancelAutoSnapshotPolicyResponse is the response struct for api CancelAutoSnapshotPolicy
func CreateCancelAutoSnapshotPolicyResponse ¶
func CreateCancelAutoSnapshotPolicyResponse() (response *CancelAutoSnapshotPolicyResponse)
CreateCancelAutoSnapshotPolicyResponse creates a response to parse from CancelAutoSnapshotPolicy response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AddTagsBatch ¶
func (client *Client) AddTagsBatch(request *AddTagsBatchRequest) (response *AddTagsBatchResponse, err error)
AddTagsBatch invokes the dbfs.AddTagsBatch API synchronously
func (*Client) AddTagsBatchWithCallback ¶
func (client *Client) AddTagsBatchWithCallback(request *AddTagsBatchRequest, callback func(response *AddTagsBatchResponse, err error)) <-chan int
AddTagsBatchWithCallback invokes the dbfs.AddTagsBatch API asynchronously
func (*Client) AddTagsBatchWithChan ¶
func (client *Client) AddTagsBatchWithChan(request *AddTagsBatchRequest) (<-chan *AddTagsBatchResponse, <-chan error)
AddTagsBatchWithChan invokes the dbfs.AddTagsBatch API asynchronously
func (*Client) ApplyAutoSnapshotPolicy ¶
func (client *Client) ApplyAutoSnapshotPolicy(request *ApplyAutoSnapshotPolicyRequest) (response *ApplyAutoSnapshotPolicyResponse, err error)
ApplyAutoSnapshotPolicy invokes the dbfs.ApplyAutoSnapshotPolicy API synchronously
func (*Client) ApplyAutoSnapshotPolicyWithCallback ¶
func (client *Client) ApplyAutoSnapshotPolicyWithCallback(request *ApplyAutoSnapshotPolicyRequest, callback func(response *ApplyAutoSnapshotPolicyResponse, err error)) <-chan int
ApplyAutoSnapshotPolicyWithCallback invokes the dbfs.ApplyAutoSnapshotPolicy API asynchronously
func (*Client) ApplyAutoSnapshotPolicyWithChan ¶
func (client *Client) ApplyAutoSnapshotPolicyWithChan(request *ApplyAutoSnapshotPolicyRequest) (<-chan *ApplyAutoSnapshotPolicyResponse, <-chan error)
ApplyAutoSnapshotPolicyWithChan invokes the dbfs.ApplyAutoSnapshotPolicy API asynchronously
func (*Client) AttachDbfs ¶
func (client *Client) AttachDbfs(request *AttachDbfsRequest) (response *AttachDbfsResponse, err error)
AttachDbfs invokes the dbfs.AttachDbfs API synchronously
func (*Client) AttachDbfsWithCallback ¶
func (client *Client) AttachDbfsWithCallback(request *AttachDbfsRequest, callback func(response *AttachDbfsResponse, err error)) <-chan int
AttachDbfsWithCallback invokes the dbfs.AttachDbfs API asynchronously
func (*Client) AttachDbfsWithChan ¶
func (client *Client) AttachDbfsWithChan(request *AttachDbfsRequest) (<-chan *AttachDbfsResponse, <-chan error)
AttachDbfsWithChan invokes the dbfs.AttachDbfs API asynchronously
func (*Client) CancelAutoSnapshotPolicy ¶
func (client *Client) CancelAutoSnapshotPolicy(request *CancelAutoSnapshotPolicyRequest) (response *CancelAutoSnapshotPolicyResponse, err error)
CancelAutoSnapshotPolicy invokes the dbfs.CancelAutoSnapshotPolicy API synchronously
func (*Client) CancelAutoSnapshotPolicyWithCallback ¶
func (client *Client) CancelAutoSnapshotPolicyWithCallback(request *CancelAutoSnapshotPolicyRequest, callback func(response *CancelAutoSnapshotPolicyResponse, err error)) <-chan int
CancelAutoSnapshotPolicyWithCallback invokes the dbfs.CancelAutoSnapshotPolicy API asynchronously
func (*Client) CancelAutoSnapshotPolicyWithChan ¶
func (client *Client) CancelAutoSnapshotPolicyWithChan(request *CancelAutoSnapshotPolicyRequest) (<-chan *CancelAutoSnapshotPolicyResponse, <-chan error)
CancelAutoSnapshotPolicyWithChan invokes the dbfs.CancelAutoSnapshotPolicy API asynchronously
func (*Client) CreateAutoSnapshotPolicy ¶
func (client *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy invokes the dbfs.CreateAutoSnapshotPolicy API synchronously
func (*Client) CreateAutoSnapshotPolicyWithCallback ¶
func (client *Client) CreateAutoSnapshotPolicyWithCallback(request *CreateAutoSnapshotPolicyRequest, callback func(response *CreateAutoSnapshotPolicyResponse, err error)) <-chan int
CreateAutoSnapshotPolicyWithCallback invokes the dbfs.CreateAutoSnapshotPolicy API asynchronously
func (*Client) CreateAutoSnapshotPolicyWithChan ¶
func (client *Client) CreateAutoSnapshotPolicyWithChan(request *CreateAutoSnapshotPolicyRequest) (<-chan *CreateAutoSnapshotPolicyResponse, <-chan error)
CreateAutoSnapshotPolicyWithChan invokes the dbfs.CreateAutoSnapshotPolicy API asynchronously
func (*Client) CreateDbfs ¶
func (client *Client) CreateDbfs(request *CreateDbfsRequest) (response *CreateDbfsResponse, err error)
CreateDbfs invokes the dbfs.CreateDbfs API synchronously
func (*Client) CreateDbfsWithCallback ¶
func (client *Client) CreateDbfsWithCallback(request *CreateDbfsRequest, callback func(response *CreateDbfsResponse, err error)) <-chan int
CreateDbfsWithCallback invokes the dbfs.CreateDbfs API asynchronously
func (*Client) CreateDbfsWithChan ¶
func (client *Client) CreateDbfsWithChan(request *CreateDbfsRequest) (<-chan *CreateDbfsResponse, <-chan error)
CreateDbfsWithChan invokes the dbfs.CreateDbfs API asynchronously
func (*Client) CreateServiceLinkedRole ¶
func (client *Client) CreateServiceLinkedRole(request *CreateServiceLinkedRoleRequest) (response *CreateServiceLinkedRoleResponse, err error)
CreateServiceLinkedRole invokes the dbfs.CreateServiceLinkedRole API synchronously
func (*Client) CreateServiceLinkedRoleWithCallback ¶
func (client *Client) CreateServiceLinkedRoleWithCallback(request *CreateServiceLinkedRoleRequest, callback func(response *CreateServiceLinkedRoleResponse, err error)) <-chan int
CreateServiceLinkedRoleWithCallback invokes the dbfs.CreateServiceLinkedRole API asynchronously
func (*Client) CreateServiceLinkedRoleWithChan ¶
func (client *Client) CreateServiceLinkedRoleWithChan(request *CreateServiceLinkedRoleRequest) (<-chan *CreateServiceLinkedRoleResponse, <-chan error)
CreateServiceLinkedRoleWithChan invokes the dbfs.CreateServiceLinkedRole API asynchronously
func (*Client) CreateSnapshot ¶
func (client *Client) CreateSnapshot(request *CreateSnapshotRequest) (response *CreateSnapshotResponse, err error)
CreateSnapshot invokes the dbfs.CreateSnapshot API synchronously
func (*Client) CreateSnapshotWithCallback ¶
func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest, callback func(response *CreateSnapshotResponse, err error)) <-chan int
CreateSnapshotWithCallback invokes the dbfs.CreateSnapshot API asynchronously
func (*Client) CreateSnapshotWithChan ¶
func (client *Client) CreateSnapshotWithChan(request *CreateSnapshotRequest) (<-chan *CreateSnapshotResponse, <-chan error)
CreateSnapshotWithChan invokes the dbfs.CreateSnapshot API asynchronously
func (*Client) DeleteAutoSnapshotPolicy ¶
func (client *Client) DeleteAutoSnapshotPolicy(request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
DeleteAutoSnapshotPolicy invokes the dbfs.DeleteAutoSnapshotPolicy API synchronously
func (*Client) DeleteAutoSnapshotPolicyWithCallback ¶
func (client *Client) DeleteAutoSnapshotPolicyWithCallback(request *DeleteAutoSnapshotPolicyRequest, callback func(response *DeleteAutoSnapshotPolicyResponse, err error)) <-chan int
DeleteAutoSnapshotPolicyWithCallback invokes the dbfs.DeleteAutoSnapshotPolicy API asynchronously
func (*Client) DeleteAutoSnapshotPolicyWithChan ¶
func (client *Client) DeleteAutoSnapshotPolicyWithChan(request *DeleteAutoSnapshotPolicyRequest) (<-chan *DeleteAutoSnapshotPolicyResponse, <-chan error)
DeleteAutoSnapshotPolicyWithChan invokes the dbfs.DeleteAutoSnapshotPolicy API asynchronously
func (*Client) DeleteDbfs ¶
func (client *Client) DeleteDbfs(request *DeleteDbfsRequest) (response *DeleteDbfsResponse, err error)
DeleteDbfs invokes the dbfs.DeleteDbfs API synchronously
func (*Client) DeleteDbfsWithCallback ¶
func (client *Client) DeleteDbfsWithCallback(request *DeleteDbfsRequest, callback func(response *DeleteDbfsResponse, err error)) <-chan int
DeleteDbfsWithCallback invokes the dbfs.DeleteDbfs API asynchronously
func (*Client) DeleteDbfsWithChan ¶
func (client *Client) DeleteDbfsWithChan(request *DeleteDbfsRequest) (<-chan *DeleteDbfsResponse, <-chan error)
DeleteDbfsWithChan invokes the dbfs.DeleteDbfs API asynchronously
func (*Client) DeleteSnapshot ¶
func (client *Client) DeleteSnapshot(request *DeleteSnapshotRequest) (response *DeleteSnapshotResponse, err error)
DeleteSnapshot invokes the dbfs.DeleteSnapshot API synchronously
func (*Client) DeleteSnapshotWithCallback ¶
func (client *Client) DeleteSnapshotWithCallback(request *DeleteSnapshotRequest, callback func(response *DeleteSnapshotResponse, err error)) <-chan int
DeleteSnapshotWithCallback invokes the dbfs.DeleteSnapshot API asynchronously
func (*Client) DeleteSnapshotWithChan ¶
func (client *Client) DeleteSnapshotWithChan(request *DeleteSnapshotRequest) (<-chan *DeleteSnapshotResponse, <-chan error)
DeleteSnapshotWithChan invokes the dbfs.DeleteSnapshot API asynchronously
func (*Client) DeleteTagsBatch ¶
func (client *Client) DeleteTagsBatch(request *DeleteTagsBatchRequest) (response *DeleteTagsBatchResponse, err error)
DeleteTagsBatch invokes the dbfs.DeleteTagsBatch API synchronously
func (*Client) DeleteTagsBatchWithCallback ¶
func (client *Client) DeleteTagsBatchWithCallback(request *DeleteTagsBatchRequest, callback func(response *DeleteTagsBatchResponse, err error)) <-chan int
DeleteTagsBatchWithCallback invokes the dbfs.DeleteTagsBatch API asynchronously
func (*Client) DeleteTagsBatchWithChan ¶
func (client *Client) DeleteTagsBatchWithChan(request *DeleteTagsBatchRequest) (<-chan *DeleteTagsBatchResponse, <-chan error)
DeleteTagsBatchWithChan invokes the dbfs.DeleteTagsBatch API asynchronously
func (*Client) DescribeDbfsSpecifications ¶
func (client *Client) DescribeDbfsSpecifications(request *DescribeDbfsSpecificationsRequest) (response *DescribeDbfsSpecificationsResponse, err error)
DescribeDbfsSpecifications invokes the dbfs.DescribeDbfsSpecifications API synchronously
func (*Client) DescribeDbfsSpecificationsWithCallback ¶
func (client *Client) DescribeDbfsSpecificationsWithCallback(request *DescribeDbfsSpecificationsRequest, callback func(response *DescribeDbfsSpecificationsResponse, err error)) <-chan int
DescribeDbfsSpecificationsWithCallback invokes the dbfs.DescribeDbfsSpecifications API asynchronously
func (*Client) DescribeDbfsSpecificationsWithChan ¶
func (client *Client) DescribeDbfsSpecificationsWithChan(request *DescribeDbfsSpecificationsRequest) (<-chan *DescribeDbfsSpecificationsResponse, <-chan error)
DescribeDbfsSpecificationsWithChan invokes the dbfs.DescribeDbfsSpecifications API asynchronously
func (*Client) DescribeInstanceTypes ¶
func (client *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)
DescribeInstanceTypes invokes the dbfs.DescribeInstanceTypes API synchronously
func (*Client) DescribeInstanceTypesWithCallback ¶
func (client *Client) DescribeInstanceTypesWithCallback(request *DescribeInstanceTypesRequest, callback func(response *DescribeInstanceTypesResponse, err error)) <-chan int
DescribeInstanceTypesWithCallback invokes the dbfs.DescribeInstanceTypes API asynchronously
func (*Client) DescribeInstanceTypesWithChan ¶
func (client *Client) DescribeInstanceTypesWithChan(request *DescribeInstanceTypesRequest) (<-chan *DescribeInstanceTypesResponse, <-chan error)
DescribeInstanceTypesWithChan invokes the dbfs.DescribeInstanceTypes API asynchronously
func (*Client) DetachDbfs ¶
func (client *Client) DetachDbfs(request *DetachDbfsRequest) (response *DetachDbfsResponse, err error)
DetachDbfs invokes the dbfs.DetachDbfs API synchronously
func (*Client) DetachDbfsWithCallback ¶
func (client *Client) DetachDbfsWithCallback(request *DetachDbfsRequest, callback func(response *DetachDbfsResponse, err error)) <-chan int
DetachDbfsWithCallback invokes the dbfs.DetachDbfs API asynchronously
func (*Client) DetachDbfsWithChan ¶
func (client *Client) DetachDbfsWithChan(request *DetachDbfsRequest) (<-chan *DetachDbfsResponse, <-chan error)
DetachDbfsWithChan invokes the dbfs.DetachDbfs API asynchronously
func (*Client) GetAutoSnapshotPolicy ¶
func (client *Client) GetAutoSnapshotPolicy(request *GetAutoSnapshotPolicyRequest) (response *GetAutoSnapshotPolicyResponse, err error)
GetAutoSnapshotPolicy invokes the dbfs.GetAutoSnapshotPolicy API synchronously
func (*Client) GetAutoSnapshotPolicyWithCallback ¶
func (client *Client) GetAutoSnapshotPolicyWithCallback(request *GetAutoSnapshotPolicyRequest, callback func(response *GetAutoSnapshotPolicyResponse, err error)) <-chan int
GetAutoSnapshotPolicyWithCallback invokes the dbfs.GetAutoSnapshotPolicy API asynchronously
func (*Client) GetAutoSnapshotPolicyWithChan ¶
func (client *Client) GetAutoSnapshotPolicyWithChan(request *GetAutoSnapshotPolicyRequest) (<-chan *GetAutoSnapshotPolicyResponse, <-chan error)
GetAutoSnapshotPolicyWithChan invokes the dbfs.GetAutoSnapshotPolicy API asynchronously
func (*Client) GetDbfs ¶
func (client *Client) GetDbfs(request *GetDbfsRequest) (response *GetDbfsResponse, err error)
GetDbfs invokes the dbfs.GetDbfs API synchronously
func (*Client) GetDbfsWithCallback ¶
func (client *Client) GetDbfsWithCallback(request *GetDbfsRequest, callback func(response *GetDbfsResponse, err error)) <-chan int
GetDbfsWithCallback invokes the dbfs.GetDbfs API asynchronously
func (*Client) GetDbfsWithChan ¶
func (client *Client) GetDbfsWithChan(request *GetDbfsRequest) (<-chan *GetDbfsResponse, <-chan error)
GetDbfsWithChan invokes the dbfs.GetDbfs API asynchronously
func (*Client) GetServiceLinkedRole ¶
func (client *Client) GetServiceLinkedRole(request *GetServiceLinkedRoleRequest) (response *GetServiceLinkedRoleResponse, err error)
GetServiceLinkedRole invokes the dbfs.GetServiceLinkedRole API synchronously
func (*Client) GetServiceLinkedRoleWithCallback ¶
func (client *Client) GetServiceLinkedRoleWithCallback(request *GetServiceLinkedRoleRequest, callback func(response *GetServiceLinkedRoleResponse, err error)) <-chan int
GetServiceLinkedRoleWithCallback invokes the dbfs.GetServiceLinkedRole API asynchronously
func (*Client) GetServiceLinkedRoleWithChan ¶
func (client *Client) GetServiceLinkedRoleWithChan(request *GetServiceLinkedRoleRequest) (<-chan *GetServiceLinkedRoleResponse, <-chan error)
GetServiceLinkedRoleWithChan invokes the dbfs.GetServiceLinkedRole API asynchronously
func (*Client) ListAutoSnapshotPolicies ¶
func (client *Client) ListAutoSnapshotPolicies(request *ListAutoSnapshotPoliciesRequest) (response *ListAutoSnapshotPoliciesResponse, err error)
ListAutoSnapshotPolicies invokes the dbfs.ListAutoSnapshotPolicies API synchronously
func (*Client) ListAutoSnapshotPoliciesWithCallback ¶
func (client *Client) ListAutoSnapshotPoliciesWithCallback(request *ListAutoSnapshotPoliciesRequest, callback func(response *ListAutoSnapshotPoliciesResponse, err error)) <-chan int
ListAutoSnapshotPoliciesWithCallback invokes the dbfs.ListAutoSnapshotPolicies API asynchronously
func (*Client) ListAutoSnapshotPoliciesWithChan ¶
func (client *Client) ListAutoSnapshotPoliciesWithChan(request *ListAutoSnapshotPoliciesRequest) (<-chan *ListAutoSnapshotPoliciesResponse, <-chan error)
ListAutoSnapshotPoliciesWithChan invokes the dbfs.ListAutoSnapshotPolicies API asynchronously
func (*Client) ListAutoSnapshotPolicyAppliedDbfs ¶
func (client *Client) ListAutoSnapshotPolicyAppliedDbfs(request *ListAutoSnapshotPolicyAppliedDbfsRequest) (response *ListAutoSnapshotPolicyAppliedDbfsResponse, err error)
ListAutoSnapshotPolicyAppliedDbfs invokes the dbfs.ListAutoSnapshotPolicyAppliedDbfs API synchronously
func (*Client) ListAutoSnapshotPolicyAppliedDbfsWithCallback ¶
func (client *Client) ListAutoSnapshotPolicyAppliedDbfsWithCallback(request *ListAutoSnapshotPolicyAppliedDbfsRequest, callback func(response *ListAutoSnapshotPolicyAppliedDbfsResponse, err error)) <-chan int
ListAutoSnapshotPolicyAppliedDbfsWithCallback invokes the dbfs.ListAutoSnapshotPolicyAppliedDbfs API asynchronously
func (*Client) ListAutoSnapshotPolicyAppliedDbfsWithChan ¶
func (client *Client) ListAutoSnapshotPolicyAppliedDbfsWithChan(request *ListAutoSnapshotPolicyAppliedDbfsRequest) (<-chan *ListAutoSnapshotPolicyAppliedDbfsResponse, <-chan error)
ListAutoSnapshotPolicyAppliedDbfsWithChan invokes the dbfs.ListAutoSnapshotPolicyAppliedDbfs API asynchronously
func (*Client) ListAutoSnapshotPolicyUnappliedDbfs ¶
func (client *Client) ListAutoSnapshotPolicyUnappliedDbfs(request *ListAutoSnapshotPolicyUnappliedDbfsRequest) (response *ListAutoSnapshotPolicyUnappliedDbfsResponse, err error)
ListAutoSnapshotPolicyUnappliedDbfs invokes the dbfs.ListAutoSnapshotPolicyUnappliedDbfs API synchronously
func (*Client) ListAutoSnapshotPolicyUnappliedDbfsWithCallback ¶
func (client *Client) ListAutoSnapshotPolicyUnappliedDbfsWithCallback(request *ListAutoSnapshotPolicyUnappliedDbfsRequest, callback func(response *ListAutoSnapshotPolicyUnappliedDbfsResponse, err error)) <-chan int
ListAutoSnapshotPolicyUnappliedDbfsWithCallback invokes the dbfs.ListAutoSnapshotPolicyUnappliedDbfs API asynchronously
func (*Client) ListAutoSnapshotPolicyUnappliedDbfsWithChan ¶
func (client *Client) ListAutoSnapshotPolicyUnappliedDbfsWithChan(request *ListAutoSnapshotPolicyUnappliedDbfsRequest) (<-chan *ListAutoSnapshotPolicyUnappliedDbfsResponse, <-chan error)
ListAutoSnapshotPolicyUnappliedDbfsWithChan invokes the dbfs.ListAutoSnapshotPolicyUnappliedDbfs API asynchronously
func (*Client) ListDbfs ¶
func (client *Client) ListDbfs(request *ListDbfsRequest) (response *ListDbfsResponse, err error)
ListDbfs invokes the dbfs.ListDbfs API synchronously
func (*Client) ListDbfsAttachableEcsInstances ¶
func (client *Client) ListDbfsAttachableEcsInstances(request *ListDbfsAttachableEcsInstancesRequest) (response *ListDbfsAttachableEcsInstancesResponse, err error)
ListDbfsAttachableEcsInstances invokes the dbfs.ListDbfsAttachableEcsInstances API synchronously
func (*Client) ListDbfsAttachableEcsInstancesWithCallback ¶
func (client *Client) ListDbfsAttachableEcsInstancesWithCallback(request *ListDbfsAttachableEcsInstancesRequest, callback func(response *ListDbfsAttachableEcsInstancesResponse, err error)) <-chan int
ListDbfsAttachableEcsInstancesWithCallback invokes the dbfs.ListDbfsAttachableEcsInstances API asynchronously
func (*Client) ListDbfsAttachableEcsInstancesWithChan ¶
func (client *Client) ListDbfsAttachableEcsInstancesWithChan(request *ListDbfsAttachableEcsInstancesRequest) (<-chan *ListDbfsAttachableEcsInstancesResponse, <-chan error)
ListDbfsAttachableEcsInstancesWithChan invokes the dbfs.ListDbfsAttachableEcsInstances API asynchronously
func (*Client) ListDbfsAttachedEcsInstances ¶
func (client *Client) ListDbfsAttachedEcsInstances(request *ListDbfsAttachedEcsInstancesRequest) (response *ListDbfsAttachedEcsInstancesResponse, err error)
ListDbfsAttachedEcsInstances invokes the dbfs.ListDbfsAttachedEcsInstances API synchronously
func (*Client) ListDbfsAttachedEcsInstancesWithCallback ¶
func (client *Client) ListDbfsAttachedEcsInstancesWithCallback(request *ListDbfsAttachedEcsInstancesRequest, callback func(response *ListDbfsAttachedEcsInstancesResponse, err error)) <-chan int
ListDbfsAttachedEcsInstancesWithCallback invokes the dbfs.ListDbfsAttachedEcsInstances API asynchronously
func (*Client) ListDbfsAttachedEcsInstancesWithChan ¶
func (client *Client) ListDbfsAttachedEcsInstancesWithChan(request *ListDbfsAttachedEcsInstancesRequest) (<-chan *ListDbfsAttachedEcsInstancesResponse, <-chan error)
ListDbfsAttachedEcsInstancesWithChan invokes the dbfs.ListDbfsAttachedEcsInstances API asynchronously
func (*Client) ListDbfsWithCallback ¶
func (client *Client) ListDbfsWithCallback(request *ListDbfsRequest, callback func(response *ListDbfsResponse, err error)) <-chan int
ListDbfsWithCallback invokes the dbfs.ListDbfs API asynchronously
func (*Client) ListDbfsWithChan ¶
func (client *Client) ListDbfsWithChan(request *ListDbfsRequest) (<-chan *ListDbfsResponse, <-chan error)
ListDbfsWithChan invokes the dbfs.ListDbfs API asynchronously
func (*Client) ListSnapshot ¶
func (client *Client) ListSnapshot(request *ListSnapshotRequest) (response *ListSnapshotResponse, err error)
ListSnapshot invokes the dbfs.ListSnapshot API synchronously
func (*Client) ListSnapshotWithCallback ¶
func (client *Client) ListSnapshotWithCallback(request *ListSnapshotRequest, callback func(response *ListSnapshotResponse, err error)) <-chan int
ListSnapshotWithCallback invokes the dbfs.ListSnapshot API asynchronously
func (*Client) ListSnapshotWithChan ¶
func (client *Client) ListSnapshotWithChan(request *ListSnapshotRequest) (<-chan *ListSnapshotResponse, <-chan error)
ListSnapshotWithChan invokes the dbfs.ListSnapshot API asynchronously
func (*Client) ListTagKeys ¶
func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)
ListTagKeys invokes the dbfs.ListTagKeys API synchronously
func (*Client) ListTagKeysWithCallback ¶
func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, callback func(response *ListTagKeysResponse, err error)) <-chan int
ListTagKeysWithCallback invokes the dbfs.ListTagKeys API asynchronously
func (*Client) ListTagKeysWithChan ¶
func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)
ListTagKeysWithChan invokes the dbfs.ListTagKeys API asynchronously
func (*Client) ListTagValues ¶
func (client *Client) ListTagValues(request *ListTagValuesRequest) (response *ListTagValuesResponse, err error)
ListTagValues invokes the dbfs.ListTagValues API synchronously
func (*Client) ListTagValuesWithCallback ¶
func (client *Client) ListTagValuesWithCallback(request *ListTagValuesRequest, callback func(response *ListTagValuesResponse, err error)) <-chan int
ListTagValuesWithCallback invokes the dbfs.ListTagValues API asynchronously
func (*Client) ListTagValuesWithChan ¶
func (client *Client) ListTagValuesWithChan(request *ListTagValuesRequest) (<-chan *ListTagValuesResponse, <-chan error)
ListTagValuesWithChan invokes the dbfs.ListTagValues API asynchronously
func (*Client) ModifyAutoSnapshotPolicy ¶
func (client *Client) ModifyAutoSnapshotPolicy(request *ModifyAutoSnapshotPolicyRequest) (response *ModifyAutoSnapshotPolicyResponse, err error)
ModifyAutoSnapshotPolicy invokes the dbfs.ModifyAutoSnapshotPolicy API synchronously
func (*Client) ModifyAutoSnapshotPolicyWithCallback ¶
func (client *Client) ModifyAutoSnapshotPolicyWithCallback(request *ModifyAutoSnapshotPolicyRequest, callback func(response *ModifyAutoSnapshotPolicyResponse, err error)) <-chan int
ModifyAutoSnapshotPolicyWithCallback invokes the dbfs.ModifyAutoSnapshotPolicy API asynchronously
func (*Client) ModifyAutoSnapshotPolicyWithChan ¶
func (client *Client) ModifyAutoSnapshotPolicyWithChan(request *ModifyAutoSnapshotPolicyRequest) (<-chan *ModifyAutoSnapshotPolicyResponse, <-chan error)
ModifyAutoSnapshotPolicyWithChan invokes the dbfs.ModifyAutoSnapshotPolicy API asynchronously
func (*Client) ModifySnapshotAttribute ¶
func (client *Client) ModifySnapshotAttribute(request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)
ModifySnapshotAttribute invokes the dbfs.ModifySnapshotAttribute API synchronously
func (*Client) ModifySnapshotAttributeWithCallback ¶
func (client *Client) ModifySnapshotAttributeWithCallback(request *ModifySnapshotAttributeRequest, callback func(response *ModifySnapshotAttributeResponse, err error)) <-chan int
ModifySnapshotAttributeWithCallback invokes the dbfs.ModifySnapshotAttribute API asynchronously
func (*Client) ModifySnapshotAttributeWithChan ¶
func (client *Client) ModifySnapshotAttributeWithChan(request *ModifySnapshotAttributeRequest) (<-chan *ModifySnapshotAttributeResponse, <-chan error)
ModifySnapshotAttributeWithChan invokes the dbfs.ModifySnapshotAttribute API asynchronously
func (*Client) RenameDbfs ¶
func (client *Client) RenameDbfs(request *RenameDbfsRequest) (response *RenameDbfsResponse, err error)
RenameDbfs invokes the dbfs.RenameDbfs API synchronously
func (*Client) RenameDbfsWithCallback ¶
func (client *Client) RenameDbfsWithCallback(request *RenameDbfsRequest, callback func(response *RenameDbfsResponse, err error)) <-chan int
RenameDbfsWithCallback invokes the dbfs.RenameDbfs API asynchronously
func (*Client) RenameDbfsWithChan ¶
func (client *Client) RenameDbfsWithChan(request *RenameDbfsRequest) (<-chan *RenameDbfsResponse, <-chan error)
RenameDbfsWithChan invokes the dbfs.RenameDbfs API asynchronously
func (*Client) ResizeDbfs ¶
func (client *Client) ResizeDbfs(request *ResizeDbfsRequest) (response *ResizeDbfsResponse, err error)
ResizeDbfs invokes the dbfs.ResizeDbfs API synchronously
func (*Client) ResizeDbfsWithCallback ¶
func (client *Client) ResizeDbfsWithCallback(request *ResizeDbfsRequest, callback func(response *ResizeDbfsResponse, err error)) <-chan int
ResizeDbfsWithCallback invokes the dbfs.ResizeDbfs API asynchronously
func (*Client) ResizeDbfsWithChan ¶
func (client *Client) ResizeDbfsWithChan(request *ResizeDbfsRequest) (<-chan *ResizeDbfsResponse, <-chan error)
ResizeDbfsWithChan invokes the dbfs.ResizeDbfs API asynchronously
func (*Client) TagDbfs ¶
func (client *Client) TagDbfs(request *TagDbfsRequest) (response *TagDbfsResponse, err error)
TagDbfs invokes the dbfs.TagDbfs API synchronously
func (*Client) TagDbfsWithCallback ¶
func (client *Client) TagDbfsWithCallback(request *TagDbfsRequest, callback func(response *TagDbfsResponse, err error)) <-chan int
TagDbfsWithCallback invokes the dbfs.TagDbfs API asynchronously
func (*Client) TagDbfsWithChan ¶
func (client *Client) TagDbfsWithChan(request *TagDbfsRequest) (<-chan *TagDbfsResponse, <-chan error)
TagDbfsWithChan invokes the dbfs.TagDbfs API asynchronously
func (*Client) UpdateDbfs ¶
func (client *Client) UpdateDbfs(request *UpdateDbfsRequest) (response *UpdateDbfsResponse, err error)
UpdateDbfs invokes the dbfs.UpdateDbfs API synchronously
func (*Client) UpdateDbfsWithCallback ¶
func (client *Client) UpdateDbfsWithCallback(request *UpdateDbfsRequest, callback func(response *UpdateDbfsResponse, err error)) <-chan int
UpdateDbfsWithCallback invokes the dbfs.UpdateDbfs API asynchronously
func (*Client) UpdateDbfsWithChan ¶
func (client *Client) UpdateDbfsWithChan(request *UpdateDbfsRequest) (<-chan *UpdateDbfsResponse, <-chan error)
UpdateDbfsWithChan invokes the dbfs.UpdateDbfs API asynchronously
type CreateAutoSnapshotPolicyRequest ¶
type CreateAutoSnapshotPolicyRequest struct { *requests.RpcRequest TimePoints *[]string `position:"Query" name:"TimePoints" type:"Json"` RepeatWeekdays *[]string `position:"Query" name:"RepeatWeekdays" type:"Json"` PolicyName string `position:"Query" name:"PolicyName"` RetentionDays requests.Integer `position:"Query" name:"RetentionDays"` }
CreateAutoSnapshotPolicyRequest is the request struct for api CreateAutoSnapshotPolicy
func CreateCreateAutoSnapshotPolicyRequest ¶
func CreateCreateAutoSnapshotPolicyRequest() (request *CreateAutoSnapshotPolicyRequest)
CreateCreateAutoSnapshotPolicyRequest creates a request to invoke CreateAutoSnapshotPolicy API
type CreateAutoSnapshotPolicyResponse ¶
type CreateAutoSnapshotPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PolicyId string `json:"PolicyId" xml:"PolicyId"` }
CreateAutoSnapshotPolicyResponse is the response struct for api CreateAutoSnapshotPolicy
func CreateCreateAutoSnapshotPolicyResponse ¶
func CreateCreateAutoSnapshotPolicyResponse() (response *CreateAutoSnapshotPolicyResponse)
CreateCreateAutoSnapshotPolicyResponse creates a response to parse from CreateAutoSnapshotPolicy response
type CreateDbfsRequest ¶
type CreateDbfsRequest struct { *requests.RpcRequest SizeG requests.Integer `position:"Query" name:"SizeG"` SnapshotId string `position:"Query" name:"SnapshotId"` ClientToken string `position:"Query" name:"ClientToken"` UsedScene string `position:"Query" name:"UsedScene"` FsName string `position:"Query" name:"FsName"` RaidStripeUnitNumber requests.Integer `position:"Query" name:"RaidStripeUnitNumber"` Encryption requests.Boolean `position:"Query" name:"Encryption"` InstanceType string `position:"Query" name:"InstanceType"` AdvancedFeatures string `position:"Query" name:"AdvancedFeatures"` PerformanceLevel string `position:"Query" name:"PerformanceLevel"` EnableRaid requests.Boolean `position:"Query" name:"EnableRaid"` DeleteSnapshot requests.Boolean `position:"Query" name:"DeleteSnapshot"` ZoneId string `position:"Query" name:"ZoneId"` Category string `position:"Query" name:"Category"` KMSKeyId string `position:"Query" name:"KMSKeyId"` }
CreateDbfsRequest is the request struct for api CreateDbfs
func CreateCreateDbfsRequest ¶
func CreateCreateDbfsRequest() (request *CreateDbfsRequest)
CreateCreateDbfsRequest creates a request to invoke CreateDbfs API
type CreateDbfsResponse ¶
type CreateDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` FsId string `json:"FsId" xml:"FsId"` }
CreateDbfsResponse is the response struct for api CreateDbfs
func CreateCreateDbfsResponse ¶
func CreateCreateDbfsResponse() (response *CreateDbfsResponse)
CreateCreateDbfsResponse creates a response to parse from CreateDbfs response
type CreateServiceLinkedRoleRequest ¶
type CreateServiceLinkedRoleRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` }
CreateServiceLinkedRoleRequest is the request struct for api CreateServiceLinkedRole
func CreateCreateServiceLinkedRoleRequest ¶
func CreateCreateServiceLinkedRoleRequest() (request *CreateServiceLinkedRoleRequest)
CreateCreateServiceLinkedRoleRequest creates a request to invoke CreateServiceLinkedRole API
type CreateServiceLinkedRoleResponse ¶
type CreateServiceLinkedRoleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateServiceLinkedRoleResponse is the response struct for api CreateServiceLinkedRole
func CreateCreateServiceLinkedRoleResponse ¶
func CreateCreateServiceLinkedRoleResponse() (response *CreateServiceLinkedRoleResponse)
CreateCreateServiceLinkedRoleResponse creates a response to parse from CreateServiceLinkedRole response
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` Description string `position:"Query" name:"Description"` SnapshotName string `position:"Query" name:"SnapshotName"` FsId string `position:"Query" name:"FsId"` RetentionDays requests.Integer `position:"Query" name:"RetentionDays"` }
CreateSnapshotRequest is the request struct for api CreateSnapshot
func CreateCreateSnapshotRequest ¶
func CreateCreateSnapshotRequest() (request *CreateSnapshotRequest)
CreateCreateSnapshotRequest creates a request to invoke CreateSnapshot API
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct { *responses.BaseResponse SnapshotId string `json:"SnapshotId" xml:"SnapshotId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateSnapshotResponse is the response struct for api CreateSnapshot
func CreateCreateSnapshotResponse ¶
func CreateCreateSnapshotResponse() (response *CreateSnapshotResponse)
CreateCreateSnapshotResponse creates a response to parse from CreateSnapshot response
type DBFSInfo ¶
type DBFSInfo struct { Category string `json:"Category" xml:"Category"` SizeG int `json:"SizeG" xml:"SizeG"` InstanceType string `json:"InstanceType" xml:"InstanceType"` LastFailed string `json:"LastFailed" xml:"LastFailed"` RegionId string `json:"RegionId" xml:"RegionId"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastUmountTime string `json:"LastUmountTime" xml:"LastUmountTime"` EnableRaid bool `json:"EnableRaid" xml:"EnableRaid"` Description string `json:"Description" xml:"Description"` FsName string `json:"FsName" xml:"FsName"` PayType string `json:"PayType" xml:"PayType"` UsedScene string `json:"UsedScene" xml:"UsedScene"` KMSKeyId string `json:"KMSKeyId" xml:"KMSKeyId"` FsId string `json:"FsId" xml:"FsId"` DBFSClusterId string `json:"DBFSClusterId" xml:"DBFSClusterId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` LastMountTime string `json:"LastMountTime" xml:"LastMountTime"` RaidStrip int `json:"RaidStrip" xml:"RaidStrip"` PerformanceLevel string `json:"PerformanceLevel" xml:"PerformanceLevel"` Status string `json:"Status" xml:"Status"` AttachNodeNumber int `json:"AttachNodeNumber" xml:"AttachNodeNumber"` Encryption bool `json:"Encryption" xml:"Encryption"` SnapshotInfo SnapshotInfo `json:"SnapshotInfo" xml:"SnapshotInfo"` EcsList []EcsListItem `json:"EcsList" xml:"EcsList"` EbsList []EbsListItem `json:"EbsList" xml:"EbsList"` Tags []TagList `json:"Tags" xml:"Tags"` }
DBFSInfo is a nested struct in dbfs response
type DBFSInfoInListDbfs ¶
type DBFSInfoInListDbfs struct {
Info []Info `json:"Info" xml:"Info"`
}
DBFSInfoInListDbfs is a nested struct in dbfs response
type Data ¶
type Data struct { PolicyId string `json:"PolicyId" xml:"PolicyId"` PolicyName string `json:"PolicyName" xml:"PolicyName"` AccountId string `json:"AccountId" xml:"AccountId"` RegionId string `json:"RegionId" xml:"RegionId"` Status string `json:"Status" xml:"Status"` StatusDetail string `json:"StatusDetail" xml:"StatusDetail"` RetentionDays int `json:"RetentionDays" xml:"RetentionDays"` AppliedDbfsNumber int `json:"AppliedDbfsNumber" xml:"AppliedDbfsNumber"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModified string `json:"LastModified" xml:"LastModified"` RepeatWeekdays []string `json:"RepeatWeekdays" xml:"RepeatWeekdays"` TimePoints []string `json:"TimePoints" xml:"TimePoints"` }
Data is a nested struct in dbfs response
type DbfsListInListAutoSnapshotPolicyAppliedDbfs ¶
type DbfsListInListAutoSnapshotPolicyAppliedDbfs struct {
DbfsListItem []DbfsListItem `json:"DbfsList" xml:"DbfsList"`
}
DbfsListInListAutoSnapshotPolicyAppliedDbfs is a nested struct in dbfs response
type DbfsListInListAutoSnapshotPolicyUnappliedDbfs ¶
type DbfsListInListAutoSnapshotPolicyUnappliedDbfs struct {
DbfsListItem []DbfsListItemInListAutoSnapshotPolicyUnappliedDbfs `json:"DbfsList" xml:"DbfsList"`
}
DbfsListInListAutoSnapshotPolicyUnappliedDbfs is a nested struct in dbfs response
type DbfsListItem ¶
type DbfsListItem struct { FsId string `json:"FsId" xml:"FsId"` FsName string `json:"FsName" xml:"FsName"` RegionId string `json:"RegionId" xml:"RegionId"` SizeG int64 `json:"SizeG" xml:"SizeG"` SnapshotCount string `json:"SnapshotCount" xml:"SnapshotCount"` TotalSize string `json:"TotalSize" xml:"TotalSize"` Status string `json:"Status" xml:"Status"` }
DbfsListItem is a nested struct in dbfs response
type DbfsListItemInListAutoSnapshotPolicyUnappliedDbfs ¶
type DbfsListItemInListAutoSnapshotPolicyUnappliedDbfs struct { FsId string `json:"FsId" xml:"FsId"` FsName string `json:"FsName" xml:"FsName"` Status string `json:"Status" xml:"Status"` SizeG int64 `json:"SizeG" xml:"SizeG"` RegionId string `json:"RegionId" xml:"RegionId"` SnapshotCount string `json:"SnapshotCount" xml:"SnapshotCount"` TotalSize int64 `json:"TotalSize" xml:"TotalSize"` }
DbfsListItemInListAutoSnapshotPolicyUnappliedDbfs is a nested struct in dbfs response
type DeleteAutoSnapshotPolicyRequest ¶
type DeleteAutoSnapshotPolicyRequest struct { *requests.RpcRequest PolicyId string `position:"Query" name:"PolicyId"` }
DeleteAutoSnapshotPolicyRequest is the request struct for api DeleteAutoSnapshotPolicy
func CreateDeleteAutoSnapshotPolicyRequest ¶
func CreateDeleteAutoSnapshotPolicyRequest() (request *DeleteAutoSnapshotPolicyRequest)
CreateDeleteAutoSnapshotPolicyRequest creates a request to invoke DeleteAutoSnapshotPolicy API
type DeleteAutoSnapshotPolicyResponse ¶
type DeleteAutoSnapshotPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteAutoSnapshotPolicyResponse is the response struct for api DeleteAutoSnapshotPolicy
func CreateDeleteAutoSnapshotPolicyResponse ¶
func CreateDeleteAutoSnapshotPolicyResponse() (response *DeleteAutoSnapshotPolicyResponse)
CreateDeleteAutoSnapshotPolicyResponse creates a response to parse from DeleteAutoSnapshotPolicy response
type DeleteDbfsRequest ¶
type DeleteDbfsRequest struct { *requests.RpcRequest FsId string `position:"Query" name:"FsId"` Force requests.Boolean `position:"Query" name:"Force"` }
DeleteDbfsRequest is the request struct for api DeleteDbfs
func CreateDeleteDbfsRequest ¶
func CreateDeleteDbfsRequest() (request *DeleteDbfsRequest)
CreateDeleteDbfsRequest creates a request to invoke DeleteDbfs API
type DeleteDbfsResponse ¶
type DeleteDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteDbfsResponse is the response struct for api DeleteDbfs
func CreateDeleteDbfsResponse ¶
func CreateDeleteDbfsResponse() (response *DeleteDbfsResponse)
CreateDeleteDbfsResponse creates a response to parse from DeleteDbfs response
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { *requests.RpcRequest SnapshotId string `position:"Query" name:"SnapshotId"` Force requests.Boolean `position:"Query" name:"Force"` }
DeleteSnapshotRequest is the request struct for api DeleteSnapshot
func CreateDeleteSnapshotRequest ¶
func CreateDeleteSnapshotRequest() (request *DeleteSnapshotRequest)
CreateDeleteSnapshotRequest creates a request to invoke DeleteSnapshot API
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteSnapshotResponse is the response struct for api DeleteSnapshot
func CreateDeleteSnapshotResponse ¶
func CreateDeleteSnapshotResponse() (response *DeleteSnapshotResponse)
CreateDeleteSnapshotResponse creates a response to parse from DeleteSnapshot response
type DeleteTagsBatchRequest ¶
type DeleteTagsBatchRequest struct { *requests.RpcRequest DbfsList string `position:"Query" name:"DbfsList"` Tags string `position:"Query" name:"Tags"` }
DeleteTagsBatchRequest is the request struct for api DeleteTagsBatch
func CreateDeleteTagsBatchRequest ¶
func CreateDeleteTagsBatchRequest() (request *DeleteTagsBatchRequest)
CreateDeleteTagsBatchRequest creates a request to invoke DeleteTagsBatch API
type DeleteTagsBatchResponse ¶
type DeleteTagsBatchResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteTagsBatchResponse is the response struct for api DeleteTagsBatch
func CreateDeleteTagsBatchResponse ¶
func CreateDeleteTagsBatchResponse() (response *DeleteTagsBatchResponse)
CreateDeleteTagsBatchResponse creates a response to parse from DeleteTagsBatch response
type DescribeDbfsSpecificationsRequest ¶
type DescribeDbfsSpecificationsRequest struct { *requests.RpcRequest EcsInstanceType string `position:"Query" name:"EcsInstanceType"` Category string `position:"Query" name:"Category"` }
DescribeDbfsSpecificationsRequest is the request struct for api DescribeDbfsSpecifications
func CreateDescribeDbfsSpecificationsRequest ¶
func CreateDescribeDbfsSpecificationsRequest() (request *DescribeDbfsSpecificationsRequest)
CreateDescribeDbfsSpecificationsRequest creates a request to invoke DescribeDbfsSpecifications API
type DescribeDbfsSpecificationsResponse ¶
type DescribeDbfsSpecificationsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MaxDbfsNumberPerEcs map[string]interface{} `json:"MaxDbfsNumberPerEcs" xml:"MaxDbfsNumberPerEcs"` SupportedEcsInstanceTypeFamily []string `json:"SupportedEcsInstanceTypeFamily" xml:"SupportedEcsInstanceTypeFamily"` }
DescribeDbfsSpecificationsResponse is the response struct for api DescribeDbfsSpecifications
func CreateDescribeDbfsSpecificationsResponse ¶
func CreateDescribeDbfsSpecificationsResponse() (response *DescribeDbfsSpecificationsResponse)
CreateDescribeDbfsSpecificationsResponse creates a response to parse from DescribeDbfsSpecifications response
type DescribeInstanceTypesRequest ¶
type DescribeInstanceTypesRequest struct {
*requests.RpcRequest
}
DescribeInstanceTypesRequest is the request struct for api DescribeInstanceTypes
func CreateDescribeInstanceTypesRequest ¶
func CreateDescribeInstanceTypesRequest() (request *DescribeInstanceTypesRequest)
CreateDescribeInstanceTypesRequest creates a request to invoke DescribeInstanceTypes API
type DescribeInstanceTypesResponse ¶
type DescribeInstanceTypesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceTypes []InstanceTypesItem `json:"InstanceTypes" xml:"InstanceTypes"` }
DescribeInstanceTypesResponse is the response struct for api DescribeInstanceTypes
func CreateDescribeInstanceTypesResponse ¶
func CreateDescribeInstanceTypesResponse() (response *DescribeInstanceTypesResponse)
CreateDescribeInstanceTypesResponse creates a response to parse from DescribeInstanceTypes response
type DetachDbfsRequest ¶
type DetachDbfsRequest struct { *requests.RpcRequest ECSInstanceId string `position:"Query" name:"ECSInstanceId"` FsId string `position:"Query" name:"FsId"` }
DetachDbfsRequest is the request struct for api DetachDbfs
func CreateDetachDbfsRequest ¶
func CreateDetachDbfsRequest() (request *DetachDbfsRequest)
CreateDetachDbfsRequest creates a request to invoke DetachDbfs API
type DetachDbfsResponse ¶
type DetachDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DetachDbfsResponse is the response struct for api DetachDbfs
func CreateDetachDbfsResponse ¶
func CreateDetachDbfsResponse() (response *DetachDbfsResponse)
CreateDetachDbfsResponse creates a response to parse from DetachDbfs response
type EbsListInGetDbfs ¶
type EbsListInGetDbfs struct {
EbsListItem []EbsListItem `json:"EbsList" xml:"EbsList"`
}
EbsListInGetDbfs is a nested struct in dbfs response
type EbsListInListDbfs ¶
type EbsListInListDbfs struct {
EbsListItem []EbsListItem `json:"EbsList" xml:"EbsList"`
}
EbsListInListDbfs is a nested struct in dbfs response
type EbsListItem ¶
type EbsListItem struct { SizeG int `json:"SizeG" xml:"SizeG"` EbsId string `json:"EbsId" xml:"EbsId"` }
EbsListItem is a nested struct in dbfs response
type EcsLabelInfoInListDbfsAttachableEcsInstances ¶
type EcsLabelInfoInListDbfsAttachableEcsInstances struct {
LabelInfo []LabelInfo `json:"LabelInfo" xml:"LabelInfo"`
}
EcsLabelInfoInListDbfsAttachableEcsInstances is a nested struct in dbfs response
type EcsLabelInfoInListDbfsAttachedEcsInstances ¶
type EcsLabelInfoInListDbfsAttachedEcsInstances struct {
LabelInfo []LabelInfo `json:"LabelInfo" xml:"LabelInfo"`
}
EcsLabelInfoInListDbfsAttachedEcsInstances is a nested struct in dbfs response
type EcsListInGetDbfs ¶
type EcsListInGetDbfs struct {
EcsListItem []EcsListItem `json:"EcsList" xml:"EcsList"`
}
EcsListInGetDbfs is a nested struct in dbfs response
type EcsListInListDbfs ¶
type EcsListInListDbfs struct {
EcsListItem []EcsListItem `json:"EcsList" xml:"EcsList"`
}
EcsListInListDbfs is a nested struct in dbfs response
type EcsListItem ¶
type EcsListItem struct {
EcsId string `json:"EcsId" xml:"EcsId"`
}
EcsListItem is a nested struct in dbfs response
type GetAutoSnapshotPolicyRequest ¶
type GetAutoSnapshotPolicyRequest struct { *requests.RpcRequest PolicyId string `position:"Query" name:"PolicyId"` }
GetAutoSnapshotPolicyRequest is the request struct for api GetAutoSnapshotPolicy
func CreateGetAutoSnapshotPolicyRequest ¶
func CreateGetAutoSnapshotPolicyRequest() (request *GetAutoSnapshotPolicyRequest)
CreateGetAutoSnapshotPolicyRequest creates a request to invoke GetAutoSnapshotPolicy API
type GetAutoSnapshotPolicyResponse ¶
type GetAutoSnapshotPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
GetAutoSnapshotPolicyResponse is the response struct for api GetAutoSnapshotPolicy
func CreateGetAutoSnapshotPolicyResponse ¶
func CreateGetAutoSnapshotPolicyResponse() (response *GetAutoSnapshotPolicyResponse)
CreateGetAutoSnapshotPolicyResponse creates a response to parse from GetAutoSnapshotPolicy response
type GetDbfsRequest ¶
type GetDbfsRequest struct { *requests.RpcRequest FsId string `position:"Query" name:"FsId"` }
GetDbfsRequest is the request struct for api GetDbfs
func CreateGetDbfsRequest ¶
func CreateGetDbfsRequest() (request *GetDbfsRequest)
CreateGetDbfsRequest creates a request to invoke GetDbfs API
type GetDbfsResponse ¶
type GetDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DBFSInfo DBFSInfo `json:"DBFSInfo" xml:"DBFSInfo"` }
GetDbfsResponse is the response struct for api GetDbfs
func CreateGetDbfsResponse ¶
func CreateGetDbfsResponse() (response *GetDbfsResponse)
CreateGetDbfsResponse creates a response to parse from GetDbfs response
type GetServiceLinkedRoleRequest ¶
type GetServiceLinkedRoleRequest struct {
*requests.RpcRequest
}
GetServiceLinkedRoleRequest is the request struct for api GetServiceLinkedRole
func CreateGetServiceLinkedRoleRequest ¶
func CreateGetServiceLinkedRoleRequest() (request *GetServiceLinkedRoleRequest)
CreateGetServiceLinkedRoleRequest creates a request to invoke GetServiceLinkedRole API
type GetServiceLinkedRoleResponse ¶
type GetServiceLinkedRoleResponse struct { *responses.BaseResponse AccountId string `json:"AccountId" xml:"AccountId"` RequestId string `json:"RequestId" xml:"RequestId"` DbfsLinkedRole bool `json:"DbfsLinkedRole" xml:"DbfsLinkedRole"` RegionId string `json:"RegionId" xml:"RegionId"` }
GetServiceLinkedRoleResponse is the response struct for api GetServiceLinkedRole
func CreateGetServiceLinkedRoleResponse ¶
func CreateGetServiceLinkedRoleResponse() (response *GetServiceLinkedRoleResponse)
CreateGetServiceLinkedRoleResponse creates a response to parse from GetServiceLinkedRole response
type Info ¶
type Info struct { Status string `json:"Status" xml:"Status"` Encryption bool `json:"Encryption" xml:"Encryption"` PayType string `json:"PayType" xml:"PayType"` FsId string `json:"FsId" xml:"FsId"` SizeG int `json:"SizeG" xml:"SizeG"` RegionId string `json:"RegionId" xml:"RegionId"` DBFSClusterId string `json:"DBFSClusterId" xml:"DBFSClusterId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` FsName string `json:"FsName" xml:"FsName"` Category string `json:"Category" xml:"Category"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` AttachNodeNumber int `json:"AttachNodeNumber" xml:"AttachNodeNumber"` KMSKeyId string `json:"KMSKeyId" xml:"KMSKeyId"` PerformanceLevel string `json:"PerformanceLevel" xml:"PerformanceLevel"` UsedScene string `json:"UsedScene" xml:"UsedScene"` LastMountTime string `json:"LastMountTime" xml:"LastMountTime"` LastUmountTime string `json:"LastUmountTime" xml:"LastUmountTime"` EnableRaid bool `json:"EnableRaid" xml:"EnableRaid"` RaidStrip int `json:"RaidStrip" xml:"RaidStrip"` InstanceType string `json:"InstanceType" xml:"InstanceType"` LastFailed string `json:"LastFailed" xml:"LastFailed"` SnapshotInfo SnapshotInfo `json:"SnapshotInfo" xml:"SnapshotInfo"` Tags []TagListInListDbfs `json:"Tags" xml:"Tags"` EcsList []EcsListItem `json:"EcsList" xml:"EcsList"` EbsList []EbsListItem `json:"EbsList" xml:"EbsList"` }
Info is a nested struct in dbfs response
type InstanceTypes ¶
type InstanceTypes struct {
InstanceTypesItem []InstanceTypesItem `json:"InstanceTypes" xml:"InstanceTypes"`
}
InstanceTypes is a nested struct in dbfs response
type InstanceTypesItem ¶
type InstanceTypesItem struct { InstanceTypeId string `json:"InstanceTypeId" xml:"InstanceTypeId"` CpuCoreCount float64 `json:"CpuCoreCount" xml:"CpuCoreCount"` MemorySize float64 `json:"MemorySize" xml:"MemorySize"` InstanceTypeDescription string `json:"InstanceTypeDescription" xml:"InstanceTypeDescription"` }
InstanceTypesItem is a nested struct in dbfs response
type LabelInfo ¶
type LabelInfo struct { Value string `json:"value" xml:"value"` ZoneId string `json:"ZoneId" xml:"ZoneId"` InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"` Label string `json:"label" xml:"label"` OSName string `json:"OSName" xml:"OSName"` MountedTime string `json:"MountedTime" xml:"MountedTime"` Status string `json:"Status" xml:"Status"` MountPoint string `json:"MountPoint" xml:"MountPoint"` }
LabelInfo is a nested struct in dbfs response
type ListAutoSnapshotPoliciesRequest ¶
type ListAutoSnapshotPoliciesRequest struct { *requests.RpcRequest FilterValue string `position:"Query" name:"FilterValue"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` FilterKey string `position:"Query" name:"FilterKey"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListAutoSnapshotPoliciesRequest is the request struct for api ListAutoSnapshotPolicies
func CreateListAutoSnapshotPoliciesRequest ¶
func CreateListAutoSnapshotPoliciesRequest() (request *ListAutoSnapshotPoliciesRequest)
CreateListAutoSnapshotPoliciesRequest creates a request to invoke ListAutoSnapshotPolicies API
type ListAutoSnapshotPoliciesResponse ¶
type ListAutoSnapshotPoliciesResponse struct { *responses.BaseResponse PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` SnapshotPolicies []SnapshotPoliciesItem `json:"SnapshotPolicies" xml:"SnapshotPolicies"` }
ListAutoSnapshotPoliciesResponse is the response struct for api ListAutoSnapshotPolicies
func CreateListAutoSnapshotPoliciesResponse ¶
func CreateListAutoSnapshotPoliciesResponse() (response *ListAutoSnapshotPoliciesResponse)
CreateListAutoSnapshotPoliciesResponse creates a response to parse from ListAutoSnapshotPolicies response
type ListAutoSnapshotPolicyAppliedDbfsRequest ¶
type ListAutoSnapshotPolicyAppliedDbfsRequest struct { *requests.RpcRequest FilterValue string `position:"Query" name:"FilterValue"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` FilterKey string `position:"Query" name:"FilterKey"` PolicyId string `position:"Query" name:"PolicyId"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListAutoSnapshotPolicyAppliedDbfsRequest is the request struct for api ListAutoSnapshotPolicyAppliedDbfs
func CreateListAutoSnapshotPolicyAppliedDbfsRequest ¶
func CreateListAutoSnapshotPolicyAppliedDbfsRequest() (request *ListAutoSnapshotPolicyAppliedDbfsRequest)
CreateListAutoSnapshotPolicyAppliedDbfsRequest creates a request to invoke ListAutoSnapshotPolicyAppliedDbfs API
type ListAutoSnapshotPolicyAppliedDbfsResponse ¶
type ListAutoSnapshotPolicyAppliedDbfsResponse struct { *responses.BaseResponse PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` DbfsList []DbfsListItem `json:"DbfsList" xml:"DbfsList"` }
ListAutoSnapshotPolicyAppliedDbfsResponse is the response struct for api ListAutoSnapshotPolicyAppliedDbfs
func CreateListAutoSnapshotPolicyAppliedDbfsResponse ¶
func CreateListAutoSnapshotPolicyAppliedDbfsResponse() (response *ListAutoSnapshotPolicyAppliedDbfsResponse)
CreateListAutoSnapshotPolicyAppliedDbfsResponse creates a response to parse from ListAutoSnapshotPolicyAppliedDbfs response
type ListAutoSnapshotPolicyUnappliedDbfsRequest ¶
type ListAutoSnapshotPolicyUnappliedDbfsRequest struct { *requests.RpcRequest FilterValue string `position:"Query" name:"FilterValue"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` FilterKey string `position:"Query" name:"FilterKey"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListAutoSnapshotPolicyUnappliedDbfsRequest is the request struct for api ListAutoSnapshotPolicyUnappliedDbfs
func CreateListAutoSnapshotPolicyUnappliedDbfsRequest ¶
func CreateListAutoSnapshotPolicyUnappliedDbfsRequest() (request *ListAutoSnapshotPolicyUnappliedDbfsRequest)
CreateListAutoSnapshotPolicyUnappliedDbfsRequest creates a request to invoke ListAutoSnapshotPolicyUnappliedDbfs API
type ListAutoSnapshotPolicyUnappliedDbfsResponse ¶
type ListAutoSnapshotPolicyUnappliedDbfsResponse struct { *responses.BaseResponse PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` DbfsList []DbfsListItemInListAutoSnapshotPolicyUnappliedDbfs `json:"DbfsList" xml:"DbfsList"` }
ListAutoSnapshotPolicyUnappliedDbfsResponse is the response struct for api ListAutoSnapshotPolicyUnappliedDbfs
func CreateListAutoSnapshotPolicyUnappliedDbfsResponse ¶
func CreateListAutoSnapshotPolicyUnappliedDbfsResponse() (response *ListAutoSnapshotPolicyUnappliedDbfsResponse)
CreateListAutoSnapshotPolicyUnappliedDbfsResponse creates a response to parse from ListAutoSnapshotPolicyUnappliedDbfs response
type ListDbfsAttachableEcsInstancesRequest ¶
type ListDbfsAttachableEcsInstancesRequest struct { *requests.RpcRequest FilterKey string `position:"Query" name:"FilterKey"` PageSize requests.Integer `position:"Query" name:"PageSize"` FilterValue string `position:"Query" name:"FilterValue"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
ListDbfsAttachableEcsInstancesRequest is the request struct for api ListDbfsAttachableEcsInstances
func CreateListDbfsAttachableEcsInstancesRequest ¶
func CreateListDbfsAttachableEcsInstancesRequest() (request *ListDbfsAttachableEcsInstancesRequest)
CreateListDbfsAttachableEcsInstancesRequest creates a request to invoke ListDbfsAttachableEcsInstances API
type ListDbfsAttachableEcsInstancesResponse ¶
type ListDbfsAttachableEcsInstancesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` EcsLabelInfo []LabelInfo `json:"EcsLabelInfo" xml:"EcsLabelInfo"` }
ListDbfsAttachableEcsInstancesResponse is the response struct for api ListDbfsAttachableEcsInstances
func CreateListDbfsAttachableEcsInstancesResponse ¶
func CreateListDbfsAttachableEcsInstancesResponse() (response *ListDbfsAttachableEcsInstancesResponse)
CreateListDbfsAttachableEcsInstancesResponse creates a response to parse from ListDbfsAttachableEcsInstances response
type ListDbfsAttachedEcsInstancesRequest ¶
type ListDbfsAttachedEcsInstancesRequest struct { *requests.RpcRequest FsId string `position:"Query" name:"FsId"` }
ListDbfsAttachedEcsInstancesRequest is the request struct for api ListDbfsAttachedEcsInstances
func CreateListDbfsAttachedEcsInstancesRequest ¶
func CreateListDbfsAttachedEcsInstancesRequest() (request *ListDbfsAttachedEcsInstancesRequest)
CreateListDbfsAttachedEcsInstancesRequest creates a request to invoke ListDbfsAttachedEcsInstances API
type ListDbfsAttachedEcsInstancesResponse ¶
type ListDbfsAttachedEcsInstancesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` EcsLabelInfo []LabelInfo `json:"EcsLabelInfo" xml:"EcsLabelInfo"` }
ListDbfsAttachedEcsInstancesResponse is the response struct for api ListDbfsAttachedEcsInstances
func CreateListDbfsAttachedEcsInstancesResponse ¶
func CreateListDbfsAttachedEcsInstancesResponse() (response *ListDbfsAttachedEcsInstancesResponse)
CreateListDbfsAttachedEcsInstancesResponse creates a response to parse from ListDbfsAttachedEcsInstances response
type ListDbfsRequest ¶
type ListDbfsRequest struct { *requests.RpcRequest SortType string `position:"Query" name:"SortType"` FilterValue string `position:"Query" name:"FilterValue"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` Tags string `position:"Query" name:"Tags"` FilterKey string `position:"Query" name:"FilterKey"` SortKey string `position:"Query" name:"SortKey"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListDbfsRequest is the request struct for api ListDbfs
func CreateListDbfsRequest ¶
func CreateListDbfsRequest() (request *ListDbfsRequest)
CreateListDbfsRequest creates a request to invoke ListDbfs API
type ListDbfsResponse ¶
type ListDbfsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` DBFSInfo []Info `json:"DBFSInfo" xml:"DBFSInfo"` }
ListDbfsResponse is the response struct for api ListDbfs
func CreateListDbfsResponse ¶
func CreateListDbfsResponse() (response *ListDbfsResponse)
CreateListDbfsResponse creates a response to parse from ListDbfs response
type ListSnapshotRequest ¶
type ListSnapshotRequest struct { *requests.RpcRequest SortType string `position:"Query" name:"SortType"` SnapshotIds string `position:"Query" name:"SnapshotIds"` FilterValue string `position:"Query" name:"FilterValue"` SnapshotName string `position:"Query" name:"SnapshotName"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` FilterKey string `position:"Query" name:"FilterKey"` SortKey string `position:"Query" name:"SortKey"` PageSize requests.Integer `position:"Query" name:"PageSize"` FsId string `position:"Query" name:"FsId"` SnapshotType string `position:"Query" name:"SnapshotType"` Status string `position:"Query" name:"Status"` }
ListSnapshotRequest is the request struct for api ListSnapshot
func CreateListSnapshotRequest ¶
func CreateListSnapshotRequest() (request *ListSnapshotRequest)
CreateListSnapshotRequest creates a request to invoke ListSnapshot API
type ListSnapshotResponse ¶
type ListSnapshotResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` Snapshots []SnapshotsItem `json:"Snapshots" xml:"Snapshots"` }
ListSnapshotResponse is the response struct for api ListSnapshot
func CreateListSnapshotResponse ¶
func CreateListSnapshotResponse() (response *ListSnapshotResponse)
CreateListSnapshotResponse creates a response to parse from ListSnapshot response
type ListTagKeysRequest ¶
type ListTagKeysRequest struct {
*requests.RpcRequest
}
ListTagKeysRequest is the request struct for api ListTagKeys
func CreateListTagKeysRequest ¶
func CreateListTagKeysRequest() (request *ListTagKeysRequest)
CreateListTagKeysRequest creates a request to invoke ListTagKeys API
type ListTagKeysResponse ¶
type ListTagKeysResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TagKeys []string `json:"TagKeys" xml:"TagKeys"` }
ListTagKeysResponse is the response struct for api ListTagKeys
func CreateListTagKeysResponse ¶
func CreateListTagKeysResponse() (response *ListTagKeysResponse)
CreateListTagKeysResponse creates a response to parse from ListTagKeys response
type ListTagValuesRequest ¶
type ListTagValuesRequest struct { *requests.RpcRequest TagKey string `position:"Query" name:"TagKey"` }
ListTagValuesRequest is the request struct for api ListTagValues
func CreateListTagValuesRequest ¶
func CreateListTagValuesRequest() (request *ListTagValuesRequest)
CreateListTagValuesRequest creates a request to invoke ListTagValues API
type ListTagValuesResponse ¶
type ListTagValuesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TagValues []string `json:"TagValues" xml:"TagValues"` }
ListTagValuesResponse is the response struct for api ListTagValues
func CreateListTagValuesResponse ¶
func CreateListTagValuesResponse() (response *ListTagValuesResponse)
CreateListTagValuesResponse creates a response to parse from ListTagValues response
type ModifyAutoSnapshotPolicyRequest ¶
type ModifyAutoSnapshotPolicyRequest struct { *requests.RpcRequest TimePoints *[]string `position:"Query" name:"TimePoints" type:"Json"` RepeatWeekdays *[]string `position:"Query" name:"RepeatWeekdays" type:"Json"` PolicyId string `position:"Query" name:"PolicyId"` PolicyName string `position:"Query" name:"PolicyName"` RetentionDays requests.Integer `position:"Query" name:"RetentionDays"` }
ModifyAutoSnapshotPolicyRequest is the request struct for api ModifyAutoSnapshotPolicy
func CreateModifyAutoSnapshotPolicyRequest ¶
func CreateModifyAutoSnapshotPolicyRequest() (request *ModifyAutoSnapshotPolicyRequest)
CreateModifyAutoSnapshotPolicyRequest creates a request to invoke ModifyAutoSnapshotPolicy API
type ModifyAutoSnapshotPolicyResponse ¶
type ModifyAutoSnapshotPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyAutoSnapshotPolicyResponse is the response struct for api ModifyAutoSnapshotPolicy
func CreateModifyAutoSnapshotPolicyResponse ¶
func CreateModifyAutoSnapshotPolicyResponse() (response *ModifyAutoSnapshotPolicyResponse)
CreateModifyAutoSnapshotPolicyResponse creates a response to parse from ModifyAutoSnapshotPolicy response
type ModifySnapshotAttributeRequest ¶
type ModifySnapshotAttributeRequest struct { *requests.RpcRequest SnapshotId string `position:"Query" name:"SnapshotId"` Description string `position:"Query" name:"Description"` SnapshotName string `position:"Query" name:"SnapshotName"` }
ModifySnapshotAttributeRequest is the request struct for api ModifySnapshotAttribute
func CreateModifySnapshotAttributeRequest ¶
func CreateModifySnapshotAttributeRequest() (request *ModifySnapshotAttributeRequest)
CreateModifySnapshotAttributeRequest creates a request to invoke ModifySnapshotAttribute API
type ModifySnapshotAttributeResponse ¶
type ModifySnapshotAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifySnapshotAttributeResponse is the response struct for api ModifySnapshotAttribute
func CreateModifySnapshotAttributeResponse ¶
func CreateModifySnapshotAttributeResponse() (response *ModifySnapshotAttributeResponse)
CreateModifySnapshotAttributeResponse creates a response to parse from ModifySnapshotAttribute response
type RenameDbfsRequest ¶
type RenameDbfsRequest struct { *requests.RpcRequest FsName string `position:"Query" name:"FsName"` FsId string `position:"Query" name:"FsId"` }
RenameDbfsRequest is the request struct for api RenameDbfs
func CreateRenameDbfsRequest ¶
func CreateRenameDbfsRequest() (request *RenameDbfsRequest)
CreateRenameDbfsRequest creates a request to invoke RenameDbfs API
type RenameDbfsResponse ¶
type RenameDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RenameDbfsResponse is the response struct for api RenameDbfs
func CreateRenameDbfsResponse ¶
func CreateRenameDbfsResponse() (response *RenameDbfsResponse)
CreateRenameDbfsResponse creates a response to parse from RenameDbfs response
type RepeatWeekdaysInGetAutoSnapshotPolicy ¶
type RepeatWeekdaysInGetAutoSnapshotPolicy struct {
RepeatWeekdays []string `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
}
RepeatWeekdaysInGetAutoSnapshotPolicy is a nested struct in dbfs response
type RepeatWeekdaysInListAutoSnapshotPolicies ¶
type RepeatWeekdaysInListAutoSnapshotPolicies struct {
RepeatWeekdays []string `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
}
RepeatWeekdaysInListAutoSnapshotPolicies is a nested struct in dbfs response
type ResizeDbfsRequest ¶
type ResizeDbfsRequest struct { *requests.RpcRequest NewSizeG requests.Integer `position:"Query" name:"NewSizeG"` FsId string `position:"Query" name:"FsId"` }
ResizeDbfsRequest is the request struct for api ResizeDbfs
func CreateResizeDbfsRequest ¶
func CreateResizeDbfsRequest() (request *ResizeDbfsRequest)
CreateResizeDbfsRequest creates a request to invoke ResizeDbfs API
type ResizeDbfsResponse ¶
type ResizeDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ResizeDbfsResponse is the response struct for api ResizeDbfs
func CreateResizeDbfsResponse ¶
func CreateResizeDbfsResponse() (response *ResizeDbfsResponse)
CreateResizeDbfsResponse creates a response to parse from ResizeDbfs response
type SnapshotInfo ¶
type SnapshotInfo struct { SnapshotCount int `json:"SnapshotCount" xml:"SnapshotCount"` LinkId string `json:"LinkId" xml:"LinkId"` PolicyId string `json:"PolicyId" xml:"PolicyId"` TotalSize int64 `json:"TotalSize" xml:"TotalSize"` }
SnapshotInfo is a nested struct in dbfs response
type SnapshotPolicies ¶
type SnapshotPolicies struct {
SnapshotPoliciesItem []SnapshotPoliciesItem `json:"SnapshotPolicies" xml:"SnapshotPolicies"`
}
SnapshotPolicies is a nested struct in dbfs response
type SnapshotPoliciesItem ¶
type SnapshotPoliciesItem struct { PolicyId string `json:"PolicyId" xml:"PolicyId"` PolicyName string `json:"PolicyName" xml:"PolicyName"` AccountId string `json:"AccountId" xml:"AccountId"` RegionId string `json:"RegionId" xml:"RegionId"` Status string `json:"Status" xml:"Status"` StatusDetail string `json:"StatusDetail" xml:"StatusDetail"` RetentionDays int `json:"RetentionDays" xml:"RetentionDays"` AppliedDbfsNumber int `json:"AppliedDbfsNumber" xml:"AppliedDbfsNumber"` CreatedTime string `json:"CreatedTime" xml:"CreatedTime"` LastModified string `json:"LastModified" xml:"LastModified"` RepeatWeekdays []string `json:"RepeatWeekdays" xml:"RepeatWeekdays"` TimePoints []string `json:"TimePoints" xml:"TimePoints"` }
SnapshotPoliciesItem is a nested struct in dbfs response
type Snapshots ¶
type Snapshots struct {
SnapshotsItem []SnapshotsItem `json:"Snapshots" xml:"Snapshots"`
}
Snapshots is a nested struct in dbfs response
type SnapshotsItem ¶
type SnapshotsItem struct { Status string `json:"Status" xml:"Status"` CreationTime string `json:"CreationTime" xml:"CreationTime"` Progress string `json:"Progress" xml:"Progress"` SourceFsSize int `json:"SourceFsSize" xml:"SourceFsSize"` RetentionDays int `json:"RetentionDays" xml:"RetentionDays"` RemainTime int `json:"RemainTime" xml:"RemainTime"` LastModifiedTime string `json:"LastModifiedTime" xml:"LastModifiedTime"` SnapshotType string `json:"SnapshotType" xml:"SnapshotType"` SnapshotName string `json:"SnapshotName" xml:"SnapshotName"` Description string `json:"Description" xml:"Description"` SourceFsId string `json:"SourceFsId" xml:"SourceFsId"` SnapshotId string `json:"SnapshotId" xml:"SnapshotId"` Category string `json:"Category" xml:"Category"` SourceFsStripeWidth int `json:"SourceFsStripeWidth" xml:"SourceFsStripeWidth"` }
SnapshotsItem is a nested struct in dbfs response
type SupportedEcsInstanceTypeFamily ¶
type SupportedEcsInstanceTypeFamily struct {
EcsInstanceTypeFamily []string `json:"EcsInstanceTypeFamily" xml:"EcsInstanceTypeFamily"`
}
SupportedEcsInstanceTypeFamily is a nested struct in dbfs response
type TagDbfsRequest ¶
type TagDbfsRequest struct { *requests.RpcRequest Tags string `position:"Query" name:"Tags"` DbfsId string `position:"Query" name:"DbfsId"` }
TagDbfsRequest is the request struct for api TagDbfs
func CreateTagDbfsRequest ¶
func CreateTagDbfsRequest() (request *TagDbfsRequest)
CreateTagDbfsRequest creates a request to invoke TagDbfs API
type TagDbfsResponse ¶
type TagDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
TagDbfsResponse is the response struct for api TagDbfs
func CreateTagDbfsResponse ¶
func CreateTagDbfsResponse() (response *TagDbfsResponse)
CreateTagDbfsResponse creates a response to parse from TagDbfs response
type TagKeys ¶
type TagKeys struct {
TagKey []string `json:"TagKey" xml:"TagKey"`
}
TagKeys is a nested struct in dbfs response
type TagList ¶
type TagList struct { Id int `json:"Id" xml:"Id"` TagValue string `json:"TagValue" xml:"TagValue"` TagKey string `json:"TagKey" xml:"TagKey"` }
TagList is a nested struct in dbfs response
type TagListInListDbfs ¶
type TagListInListDbfs struct { TagValue string `json:"TagValue" xml:"TagValue"` Id int64 `json:"Id" xml:"Id"` TagKey string `json:"TagKey" xml:"TagKey"` }
TagListInListDbfs is a nested struct in dbfs response
type TagValues ¶
type TagValues struct {
TagValue []string `json:"TagValue" xml:"TagValue"`
}
TagValues is a nested struct in dbfs response
type TagsInGetDbfs ¶
type TagsInGetDbfs struct {
TagList []TagList `json:"TagList" xml:"TagList"`
}
TagsInGetDbfs is a nested struct in dbfs response
type TagsInListDbfs ¶
type TagsInListDbfs struct {
TagList []TagListInListDbfs `json:"TagList" xml:"TagList"`
}
TagsInListDbfs is a nested struct in dbfs response
type TimePointsInGetAutoSnapshotPolicy ¶
type TimePointsInGetAutoSnapshotPolicy struct {
TimePoints []string `json:"TimePoints" xml:"TimePoints"`
}
TimePointsInGetAutoSnapshotPolicy is a nested struct in dbfs response
type TimePointsInListAutoSnapshotPolicies ¶
type TimePointsInListAutoSnapshotPolicies struct {
TimePoints []string `json:"TimePoints" xml:"TimePoints"`
}
TimePointsInListAutoSnapshotPolicies is a nested struct in dbfs response
type UpdateDbfsRequest ¶
type UpdateDbfsRequest struct { *requests.RpcRequest UsedScene string `position:"Query" name:"UsedScene"` FsId string `position:"Query" name:"FsId"` InstanceType string `position:"Query" name:"InstanceType"` AdvancedFeatures string `position:"Query" name:"AdvancedFeatures"` }
UpdateDbfsRequest is the request struct for api UpdateDbfs
func CreateUpdateDbfsRequest ¶
func CreateUpdateDbfsRequest() (request *UpdateDbfsRequest)
CreateUpdateDbfsRequest creates a request to invoke UpdateDbfs API
type UpdateDbfsResponse ¶
type UpdateDbfsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateDbfsResponse is the response struct for api UpdateDbfs
func CreateUpdateDbfsResponse ¶
func CreateUpdateDbfsResponse() (response *UpdateDbfsResponse)
CreateUpdateDbfsResponse creates a response to parse from UpdateDbfs response
Source Files ¶
- add_tags_batch.go
- apply_auto_snapshot_policy.go
- attach_dbfs.go
- cancel_auto_snapshot_policy.go
- client.go
- create_auto_snapshot_policy.go
- create_dbfs.go
- create_service_linked_role.go
- create_snapshot.go
- delete_auto_snapshot_policy.go
- delete_dbfs.go
- delete_snapshot.go
- delete_tags_batch.go
- describe_dbfs_specifications.go
- describe_instance_types.go
- detach_dbfs.go
- endpoint.go
- get_auto_snapshot_policy.go
- get_dbfs.go
- get_service_linked_role.go
- list_auto_snapshot_policies.go
- list_auto_snapshot_policy_applied_dbfs.go
- list_auto_snapshot_policy_unapplied_dbfs.go
- list_dbfs.go
- list_dbfs_attachable_ecs_instances.go
- list_dbfs_attached_ecs_instances.go
- list_snapshot.go
- list_tag_keys.go
- list_tag_values.go
- modify_auto_snapshot_policy.go
- modify_snapshot_attribute.go
- rename_dbfs.go
- resize_dbfs.go
- struct_data.go
- struct_dbfs_info.go
- struct_dbfs_info_in_list_dbfs.go
- struct_dbfs_list_in_list_auto_snapshot_policy_applied_dbfs.go
- struct_dbfs_list_in_list_auto_snapshot_policy_unapplied_dbfs.go
- struct_dbfs_list_item.go
- struct_dbfs_list_item_in_list_auto_snapshot_policy_unapplied_dbfs.go
- struct_ebs_list_in_get_dbfs.go
- struct_ebs_list_in_list_dbfs.go
- struct_ebs_list_item.go
- struct_ecs_label_info_in_list_dbfs_attachable_ecs_instances.go
- struct_ecs_label_info_in_list_dbfs_attached_ecs_instances.go
- struct_ecs_list_in_get_dbfs.go
- struct_ecs_list_in_list_dbfs.go
- struct_ecs_list_item.go
- struct_info.go
- struct_instance_types.go
- struct_instance_types_item.go
- struct_label_info.go
- struct_repeat_weekdays_in_get_auto_snapshot_policy.go
- struct_repeat_weekdays_in_list_auto_snapshot_policies.go
- struct_snapshot_info.go
- struct_snapshot_policies.go
- struct_snapshot_policies_item.go
- struct_snapshots.go
- struct_snapshots_item.go
- struct_supported_ecs_instance_type_family.go
- struct_tag_keys.go
- struct_tag_list.go
- struct_tag_list_in_list_dbfs.go
- struct_tag_values.go
- struct_tags_in_get_dbfs.go
- struct_tags_in_list_dbfs.go
- struct_time_points_in_get_auto_snapshot_policy.go
- struct_time_points_in_list_auto_snapshot_policies.go
- tag_dbfs.go
- update_dbfs.go