v20190718

package
v3.0.233+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2019-07-18"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessGroup

type AccessGroup struct {

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// 权限组名称
	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`

	// 权限组描述
	Description *string `json:"Description,omitempty" name:"Description"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type AccessRule

type AccessRule struct {

	// 权限规则ID
	AccessRuleId *uint64 `json:"AccessRuleId,omitempty" name:"AccessRuleId"`

	// 权限规则地址(网段或IP)
	Address *string `json:"Address,omitempty" name:"Address"`

	// 权限规则访问模式(1:只读;2:读写)
	AccessMode *uint64 `json:"AccessMode,omitempty" name:"AccessMode"`

	// 优先级(取值范围1~100,值越小优先级越高)
	Priority *uint64 `json:"Priority,omitempty" name:"Priority"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateAccessGroup

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

创建权限组。

func (*Client) CreateAccessRules

func (c *Client) CreateAccessRules(request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)

批量创建权限规则,权限规则ID和创建时间无需填写。

func (*Client) CreateFileSystem

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

创建文件系统(异步)。

func (*Client) CreateMountPoint

func (c *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)

创建文件系统挂载点,仅限于创建成功的文件系统。

func (*Client) DeleteAccessGroup

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

删除权限组。

func (*Client) DeleteAccessRules

func (c *Client) DeleteAccessRules(request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)

批量删除权限规则。

func (*Client) DeleteFileSystem

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

删除文件系统,不允许删除非空文件系统。

func (*Client) DeleteMountPoint

func (c *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)

删除挂载点。

func (*Client) DescribeAccessGroups

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

查看权限组列表。

func (*Client) DescribeAccessRules

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

通过权限组ID查看权限规则列表。

func (*Client) DescribeFileSystem

func (c *Client) DescribeFileSystem(request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)

查看文件系统详细信息。

func (*Client) DescribeFileSystems

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

查看文件系统列表。

func (*Client) DescribeMountPoint

func (c *Client) DescribeMountPoint(request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)

查看挂载点详细信息。

func (*Client) DescribeMountPoints

func (c *Client) DescribeMountPoints(request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)

通过文件系统ID或者权限组ID查看挂载点列表。

func (*Client) ModifyAccessGroup

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

修改权限组属性。

func (*Client) ModifyAccessRules

func (c *Client) ModifyAccessRules(request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)

批量修改权限规则属性,需要指定权限规则ID。

func (*Client) ModifyFileSystem

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

修改文件系统属性,仅限于创建成功的文件系统。

func (*Client) ModifyMountPoint

func (c *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)

修改挂载点属性。

type CreateAccessGroupRequest

type CreateAccessGroupRequest struct {
	*tchttp.BaseRequest

	// 权限组名称
	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`

	// 权限组描述
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateAccessGroupRequest

func NewCreateAccessGroupRequest() (request *CreateAccessGroupRequest)

func (*CreateAccessGroupRequest) FromJsonString

func (r *CreateAccessGroupRequest) FromJsonString(s string) error

func (*CreateAccessGroupRequest) ToJsonString

func (r *CreateAccessGroupRequest) ToJsonString() string

type CreateAccessGroupResponse

type CreateAccessGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 权限组
		AccessGroup *AccessGroup `json:"AccessGroup,omitempty" name:"AccessGroup"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAccessGroupResponse

func NewCreateAccessGroupResponse() (response *CreateAccessGroupResponse)

func (*CreateAccessGroupResponse) FromJsonString

func (r *CreateAccessGroupResponse) FromJsonString(s string) error

func (*CreateAccessGroupResponse) ToJsonString

func (r *CreateAccessGroupResponse) ToJsonString() string

type CreateAccessRulesRequest

type CreateAccessRulesRequest struct {
	*tchttp.BaseRequest

	// 多个权限规则,上限为10
	AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list`

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewCreateAccessRulesRequest

func NewCreateAccessRulesRequest() (request *CreateAccessRulesRequest)

func (*CreateAccessRulesRequest) FromJsonString

func (r *CreateAccessRulesRequest) FromJsonString(s string) error

func (*CreateAccessRulesRequest) ToJsonString

func (r *CreateAccessRulesRequest) ToJsonString() string

type CreateAccessRulesResponse

type CreateAccessRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAccessRulesResponse

func NewCreateAccessRulesResponse() (response *CreateAccessRulesResponse)

func (*CreateAccessRulesResponse) FromJsonString

func (r *CreateAccessRulesResponse) FromJsonString(s string) error

func (*CreateAccessRulesResponse) ToJsonString

func (r *CreateAccessRulesResponse) ToJsonString() string

type CreateFileSystemRequest

type CreateFileSystemRequest struct {
	*tchttp.BaseRequest

	// 文件系统名称
	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`

	// 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍
	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`

	// 文件系统描述
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateFileSystemRequest

func NewCreateFileSystemRequest() (request *CreateFileSystemRequest)

func (*CreateFileSystemRequest) FromJsonString

func (r *CreateFileSystemRequest) FromJsonString(s string) error

func (*CreateFileSystemRequest) ToJsonString

func (r *CreateFileSystemRequest) ToJsonString() string

type CreateFileSystemResponse

type CreateFileSystemResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 文件系统
		FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateFileSystemResponse

func NewCreateFileSystemResponse() (response *CreateFileSystemResponse)

func (*CreateFileSystemResponse) FromJsonString

func (r *CreateFileSystemResponse) FromJsonString(s string) error

func (*CreateFileSystemResponse) ToJsonString

func (r *CreateFileSystemResponse) ToJsonString() string

type CreateMountPointRequest

type CreateMountPointRequest struct {
	*tchttp.BaseRequest

	// 挂载点名称
	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`

	// 文件系统ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// VPC网络ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 挂载点状态(1:打开;2:关闭)
	MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`

	// VPC网络类型(1:CVM;2:黑石1.0;3:黑石2.0)
	VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`
}

func NewCreateMountPointRequest

func NewCreateMountPointRequest() (request *CreateMountPointRequest)

func (*CreateMountPointRequest) FromJsonString

func (r *CreateMountPointRequest) FromJsonString(s string) error

func (*CreateMountPointRequest) ToJsonString

func (r *CreateMountPointRequest) ToJsonString() string

type CreateMountPointResponse

type CreateMountPointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 挂载点
		MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateMountPointResponse

func NewCreateMountPointResponse() (response *CreateMountPointResponse)

func (*CreateMountPointResponse) FromJsonString

func (r *CreateMountPointResponse) FromJsonString(s string) error

func (*CreateMountPointResponse) ToJsonString

func (r *CreateMountPointResponse) ToJsonString() string

type DeleteAccessGroupRequest

type DeleteAccessGroupRequest struct {
	*tchttp.BaseRequest

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewDeleteAccessGroupRequest

func NewDeleteAccessGroupRequest() (request *DeleteAccessGroupRequest)

func (*DeleteAccessGroupRequest) FromJsonString

func (r *DeleteAccessGroupRequest) FromJsonString(s string) error

func (*DeleteAccessGroupRequest) ToJsonString

func (r *DeleteAccessGroupRequest) ToJsonString() string

type DeleteAccessGroupResponse

type DeleteAccessGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAccessGroupResponse

func NewDeleteAccessGroupResponse() (response *DeleteAccessGroupResponse)

func (*DeleteAccessGroupResponse) FromJsonString

func (r *DeleteAccessGroupResponse) FromJsonString(s string) error

func (*DeleteAccessGroupResponse) ToJsonString

func (r *DeleteAccessGroupResponse) ToJsonString() string

type DeleteAccessRulesRequest

type DeleteAccessRulesRequest struct {
	*tchttp.BaseRequest

	// 多个权限规则ID,上限为10
	AccessRuleIds []*uint64 `json:"AccessRuleIds,omitempty" name:"AccessRuleIds" list`
}

func NewDeleteAccessRulesRequest

func NewDeleteAccessRulesRequest() (request *DeleteAccessRulesRequest)

func (*DeleteAccessRulesRequest) FromJsonString

func (r *DeleteAccessRulesRequest) FromJsonString(s string) error

func (*DeleteAccessRulesRequest) ToJsonString

func (r *DeleteAccessRulesRequest) ToJsonString() string

type DeleteAccessRulesResponse

type DeleteAccessRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAccessRulesResponse

func NewDeleteAccessRulesResponse() (response *DeleteAccessRulesResponse)

func (*DeleteAccessRulesResponse) FromJsonString

func (r *DeleteAccessRulesResponse) FromJsonString(s string) error

func (*DeleteAccessRulesResponse) ToJsonString

func (r *DeleteAccessRulesResponse) ToJsonString() string

type DeleteFileSystemRequest

type DeleteFileSystemRequest struct {
	*tchttp.BaseRequest

	// 文件系统ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDeleteFileSystemRequest

func NewDeleteFileSystemRequest() (request *DeleteFileSystemRequest)

func (*DeleteFileSystemRequest) FromJsonString

func (r *DeleteFileSystemRequest) FromJsonString(s string) error

func (*DeleteFileSystemRequest) ToJsonString

func (r *DeleteFileSystemRequest) ToJsonString() string

type DeleteFileSystemResponse

type DeleteFileSystemResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteFileSystemResponse

func NewDeleteFileSystemResponse() (response *DeleteFileSystemResponse)

func (*DeleteFileSystemResponse) FromJsonString

func (r *DeleteFileSystemResponse) FromJsonString(s string) error

func (*DeleteFileSystemResponse) ToJsonString

func (r *DeleteFileSystemResponse) ToJsonString() string

type DeleteMountPointRequest

type DeleteMountPointRequest struct {
	*tchttp.BaseRequest

	// 挂载点ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
}

func NewDeleteMountPointRequest

func NewDeleteMountPointRequest() (request *DeleteMountPointRequest)

func (*DeleteMountPointRequest) FromJsonString

func (r *DeleteMountPointRequest) FromJsonString(s string) error

func (*DeleteMountPointRequest) ToJsonString

func (r *DeleteMountPointRequest) ToJsonString() string

type DeleteMountPointResponse

type DeleteMountPointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMountPointResponse

func NewDeleteMountPointResponse() (response *DeleteMountPointResponse)

func (*DeleteMountPointResponse) FromJsonString

func (r *DeleteMountPointResponse) FromJsonString(s string) error

func (*DeleteMountPointResponse) ToJsonString

func (r *DeleteMountPointResponse) ToJsonString() string

type DescribeAccessGroupsRequest

type DescribeAccessGroupsRequest struct {
	*tchttp.BaseRequest

	// 过滤条件,Name可选“AccessGroupId“和“AccessGroupName”,Values上限为10
	Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为所有
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAccessGroupsRequest

func NewDescribeAccessGroupsRequest() (request *DescribeAccessGroupsRequest)

func (*DescribeAccessGroupsRequest) FromJsonString

func (r *DescribeAccessGroupsRequest) FromJsonString(s string) error

func (*DescribeAccessGroupsRequest) ToJsonString

func (r *DescribeAccessGroupsRequest) ToJsonString() string

type DescribeAccessGroupsResponse

type DescribeAccessGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 权限组列表
		AccessGroups []*AccessGroup `json:"AccessGroups,omitempty" name:"AccessGroups" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccessGroupsResponse

func NewDescribeAccessGroupsResponse() (response *DescribeAccessGroupsResponse)

func (*DescribeAccessGroupsResponse) FromJsonString

func (r *DescribeAccessGroupsResponse) FromJsonString(s string) error

func (*DescribeAccessGroupsResponse) ToJsonString

func (r *DescribeAccessGroupsResponse) ToJsonString() string

type DescribeAccessRulesRequest

type DescribeAccessRulesRequest struct {
	*tchttp.BaseRequest

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为所有
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAccessRulesRequest

func NewDescribeAccessRulesRequest() (request *DescribeAccessRulesRequest)

func (*DescribeAccessRulesRequest) FromJsonString

func (r *DescribeAccessRulesRequest) FromJsonString(s string) error

func (*DescribeAccessRulesRequest) ToJsonString

func (r *DescribeAccessRulesRequest) ToJsonString() string

type DescribeAccessRulesResponse

type DescribeAccessRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 权限规则列表
		AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccessRulesResponse

func NewDescribeAccessRulesResponse() (response *DescribeAccessRulesResponse)

func (*DescribeAccessRulesResponse) FromJsonString

func (r *DescribeAccessRulesResponse) FromJsonString(s string) error

func (*DescribeAccessRulesResponse) ToJsonString

func (r *DescribeAccessRulesResponse) ToJsonString() string

type DescribeFileSystemRequest

type DescribeFileSystemRequest struct {
	*tchttp.BaseRequest

	// 文件系统ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDescribeFileSystemRequest

func NewDescribeFileSystemRequest() (request *DescribeFileSystemRequest)

func (*DescribeFileSystemRequest) FromJsonString

func (r *DescribeFileSystemRequest) FromJsonString(s string) error

func (*DescribeFileSystemRequest) ToJsonString

func (r *DescribeFileSystemRequest) ToJsonString() string

type DescribeFileSystemResponse

type DescribeFileSystemResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 文件系统
		FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`

		// 文件系统已使用容量(byte)
		// 注意:此字段可能返回 null,表示取不到有效值。
		FileSystemCapacityUsed *uint64 `json:"FileSystemCapacityUsed,omitempty" name:"FileSystemCapacityUsed"`

		// 已使用容量(byte)
		// 注意:此字段可能返回 null,表示取不到有效值。
		CapacityUsed *uint64 `json:"CapacityUsed,omitempty" name:"CapacityUsed"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeFileSystemResponse

func NewDescribeFileSystemResponse() (response *DescribeFileSystemResponse)

func (*DescribeFileSystemResponse) FromJsonString

func (r *DescribeFileSystemResponse) FromJsonString(s string) error

func (*DescribeFileSystemResponse) ToJsonString

func (r *DescribeFileSystemResponse) ToJsonString() string

type DescribeFileSystemsRequest

type DescribeFileSystemsRequest struct {
	*tchttp.BaseRequest

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为所有
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeFileSystemsRequest

func NewDescribeFileSystemsRequest() (request *DescribeFileSystemsRequest)

func (*DescribeFileSystemsRequest) FromJsonString

func (r *DescribeFileSystemsRequest) FromJsonString(s string) error

func (*DescribeFileSystemsRequest) ToJsonString

func (r *DescribeFileSystemsRequest) ToJsonString() string

type DescribeFileSystemsResponse

type DescribeFileSystemsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 文件系统列表
		FileSystems []*FileSystem `json:"FileSystems,omitempty" name:"FileSystems" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeFileSystemsResponse

func NewDescribeFileSystemsResponse() (response *DescribeFileSystemsResponse)

func (*DescribeFileSystemsResponse) FromJsonString

func (r *DescribeFileSystemsResponse) FromJsonString(s string) error

func (*DescribeFileSystemsResponse) ToJsonString

func (r *DescribeFileSystemsResponse) ToJsonString() string

type DescribeMountPointRequest

type DescribeMountPointRequest struct {
	*tchttp.BaseRequest

	// 挂载点ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
}

func NewDescribeMountPointRequest

func NewDescribeMountPointRequest() (request *DescribeMountPointRequest)

func (*DescribeMountPointRequest) FromJsonString

func (r *DescribeMountPointRequest) FromJsonString(s string) error

func (*DescribeMountPointRequest) ToJsonString

func (r *DescribeMountPointRequest) ToJsonString() string

type DescribeMountPointResponse

type DescribeMountPointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 挂载点
		MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMountPointResponse

func NewDescribeMountPointResponse() (response *DescribeMountPointResponse)

func (*DescribeMountPointResponse) FromJsonString

func (r *DescribeMountPointResponse) FromJsonString(s string) error

func (*DescribeMountPointResponse) ToJsonString

func (r *DescribeMountPointResponse) ToJsonString() string

type DescribeMountPointsRequest

type DescribeMountPointsRequest struct {
	*tchttp.BaseRequest

	// 文件系统ID
	// 注意:若根据AccessGroupId查看挂载点列表,则无需设置FileSystemId
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// 权限组ID
	// 注意:若根据FileSystemId查看挂载点列表,则无需设置AccessGroupId
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为所有
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeMountPointsRequest

func NewDescribeMountPointsRequest() (request *DescribeMountPointsRequest)

func (*DescribeMountPointsRequest) FromJsonString

func (r *DescribeMountPointsRequest) FromJsonString(s string) error

func (*DescribeMountPointsRequest) ToJsonString

func (r *DescribeMountPointsRequest) ToJsonString() string

type DescribeMountPointsResponse

type DescribeMountPointsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 挂载点列表
		MountPoints []*MountPoint `json:"MountPoints,omitempty" name:"MountPoints" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMountPointsResponse

func NewDescribeMountPointsResponse() (response *DescribeMountPointsResponse)

func (*DescribeMountPointsResponse) FromJsonString

func (r *DescribeMountPointsResponse) FromJsonString(s string) error

func (*DescribeMountPointsResponse) ToJsonString

func (r *DescribeMountPointsResponse) ToJsonString() string

type FileSystem

type FileSystem struct {

	// appid
	AppId *uint64 `json:"AppId,omitempty" name:"AppId"`

	// 文件系统名称
	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`

	// 文件系统描述
	Description *string `json:"Description,omitempty" name:"Description"`

	// 地域
	Region *string `json:"Region,omitempty" name:"Region"`

	// 文件系统ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 文件系统块大小(byte)
	BlockSize *uint64 `json:"BlockSize,omitempty" name:"BlockSize"`

	// 文件系统容量(byte)
	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`

	// 文件系统状态(1:创建中;2:创建成功;3:创建失败)
	Status *uint64 `json:"Status,omitempty" name:"Status"`
}

type Filter

type Filter struct {

	// 过滤字段
	Name *string `json:"Name,omitempty" name:"Name"`

	// 过滤值
	Values []*string `json:"Values,omitempty" name:"Values" list`
}

type ModifyAccessGroupRequest

type ModifyAccessGroupRequest struct {
	*tchttp.BaseRequest

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// 权限组名称
	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`

	// 权限组描述
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifyAccessGroupRequest

func NewModifyAccessGroupRequest() (request *ModifyAccessGroupRequest)

func (*ModifyAccessGroupRequest) FromJsonString

func (r *ModifyAccessGroupRequest) FromJsonString(s string) error

func (*ModifyAccessGroupRequest) ToJsonString

func (r *ModifyAccessGroupRequest) ToJsonString() string

type ModifyAccessGroupResponse

type ModifyAccessGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAccessGroupResponse

func NewModifyAccessGroupResponse() (response *ModifyAccessGroupResponse)

func (*ModifyAccessGroupResponse) FromJsonString

func (r *ModifyAccessGroupResponse) FromJsonString(s string) error

func (*ModifyAccessGroupResponse) ToJsonString

func (r *ModifyAccessGroupResponse) ToJsonString() string

type ModifyAccessRulesRequest

type ModifyAccessRulesRequest struct {
	*tchttp.BaseRequest

	// 多个权限规则,上限为10
	AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list`
}

func NewModifyAccessRulesRequest

func NewModifyAccessRulesRequest() (request *ModifyAccessRulesRequest)

func (*ModifyAccessRulesRequest) FromJsonString

func (r *ModifyAccessRulesRequest) FromJsonString(s string) error

func (*ModifyAccessRulesRequest) ToJsonString

func (r *ModifyAccessRulesRequest) ToJsonString() string

type ModifyAccessRulesResponse

type ModifyAccessRulesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAccessRulesResponse

func NewModifyAccessRulesResponse() (response *ModifyAccessRulesResponse)

func (*ModifyAccessRulesResponse) FromJsonString

func (r *ModifyAccessRulesResponse) FromJsonString(s string) error

func (*ModifyAccessRulesResponse) ToJsonString

func (r *ModifyAccessRulesResponse) ToJsonString() string

type ModifyFileSystemRequest

type ModifyFileSystemRequest struct {
	*tchttp.BaseRequest

	// 文件系统ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// 文件系统名称
	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`

	// 文件系统描述
	Description *string `json:"Description,omitempty" name:"Description"`

	// 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍
	// 注意:修改的文件系统容量不能小于当前使用量
	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`
}

func NewModifyFileSystemRequest

func NewModifyFileSystemRequest() (request *ModifyFileSystemRequest)

func (*ModifyFileSystemRequest) FromJsonString

func (r *ModifyFileSystemRequest) FromJsonString(s string) error

func (*ModifyFileSystemRequest) ToJsonString

func (r *ModifyFileSystemRequest) ToJsonString() string

type ModifyFileSystemResponse

type ModifyFileSystemResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyFileSystemResponse

func NewModifyFileSystemResponse() (response *ModifyFileSystemResponse)

func (*ModifyFileSystemResponse) FromJsonString

func (r *ModifyFileSystemResponse) FromJsonString(s string) error

func (*ModifyFileSystemResponse) ToJsonString

func (r *ModifyFileSystemResponse) ToJsonString() string

type ModifyMountPointRequest

type ModifyMountPointRequest struct {
	*tchttp.BaseRequest

	// 挂载点ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`

	// 挂载点名称
	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`

	// 挂载点状态
	MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewModifyMountPointRequest

func NewModifyMountPointRequest() (request *ModifyMountPointRequest)

func (*ModifyMountPointRequest) FromJsonString

func (r *ModifyMountPointRequest) FromJsonString(s string) error

func (*ModifyMountPointRequest) ToJsonString

func (r *ModifyMountPointRequest) ToJsonString() string

type ModifyMountPointResponse

type ModifyMountPointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyMountPointResponse

func NewModifyMountPointResponse() (response *ModifyMountPointResponse)

func (*ModifyMountPointResponse) FromJsonString

func (r *ModifyMountPointResponse) FromJsonString(s string) error

func (*ModifyMountPointResponse) ToJsonString

func (r *ModifyMountPointResponse) ToJsonString() string

type MountPoint

type MountPoint struct {

	// 挂载点ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`

	// 挂载点名称
	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`

	// 文件系统ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// 权限组ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// VPC网络ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 挂载点状态(1:打开;2:关闭)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// VPC网络类型
	VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`
}

Jump to

Keyboard shortcuts

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