nas

package
v0.0.0-...-66ec9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) CreateAccessGroup

func (client *Client) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)

CreateAccessGroup invokes the nas.CreateAccessGroup API synchronously api document: https://help.aliyun.com/api/nas/createaccessgroup.html

func (*Client) CreateAccessGroupWithCallback

func (client *Client) CreateAccessGroupWithCallback(request *CreateAccessGroupRequest, callback func(response *CreateAccessGroupResponse, err error)) <-chan int

CreateAccessGroupWithCallback invokes the nas.CreateAccessGroup API asynchronously api document: https://help.aliyun.com/api/nas/createaccessgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateAccessGroupWithChan

func (client *Client) CreateAccessGroupWithChan(request *CreateAccessGroupRequest) (<-chan *CreateAccessGroupResponse, <-chan error)

CreateAccessGroupWithChan invokes the nas.CreateAccessGroup API asynchronously api document: https://help.aliyun.com/api/nas/createaccessgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateAccessRule

func (client *Client) CreateAccessRule(request *CreateAccessRuleRequest) (response *CreateAccessRuleResponse, err error)

CreateAccessRule invokes the nas.CreateAccessRule API synchronously api document: https://help.aliyun.com/api/nas/createaccessrule.html

func (*Client) CreateAccessRuleWithCallback

func (client *Client) CreateAccessRuleWithCallback(request *CreateAccessRuleRequest, callback func(response *CreateAccessRuleResponse, err error)) <-chan int

CreateAccessRuleWithCallback invokes the nas.CreateAccessRule API asynchronously api document: https://help.aliyun.com/api/nas/createaccessrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateAccessRuleWithChan

func (client *Client) CreateAccessRuleWithChan(request *CreateAccessRuleRequest) (<-chan *CreateAccessRuleResponse, <-chan error)

CreateAccessRuleWithChan invokes the nas.CreateAccessRule API asynchronously api document: https://help.aliyun.com/api/nas/createaccessrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateFileSystem

func (client *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)

CreateFileSystem invokes the nas.CreateFileSystem API synchronously api document: https://help.aliyun.com/api/nas/createfilesystem.html

func (*Client) CreateFileSystemWithCallback

func (client *Client) CreateFileSystemWithCallback(request *CreateFileSystemRequest, callback func(response *CreateFileSystemResponse, err error)) <-chan int

CreateFileSystemWithCallback invokes the nas.CreateFileSystem API asynchronously api document: https://help.aliyun.com/api/nas/createfilesystem.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateFileSystemWithChan

func (client *Client) CreateFileSystemWithChan(request *CreateFileSystemRequest) (<-chan *CreateFileSystemResponse, <-chan error)

CreateFileSystemWithChan invokes the nas.CreateFileSystem API asynchronously api document: https://help.aliyun.com/api/nas/createfilesystem.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateMountTarget

func (client *Client) CreateMountTarget(request *CreateMountTargetRequest) (response *CreateMountTargetResponse, err error)

CreateMountTarget invokes the nas.CreateMountTarget API synchronously api document: https://help.aliyun.com/api/nas/createmounttarget.html

func (*Client) CreateMountTargetWithCallback

func (client *Client) CreateMountTargetWithCallback(request *CreateMountTargetRequest, callback func(response *CreateMountTargetResponse, err error)) <-chan int

CreateMountTargetWithCallback invokes the nas.CreateMountTarget API asynchronously api document: https://help.aliyun.com/api/nas/createmounttarget.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateMountTargetWithChan

func (client *Client) CreateMountTargetWithChan(request *CreateMountTargetRequest) (<-chan *CreateMountTargetResponse, <-chan error)

CreateMountTargetWithChan invokes the nas.CreateMountTarget API asynchronously api document: https://help.aliyun.com/api/nas/createmounttarget.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateTieringJob

func (client *Client) CreateTieringJob(request *CreateTieringJobRequest) (response *CreateTieringJobResponse, err error)

CreateTieringJob invokes the nas.CreateTieringJob API synchronously api document: https://help.aliyun.com/api/nas/createtieringjob.html

func (*Client) CreateTieringJobWithCallback

func (client *Client) CreateTieringJobWithCallback(request *CreateTieringJobRequest, callback func(response *CreateTieringJobResponse, err error)) <-chan int

CreateTieringJobWithCallback invokes the nas.CreateTieringJob API asynchronously api document: https://help.aliyun.com/api/nas/createtieringjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateTieringJobWithChan

func (client *Client) CreateTieringJobWithChan(request *CreateTieringJobRequest) (<-chan *CreateTieringJobResponse, <-chan error)

CreateTieringJobWithChan invokes the nas.CreateTieringJob API asynchronously api document: https://help.aliyun.com/api/nas/createtieringjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateTieringPolicy

func (client *Client) CreateTieringPolicy(request *CreateTieringPolicyRequest) (response *CreateTieringPolicyResponse, err error)

CreateTieringPolicy invokes the nas.CreateTieringPolicy API synchronously api document: https://help.aliyun.com/api/nas/createtieringpolicy.html

func (*Client) CreateTieringPolicyWithCallback

func (client *Client) CreateTieringPolicyWithCallback(request *CreateTieringPolicyRequest, callback func(response *CreateTieringPolicyResponse, err error)) <-chan int

CreateTieringPolicyWithCallback invokes the nas.CreateTieringPolicy API asynchronously api document: https://help.aliyun.com/api/nas/createtieringpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateTieringPolicyWithChan

func (client *Client) CreateTieringPolicyWithChan(request *CreateTieringPolicyRequest) (<-chan *CreateTieringPolicyResponse, <-chan error)

CreateTieringPolicyWithChan invokes the nas.CreateTieringPolicy API asynchronously api document: https://help.aliyun.com/api/nas/createtieringpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteAccessGroup

func (client *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)

DeleteAccessGroup invokes the nas.DeleteAccessGroup API synchronously api document: https://help.aliyun.com/api/nas/deleteaccessgroup.html

func (*Client) DeleteAccessGroupWithCallback

func (client *Client) DeleteAccessGroupWithCallback(request *DeleteAccessGroupRequest, callback func(response *DeleteAccessGroupResponse, err error)) <-chan int

DeleteAccessGroupWithCallback invokes the nas.DeleteAccessGroup API asynchronously api document: https://help.aliyun.com/api/nas/deleteaccessgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteAccessGroupWithChan

func (client *Client) DeleteAccessGroupWithChan(request *DeleteAccessGroupRequest) (<-chan *DeleteAccessGroupResponse, <-chan error)

DeleteAccessGroupWithChan invokes the nas.DeleteAccessGroup API asynchronously api document: https://help.aliyun.com/api/nas/deleteaccessgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteAccessRule

func (client *Client) DeleteAccessRule(request *DeleteAccessRuleRequest) (response *DeleteAccessRuleResponse, err error)

DeleteAccessRule invokes the nas.DeleteAccessRule API synchronously api document: https://help.aliyun.com/api/nas/deleteaccessrule.html

func (*Client) DeleteAccessRuleWithCallback

func (client *Client) DeleteAccessRuleWithCallback(request *DeleteAccessRuleRequest, callback func(response *DeleteAccessRuleResponse, err error)) <-chan int

DeleteAccessRuleWithCallback invokes the nas.DeleteAccessRule API asynchronously api document: https://help.aliyun.com/api/nas/deleteaccessrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteAccessRuleWithChan

func (client *Client) DeleteAccessRuleWithChan(request *DeleteAccessRuleRequest) (<-chan *DeleteAccessRuleResponse, <-chan error)

DeleteAccessRuleWithChan invokes the nas.DeleteAccessRule API asynchronously api document: https://help.aliyun.com/api/nas/deleteaccessrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFileSystem

func (client *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)

DeleteFileSystem invokes the nas.DeleteFileSystem API synchronously api document: https://help.aliyun.com/api/nas/deletefilesystem.html

func (*Client) DeleteFileSystemWithCallback

func (client *Client) DeleteFileSystemWithCallback(request *DeleteFileSystemRequest, callback func(response *DeleteFileSystemResponse, err error)) <-chan int

DeleteFileSystemWithCallback invokes the nas.DeleteFileSystem API asynchronously api document: https://help.aliyun.com/api/nas/deletefilesystem.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFileSystemWithChan

func (client *Client) DeleteFileSystemWithChan(request *DeleteFileSystemRequest) (<-chan *DeleteFileSystemResponse, <-chan error)

DeleteFileSystemWithChan invokes the nas.DeleteFileSystem API asynchronously api document: https://help.aliyun.com/api/nas/deletefilesystem.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteMountTarget

func (client *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)

DeleteMountTarget invokes the nas.DeleteMountTarget API synchronously api document: https://help.aliyun.com/api/nas/deletemounttarget.html

func (*Client) DeleteMountTargetWithCallback

func (client *Client) DeleteMountTargetWithCallback(request *DeleteMountTargetRequest, callback func(response *DeleteMountTargetResponse, err error)) <-chan int

DeleteMountTargetWithCallback invokes the nas.DeleteMountTarget API asynchronously api document: https://help.aliyun.com/api/nas/deletemounttarget.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteMountTargetWithChan

func (client *Client) DeleteMountTargetWithChan(request *DeleteMountTargetRequest) (<-chan *DeleteMountTargetResponse, <-chan error)

DeleteMountTargetWithChan invokes the nas.DeleteMountTarget API asynchronously api document: https://help.aliyun.com/api/nas/deletemounttarget.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteTieringJob

func (client *Client) DeleteTieringJob(request *DeleteTieringJobRequest) (response *DeleteTieringJobResponse, err error)

DeleteTieringJob invokes the nas.DeleteTieringJob API synchronously api document: https://help.aliyun.com/api/nas/deletetieringjob.html

func (*Client) DeleteTieringJobWithCallback

func (client *Client) DeleteTieringJobWithCallback(request *DeleteTieringJobRequest, callback func(response *DeleteTieringJobResponse, err error)) <-chan int

DeleteTieringJobWithCallback invokes the nas.DeleteTieringJob API asynchronously api document: https://help.aliyun.com/api/nas/deletetieringjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteTieringJobWithChan

func (client *Client) DeleteTieringJobWithChan(request *DeleteTieringJobRequest) (<-chan *DeleteTieringJobResponse, <-chan error)

DeleteTieringJobWithChan invokes the nas.DeleteTieringJob API asynchronously api document: https://help.aliyun.com/api/nas/deletetieringjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteTieringPolicy

func (client *Client) DeleteTieringPolicy(request *DeleteTieringPolicyRequest) (response *DeleteTieringPolicyResponse, err error)

DeleteTieringPolicy invokes the nas.DeleteTieringPolicy API synchronously api document: https://help.aliyun.com/api/nas/deletetieringpolicy.html

func (*Client) DeleteTieringPolicyWithCallback

func (client *Client) DeleteTieringPolicyWithCallback(request *DeleteTieringPolicyRequest, callback func(response *DeleteTieringPolicyResponse, err error)) <-chan int

DeleteTieringPolicyWithCallback invokes the nas.DeleteTieringPolicy API asynchronously api document: https://help.aliyun.com/api/nas/deletetieringpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteTieringPolicyWithChan

func (client *Client) DeleteTieringPolicyWithChan(request *DeleteTieringPolicyRequest) (<-chan *DeleteTieringPolicyResponse, <-chan error)

DeleteTieringPolicyWithChan invokes the nas.DeleteTieringPolicy API asynchronously api document: https://help.aliyun.com/api/nas/deletetieringpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccessGroups

func (client *Client) DescribeAccessGroups(request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)

DescribeAccessGroups invokes the nas.DescribeAccessGroups API synchronously api document: https://help.aliyun.com/api/nas/describeaccessgroups.html

func (*Client) DescribeAccessGroupsWithCallback

func (client *Client) DescribeAccessGroupsWithCallback(request *DescribeAccessGroupsRequest, callback func(response *DescribeAccessGroupsResponse, err error)) <-chan int

DescribeAccessGroupsWithCallback invokes the nas.DescribeAccessGroups API asynchronously api document: https://help.aliyun.com/api/nas/describeaccessgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccessGroupsWithChan

func (client *Client) DescribeAccessGroupsWithChan(request *DescribeAccessGroupsRequest) (<-chan *DescribeAccessGroupsResponse, <-chan error)

DescribeAccessGroupsWithChan invokes the nas.DescribeAccessGroups API asynchronously api document: https://help.aliyun.com/api/nas/describeaccessgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccessRules

func (client *Client) DescribeAccessRules(request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)

DescribeAccessRules invokes the nas.DescribeAccessRules API synchronously api document: https://help.aliyun.com/api/nas/describeaccessrules.html

func (*Client) DescribeAccessRulesWithCallback

func (client *Client) DescribeAccessRulesWithCallback(request *DescribeAccessRulesRequest, callback func(response *DescribeAccessRulesResponse, err error)) <-chan int

DescribeAccessRulesWithCallback invokes the nas.DescribeAccessRules API asynchronously api document: https://help.aliyun.com/api/nas/describeaccessrules.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccessRulesWithChan

func (client *Client) DescribeAccessRulesWithChan(request *DescribeAccessRulesRequest) (<-chan *DescribeAccessRulesResponse, <-chan error)

DescribeAccessRulesWithChan invokes the nas.DescribeAccessRules API asynchronously api document: https://help.aliyun.com/api/nas/describeaccessrules.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeFileSystems

func (client *Client) DescribeFileSystems(request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)

DescribeFileSystems invokes the nas.DescribeFileSystems API synchronously api document: https://help.aliyun.com/api/nas/describefilesystems.html

func (*Client) DescribeFileSystemsWithCallback

func (client *Client) DescribeFileSystemsWithCallback(request *DescribeFileSystemsRequest, callback func(response *DescribeFileSystemsResponse, err error)) <-chan int

DescribeFileSystemsWithCallback invokes the nas.DescribeFileSystems API asynchronously api document: https://help.aliyun.com/api/nas/describefilesystems.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeFileSystemsWithChan

func (client *Client) DescribeFileSystemsWithChan(request *DescribeFileSystemsRequest) (<-chan *DescribeFileSystemsResponse, <-chan error)

DescribeFileSystemsWithChan invokes the nas.DescribeFileSystems API asynchronously api document: https://help.aliyun.com/api/nas/describefilesystems.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeMountTargets

func (client *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)

DescribeMountTargets invokes the nas.DescribeMountTargets API synchronously api document: https://help.aliyun.com/api/nas/describemounttargets.html

func (*Client) DescribeMountTargetsWithCallback

func (client *Client) DescribeMountTargetsWithCallback(request *DescribeMountTargetsRequest, callback func(response *DescribeMountTargetsResponse, err error)) <-chan int

DescribeMountTargetsWithCallback invokes the nas.DescribeMountTargets API asynchronously api document: https://help.aliyun.com/api/nas/describemounttargets.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeMountTargetsWithChan

func (client *Client) DescribeMountTargetsWithChan(request *DescribeMountTargetsRequest) (<-chan *DescribeMountTargetsResponse, <-chan error)

DescribeMountTargetsWithChan invokes the nas.DescribeMountTargets API asynchronously api document: https://help.aliyun.com/api/nas/describemounttargets.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the nas.DescribeRegions API synchronously api document: https://help.aliyun.com/api/nas/describeregions.html

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the nas.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/nas/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the nas.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/nas/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTieringJobs

func (client *Client) DescribeTieringJobs(request *DescribeTieringJobsRequest) (response *DescribeTieringJobsResponse, err error)

DescribeTieringJobs invokes the nas.DescribeTieringJobs API synchronously api document: https://help.aliyun.com/api/nas/describetieringjobs.html

func (*Client) DescribeTieringJobsWithCallback

func (client *Client) DescribeTieringJobsWithCallback(request *DescribeTieringJobsRequest, callback func(response *DescribeTieringJobsResponse, err error)) <-chan int

DescribeTieringJobsWithCallback invokes the nas.DescribeTieringJobs API asynchronously api document: https://help.aliyun.com/api/nas/describetieringjobs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTieringJobsWithChan

func (client *Client) DescribeTieringJobsWithChan(request *DescribeTieringJobsRequest) (<-chan *DescribeTieringJobsResponse, <-chan error)

DescribeTieringJobsWithChan invokes the nas.DescribeTieringJobs API asynchronously api document: https://help.aliyun.com/api/nas/describetieringjobs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTieringPolicies

func (client *Client) DescribeTieringPolicies(request *DescribeTieringPoliciesRequest) (response *DescribeTieringPoliciesResponse, err error)

DescribeTieringPolicies invokes the nas.DescribeTieringPolicies API synchronously api document: https://help.aliyun.com/api/nas/describetieringpolicies.html

func (*Client) DescribeTieringPoliciesWithCallback

func (client *Client) DescribeTieringPoliciesWithCallback(request *DescribeTieringPoliciesRequest, callback func(response *DescribeTieringPoliciesResponse, err error)) <-chan int

DescribeTieringPoliciesWithCallback invokes the nas.DescribeTieringPolicies API asynchronously api document: https://help.aliyun.com/api/nas/describetieringpolicies.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTieringPoliciesWithChan

func (client *Client) DescribeTieringPoliciesWithChan(request *DescribeTieringPoliciesRequest) (<-chan *DescribeTieringPoliciesResponse, <-chan error)

DescribeTieringPoliciesWithChan invokes the nas.DescribeTieringPolicies API asynchronously api document: https://help.aliyun.com/api/nas/describetieringpolicies.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeZones

func (client *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones invokes the nas.DescribeZones API synchronously api document: https://help.aliyun.com/api/nas/describezones.html

func (*Client) DescribeZonesWithCallback

func (client *Client) DescribeZonesWithCallback(request *DescribeZonesRequest, callback func(response *DescribeZonesResponse, err error)) <-chan int

DescribeZonesWithCallback invokes the nas.DescribeZones API asynchronously api document: https://help.aliyun.com/api/nas/describezones.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeZonesWithChan

func (client *Client) DescribeZonesWithChan(request *DescribeZonesRequest) (<-chan *DescribeZonesResponse, <-chan error)

DescribeZonesWithChan invokes the nas.DescribeZones API asynchronously api document: https://help.aliyun.com/api/nas/describezones.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyAccessGroup

func (client *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)

ModifyAccessGroup invokes the nas.ModifyAccessGroup API synchronously api document: https://help.aliyun.com/api/nas/modifyaccessgroup.html

func (*Client) ModifyAccessGroupWithCallback

func (client *Client) ModifyAccessGroupWithCallback(request *ModifyAccessGroupRequest, callback func(response *ModifyAccessGroupResponse, err error)) <-chan int

ModifyAccessGroupWithCallback invokes the nas.ModifyAccessGroup API asynchronously api document: https://help.aliyun.com/api/nas/modifyaccessgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyAccessGroupWithChan

func (client *Client) ModifyAccessGroupWithChan(request *ModifyAccessGroupRequest) (<-chan *ModifyAccessGroupResponse, <-chan error)

ModifyAccessGroupWithChan invokes the nas.ModifyAccessGroup API asynchronously api document: https://help.aliyun.com/api/nas/modifyaccessgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyAccessRule

func (client *Client) ModifyAccessRule(request *ModifyAccessRuleRequest) (response *ModifyAccessRuleResponse, err error)

ModifyAccessRule invokes the nas.ModifyAccessRule API synchronously api document: https://help.aliyun.com/api/nas/modifyaccessrule.html

func (*Client) ModifyAccessRuleWithCallback

func (client *Client) ModifyAccessRuleWithCallback(request *ModifyAccessRuleRequest, callback func(response *ModifyAccessRuleResponse, err error)) <-chan int

ModifyAccessRuleWithCallback invokes the nas.ModifyAccessRule API asynchronously api document: https://help.aliyun.com/api/nas/modifyaccessrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyAccessRuleWithChan

func (client *Client) ModifyAccessRuleWithChan(request *ModifyAccessRuleRequest) (<-chan *ModifyAccessRuleResponse, <-chan error)

ModifyAccessRuleWithChan invokes the nas.ModifyAccessRule API asynchronously api document: https://help.aliyun.com/api/nas/modifyaccessrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyFileSystem

func (client *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)

ModifyFileSystem invokes the nas.ModifyFileSystem API synchronously api document: https://help.aliyun.com/api/nas/modifyfilesystem.html

func (*Client) ModifyFileSystemWithCallback

func (client *Client) ModifyFileSystemWithCallback(request *ModifyFileSystemRequest, callback func(response *ModifyFileSystemResponse, err error)) <-chan int

ModifyFileSystemWithCallback invokes the nas.ModifyFileSystem API asynchronously api document: https://help.aliyun.com/api/nas/modifyfilesystem.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyFileSystemWithChan

func (client *Client) ModifyFileSystemWithChan(request *ModifyFileSystemRequest) (<-chan *ModifyFileSystemResponse, <-chan error)

ModifyFileSystemWithChan invokes the nas.ModifyFileSystem API asynchronously api document: https://help.aliyun.com/api/nas/modifyfilesystem.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyMountTarget

func (client *Client) ModifyMountTarget(request *ModifyMountTargetRequest) (response *ModifyMountTargetResponse, err error)

ModifyMountTarget invokes the nas.ModifyMountTarget API synchronously api document: https://help.aliyun.com/api/nas/modifymounttarget.html

func (*Client) ModifyMountTargetWithCallback

func (client *Client) ModifyMountTargetWithCallback(request *ModifyMountTargetRequest, callback func(response *ModifyMountTargetResponse, err error)) <-chan int

ModifyMountTargetWithCallback invokes the nas.ModifyMountTarget API asynchronously api document: https://help.aliyun.com/api/nas/modifymounttarget.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyMountTargetWithChan

func (client *Client) ModifyMountTargetWithChan(request *ModifyMountTargetRequest) (<-chan *ModifyMountTargetResponse, <-chan error)

ModifyMountTargetWithChan invokes the nas.ModifyMountTarget API asynchronously api document: https://help.aliyun.com/api/nas/modifymounttarget.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyTieringJob

func (client *Client) ModifyTieringJob(request *ModifyTieringJobRequest) (response *ModifyTieringJobResponse, err error)

ModifyTieringJob invokes the nas.ModifyTieringJob API synchronously api document: https://help.aliyun.com/api/nas/modifytieringjob.html

func (*Client) ModifyTieringJobWithCallback

func (client *Client) ModifyTieringJobWithCallback(request *ModifyTieringJobRequest, callback func(response *ModifyTieringJobResponse, err error)) <-chan int

ModifyTieringJobWithCallback invokes the nas.ModifyTieringJob API asynchronously api document: https://help.aliyun.com/api/nas/modifytieringjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyTieringJobWithChan

func (client *Client) ModifyTieringJobWithChan(request *ModifyTieringJobRequest) (<-chan *ModifyTieringJobResponse, <-chan error)

ModifyTieringJobWithChan invokes the nas.ModifyTieringJob API asynchronously api document: https://help.aliyun.com/api/nas/modifytieringjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyTieringPolicy

func (client *Client) ModifyTieringPolicy(request *ModifyTieringPolicyRequest) (response *ModifyTieringPolicyResponse, err error)

ModifyTieringPolicy invokes the nas.ModifyTieringPolicy API synchronously api document: https://help.aliyun.com/api/nas/modifytieringpolicy.html

func (*Client) ModifyTieringPolicyWithCallback

func (client *Client) ModifyTieringPolicyWithCallback(request *ModifyTieringPolicyRequest, callback func(response *ModifyTieringPolicyResponse, err error)) <-chan int

ModifyTieringPolicyWithCallback invokes the nas.ModifyTieringPolicy API asynchronously api document: https://help.aliyun.com/api/nas/modifytieringpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyTieringPolicyWithChan

func (client *Client) ModifyTieringPolicyWithChan(request *ModifyTieringPolicyRequest) (<-chan *ModifyTieringPolicyResponse, <-chan error)

ModifyTieringPolicyWithChan invokes the nas.ModifyTieringPolicy API asynchronously api document: https://help.aliyun.com/api/nas/modifytieringpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type CreateAccessGroupRequest

type CreateAccessGroupRequest struct {
	*requests.RpcRequest
	AccessGroupName string `position:"Query" name:"AccessGroupName"`
	AccessGroupType string `position:"Query" name:"AccessGroupType"`
	Description     string `position:"Query" name:"Description"`
}

CreateAccessGroupRequest is the request struct for api CreateAccessGroup

func CreateCreateAccessGroupRequest

func CreateCreateAccessGroupRequest() (request *CreateAccessGroupRequest)

CreateCreateAccessGroupRequest creates a request to invoke CreateAccessGroup API

type CreateAccessGroupResponse

type CreateAccessGroupResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	AccessGroupName string `json:"AccessGroupName" xml:"AccessGroupName"`
}

CreateAccessGroupResponse is the response struct for api CreateAccessGroup

func CreateCreateAccessGroupResponse

func CreateCreateAccessGroupResponse() (response *CreateAccessGroupResponse)

CreateCreateAccessGroupResponse creates a response to parse from CreateAccessGroup response

type CreateAccessRuleRequest

type CreateAccessRuleRequest struct {
	*requests.RpcRequest
	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
	SourceCidrIp    string           `position:"Query" name:"SourceCidrIp"`
	RWAccessType    string           `position:"Query" name:"RWAccessType"`
	UserAccessType  string           `position:"Query" name:"UserAccessType"`
	Priority        requests.Integer `position:"Query" name:"Priority"`
}

CreateAccessRuleRequest is the request struct for api CreateAccessRule

func CreateCreateAccessRuleRequest

func CreateCreateAccessRuleRequest() (request *CreateAccessRuleRequest)

CreateCreateAccessRuleRequest creates a request to invoke CreateAccessRule API

type CreateAccessRuleResponse

type CreateAccessRuleResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	AccessRuleId string `json:"AccessRuleId" xml:"AccessRuleId"`
}

CreateAccessRuleResponse is the response struct for api CreateAccessRule

func CreateCreateAccessRuleResponse

func CreateCreateAccessRuleResponse() (response *CreateAccessRuleResponse)

CreateCreateAccessRuleResponse creates a response to parse from CreateAccessRule response

type CreateFileSystemRequest

type CreateFileSystemRequest struct {
	*requests.RpcRequest
	StorageType  string `position:"Query" name:"StorageType"`
	ProtocolType string `position:"Query" name:"ProtocolType"`
	Description  string `position:"Query" name:"Description"`
}

CreateFileSystemRequest is the request struct for api CreateFileSystem

func CreateCreateFileSystemRequest

func CreateCreateFileSystemRequest() (request *CreateFileSystemRequest)

CreateCreateFileSystemRequest creates a request to invoke CreateFileSystem API

type CreateFileSystemResponse

type CreateFileSystemResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	FileSystemId string `json:"FileSystemId" xml:"FileSystemId"`
}

CreateFileSystemResponse is the response struct for api CreateFileSystem

func CreateCreateFileSystemResponse

func CreateCreateFileSystemResponse() (response *CreateFileSystemResponse)

CreateCreateFileSystemResponse creates a response to parse from CreateFileSystem response

type CreateMountTargetRequest

type CreateMountTargetRequest struct {
	*requests.RpcRequest
	FileSystemId    string `position:"Query" name:"FileSystemId"`
	AccessGroupName string `position:"Query" name:"AccessGroupName"`
	NetworkType     string `position:"Query" name:"NetworkType"`
	VpcId           string `position:"Query" name:"VpcId"`
	VSwitchId       string `position:"Query" name:"VSwitchId"`
}

CreateMountTargetRequest is the request struct for api CreateMountTarget

func CreateCreateMountTargetRequest

func CreateCreateMountTargetRequest() (request *CreateMountTargetRequest)

CreateCreateMountTargetRequest creates a request to invoke CreateMountTarget API

type CreateMountTargetResponse

type CreateMountTargetResponse struct {
	*responses.BaseResponse
	RequestId         string `json:"RequestId" xml:"RequestId"`
	MountTargetDomain string `json:"MountTargetDomain" xml:"MountTargetDomain"`
}

CreateMountTargetResponse is the response struct for api CreateMountTarget

func CreateCreateMountTargetResponse

func CreateCreateMountTargetResponse() (response *CreateMountTargetResponse)

CreateCreateMountTargetResponse creates a response to parse from CreateMountTarget response

type CreateTieringJobRequest

type CreateTieringJobRequest struct {
	*requests.RpcRequest
	Volume    string           `position:"Query" name:"Volume"`
	Name      string           `position:"Query" name:"Name"`
	Type      string           `position:"Query" name:"Type"`
	Path      string           `position:"Query" name:"Path"`
	Recursive requests.Boolean `position:"Query" name:"Recursive"`
	Policy    string           `position:"Query" name:"Policy"`
	Weekday   requests.Integer `position:"Query" name:"Weekday"`
	Hour      requests.Integer `position:"Query" name:"Hour"`
	Enabled   requests.Boolean `position:"Query" name:"Enabled"`
}

CreateTieringJobRequest is the request struct for api CreateTieringJob

func CreateCreateTieringJobRequest

func CreateCreateTieringJobRequest() (request *CreateTieringJobRequest)

CreateCreateTieringJobRequest creates a request to invoke CreateTieringJob API

type CreateTieringJobResponse

type CreateTieringJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CreateTieringJobResponse is the response struct for api CreateTieringJob

func CreateCreateTieringJobResponse

func CreateCreateTieringJobResponse() (response *CreateTieringJobResponse)

CreateCreateTieringJobResponse creates a response to parse from CreateTieringJob response

type CreateTieringPolicyRequest

type CreateTieringPolicyRequest struct {
	*requests.RpcRequest
	Name        string           `position:"Query" name:"Name"`
	Description string           `position:"Query" name:"Description"`
	Mtime       requests.Integer `position:"Query" name:"Mtime"`
	Atime       requests.Integer `position:"Query" name:"Atime"`
	Ctime       requests.Integer `position:"Query" name:"Ctime"`
	Size        requests.Integer `position:"Query" name:"Size"`
	FileName    string           `position:"Query" name:"FileName"`
	RecallTime  requests.Integer `position:"Query" name:"RecallTime"`
	CheckLimit  requests.Boolean `position:"Query" name:"CheckLimit"`
}

CreateTieringPolicyRequest is the request struct for api CreateTieringPolicy

func CreateCreateTieringPolicyRequest

func CreateCreateTieringPolicyRequest() (request *CreateTieringPolicyRequest)

CreateCreateTieringPolicyRequest creates a request to invoke CreateTieringPolicy API

type CreateTieringPolicyResponse

type CreateTieringPolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CreateTieringPolicyResponse is the response struct for api CreateTieringPolicy

func CreateCreateTieringPolicyResponse

func CreateCreateTieringPolicyResponse() (response *CreateTieringPolicyResponse)

CreateCreateTieringPolicyResponse creates a response to parse from CreateTieringPolicy response

type DeleteAccessGroupRequest

type DeleteAccessGroupRequest struct {
	*requests.RpcRequest
	AccessGroupName string `position:"Query" name:"AccessGroupName"`
}

DeleteAccessGroupRequest is the request struct for api DeleteAccessGroup

func CreateDeleteAccessGroupRequest

func CreateDeleteAccessGroupRequest() (request *DeleteAccessGroupRequest)

CreateDeleteAccessGroupRequest creates a request to invoke DeleteAccessGroup API

type DeleteAccessGroupResponse

type DeleteAccessGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteAccessGroupResponse is the response struct for api DeleteAccessGroup

func CreateDeleteAccessGroupResponse

func CreateDeleteAccessGroupResponse() (response *DeleteAccessGroupResponse)

CreateDeleteAccessGroupResponse creates a response to parse from DeleteAccessGroup response

type DeleteAccessRuleRequest

type DeleteAccessRuleRequest struct {
	*requests.RpcRequest
	AccessGroupName string `position:"Query" name:"AccessGroupName"`
	AccessRuleId    string `position:"Query" name:"AccessRuleId"`
}

DeleteAccessRuleRequest is the request struct for api DeleteAccessRule

func CreateDeleteAccessRuleRequest

func CreateDeleteAccessRuleRequest() (request *DeleteAccessRuleRequest)

CreateDeleteAccessRuleRequest creates a request to invoke DeleteAccessRule API

type DeleteAccessRuleResponse

type DeleteAccessRuleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteAccessRuleResponse is the response struct for api DeleteAccessRule

func CreateDeleteAccessRuleResponse

func CreateDeleteAccessRuleResponse() (response *DeleteAccessRuleResponse)

CreateDeleteAccessRuleResponse creates a response to parse from DeleteAccessRule response

type DeleteFileSystemRequest

type DeleteFileSystemRequest struct {
	*requests.RpcRequest
	FileSystemId string `position:"Query" name:"FileSystemId"`
}

DeleteFileSystemRequest is the request struct for api DeleteFileSystem

func CreateDeleteFileSystemRequest

func CreateDeleteFileSystemRequest() (request *DeleteFileSystemRequest)

CreateDeleteFileSystemRequest creates a request to invoke DeleteFileSystem API

type DeleteFileSystemResponse

type DeleteFileSystemResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteFileSystemResponse is the response struct for api DeleteFileSystem

func CreateDeleteFileSystemResponse

func CreateDeleteFileSystemResponse() (response *DeleteFileSystemResponse)

CreateDeleteFileSystemResponse creates a response to parse from DeleteFileSystem response

type DeleteMountTargetRequest

type DeleteMountTargetRequest struct {
	*requests.RpcRequest
	FileSystemId      string `position:"Query" name:"FileSystemId"`
	MountTargetDomain string `position:"Query" name:"MountTargetDomain"`
}

DeleteMountTargetRequest is the request struct for api DeleteMountTarget

func CreateDeleteMountTargetRequest

func CreateDeleteMountTargetRequest() (request *DeleteMountTargetRequest)

CreateDeleteMountTargetRequest creates a request to invoke DeleteMountTarget API

type DeleteMountTargetResponse

type DeleteMountTargetResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteMountTargetResponse is the response struct for api DeleteMountTarget

func CreateDeleteMountTargetResponse

func CreateDeleteMountTargetResponse() (response *DeleteMountTargetResponse)

CreateDeleteMountTargetResponse creates a response to parse from DeleteMountTarget response

type DeleteTieringJobRequest

type DeleteTieringJobRequest struct {
	*requests.RpcRequest
	Volume string `position:"Query" name:"Volume"`
	Name   string `position:"Query" name:"Name"`
}

DeleteTieringJobRequest is the request struct for api DeleteTieringJob

func CreateDeleteTieringJobRequest

func CreateDeleteTieringJobRequest() (request *DeleteTieringJobRequest)

CreateDeleteTieringJobRequest creates a request to invoke DeleteTieringJob API

type DeleteTieringJobResponse

type DeleteTieringJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteTieringJobResponse is the response struct for api DeleteTieringJob

func CreateDeleteTieringJobResponse

func CreateDeleteTieringJobResponse() (response *DeleteTieringJobResponse)

CreateDeleteTieringJobResponse creates a response to parse from DeleteTieringJob response

type DeleteTieringPolicyRequest

type DeleteTieringPolicyRequest struct {
	*requests.RpcRequest
	Name string `position:"Query" name:"Name"`
}

DeleteTieringPolicyRequest is the request struct for api DeleteTieringPolicy

func CreateDeleteTieringPolicyRequest

func CreateDeleteTieringPolicyRequest() (request *DeleteTieringPolicyRequest)

CreateDeleteTieringPolicyRequest creates a request to invoke DeleteTieringPolicy API

type DeleteTieringPolicyResponse

type DeleteTieringPolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteTieringPolicyResponse is the response struct for api DeleteTieringPolicy

func CreateDeleteTieringPolicyResponse

func CreateDeleteTieringPolicyResponse() (response *DeleteTieringPolicyResponse)

CreateDeleteTieringPolicyResponse creates a response to parse from DeleteTieringPolicy response

type DescribeAccessGroupsAccessGroup1

type DescribeAccessGroupsAccessGroup1 struct {
	AccessGroupName  string `json:"AccessGroupName" xml:"AccessGroupName"`
	AccessGroupType  string `json:"AccessGroupType" xml:"AccessGroupType"`
	RuleCount        int    `json:"RuleCount" xml:"RuleCount"`
	MountTargetCount int    `json:"MountTargetCount" xml:"MountTargetCount"`
	Description      string `json:"Description" xml:"Description"`
}

type DescribeAccessGroupsAccessGroups0

type DescribeAccessGroupsAccessGroups0 struct {
	AccessGroup []DescribeAccessGroupsAccessGroup1 `json:"AccessGroup" xml:"AccessGroup"`
}

type DescribeAccessGroupsRequest

type DescribeAccessGroupsRequest struct {
	*requests.RpcRequest
	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
}

DescribeAccessGroupsRequest is the request struct for api DescribeAccessGroups

func CreateDescribeAccessGroupsRequest

func CreateDescribeAccessGroupsRequest() (request *DescribeAccessGroupsRequest)

CreateDescribeAccessGroupsRequest creates a request to invoke DescribeAccessGroups API

type DescribeAccessGroupsResponse

type DescribeAccessGroupsResponse struct {
	*responses.BaseResponse
	RequestId    string                            `json:"RequestId" xml:"RequestId"`
	TotalCount   int                               `json:"TotalCount" xml:"TotalCount"`
	PageSize     int                               `json:"PageSize" xml:"PageSize"`
	PageNumber   int                               `json:"PageNumber" xml:"PageNumber"`
	AccessGroups DescribeAccessGroupsAccessGroups0 `json:"AccessGroups" xml:"AccessGroups"`
}

DescribeAccessGroupsResponse is the response struct for api DescribeAccessGroups

func CreateDescribeAccessGroupsResponse

func CreateDescribeAccessGroupsResponse() (response *DescribeAccessGroupsResponse)

CreateDescribeAccessGroupsResponse creates a response to parse from DescribeAccessGroups response

type DescribeAccessRulesAccessRule1

type DescribeAccessRulesAccessRule1 struct {
	SourceCidrIp string `json:"SourceCidrIp" xml:"SourceCidrIp"`
	Priority     int    `json:"Priority" xml:"Priority"`
	AccessRuleId string `json:"AccessRuleId" xml:"AccessRuleId"`
	RWAccess     string `json:"RWAccess" xml:"RWAccess"`
	UserAccess   string `json:"UserAccess" xml:"UserAccess"`
}

type DescribeAccessRulesAccessRules0

type DescribeAccessRulesAccessRules0 struct {
	AccessRule []DescribeAccessRulesAccessRule1 `json:"AccessRule" xml:"AccessRule"`
}

type DescribeAccessRulesRequest

type DescribeAccessRulesRequest struct {
	*requests.RpcRequest
	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
	AccessRuleId    string           `position:"Query" name:"AccessRuleId"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
}

DescribeAccessRulesRequest is the request struct for api DescribeAccessRules

func CreateDescribeAccessRulesRequest

func CreateDescribeAccessRulesRequest() (request *DescribeAccessRulesRequest)

CreateDescribeAccessRulesRequest creates a request to invoke DescribeAccessRules API

type DescribeAccessRulesResponse

type DescribeAccessRulesResponse struct {
	*responses.BaseResponse
	RequestId   string                          `json:"RequestId" xml:"RequestId"`
	TotalCount  int                             `json:"TotalCount" xml:"TotalCount"`
	PageSize    int                             `json:"PageSize" xml:"PageSize"`
	PageNumber  int                             `json:"PageNumber" xml:"PageNumber"`
	AccessRules DescribeAccessRulesAccessRules0 `json:"AccessRules" xml:"AccessRules"`
}

DescribeAccessRulesResponse is the response struct for api DescribeAccessRules

func CreateDescribeAccessRulesResponse

func CreateDescribeAccessRulesResponse() (response *DescribeAccessRulesResponse)

CreateDescribeAccessRulesResponse creates a response to parse from DescribeAccessRules response

type DescribeFileSystemsFileSystem1

type DescribeFileSystemsFileSystem1 struct {
	FileSystemId string                           `json:"FileSystemId" xml:"FileSystemId"`
	Destription  string                           `json:"Destription" xml:"Destription"`
	CreateTime   string                           `json:"CreateTime" xml:"CreateTime"`
	RegionId     string                           `json:"RegionId" xml:"RegionId"`
	ProtocolType string                           `json:"ProtocolType" xml:"ProtocolType"`
	StorageType  string                           `json:"StorageType" xml:"StorageType"`
	MeteredSize  int64                            `json:"MeteredSize" xml:"MeteredSize"`
	MountTargets DescribeFileSystemsMountTargets1 `json:"MountTargets" xml:"MountTargets"`
	Packages     DescribeFileSystemsPackages1     `json:"Packages" xml:"Packages"`
}

type DescribeFileSystemsFileSystems0

type DescribeFileSystemsFileSystems0 struct {
	FileSystem []DescribeFileSystemsFileSystem1 `json:"FileSystem" xml:"FileSystem"`
}

type DescribeFileSystemsMountTarget2

type DescribeFileSystemsMountTarget2 struct {
	MountTargetDomain string `json:"MountTargetDomain" xml:"MountTargetDomain"`
}

type DescribeFileSystemsMountTargets1

type DescribeFileSystemsMountTargets1 struct {
	MountTarget []DescribeFileSystemsMountTarget2 `json:"MountTarget" xml:"MountTarget"`
}

type DescribeFileSystemsPackage2

type DescribeFileSystemsPackage2 struct {
	PackageId string `json:"PackageId" xml:"PackageId"`
}

type DescribeFileSystemsPackages1

type DescribeFileSystemsPackages1 struct {
	Package []DescribeFileSystemsPackage2 `json:"Package" xml:"Package"`
}

type DescribeFileSystemsRequest

type DescribeFileSystemsRequest struct {
	*requests.RpcRequest
	FileSystemId string           `position:"Query" name:"FileSystemId"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
}

DescribeFileSystemsRequest is the request struct for api DescribeFileSystems

func CreateDescribeFileSystemsRequest

func CreateDescribeFileSystemsRequest() (request *DescribeFileSystemsRequest)

CreateDescribeFileSystemsRequest creates a request to invoke DescribeFileSystems API

type DescribeFileSystemsResponse

type DescribeFileSystemsResponse struct {
	*responses.BaseResponse
	RequestId   string                          `json:"RequestId" xml:"RequestId"`
	TotalCount  int                             `json:"TotalCount" xml:"TotalCount"`
	PageSize    int                             `json:"PageSize" xml:"PageSize"`
	PageNumber  int                             `json:"PageNumber" xml:"PageNumber"`
	FileSystems DescribeFileSystemsFileSystems0 `json:"FileSystems" xml:"FileSystems"`
}

DescribeFileSystemsResponse is the response struct for api DescribeFileSystems

func CreateDescribeFileSystemsResponse

func CreateDescribeFileSystemsResponse() (response *DescribeFileSystemsResponse)

CreateDescribeFileSystemsResponse creates a response to parse from DescribeFileSystems response

type DescribeMountTargetsMountTarget1

type DescribeMountTargetsMountTarget1 struct {
	MountTargetDomain string `json:"MountTargetDomain" xml:"MountTargetDomain"`
	NetworkType       string `json:"NetworkType" xml:"NetworkType"`
	VpcId             string `json:"VpcId" xml:"VpcId"`
	VswId             string `json:"VswId" xml:"VswId"`
	AccessGroup       string `json:"AccessGroup" xml:"AccessGroup"`
	Status            string `json:"Status" xml:"Status"`
}

type DescribeMountTargetsMountTargets0

type DescribeMountTargetsMountTargets0 struct {
	MountTarget []DescribeMountTargetsMountTarget1 `json:"MountTarget" xml:"MountTarget"`
}

type DescribeMountTargetsRequest

type DescribeMountTargetsRequest struct {
	*requests.RpcRequest
	FileSystemId      string           `position:"Query" name:"FileSystemId"`
	MountTargetDomain string           `position:"Query" name:"MountTargetDomain"`
	PageSize          requests.Integer `position:"Query" name:"PageSize"`
	PageNumber        requests.Integer `position:"Query" name:"PageNumber"`
}

DescribeMountTargetsRequest is the request struct for api DescribeMountTargets

func CreateDescribeMountTargetsRequest

func CreateDescribeMountTargetsRequest() (request *DescribeMountTargetsRequest)

CreateDescribeMountTargetsRequest creates a request to invoke DescribeMountTargets API

type DescribeMountTargetsResponse

type DescribeMountTargetsResponse struct {
	*responses.BaseResponse
	RequestId    string                            `json:"RequestId" xml:"RequestId"`
	TotalCount   int                               `json:"TotalCount" xml:"TotalCount"`
	PageSize     int                               `json:"PageSize" xml:"PageSize"`
	PageNumber   int                               `json:"PageNumber" xml:"PageNumber"`
	MountTargets DescribeMountTargetsMountTargets0 `json:"MountTargets" xml:"MountTargets"`
}

DescribeMountTargetsResponse is the response struct for api DescribeMountTargets

func CreateDescribeMountTargetsResponse

func CreateDescribeMountTargetsResponse() (response *DescribeMountTargetsResponse)

CreateDescribeMountTargetsResponse creates a response to parse from DescribeMountTargets response

type DescribeRegionsRegion1

type DescribeRegionsRegion1 struct {
	RegionId       string `json:"RegionId" xml:"RegionId"`
	LocalName      string `json:"LocalName" xml:"LocalName"`
	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
}

type DescribeRegionsRegions0

type DescribeRegionsRegions0 struct {
	Region []DescribeRegionsRegion1 `json:"Region" xml:"Region"`
}

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId  string                  `json:"RequestId" xml:"RequestId"`
	TotalCount int                     `json:"TotalCount" xml:"TotalCount"`
	PageSize   int                     `json:"PageSize" xml:"PageSize"`
	PageNumber int                     `json:"PageNumber" xml:"PageNumber"`
	Regions    DescribeRegionsRegions0 `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DescribeTieringJobsRequest

type DescribeTieringJobsRequest struct {
	*requests.RpcRequest
	Volume string `position:"Query" name:"Volume"`
}

DescribeTieringJobsRequest is the request struct for api DescribeTieringJobs

func CreateDescribeTieringJobsRequest

func CreateDescribeTieringJobsRequest() (request *DescribeTieringJobsRequest)

CreateDescribeTieringJobsRequest creates a request to invoke DescribeTieringJobs API

type DescribeTieringJobsResponse

type DescribeTieringJobsResponse struct {
	*responses.BaseResponse
	RequestId   string                          `json:"RequestId" xml:"RequestId"`
	TotalCount  int                             `json:"TotalCount" xml:"TotalCount"`
	PageSize    int                             `json:"PageSize" xml:"PageSize"`
	PageNumber  int                             `json:"PageNumber" xml:"PageNumber"`
	TieringJobs DescribeTieringJobsTieringJobs0 `json:"TieringJobs" xml:"TieringJobs"`
}

DescribeTieringJobsResponse is the response struct for api DescribeTieringJobs

func CreateDescribeTieringJobsResponse

func CreateDescribeTieringJobsResponse() (response *DescribeTieringJobsResponse)

CreateDescribeTieringJobsResponse creates a response to parse from DescribeTieringJobs response

type DescribeTieringJobsTieringJob1

type DescribeTieringJobsTieringJob1 struct {
	Name           string `json:"Name" xml:"Name"`
	Volume         string `json:"Volume" xml:"Volume"`
	Path           string `json:"Path" xml:"Path"`
	Recursive      bool   `json:"Recursive" xml:"Recursive"`
	Type           string `json:"Type" xml:"Type"`
	Policy         string `json:"Policy" xml:"Policy"`
	Weekday        int    `json:"Weekday" xml:"Weekday"`
	Hour           int    `json:"Hour" xml:"Hour"`
	Enabled        bool   `json:"Enabled" xml:"Enabled"`
	Status         string `json:"Status" xml:"Status"`
	LastUpdateTime int64  `json:"LastUpdateTime" xml:"LastUpdateTime"`
}

type DescribeTieringJobsTieringJobs0

type DescribeTieringJobsTieringJobs0 struct {
	TieringJob []DescribeTieringJobsTieringJob1 `json:"TieringJob" xml:"TieringJob"`
}

type DescribeTieringPoliciesRequest

type DescribeTieringPoliciesRequest struct {
	*requests.RpcRequest
}

DescribeTieringPoliciesRequest is the request struct for api DescribeTieringPolicies

func CreateDescribeTieringPoliciesRequest

func CreateDescribeTieringPoliciesRequest() (request *DescribeTieringPoliciesRequest)

CreateDescribeTieringPoliciesRequest creates a request to invoke DescribeTieringPolicies API

type DescribeTieringPoliciesResponse

type DescribeTieringPoliciesResponse struct {
	*responses.BaseResponse
	RequestId       string                                  `json:"RequestId" xml:"RequestId"`
	TotalCount      int                                     `json:"TotalCount" xml:"TotalCount"`
	PageSize        int                                     `json:"PageSize" xml:"PageSize"`
	PageNumber      int                                     `json:"PageNumber" xml:"PageNumber"`
	TieringPolicies DescribeTieringPoliciesTieringPolicies0 `json:"TieringPolicies" xml:"TieringPolicies"`
}

DescribeTieringPoliciesResponse is the response struct for api DescribeTieringPolicies

func CreateDescribeTieringPoliciesResponse

func CreateDescribeTieringPoliciesResponse() (response *DescribeTieringPoliciesResponse)

CreateDescribeTieringPoliciesResponse creates a response to parse from DescribeTieringPolicies response

type DescribeTieringPoliciesTieringPolicies0

type DescribeTieringPoliciesTieringPolicies0 struct {
	TieringPolicy []DescribeTieringPoliciesTieringPolicy1 `json:"TieringPolicy" xml:"TieringPolicy"`
}

type DescribeTieringPoliciesTieringPolicy1

type DescribeTieringPoliciesTieringPolicy1 struct {
	Name        string `json:"Name" xml:"Name"`
	Description string `json:"Description" xml:"Description"`
	RefCount    int    `json:"RefCount" xml:"RefCount"`
	Mtime       int64  `json:"Mtime" xml:"Mtime"`
	Atime       int64  `json:"Atime" xml:"Atime"`
	Ctime       int64  `json:"Ctime" xml:"Ctime"`
	Size        int64  `json:"Size" xml:"Size"`
	FileName    string `json:"FileName" xml:"FileName"`
	RecallTime  int64  `json:"RecallTime" xml:"RecallTime"`
}

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*requests.RpcRequest
}

DescribeZonesRequest is the request struct for api DescribeZones

func CreateDescribeZonesRequest

func CreateDescribeZonesRequest() (request *DescribeZonesRequest)

CreateDescribeZonesRequest creates a request to invoke DescribeZones API

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*responses.BaseResponse
	RequestId string              `json:"RequestId" xml:"RequestId"`
	Zones     DescribeZonesZones0 `json:"Zones" xml:"Zones"`
}

DescribeZonesResponse is the response struct for api DescribeZones

func CreateDescribeZonesResponse

func CreateDescribeZonesResponse() (response *DescribeZonesResponse)

CreateDescribeZonesResponse creates a response to parse from DescribeZones response

type DescribeZonesZone1

type DescribeZonesZone1 struct {
	ZoneId      string   `json:"ZoneId" xml:"ZoneId"`
	Capacity    []string `json:"Capacity" xml:"Capacity"`
	Performance []string `json:"Performance" xml:"Performance"`
}

type DescribeZonesZones0

type DescribeZonesZones0 struct {
	Zone []DescribeZonesZone1 `json:"Zone" xml:"Zone"`
}

type ModifyAccessGroupRequest

type ModifyAccessGroupRequest struct {
	*requests.RpcRequest
	AccessGroupName string `position:"Query" name:"AccessGroupName"`
	Description     string `position:"Query" name:"Description"`
}

ModifyAccessGroupRequest is the request struct for api ModifyAccessGroup

func CreateModifyAccessGroupRequest

func CreateModifyAccessGroupRequest() (request *ModifyAccessGroupRequest)

CreateModifyAccessGroupRequest creates a request to invoke ModifyAccessGroup API

type ModifyAccessGroupResponse

type ModifyAccessGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyAccessGroupResponse is the response struct for api ModifyAccessGroup

func CreateModifyAccessGroupResponse

func CreateModifyAccessGroupResponse() (response *ModifyAccessGroupResponse)

CreateModifyAccessGroupResponse creates a response to parse from ModifyAccessGroup response

type ModifyAccessRuleRequest

type ModifyAccessRuleRequest struct {
	*requests.RpcRequest
	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
	AccessRuleId    string           `position:"Query" name:"AccessRuleId"`
	SourceCidrIp    string           `position:"Query" name:"SourceCidrIp"`
	RWAccessType    string           `position:"Query" name:"RWAccessType"`
	UserAccessType  string           `position:"Query" name:"UserAccessType"`
	Priority        requests.Integer `position:"Query" name:"Priority"`
}

ModifyAccessRuleRequest is the request struct for api ModifyAccessRule

func CreateModifyAccessRuleRequest

func CreateModifyAccessRuleRequest() (request *ModifyAccessRuleRequest)

CreateModifyAccessRuleRequest creates a request to invoke ModifyAccessRule API

type ModifyAccessRuleResponse

type ModifyAccessRuleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyAccessRuleResponse is the response struct for api ModifyAccessRule

func CreateModifyAccessRuleResponse

func CreateModifyAccessRuleResponse() (response *ModifyAccessRuleResponse)

CreateModifyAccessRuleResponse creates a response to parse from ModifyAccessRule response

type ModifyFileSystemRequest

type ModifyFileSystemRequest struct {
	*requests.RpcRequest
	FileSystemId string `position:"Query" name:"FileSystemId"`
	Description  string `position:"Query" name:"Description"`
}

ModifyFileSystemRequest is the request struct for api ModifyFileSystem

func CreateModifyFileSystemRequest

func CreateModifyFileSystemRequest() (request *ModifyFileSystemRequest)

CreateModifyFileSystemRequest creates a request to invoke ModifyFileSystem API

type ModifyFileSystemResponse

type ModifyFileSystemResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyFileSystemResponse is the response struct for api ModifyFileSystem

func CreateModifyFileSystemResponse

func CreateModifyFileSystemResponse() (response *ModifyFileSystemResponse)

CreateModifyFileSystemResponse creates a response to parse from ModifyFileSystem response

type ModifyMountTargetRequest

type ModifyMountTargetRequest struct {
	*requests.RpcRequest
	FileSystemId      string `position:"Query" name:"FileSystemId"`
	MountTargetDomain string `position:"Query" name:"MountTargetDomain"`
	AccessGroupName   string `position:"Query" name:"AccessGroupName"`
	Status            string `position:"Query" name:"Status"`
}

ModifyMountTargetRequest is the request struct for api ModifyMountTarget

func CreateModifyMountTargetRequest

func CreateModifyMountTargetRequest() (request *ModifyMountTargetRequest)

CreateModifyMountTargetRequest creates a request to invoke ModifyMountTarget API

type ModifyMountTargetResponse

type ModifyMountTargetResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyMountTargetResponse is the response struct for api ModifyMountTarget

func CreateModifyMountTargetResponse

func CreateModifyMountTargetResponse() (response *ModifyMountTargetResponse)

CreateModifyMountTargetResponse creates a response to parse from ModifyMountTarget response

type ModifyTieringJobRequest

type ModifyTieringJobRequest struct {
	*requests.RpcRequest
	Volume    string           `position:"Query" name:"Volume"`
	Name      string           `position:"Query" name:"Name"`
	Type      string           `position:"Query" name:"Type"`
	Path      string           `position:"Query" name:"Path"`
	Recursive requests.Boolean `position:"Query" name:"Recursive"`
	Policy    string           `position:"Query" name:"Policy"`
	Weekday   requests.Integer `position:"Query" name:"Weekday"`
	Hour      requests.Integer `position:"Query" name:"Hour"`
	Enabled   requests.Boolean `position:"Query" name:"Enabled"`
}

ModifyTieringJobRequest is the request struct for api ModifyTieringJob

func CreateModifyTieringJobRequest

func CreateModifyTieringJobRequest() (request *ModifyTieringJobRequest)

CreateModifyTieringJobRequest creates a request to invoke ModifyTieringJob API

type ModifyTieringJobResponse

type ModifyTieringJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyTieringJobResponse is the response struct for api ModifyTieringJob

func CreateModifyTieringJobResponse

func CreateModifyTieringJobResponse() (response *ModifyTieringJobResponse)

CreateModifyTieringJobResponse creates a response to parse from ModifyTieringJob response

type ModifyTieringPolicyRequest

type ModifyTieringPolicyRequest struct {
	*requests.RpcRequest
	Name        string           `position:"Query" name:"Name"`
	Description string           `position:"Query" name:"Description"`
	Mtime       requests.Integer `position:"Query" name:"Mtime"`
	Atime       requests.Integer `position:"Query" name:"Atime"`
	Ctime       requests.Integer `position:"Query" name:"Ctime"`
	Size        requests.Integer `position:"Query" name:"Size"`
	FileName    string           `position:"Query" name:"FileName"`
	RecallTime  requests.Integer `position:"Query" name:"RecallTime"`
}

ModifyTieringPolicyRequest is the request struct for api ModifyTieringPolicy

func CreateModifyTieringPolicyRequest

func CreateModifyTieringPolicyRequest() (request *ModifyTieringPolicyRequest)

CreateModifyTieringPolicyRequest creates a request to invoke ModifyTieringPolicy API

type ModifyTieringPolicyResponse

type ModifyTieringPolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyTieringPolicyResponse is the response struct for api ModifyTieringPolicy

func CreateModifyTieringPolicyResponse

func CreateModifyTieringPolicyResponse() (response *ModifyTieringPolicyResponse)

CreateModifyTieringPolicyResponse creates a response to parse from ModifyTieringPolicy response

Jump to

Keyboard shortcuts

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