Documentation ¶
Index ¶
- type AccessGroup
- type AccessGroups
- type AccessRule
- type AccessRules
- type AvailableZone
- type AvailableZones
- 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) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
- func (client *Client) CreateAccessGroupWithCallback(request *CreateAccessGroupRequest, ...) <-chan int
- func (client *Client) CreateAccessGroupWithChan(request *CreateAccessGroupRequest) (<-chan *CreateAccessGroupResponse, <-chan error)
- func (client *Client) CreateAccessRule(request *CreateAccessRuleRequest) (response *CreateAccessRuleResponse, err error)
- func (client *Client) CreateAccessRuleWithCallback(request *CreateAccessRuleRequest, ...) <-chan int
- func (client *Client) CreateAccessRuleWithChan(request *CreateAccessRuleRequest) (<-chan *CreateAccessRuleResponse, <-chan error)
- func (client *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
- func (client *Client) CreateFileSystemWithCallback(request *CreateFileSystemRequest, ...) <-chan int
- func (client *Client) CreateFileSystemWithChan(request *CreateFileSystemRequest) (<-chan *CreateFileSystemResponse, <-chan error)
- func (client *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
- func (client *Client) CreateMountPointWithCallback(request *CreateMountPointRequest, ...) <-chan int
- func (client *Client) CreateMountPointWithChan(request *CreateMountPointRequest) (<-chan *CreateMountPointResponse, <-chan error)
- func (client *Client) CreateUserGroupsMapping(request *CreateUserGroupsMappingRequest) (response *CreateUserGroupsMappingResponse, err error)
- func (client *Client) CreateUserGroupsMappingWithCallback(request *CreateUserGroupsMappingRequest, ...) <-chan int
- func (client *Client) CreateUserGroupsMappingWithChan(request *CreateUserGroupsMappingRequest) (<-chan *CreateUserGroupsMappingResponse, <-chan error)
- func (client *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
- func (client *Client) DeleteAccessGroupWithCallback(request *DeleteAccessGroupRequest, ...) <-chan int
- func (client *Client) DeleteAccessGroupWithChan(request *DeleteAccessGroupRequest) (<-chan *DeleteAccessGroupResponse, <-chan error)
- func (client *Client) DeleteAccessRule(request *DeleteAccessRuleRequest) (response *DeleteAccessRuleResponse, err error)
- func (client *Client) DeleteAccessRuleWithCallback(request *DeleteAccessRuleRequest, ...) <-chan int
- func (client *Client) DeleteAccessRuleWithChan(request *DeleteAccessRuleRequest) (<-chan *DeleteAccessRuleResponse, <-chan error)
- func (client *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
- func (client *Client) DeleteFileSystemWithCallback(request *DeleteFileSystemRequest, ...) <-chan int
- func (client *Client) DeleteFileSystemWithChan(request *DeleteFileSystemRequest) (<-chan *DeleteFileSystemResponse, <-chan error)
- func (client *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
- func (client *Client) DeleteMountPointWithCallback(request *DeleteMountPointRequest, ...) <-chan int
- func (client *Client) DeleteMountPointWithChan(request *DeleteMountPointRequest) (<-chan *DeleteMountPointResponse, <-chan error)
- func (client *Client) DeleteUserGroupsMapping(request *DeleteUserGroupsMappingRequest) (response *DeleteUserGroupsMappingResponse, err error)
- func (client *Client) DeleteUserGroupsMappingWithCallback(request *DeleteUserGroupsMappingRequest, ...) <-chan int
- func (client *Client) DeleteUserGroupsMappingWithChan(request *DeleteUserGroupsMappingRequest) (<-chan *DeleteUserGroupsMappingResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) GetAccessGroup(request *GetAccessGroupRequest) (response *GetAccessGroupResponse, err error)
- func (client *Client) GetAccessGroupWithCallback(request *GetAccessGroupRequest, ...) <-chan int
- func (client *Client) GetAccessGroupWithChan(request *GetAccessGroupRequest) (<-chan *GetAccessGroupResponse, <-chan error)
- func (client *Client) GetAccessRule(request *GetAccessRuleRequest) (response *GetAccessRuleResponse, err error)
- func (client *Client) GetAccessRuleWithCallback(request *GetAccessRuleRequest, ...) <-chan int
- func (client *Client) GetAccessRuleWithChan(request *GetAccessRuleRequest) (<-chan *GetAccessRuleResponse, <-chan error)
- func (client *Client) GetFileSystem(request *GetFileSystemRequest) (response *GetFileSystemResponse, err error)
- func (client *Client) GetFileSystemWithCallback(request *GetFileSystemRequest, ...) <-chan int
- func (client *Client) GetFileSystemWithChan(request *GetFileSystemRequest) (<-chan *GetFileSystemResponse, <-chan error)
- func (client *Client) GetMountPoint(request *GetMountPointRequest) (response *GetMountPointResponse, err error)
- func (client *Client) GetMountPointWithCallback(request *GetMountPointRequest, ...) <-chan int
- func (client *Client) GetMountPointWithChan(request *GetMountPointRequest) (<-chan *GetMountPointResponse, <-chan error)
- func (client *Client) GetRegion(request *GetRegionRequest) (response *GetRegionResponse, err error)
- func (client *Client) GetRegionWithCallback(request *GetRegionRequest, ...) <-chan int
- func (client *Client) GetRegionWithChan(request *GetRegionRequest) (<-chan *GetRegionResponse, <-chan error)
- func (client *Client) ListAccessGroups(request *ListAccessGroupsRequest) (response *ListAccessGroupsResponse, err error)
- func (client *Client) ListAccessGroupsWithCallback(request *ListAccessGroupsRequest, ...) <-chan int
- func (client *Client) ListAccessGroupsWithChan(request *ListAccessGroupsRequest) (<-chan *ListAccessGroupsResponse, <-chan error)
- func (client *Client) ListAccessRules(request *ListAccessRulesRequest) (response *ListAccessRulesResponse, err error)
- func (client *Client) ListAccessRulesWithCallback(request *ListAccessRulesRequest, ...) <-chan int
- func (client *Client) ListAccessRulesWithChan(request *ListAccessRulesRequest) (<-chan *ListAccessRulesResponse, <-chan error)
- func (client *Client) ListFileSystems(request *ListFileSystemsRequest) (response *ListFileSystemsResponse, err error)
- func (client *Client) ListFileSystemsWithCallback(request *ListFileSystemsRequest, ...) <-chan int
- func (client *Client) ListFileSystemsWithChan(request *ListFileSystemsRequest) (<-chan *ListFileSystemsResponse, <-chan error)
- func (client *Client) ListMountPoints(request *ListMountPointsRequest) (response *ListMountPointsResponse, err error)
- func (client *Client) ListMountPointsWithCallback(request *ListMountPointsRequest, ...) <-chan int
- func (client *Client) ListMountPointsWithChan(request *ListMountPointsRequest) (<-chan *ListMountPointsResponse, <-chan error)
- func (client *Client) ListUserGroupsMappings(request *ListUserGroupsMappingsRequest) (response *ListUserGroupsMappingsResponse, err error)
- func (client *Client) ListUserGroupsMappingsWithCallback(request *ListUserGroupsMappingsRequest, ...) <-chan int
- func (client *Client) ListUserGroupsMappingsWithChan(request *ListUserGroupsMappingsRequest) (<-chan *ListUserGroupsMappingsResponse, <-chan error)
- func (client *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
- func (client *Client) ModifyAccessGroupWithCallback(request *ModifyAccessGroupRequest, ...) <-chan int
- func (client *Client) ModifyAccessGroupWithChan(request *ModifyAccessGroupRequest) (<-chan *ModifyAccessGroupResponse, <-chan error)
- func (client *Client) ModifyAccessRule(request *ModifyAccessRuleRequest) (response *ModifyAccessRuleResponse, err error)
- func (client *Client) ModifyAccessRuleWithCallback(request *ModifyAccessRuleRequest, ...) <-chan int
- func (client *Client) ModifyAccessRuleWithChan(request *ModifyAccessRuleRequest) (<-chan *ModifyAccessRuleResponse, <-chan error)
- func (client *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
- func (client *Client) ModifyFileSystemWithCallback(request *ModifyFileSystemRequest, ...) <-chan int
- func (client *Client) ModifyFileSystemWithChan(request *ModifyFileSystemRequest) (<-chan *ModifyFileSystemResponse, <-chan error)
- func (client *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
- func (client *Client) ModifyMountPointWithCallback(request *ModifyMountPointRequest, ...) <-chan int
- func (client *Client) ModifyMountPointWithChan(request *ModifyMountPointRequest) (<-chan *ModifyMountPointResponse, <-chan error)
- type CreateAccessGroupRequest
- type CreateAccessGroupResponse
- type CreateAccessRuleRequest
- type CreateAccessRuleResponse
- type CreateFileSystemRequest
- type CreateFileSystemResponse
- type CreateMountPointRequest
- type CreateMountPointResponse
- type CreateUserGroupsMappingRequest
- type CreateUserGroupsMappingResponse
- type DeleteAccessGroupRequest
- type DeleteAccessGroupResponse
- type DeleteAccessRuleRequest
- type DeleteAccessRuleResponse
- type DeleteFileSystemRequest
- type DeleteFileSystemResponse
- type DeleteMountPointRequest
- type DeleteMountPointResponse
- type DeleteUserGroupsMappingRequest
- type DeleteUserGroupsMappingResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type FileSystem
- type FileSystems
- type GetAccessGroupRequest
- type GetAccessGroupResponse
- type GetAccessRuleRequest
- type GetAccessRuleResponse
- type GetFileSystemRequest
- type GetFileSystemResponse
- type GetMountPointRequest
- type GetMountPointResponse
- type GetRegionRequest
- type GetRegionResponse
- type GroupNames
- type ListAccessGroupsRequest
- type ListAccessGroupsResponse
- type ListAccessRulesRequest
- type ListAccessRulesResponse
- type ListFileSystemsRequest
- type ListFileSystemsResponse
- type ListMountPointsRequest
- type ListMountPointsResponse
- type ListUserGroupsMappingsRequest
- type ListUserGroupsMappingsResponse
- type ModifyAccessGroupRequest
- type ModifyAccessGroupResponse
- type ModifyAccessRuleRequest
- type ModifyAccessRuleResponse
- type ModifyFileSystemRequest
- type ModifyFileSystemResponse
- type ModifyMountPointRequest
- type ModifyMountPointResponse
- type MountPoint
- type MountPoints
- type Option
- type Options
- type Region
- type RegionItem
- type Regions
- type UserGroupsMappingPB
- type UserGroupsMappings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessGroup ¶
type AccessGroup struct { AccessGroupId string `json:"AccessGroupId" xml:"AccessGroupId"` RegionId string `json:"RegionId" xml:"RegionId"` IsDefault bool `json:"IsDefault" xml:"IsDefault"` MountPointCount int `json:"MountPointCount" xml:"MountPointCount"` CreateTime string `json:"CreateTime" xml:"CreateTime"` RuleCount int `json:"RuleCount" xml:"RuleCount"` AccessGroupName string `json:"AccessGroupName" xml:"AccessGroupName"` NetworkType string `json:"NetworkType" xml:"NetworkType"` Description string `json:"Description" xml:"Description"` }
AccessGroup is a nested struct in dfs response
type AccessGroups ¶
type AccessGroups struct {
AccessGroup []AccessGroup `json:"AccessGroup" xml:"AccessGroup"`
}
AccessGroups is a nested struct in dfs response
type AccessRule ¶
type AccessRule struct { AccessGroupId string `json:"AccessGroupId" xml:"AccessGroupId"` RWAccessType string `json:"RWAccessType" xml:"RWAccessType"` AccessRuleId string `json:"AccessRuleId" xml:"AccessRuleId"` Priority int `json:"Priority" xml:"Priority"` RegionId string `json:"RegionId" xml:"RegionId"` NetworkSegment string `json:"NetworkSegment" xml:"NetworkSegment"` CreateTime string `json:"CreateTime" xml:"CreateTime"` Description string `json:"Description" xml:"Description"` }
AccessRule is a nested struct in dfs response
type AccessRules ¶
type AccessRules struct {
AccessRule []AccessRule `json:"AccessRule" xml:"AccessRule"`
}
AccessRules is a nested struct in dfs response
type AvailableZone ¶
type AvailableZone struct { ZoneId string `json:"ZoneId" xml:"ZoneId"` Options []Option `json:"Options" xml:"Options"` }
AvailableZone is a nested struct in dfs response
type AvailableZones ¶
type AvailableZones struct {
AvailableZone []AvailableZone `json:"AvailableZone" xml:"AvailableZone"`
}
AvailableZones is a nested struct in dfs 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) CreateAccessGroup ¶
func (client *Client) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
CreateAccessGroup invokes the dfs.CreateAccessGroup API synchronously
func (*Client) CreateAccessGroupWithCallback ¶
func (client *Client) CreateAccessGroupWithCallback(request *CreateAccessGroupRequest, callback func(response *CreateAccessGroupResponse, err error)) <-chan int
CreateAccessGroupWithCallback invokes the dfs.CreateAccessGroup API asynchronously
func (*Client) CreateAccessGroupWithChan ¶
func (client *Client) CreateAccessGroupWithChan(request *CreateAccessGroupRequest) (<-chan *CreateAccessGroupResponse, <-chan error)
CreateAccessGroupWithChan invokes the dfs.CreateAccessGroup API asynchronously
func (*Client) CreateAccessRule ¶
func (client *Client) CreateAccessRule(request *CreateAccessRuleRequest) (response *CreateAccessRuleResponse, err error)
CreateAccessRule invokes the dfs.CreateAccessRule API synchronously
func (*Client) CreateAccessRuleWithCallback ¶
func (client *Client) CreateAccessRuleWithCallback(request *CreateAccessRuleRequest, callback func(response *CreateAccessRuleResponse, err error)) <-chan int
CreateAccessRuleWithCallback invokes the dfs.CreateAccessRule API asynchronously
func (*Client) CreateAccessRuleWithChan ¶
func (client *Client) CreateAccessRuleWithChan(request *CreateAccessRuleRequest) (<-chan *CreateAccessRuleResponse, <-chan error)
CreateAccessRuleWithChan invokes the dfs.CreateAccessRule API asynchronously
func (*Client) CreateFileSystem ¶
func (client *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
CreateFileSystem invokes the dfs.CreateFileSystem API synchronously
func (*Client) CreateFileSystemWithCallback ¶
func (client *Client) CreateFileSystemWithCallback(request *CreateFileSystemRequest, callback func(response *CreateFileSystemResponse, err error)) <-chan int
CreateFileSystemWithCallback invokes the dfs.CreateFileSystem API asynchronously
func (*Client) CreateFileSystemWithChan ¶
func (client *Client) CreateFileSystemWithChan(request *CreateFileSystemRequest) (<-chan *CreateFileSystemResponse, <-chan error)
CreateFileSystemWithChan invokes the dfs.CreateFileSystem API asynchronously
func (*Client) CreateMountPoint ¶
func (client *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
CreateMountPoint invokes the dfs.CreateMountPoint API synchronously
func (*Client) CreateMountPointWithCallback ¶
func (client *Client) CreateMountPointWithCallback(request *CreateMountPointRequest, callback func(response *CreateMountPointResponse, err error)) <-chan int
CreateMountPointWithCallback invokes the dfs.CreateMountPoint API asynchronously
func (*Client) CreateMountPointWithChan ¶
func (client *Client) CreateMountPointWithChan(request *CreateMountPointRequest) (<-chan *CreateMountPointResponse, <-chan error)
CreateMountPointWithChan invokes the dfs.CreateMountPoint API asynchronously
func (*Client) CreateUserGroupsMapping ¶
func (client *Client) CreateUserGroupsMapping(request *CreateUserGroupsMappingRequest) (response *CreateUserGroupsMappingResponse, err error)
CreateUserGroupsMapping invokes the dfs.CreateUserGroupsMapping API synchronously
func (*Client) CreateUserGroupsMappingWithCallback ¶
func (client *Client) CreateUserGroupsMappingWithCallback(request *CreateUserGroupsMappingRequest, callback func(response *CreateUserGroupsMappingResponse, err error)) <-chan int
CreateUserGroupsMappingWithCallback invokes the dfs.CreateUserGroupsMapping API asynchronously
func (*Client) CreateUserGroupsMappingWithChan ¶
func (client *Client) CreateUserGroupsMappingWithChan(request *CreateUserGroupsMappingRequest) (<-chan *CreateUserGroupsMappingResponse, <-chan error)
CreateUserGroupsMappingWithChan invokes the dfs.CreateUserGroupsMapping API asynchronously
func (*Client) DeleteAccessGroup ¶
func (client *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
DeleteAccessGroup invokes the dfs.DeleteAccessGroup API synchronously
func (*Client) DeleteAccessGroupWithCallback ¶
func (client *Client) DeleteAccessGroupWithCallback(request *DeleteAccessGroupRequest, callback func(response *DeleteAccessGroupResponse, err error)) <-chan int
DeleteAccessGroupWithCallback invokes the dfs.DeleteAccessGroup API asynchronously
func (*Client) DeleteAccessGroupWithChan ¶
func (client *Client) DeleteAccessGroupWithChan(request *DeleteAccessGroupRequest) (<-chan *DeleteAccessGroupResponse, <-chan error)
DeleteAccessGroupWithChan invokes the dfs.DeleteAccessGroup API asynchronously
func (*Client) DeleteAccessRule ¶
func (client *Client) DeleteAccessRule(request *DeleteAccessRuleRequest) (response *DeleteAccessRuleResponse, err error)
DeleteAccessRule invokes the dfs.DeleteAccessRule API synchronously
func (*Client) DeleteAccessRuleWithCallback ¶
func (client *Client) DeleteAccessRuleWithCallback(request *DeleteAccessRuleRequest, callback func(response *DeleteAccessRuleResponse, err error)) <-chan int
DeleteAccessRuleWithCallback invokes the dfs.DeleteAccessRule API asynchronously
func (*Client) DeleteAccessRuleWithChan ¶
func (client *Client) DeleteAccessRuleWithChan(request *DeleteAccessRuleRequest) (<-chan *DeleteAccessRuleResponse, <-chan error)
DeleteAccessRuleWithChan invokes the dfs.DeleteAccessRule API asynchronously
func (*Client) DeleteFileSystem ¶
func (client *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
DeleteFileSystem invokes the dfs.DeleteFileSystem API synchronously
func (*Client) DeleteFileSystemWithCallback ¶
func (client *Client) DeleteFileSystemWithCallback(request *DeleteFileSystemRequest, callback func(response *DeleteFileSystemResponse, err error)) <-chan int
DeleteFileSystemWithCallback invokes the dfs.DeleteFileSystem API asynchronously
func (*Client) DeleteFileSystemWithChan ¶
func (client *Client) DeleteFileSystemWithChan(request *DeleteFileSystemRequest) (<-chan *DeleteFileSystemResponse, <-chan error)
DeleteFileSystemWithChan invokes the dfs.DeleteFileSystem API asynchronously
func (*Client) DeleteMountPoint ¶
func (client *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
DeleteMountPoint invokes the dfs.DeleteMountPoint API synchronously
func (*Client) DeleteMountPointWithCallback ¶
func (client *Client) DeleteMountPointWithCallback(request *DeleteMountPointRequest, callback func(response *DeleteMountPointResponse, err error)) <-chan int
DeleteMountPointWithCallback invokes the dfs.DeleteMountPoint API asynchronously
func (*Client) DeleteMountPointWithChan ¶
func (client *Client) DeleteMountPointWithChan(request *DeleteMountPointRequest) (<-chan *DeleteMountPointResponse, <-chan error)
DeleteMountPointWithChan invokes the dfs.DeleteMountPoint API asynchronously
func (*Client) DeleteUserGroupsMapping ¶
func (client *Client) DeleteUserGroupsMapping(request *DeleteUserGroupsMappingRequest) (response *DeleteUserGroupsMappingResponse, err error)
DeleteUserGroupsMapping invokes the dfs.DeleteUserGroupsMapping API synchronously
func (*Client) DeleteUserGroupsMappingWithCallback ¶
func (client *Client) DeleteUserGroupsMappingWithCallback(request *DeleteUserGroupsMappingRequest, callback func(response *DeleteUserGroupsMappingResponse, err error)) <-chan int
DeleteUserGroupsMappingWithCallback invokes the dfs.DeleteUserGroupsMapping API asynchronously
func (*Client) DeleteUserGroupsMappingWithChan ¶
func (client *Client) DeleteUserGroupsMappingWithChan(request *DeleteUserGroupsMappingRequest) (<-chan *DeleteUserGroupsMappingResponse, <-chan error)
DeleteUserGroupsMappingWithChan invokes the dfs.DeleteUserGroupsMapping API asynchronously
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the dfs.DescribeRegions API synchronously
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the dfs.DescribeRegions API asynchronously
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the dfs.DescribeRegions API asynchronously
func (*Client) GetAccessGroup ¶
func (client *Client) GetAccessGroup(request *GetAccessGroupRequest) (response *GetAccessGroupResponse, err error)
GetAccessGroup invokes the dfs.GetAccessGroup API synchronously
func (*Client) GetAccessGroupWithCallback ¶
func (client *Client) GetAccessGroupWithCallback(request *GetAccessGroupRequest, callback func(response *GetAccessGroupResponse, err error)) <-chan int
GetAccessGroupWithCallback invokes the dfs.GetAccessGroup API asynchronously
func (*Client) GetAccessGroupWithChan ¶
func (client *Client) GetAccessGroupWithChan(request *GetAccessGroupRequest) (<-chan *GetAccessGroupResponse, <-chan error)
GetAccessGroupWithChan invokes the dfs.GetAccessGroup API asynchronously
func (*Client) GetAccessRule ¶
func (client *Client) GetAccessRule(request *GetAccessRuleRequest) (response *GetAccessRuleResponse, err error)
GetAccessRule invokes the dfs.GetAccessRule API synchronously
func (*Client) GetAccessRuleWithCallback ¶
func (client *Client) GetAccessRuleWithCallback(request *GetAccessRuleRequest, callback func(response *GetAccessRuleResponse, err error)) <-chan int
GetAccessRuleWithCallback invokes the dfs.GetAccessRule API asynchronously
func (*Client) GetAccessRuleWithChan ¶
func (client *Client) GetAccessRuleWithChan(request *GetAccessRuleRequest) (<-chan *GetAccessRuleResponse, <-chan error)
GetAccessRuleWithChan invokes the dfs.GetAccessRule API asynchronously
func (*Client) GetFileSystem ¶
func (client *Client) GetFileSystem(request *GetFileSystemRequest) (response *GetFileSystemResponse, err error)
GetFileSystem invokes the dfs.GetFileSystem API synchronously
func (*Client) GetFileSystemWithCallback ¶
func (client *Client) GetFileSystemWithCallback(request *GetFileSystemRequest, callback func(response *GetFileSystemResponse, err error)) <-chan int
GetFileSystemWithCallback invokes the dfs.GetFileSystem API asynchronously
func (*Client) GetFileSystemWithChan ¶
func (client *Client) GetFileSystemWithChan(request *GetFileSystemRequest) (<-chan *GetFileSystemResponse, <-chan error)
GetFileSystemWithChan invokes the dfs.GetFileSystem API asynchronously
func (*Client) GetMountPoint ¶
func (client *Client) GetMountPoint(request *GetMountPointRequest) (response *GetMountPointResponse, err error)
GetMountPoint invokes the dfs.GetMountPoint API synchronously
func (*Client) GetMountPointWithCallback ¶
func (client *Client) GetMountPointWithCallback(request *GetMountPointRequest, callback func(response *GetMountPointResponse, err error)) <-chan int
GetMountPointWithCallback invokes the dfs.GetMountPoint API asynchronously
func (*Client) GetMountPointWithChan ¶
func (client *Client) GetMountPointWithChan(request *GetMountPointRequest) (<-chan *GetMountPointResponse, <-chan error)
GetMountPointWithChan invokes the dfs.GetMountPoint API asynchronously
func (*Client) GetRegion ¶
func (client *Client) GetRegion(request *GetRegionRequest) (response *GetRegionResponse, err error)
GetRegion invokes the dfs.GetRegion API synchronously
func (*Client) GetRegionWithCallback ¶
func (client *Client) GetRegionWithCallback(request *GetRegionRequest, callback func(response *GetRegionResponse, err error)) <-chan int
GetRegionWithCallback invokes the dfs.GetRegion API asynchronously
func (*Client) GetRegionWithChan ¶
func (client *Client) GetRegionWithChan(request *GetRegionRequest) (<-chan *GetRegionResponse, <-chan error)
GetRegionWithChan invokes the dfs.GetRegion API asynchronously
func (*Client) ListAccessGroups ¶
func (client *Client) ListAccessGroups(request *ListAccessGroupsRequest) (response *ListAccessGroupsResponse, err error)
ListAccessGroups invokes the dfs.ListAccessGroups API synchronously
func (*Client) ListAccessGroupsWithCallback ¶
func (client *Client) ListAccessGroupsWithCallback(request *ListAccessGroupsRequest, callback func(response *ListAccessGroupsResponse, err error)) <-chan int
ListAccessGroupsWithCallback invokes the dfs.ListAccessGroups API asynchronously
func (*Client) ListAccessGroupsWithChan ¶
func (client *Client) ListAccessGroupsWithChan(request *ListAccessGroupsRequest) (<-chan *ListAccessGroupsResponse, <-chan error)
ListAccessGroupsWithChan invokes the dfs.ListAccessGroups API asynchronously
func (*Client) ListAccessRules ¶
func (client *Client) ListAccessRules(request *ListAccessRulesRequest) (response *ListAccessRulesResponse, err error)
ListAccessRules invokes the dfs.ListAccessRules API synchronously
func (*Client) ListAccessRulesWithCallback ¶
func (client *Client) ListAccessRulesWithCallback(request *ListAccessRulesRequest, callback func(response *ListAccessRulesResponse, err error)) <-chan int
ListAccessRulesWithCallback invokes the dfs.ListAccessRules API asynchronously
func (*Client) ListAccessRulesWithChan ¶
func (client *Client) ListAccessRulesWithChan(request *ListAccessRulesRequest) (<-chan *ListAccessRulesResponse, <-chan error)
ListAccessRulesWithChan invokes the dfs.ListAccessRules API asynchronously
func (*Client) ListFileSystems ¶
func (client *Client) ListFileSystems(request *ListFileSystemsRequest) (response *ListFileSystemsResponse, err error)
ListFileSystems invokes the dfs.ListFileSystems API synchronously
func (*Client) ListFileSystemsWithCallback ¶
func (client *Client) ListFileSystemsWithCallback(request *ListFileSystemsRequest, callback func(response *ListFileSystemsResponse, err error)) <-chan int
ListFileSystemsWithCallback invokes the dfs.ListFileSystems API asynchronously
func (*Client) ListFileSystemsWithChan ¶
func (client *Client) ListFileSystemsWithChan(request *ListFileSystemsRequest) (<-chan *ListFileSystemsResponse, <-chan error)
ListFileSystemsWithChan invokes the dfs.ListFileSystems API asynchronously
func (*Client) ListMountPoints ¶
func (client *Client) ListMountPoints(request *ListMountPointsRequest) (response *ListMountPointsResponse, err error)
ListMountPoints invokes the dfs.ListMountPoints API synchronously
func (*Client) ListMountPointsWithCallback ¶
func (client *Client) ListMountPointsWithCallback(request *ListMountPointsRequest, callback func(response *ListMountPointsResponse, err error)) <-chan int
ListMountPointsWithCallback invokes the dfs.ListMountPoints API asynchronously
func (*Client) ListMountPointsWithChan ¶
func (client *Client) ListMountPointsWithChan(request *ListMountPointsRequest) (<-chan *ListMountPointsResponse, <-chan error)
ListMountPointsWithChan invokes the dfs.ListMountPoints API asynchronously
func (*Client) ListUserGroupsMappings ¶
func (client *Client) ListUserGroupsMappings(request *ListUserGroupsMappingsRequest) (response *ListUserGroupsMappingsResponse, err error)
ListUserGroupsMappings invokes the dfs.ListUserGroupsMappings API synchronously
func (*Client) ListUserGroupsMappingsWithCallback ¶
func (client *Client) ListUserGroupsMappingsWithCallback(request *ListUserGroupsMappingsRequest, callback func(response *ListUserGroupsMappingsResponse, err error)) <-chan int
ListUserGroupsMappingsWithCallback invokes the dfs.ListUserGroupsMappings API asynchronously
func (*Client) ListUserGroupsMappingsWithChan ¶
func (client *Client) ListUserGroupsMappingsWithChan(request *ListUserGroupsMappingsRequest) (<-chan *ListUserGroupsMappingsResponse, <-chan error)
ListUserGroupsMappingsWithChan invokes the dfs.ListUserGroupsMappings API asynchronously
func (*Client) ModifyAccessGroup ¶
func (client *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
ModifyAccessGroup invokes the dfs.ModifyAccessGroup API synchronously
func (*Client) ModifyAccessGroupWithCallback ¶
func (client *Client) ModifyAccessGroupWithCallback(request *ModifyAccessGroupRequest, callback func(response *ModifyAccessGroupResponse, err error)) <-chan int
ModifyAccessGroupWithCallback invokes the dfs.ModifyAccessGroup API asynchronously
func (*Client) ModifyAccessGroupWithChan ¶
func (client *Client) ModifyAccessGroupWithChan(request *ModifyAccessGroupRequest) (<-chan *ModifyAccessGroupResponse, <-chan error)
ModifyAccessGroupWithChan invokes the dfs.ModifyAccessGroup API asynchronously
func (*Client) ModifyAccessRule ¶
func (client *Client) ModifyAccessRule(request *ModifyAccessRuleRequest) (response *ModifyAccessRuleResponse, err error)
ModifyAccessRule invokes the dfs.ModifyAccessRule API synchronously
func (*Client) ModifyAccessRuleWithCallback ¶
func (client *Client) ModifyAccessRuleWithCallback(request *ModifyAccessRuleRequest, callback func(response *ModifyAccessRuleResponse, err error)) <-chan int
ModifyAccessRuleWithCallback invokes the dfs.ModifyAccessRule API asynchronously
func (*Client) ModifyAccessRuleWithChan ¶
func (client *Client) ModifyAccessRuleWithChan(request *ModifyAccessRuleRequest) (<-chan *ModifyAccessRuleResponse, <-chan error)
ModifyAccessRuleWithChan invokes the dfs.ModifyAccessRule API asynchronously
func (*Client) ModifyFileSystem ¶
func (client *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
ModifyFileSystem invokes the dfs.ModifyFileSystem API synchronously
func (*Client) ModifyFileSystemWithCallback ¶
func (client *Client) ModifyFileSystemWithCallback(request *ModifyFileSystemRequest, callback func(response *ModifyFileSystemResponse, err error)) <-chan int
ModifyFileSystemWithCallback invokes the dfs.ModifyFileSystem API asynchronously
func (*Client) ModifyFileSystemWithChan ¶
func (client *Client) ModifyFileSystemWithChan(request *ModifyFileSystemRequest) (<-chan *ModifyFileSystemResponse, <-chan error)
ModifyFileSystemWithChan invokes the dfs.ModifyFileSystem API asynchronously
func (*Client) ModifyMountPoint ¶
func (client *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
ModifyMountPoint invokes the dfs.ModifyMountPoint API synchronously
func (*Client) ModifyMountPointWithCallback ¶
func (client *Client) ModifyMountPointWithCallback(request *ModifyMountPointRequest, callback func(response *ModifyMountPointResponse, err error)) <-chan int
ModifyMountPointWithCallback invokes the dfs.ModifyMountPoint API asynchronously
func (*Client) ModifyMountPointWithChan ¶
func (client *Client) ModifyMountPointWithChan(request *ModifyMountPointRequest) (<-chan *ModifyMountPointResponse, <-chan error)
ModifyMountPointWithChan invokes the dfs.ModifyMountPoint API asynchronously
type CreateAccessGroupRequest ¶
type CreateAccessGroupRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` NetworkType string `position:"Query" name:"NetworkType"` InputRegionId string `position:"Query" name:"InputRegionId"` AccessGroupName string `position:"Query" name:"AccessGroupName"` }
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 AccessGroupId string `json:"AccessGroupId" xml:"AccessGroupId"` RequestId string `json:"RequestId" xml:"RequestId"` }
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 RWAccessType string `position:"Query" name:"RWAccessType"` Description string `position:"Query" name:"Description"` AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` NetworkSegment string `position:"Query" name:"NetworkSegment"` 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 AccessRuleId string `json:"AccessRuleId" xml:"AccessRuleId"` RequestId string `json:"RequestId" xml:"RequestId"` }
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 ThroughputMode string `position:"Query" name:"ThroughputMode"` Description string `position:"Query" name:"Description"` DataRedundancyType string `position:"Query" name:"DataRedundancyType"` StorageType string `position:"Query" name:"StorageType"` FileSystemName string `position:"Query" name:"FileSystemName"` InputRegionId string `position:"Query" name:"InputRegionId"` SpaceCapacity requests.Integer `position:"Query" name:"SpaceCapacity"` PartitionNumber requests.Integer `position:"Query" name:"PartitionNumber"` ProvisionedThroughputInMiBps requests.Integer `position:"Query" name:"ProvisionedThroughputInMiBps"` ZoneId string `position:"Query" name:"ZoneId"` ProtocolType string `position:"Query" name:"ProtocolType"` StorageSetName string `position:"Query" name:"StorageSetName"` }
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 FileSystemId string `json:"FileSystemId" xml:"FileSystemId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateFileSystemResponse is the response struct for api CreateFileSystem
func CreateCreateFileSystemResponse ¶
func CreateCreateFileSystemResponse() (response *CreateFileSystemResponse)
CreateCreateFileSystemResponse creates a response to parse from CreateFileSystem response
type CreateMountPointRequest ¶
type CreateMountPointRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` NetworkType string `position:"Query" name:"NetworkType"` AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` FileSystemId string `position:"Query" name:"FileSystemId"` VSwitchId string `position:"Query" name:"VSwitchId"` VpcId string `position:"Query" name:"VpcId"` }
CreateMountPointRequest is the request struct for api CreateMountPoint
func CreateCreateMountPointRequest ¶
func CreateCreateMountPointRequest() (request *CreateMountPointRequest)
CreateCreateMountPointRequest creates a request to invoke CreateMountPoint API
type CreateMountPointResponse ¶
type CreateMountPointResponse struct { *responses.BaseResponse MountPointId string `json:"MountPointId" xml:"MountPointId"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateMountPointResponse is the response struct for api CreateMountPoint
func CreateCreateMountPointResponse ¶
func CreateCreateMountPointResponse() (response *CreateMountPointResponse)
CreateCreateMountPointResponse creates a response to parse from CreateMountPoint response
type CreateUserGroupsMappingRequest ¶
type CreateUserGroupsMappingRequest struct { *requests.RpcRequest GroupNames *[]string `position:"Query" name:"GroupNames" type:"Json"` InputRegionId string `position:"Query" name:"InputRegionId"` FileSystemId string `position:"Query" name:"FileSystemId"` UserName string `position:"Query" name:"UserName"` }
CreateUserGroupsMappingRequest is the request struct for api CreateUserGroupsMapping
func CreateCreateUserGroupsMappingRequest ¶
func CreateCreateUserGroupsMappingRequest() (request *CreateUserGroupsMappingRequest)
CreateCreateUserGroupsMappingRequest creates a request to invoke CreateUserGroupsMapping API
type CreateUserGroupsMappingResponse ¶
type CreateUserGroupsMappingResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateUserGroupsMappingResponse is the response struct for api CreateUserGroupsMapping
func CreateCreateUserGroupsMappingResponse ¶
func CreateCreateUserGroupsMappingResponse() (response *CreateUserGroupsMappingResponse)
CreateCreateUserGroupsMappingResponse creates a response to parse from CreateUserGroupsMapping response
type DeleteAccessGroupRequest ¶
type DeleteAccessGroupRequest struct { *requests.RpcRequest AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` }
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 AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` 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 InputRegionId string `position:"Query" name:"InputRegionId"` 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 DeleteMountPointRequest ¶
type DeleteMountPointRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` MountPointId string `position:"Query" name:"MountPointId"` FileSystemId string `position:"Query" name:"FileSystemId"` }
DeleteMountPointRequest is the request struct for api DeleteMountPoint
func CreateDeleteMountPointRequest ¶
func CreateDeleteMountPointRequest() (request *DeleteMountPointRequest)
CreateDeleteMountPointRequest creates a request to invoke DeleteMountPoint API
type DeleteMountPointResponse ¶
type DeleteMountPointResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteMountPointResponse is the response struct for api DeleteMountPoint
func CreateDeleteMountPointResponse ¶
func CreateDeleteMountPointResponse() (response *DeleteMountPointResponse)
CreateDeleteMountPointResponse creates a response to parse from DeleteMountPoint response
type DeleteUserGroupsMappingRequest ¶
type DeleteUserGroupsMappingRequest struct { *requests.RpcRequest GroupNames string `position:"Query" name:"GroupNames"` InputRegionId string `position:"Query" name:"InputRegionId"` FileSystemId string `position:"Query" name:"FileSystemId"` UserName string `position:"Query" name:"UserName"` }
DeleteUserGroupsMappingRequest is the request struct for api DeleteUserGroupsMapping
func CreateDeleteUserGroupsMappingRequest ¶
func CreateDeleteUserGroupsMappingRequest() (request *DeleteUserGroupsMappingRequest)
CreateDeleteUserGroupsMappingRequest creates a request to invoke DeleteUserGroupsMapping API
type DeleteUserGroupsMappingResponse ¶
type DeleteUserGroupsMappingResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteUserGroupsMappingResponse is the response struct for api DeleteUserGroupsMapping
func CreateDeleteUserGroupsMappingResponse ¶
func CreateDeleteUserGroupsMappingResponse() (response *DeleteUserGroupsMappingResponse)
CreateDeleteUserGroupsMappingResponse creates a response to parse from DeleteUserGroupsMapping response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` AcceptLanguage string `position:"Query" name:"AcceptLanguage"` }
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"` Regions Regions `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 FileSystem ¶
type FileSystem struct { FileSystemId string `json:"FileSystemId" xml:"FileSystemId"` SpaceCapacity int64 `json:"SpaceCapacity" xml:"SpaceCapacity"` ThroughputMode string `json:"ThroughputMode" xml:"ThroughputMode"` Version string `json:"Version" xml:"Version"` CreateTime string `json:"CreateTime" xml:"CreateTime"` MeteringSpaceSize float64 `json:"MeteringSpaceSize" xml:"MeteringSpaceSize"` StoragePackageId string `json:"StoragePackageId" xml:"StoragePackageId"` MountPointCount int64 `json:"MountPointCount" xml:"MountPointCount"` StorageType string `json:"StorageType" xml:"StorageType"` RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` NumberOfDirectories int64 `json:"NumberOfDirectories" xml:"NumberOfDirectories"` FileSystemName string `json:"FileSystemName" xml:"FileSystemName"` UsedSpaceSize float64 `json:"UsedSpaceSize" xml:"UsedSpaceSize"` ProtocolType string `json:"ProtocolType" xml:"ProtocolType"` ProvisionedThroughputInMiBps int64 `json:"ProvisionedThroughputInMiBps" xml:"ProvisionedThroughputInMiBps"` Description string `json:"Description" xml:"Description"` NumberOfFiles int64 `json:"NumberOfFiles" xml:"NumberOfFiles"` }
FileSystem is a nested struct in dfs response
type FileSystems ¶
type FileSystems struct {
FileSystem []FileSystem `json:"FileSystem" xml:"FileSystem"`
}
FileSystems is a nested struct in dfs response
type GetAccessGroupRequest ¶
type GetAccessGroupRequest struct { *requests.RpcRequest AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` }
GetAccessGroupRequest is the request struct for api GetAccessGroup
func CreateGetAccessGroupRequest ¶
func CreateGetAccessGroupRequest() (request *GetAccessGroupRequest)
CreateGetAccessGroupRequest creates a request to invoke GetAccessGroup API
type GetAccessGroupResponse ¶
type GetAccessGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AccessGroup AccessGroup `json:"AccessGroup" xml:"AccessGroup"` }
GetAccessGroupResponse is the response struct for api GetAccessGroup
func CreateGetAccessGroupResponse ¶
func CreateGetAccessGroupResponse() (response *GetAccessGroupResponse)
CreateGetAccessGroupResponse creates a response to parse from GetAccessGroup response
type GetAccessRuleRequest ¶
type GetAccessRuleRequest struct { *requests.RpcRequest AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` AccessRuleId string `position:"Query" name:"AccessRuleId"` }
GetAccessRuleRequest is the request struct for api GetAccessRule
func CreateGetAccessRuleRequest ¶
func CreateGetAccessRuleRequest() (request *GetAccessRuleRequest)
CreateGetAccessRuleRequest creates a request to invoke GetAccessRule API
type GetAccessRuleResponse ¶
type GetAccessRuleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AccessRule AccessRule `json:"AccessRule" xml:"AccessRule"` }
GetAccessRuleResponse is the response struct for api GetAccessRule
func CreateGetAccessRuleResponse ¶
func CreateGetAccessRuleResponse() (response *GetAccessRuleResponse)
CreateGetAccessRuleResponse creates a response to parse from GetAccessRule response
type GetFileSystemRequest ¶
type GetFileSystemRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` FileSystemId string `position:"Query" name:"FileSystemId"` }
GetFileSystemRequest is the request struct for api GetFileSystem
func CreateGetFileSystemRequest ¶
func CreateGetFileSystemRequest() (request *GetFileSystemRequest)
CreateGetFileSystemRequest creates a request to invoke GetFileSystem API
type GetFileSystemResponse ¶
type GetFileSystemResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` FileSystem FileSystem `json:"FileSystem" xml:"FileSystem"` }
GetFileSystemResponse is the response struct for api GetFileSystem
func CreateGetFileSystemResponse ¶
func CreateGetFileSystemResponse() (response *GetFileSystemResponse)
CreateGetFileSystemResponse creates a response to parse from GetFileSystem response
type GetMountPointRequest ¶
type GetMountPointRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` MountPointId string `position:"Query" name:"MountPointId"` FileSystemId string `position:"Query" name:"FileSystemId"` }
GetMountPointRequest is the request struct for api GetMountPoint
func CreateGetMountPointRequest ¶
func CreateGetMountPointRequest() (request *GetMountPointRequest)
CreateGetMountPointRequest creates a request to invoke GetMountPoint API
type GetMountPointResponse ¶
type GetMountPointResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MountPoint MountPoint `json:"MountPoint" xml:"MountPoint"` }
GetMountPointResponse is the response struct for api GetMountPoint
func CreateGetMountPointResponse ¶
func CreateGetMountPointResponse() (response *GetMountPointResponse)
CreateGetMountPointResponse creates a response to parse from GetMountPoint response
type GetRegionRequest ¶
type GetRegionRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` }
GetRegionRequest is the request struct for api GetRegion
func CreateGetRegionRequest ¶
func CreateGetRegionRequest() (request *GetRegionRequest)
CreateGetRegionRequest creates a request to invoke GetRegion API
type GetRegionResponse ¶
type GetRegionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AvailableZones []AvailableZone `json:"AvailableZones" xml:"AvailableZones"` }
GetRegionResponse is the response struct for api GetRegion
func CreateGetRegionResponse ¶
func CreateGetRegionResponse() (response *GetRegionResponse)
CreateGetRegionResponse creates a response to parse from GetRegion response
type GroupNames ¶
type GroupNames struct {
String []string `json:"string" xml:"string"`
}
GroupNames is a nested struct in dfs response
type ListAccessGroupsRequest ¶
type ListAccessGroupsRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` Limit requests.Integer `position:"Query" name:"Limit"` OrderBy string `position:"Query" name:"OrderBy"` StartOffset requests.Integer `position:"Query" name:"StartOffset"` OrderType string `position:"Query" name:"OrderType"` }
ListAccessGroupsRequest is the request struct for api ListAccessGroups
func CreateListAccessGroupsRequest ¶
func CreateListAccessGroupsRequest() (request *ListAccessGroupsRequest)
CreateListAccessGroupsRequest creates a request to invoke ListAccessGroups API
type ListAccessGroupsResponse ¶
type ListAccessGroupsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` AccessGroups []AccessGroup `json:"AccessGroups" xml:"AccessGroups"` }
ListAccessGroupsResponse is the response struct for api ListAccessGroups
func CreateListAccessGroupsResponse ¶
func CreateListAccessGroupsResponse() (response *ListAccessGroupsResponse)
CreateListAccessGroupsResponse creates a response to parse from ListAccessGroups response
type ListAccessRulesRequest ¶
type ListAccessRulesRequest struct { *requests.RpcRequest AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` Limit requests.Integer `position:"Query" name:"Limit"` OrderBy string `position:"Query" name:"OrderBy"` StartOffset requests.Integer `position:"Query" name:"StartOffset"` OrderType string `position:"Query" name:"OrderType"` }
ListAccessRulesRequest is the request struct for api ListAccessRules
func CreateListAccessRulesRequest ¶
func CreateListAccessRulesRequest() (request *ListAccessRulesRequest)
CreateListAccessRulesRequest creates a request to invoke ListAccessRules API
type ListAccessRulesResponse ¶
type ListAccessRulesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` AccessRules []AccessRule `json:"AccessRules" xml:"AccessRules"` }
ListAccessRulesResponse is the response struct for api ListAccessRules
func CreateListAccessRulesResponse ¶
func CreateListAccessRulesResponse() (response *ListAccessRulesResponse)
CreateListAccessRulesResponse creates a response to parse from ListAccessRules response
type ListFileSystemsRequest ¶
type ListFileSystemsRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` Limit requests.Integer `position:"Query" name:"Limit"` OrderBy string `position:"Query" name:"OrderBy"` StartOffset requests.Integer `position:"Query" name:"StartOffset"` OrderType string `position:"Query" name:"OrderType"` }
ListFileSystemsRequest is the request struct for api ListFileSystems
func CreateListFileSystemsRequest ¶
func CreateListFileSystemsRequest() (request *ListFileSystemsRequest)
CreateListFileSystemsRequest creates a request to invoke ListFileSystems API
type ListFileSystemsResponse ¶
type ListFileSystemsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` FileSystems []FileSystem `json:"FileSystems" xml:"FileSystems"` }
ListFileSystemsResponse is the response struct for api ListFileSystems
func CreateListFileSystemsResponse ¶
func CreateListFileSystemsResponse() (response *ListFileSystemsResponse)
CreateListFileSystemsResponse creates a response to parse from ListFileSystems response
type ListMountPointsRequest ¶
type ListMountPointsRequest struct { *requests.RpcRequest InputRegionId string `position:"Query" name:"InputRegionId"` Limit requests.Integer `position:"Query" name:"Limit"` FileSystemId string `position:"Query" name:"FileSystemId"` OrderBy string `position:"Query" name:"OrderBy"` StartOffset requests.Integer `position:"Query" name:"StartOffset"` OrderType string `position:"Query" name:"OrderType"` }
ListMountPointsRequest is the request struct for api ListMountPoints
func CreateListMountPointsRequest ¶
func CreateListMountPointsRequest() (request *ListMountPointsRequest)
CreateListMountPointsRequest creates a request to invoke ListMountPoints API
type ListMountPointsResponse ¶
type ListMountPointsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` MountPoints []MountPoint `json:"MountPoints" xml:"MountPoints"` }
ListMountPointsResponse is the response struct for api ListMountPoints
func CreateListMountPointsResponse ¶
func CreateListMountPointsResponse() (response *ListMountPointsResponse)
CreateListMountPointsResponse creates a response to parse from ListMountPoints response
type ListUserGroupsMappingsRequest ¶
type ListUserGroupsMappingsRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` InputRegionId string `position:"Query" name:"InputRegionId"` Limit requests.Integer `position:"Query" name:"Limit"` FilesystemId string `position:"Query" name:"FilesystemId"` }
ListUserGroupsMappingsRequest is the request struct for api ListUserGroupsMappings
func CreateListUserGroupsMappingsRequest ¶
func CreateListUserGroupsMappingsRequest() (request *ListUserGroupsMappingsRequest)
CreateListUserGroupsMappingsRequest creates a request to invoke ListUserGroupsMappings API
type ListUserGroupsMappingsResponse ¶
type ListUserGroupsMappingsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` HasMore bool `json:"HasMore" xml:"HasMore"` NextToken string `json:"NextToken" xml:"NextToken"` UserGroupsMappings []UserGroupsMappingPB `json:"UserGroupsMappings" xml:"UserGroupsMappings"` }
ListUserGroupsMappingsResponse is the response struct for api ListUserGroupsMappings
func CreateListUserGroupsMappingsResponse ¶
func CreateListUserGroupsMappingsResponse() (response *ListUserGroupsMappingsResponse)
CreateListUserGroupsMappingsResponse creates a response to parse from ListUserGroupsMappings response
type ModifyAccessGroupRequest ¶
type ModifyAccessGroupRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` AccessGroupName string `position:"Query" name:"AccessGroupName"` }
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 RWAccessType string `position:"Query" name:"RWAccessType"` Description string `position:"Query" name:"Description"` AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` AccessRuleId string `position:"Query" name:"AccessRuleId"` 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 ThroughputMode string `position:"Query" name:"ThroughputMode"` Description string `position:"Query" name:"Description"` FileSystemName string `position:"Query" name:"FileSystemName"` InputRegionId string `position:"Query" name:"InputRegionId"` SpaceCapacity requests.Integer `position:"Query" name:"SpaceCapacity"` FileSystemId string `position:"Query" name:"FileSystemId"` ProvisionedThroughputInMiBps requests.Integer `position:"Query" name:"ProvisionedThroughputInMiBps"` }
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 ModifyMountPointRequest ¶
type ModifyMountPointRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` AccessGroupId string `position:"Query" name:"AccessGroupId"` InputRegionId string `position:"Query" name:"InputRegionId"` MountPointId string `position:"Query" name:"MountPointId"` FileSystemId string `position:"Query" name:"FileSystemId"` Status string `position:"Query" name:"Status"` }
ModifyMountPointRequest is the request struct for api ModifyMountPoint
func CreateModifyMountPointRequest ¶
func CreateModifyMountPointRequest() (request *ModifyMountPointRequest)
CreateModifyMountPointRequest creates a request to invoke ModifyMountPoint API
type ModifyMountPointResponse ¶
type ModifyMountPointResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyMountPointResponse is the response struct for api ModifyMountPoint
func CreateModifyMountPointResponse ¶
func CreateModifyMountPointResponse() (response *ModifyMountPointResponse)
CreateModifyMountPointResponse creates a response to parse from ModifyMountPoint response
type MountPoint ¶
type MountPoint struct { AccessGroupId string `json:"AccessGroupId" xml:"AccessGroupId"` FileSystemId string `json:"FileSystemId" xml:"FileSystemId"` RegionId string `json:"RegionId" xml:"RegionId"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` Status string `json:"Status" xml:"Status"` VpcId string `json:"VpcId" xml:"VpcId"` NetworkType string `json:"NetworkType" xml:"NetworkType"` MountPointId string `json:"MountPointId" xml:"MountPointId"` Description string `json:"Description" xml:"Description"` MountPointDomain string `json:"MountPointDomain" xml:"MountPointDomain"` }
MountPoint is a nested struct in dfs response
type MountPoints ¶
type MountPoints struct {
MountPoint []MountPoint `json:"MountPoint" xml:"MountPoint"`
}
MountPoints is a nested struct in dfs response
type Option ¶
type Option struct { StorageType string `json:"StorageType" xml:"StorageType"` ProtocolType string `json:"ProtocolType" xml:"ProtocolType"` }
Option is a nested struct in dfs response
type Options ¶
type Options struct {
Option []Option `json:"Option" xml:"Option"`
}
Options is a nested struct in dfs response
type Region ¶
type Region struct {
RegionItem []RegionItem `json:"Region" xml:"Region"`
}
Region is a nested struct in dfs response
type RegionItem ¶
type RegionItem struct { RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` LocalName string `json:"LocalName" xml:"LocalName"` RegionId string `json:"RegionId" xml:"RegionId"` }
RegionItem is a nested struct in dfs response
type Regions ¶
type Regions struct {
Region []RegionItem `json:"Region" xml:"Region"`
}
Regions is a nested struct in dfs response
type UserGroupsMappingPB ¶
type UserGroupsMappingPB struct { UserName string `json:"UserName" xml:"UserName"` GroupNames []string `json:"GroupNames" xml:"GroupNames"` }
UserGroupsMappingPB is a nested struct in dfs response
type UserGroupsMappings ¶
type UserGroupsMappings struct {
UserGroupsMappingPB []UserGroupsMappingPB `json:"UserGroupsMappingPB" xml:"UserGroupsMappingPB"`
}
UserGroupsMappings is a nested struct in dfs response
Source Files ¶
- client.go
- create_access_group.go
- create_access_rule.go
- create_file_system.go
- create_mount_point.go
- create_user_groups_mapping.go
- delete_access_group.go
- delete_access_rule.go
- delete_file_system.go
- delete_mount_point.go
- delete_user_groups_mapping.go
- describe_regions.go
- get_access_group.go
- get_access_rule.go
- get_file_system.go
- get_mount_point.go
- get_region.go
- list_access_groups.go
- list_access_rules.go
- list_file_systems.go
- list_mount_points.go
- list_user_groups_mappings.go
- modify_access_group.go
- modify_access_rule.go
- modify_file_system.go
- modify_mount_point.go
- struct_access_group.go
- struct_access_groups.go
- struct_access_rule.go
- struct_access_rules.go
- struct_available_zone.go
- struct_available_zones.go
- struct_file_system.go
- struct_file_systems.go
- struct_group_names.go
- struct_mount_point.go
- struct_mount_points.go
- struct_option.go
- struct_options.go
- struct_region.go
- struct_region_item.go
- struct_regions.go
- struct_user_groups_mapping_pb.go
- struct_user_groups_mappings.go