v20201112

package
v3.0.374+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The permission group has been bound.
	FAILEDOPERATION_ACCESSGROUPBOUND = "FailedOperation.AccessGroupBound"

	// The file system is not empty.
	FAILEDOPERATION_FILESYSTEMNOTEMPTY = "FailedOperation.FileSystemNotEmpty"

	// The file system capacity after change is smaller than the currently used capacity.
	FAILEDOPERATION_QUOTALESSTHANCURRENTUSED = "FailedOperation.QuotaLessThanCurrentUsed"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Incorrect parameter value: AccessGroupId.
	INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"

	// Incorrect parameter value: AccessGroupName.
	INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName"

	// Incorrect parameter value: `Address` of the permission rule.
	INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress"

	// Incorrect parameter value: CapacityQuota.
	INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota"

	// Incorrect parameter value: Description.
	INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"

	// Incorrect parameter value: FileSystemId.
	INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"

	// Incorrect parameter value: FileSystemName.
	INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName"

	// Incorrect parameter value: MountPointId.
	INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"

	// Incorrect parameter value: MountPointName.
	INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName"

	// Incorrect parameter value: VpcId.
	INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The operation was denied.
	OPERATIONDENIED = "OperationDenied"

	// The resource is in use.
	RESOURCEINUSE = "ResourceInUse"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The permission group does not exist.
	RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"

	// The permission rule does not exist.
	RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists"

	// The file system does not exist.
	RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"

	// The mount point does not exist.
	RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"

	// The VPC does not exist.
	RESOURCENOTFOUND_VPCNOTEXISTS = "ResourceNotFound.VpcNotExists"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
)
View Source
const APIVersion = "2020-11-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessGroup

type AccessGroup struct {

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// Permission group name
	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`

	// Permission group description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// VPC type (1: CVM; 2: BM 1.0)
	VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`

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

type AccessRule

type AccessRule struct {

	// Permission rule ID
	AccessRuleId *uint64 `json:"AccessRuleId,omitempty" name:"AccessRuleId"`

	// Permission rule address (IP range or IP)
	Address *string `json:"Address,omitempty" name:"Address"`

	// Permission rule access mode (1: read-only; 2: read-write)
	AccessMode *uint64 `json:"AccessMode,omitempty" name:"AccessMode"`

	// Priority (value range: 1–100. The smaller the value, the higher the priority)
	Priority *uint64 `json:"Priority,omitempty" name:"Priority"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type AssociateAccessGroupsRequest

type AssociateAccessGroupsRequest struct {
	*tchttp.BaseRequest

	// Mount point ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`

	// List of permission group IDs
	AccessGroupIds []*string `json:"AccessGroupIds,omitempty" name:"AccessGroupIds"`
}

func NewAssociateAccessGroupsRequest

func NewAssociateAccessGroupsRequest() (request *AssociateAccessGroupsRequest)

func (*AssociateAccessGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateAccessGroupsRequest) ToJsonString

func (r *AssociateAccessGroupsRequest) ToJsonString() string

type AssociateAccessGroupsResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAssociateAccessGroupsResponse

func NewAssociateAccessGroupsResponse() (response *AssociateAccessGroupsResponse)

func (*AssociateAccessGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateAccessGroupsResponse) ToJsonString

func (r *AssociateAccessGroupsResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) AssociateAccessGroups

func (c *Client) AssociateAccessGroups(request *AssociateAccessGroupsRequest) (response *AssociateAccessGroupsResponse, err error)

AssociateAccessGroups This API is used to bind multiple permission groups to a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) AssociateAccessGroupsWithContext

func (c *Client) AssociateAccessGroupsWithContext(ctx context.Context, request *AssociateAccessGroupsRequest) (response *AssociateAccessGroupsResponse, err error)

AssociateAccessGroups This API is used to bind multiple permission groups to a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAccessGroup

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

CreateAccessGroup This API is used to create a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_VPCNOTEXISTS = "ResourceNotFound.VpcNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAccessGroupWithContext

func (c *Client) CreateAccessGroupWithContext(ctx context.Context, request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)

CreateAccessGroup This API is used to create a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_VPCNOTEXISTS = "ResourceNotFound.VpcNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAccessRules

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

CreateAccessRules This API is used to batch create permission rules. You don't need to enter the permission rule IDs and creation time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAccessRulesWithContext

func (c *Client) CreateAccessRulesWithContext(ctx context.Context, request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)

CreateAccessRules This API is used to batch create permission rules. You don't need to enter the permission rule IDs and creation time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateFileSystem

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

CreateFileSystem This API is used to create a file system (asynchronously).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateFileSystemWithContext

func (c *Client) CreateFileSystemWithContext(ctx context.Context, request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)

CreateFileSystem This API is used to create a file system (asynchronously).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateLifeCycleRules

func (c *Client) CreateLifeCycleRules(request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)

CreateLifeCycleRules This API is used to batch create lifecycle rules. You don't need to enter the lifecycle rule IDs and creation time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateLifeCycleRulesWithContext

func (c *Client) CreateLifeCycleRulesWithContext(ctx context.Context, request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)

CreateLifeCycleRules This API is used to batch create lifecycle rules. You don't need to enter the lifecycle rule IDs and creation time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateMountPoint

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

CreateMountPoint This API is used to create a mount point for a successfully created file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateMountPointWithContext

func (c *Client) CreateMountPointWithContext(ctx context.Context, request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)

CreateMountPoint This API is used to create a mount point for a successfully created file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateRestoreTasks

func (c *Client) CreateRestoreTasks(request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)

CreateRestoreTasks This API is used to batch create restoration tasks. You don't need to enter the restoration task IDs, status, and creation time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateRestoreTasksWithContext

func (c *Client) CreateRestoreTasksWithContext(ctx context.Context, request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)

CreateRestoreTasks This API is used to batch create restoration tasks. You don't need to enter the restoration task IDs, status, and creation time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAccessGroup

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

DeleteAccessGroup This API is used to delete a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCESSGROUPBOUND = "FailedOperation.AccessGroupBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAccessGroupWithContext

func (c *Client) DeleteAccessGroupWithContext(ctx context.Context, request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)

DeleteAccessGroup This API is used to delete a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCESSGROUPBOUND = "FailedOperation.AccessGroupBound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAccessRules

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

DeleteAccessRules This API is used to batch delete permission rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAccessRulesWithContext

func (c *Client) DeleteAccessRulesWithContext(ctx context.Context, request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)

DeleteAccessRules This API is used to batch delete permission rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteFileSystem

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

DeleteFileSystem This API is used to delete a file system. Non-empty file systems cannot be deleted.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FILESYSTEMNOTEMPTY = "FailedOperation.FileSystemNotEmpty"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteFileSystemWithContext

func (c *Client) DeleteFileSystemWithContext(ctx context.Context, request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)

DeleteFileSystem This API is used to delete a file system. Non-empty file systems cannot be deleted.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FILESYSTEMNOTEMPTY = "FailedOperation.FileSystemNotEmpty"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteLifeCycleRules

func (c *Client) DeleteLifeCycleRules(request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)

DeleteLifeCycleRules This API is used to batch delete lifecycle rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteLifeCycleRulesWithContext

func (c *Client) DeleteLifeCycleRulesWithContext(ctx context.Context, request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)

DeleteLifeCycleRules This API is used to batch delete lifecycle rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteMountPoint

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

DeleteMountPoint This API is used to delete a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteMountPointWithContext

func (c *Client) DeleteMountPointWithContext(ctx context.Context, request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)

DeleteMountPoint This API is used to delete a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAccessGroup

func (c *Client) DescribeAccessGroup(request *DescribeAccessGroupRequest) (response *DescribeAccessGroupResponse, err error)

DescribeAccessGroup This API is used to view the details of a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAccessGroupWithContext

func (c *Client) DescribeAccessGroupWithContext(ctx context.Context, request *DescribeAccessGroupRequest) (response *DescribeAccessGroupResponse, err error)

DescribeAccessGroup This API is used to view the details of a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAccessGroups

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

DescribeAccessGroups This API is used to view the list of permission groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAccessGroupsWithContext

func (c *Client) DescribeAccessGroupsWithContext(ctx context.Context, request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)

DescribeAccessGroups This API is used to view the list of permission groups.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAccessRules

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

DescribeAccessRules This API is used to view the list of permission rules by permission group ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAccessRulesWithContext

func (c *Client) DescribeAccessRulesWithContext(ctx context.Context, request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)

DescribeAccessRules This API is used to view the list of permission rules by permission group ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeFileSystem

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

DescribeFileSystem This API is used to view the details of a file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeFileSystemWithContext

func (c *Client) DescribeFileSystemWithContext(ctx context.Context, request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)

DescribeFileSystem This API is used to view the details of a file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeFileSystems

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

DescribeFileSystems This API is used to view the list of file systems.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeFileSystemsWithContext

func (c *Client) DescribeFileSystemsWithContext(ctx context.Context, request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)

DescribeFileSystems This API is used to view the list of file systems.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLifeCycleRules

func (c *Client) DescribeLifeCycleRules(request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)

DescribeLifeCycleRules This API is used to view the list of lifecycle rules by file system ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLifeCycleRulesWithContext

func (c *Client) DescribeLifeCycleRulesWithContext(ctx context.Context, request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)

DescribeLifeCycleRules This API is used to view the list of lifecycle rules by file system ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMountPoint

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

DescribeMountPoint This API is used to view the details of a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMountPointWithContext

func (c *Client) DescribeMountPointWithContext(ctx context.Context, request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)

DescribeMountPoint This API is used to view the details of a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMountPoints

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

DescribeMountPoints This API is used to view the list of mount points.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeMountPointsWithContext

func (c *Client) DescribeMountPointsWithContext(ctx context.Context, request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)

DescribeMountPoints This API is used to view the list of mount points.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeResourceTags

func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)

DescribeResourceTags This API is used to view the list of resource tags by file system ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeResourceTagsWithContext

func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)

DescribeResourceTags This API is used to view the list of resource tags by file system ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRestoreTasks

func (c *Client) DescribeRestoreTasks(request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)

DescribeRestoreTasks This API is used to view the list of restoration tasks by file system ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRestoreTasksWithContext

func (c *Client) DescribeRestoreTasksWithContext(ctx context.Context, request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)

DescribeRestoreTasks This API is used to view the list of restoration tasks by file system ID.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DisassociateAccessGroups

func (c *Client) DisassociateAccessGroups(request *DisassociateAccessGroupsRequest) (response *DisassociateAccessGroupsResponse, err error)

DisassociateAccessGroups This API is used to unbind multiple permission groups from a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DisassociateAccessGroupsWithContext

func (c *Client) DisassociateAccessGroupsWithContext(ctx context.Context, request *DisassociateAccessGroupsRequest) (response *DisassociateAccessGroupsResponse, err error)

DisassociateAccessGroups This API is used to unbind multiple permission groups from a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAccessGroup

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

ModifyAccessGroup This API is used to modify the attributes of a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAccessGroupWithContext

func (c *Client) ModifyAccessGroupWithContext(ctx context.Context, request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)

ModifyAccessGroup This API is used to modify the attributes of a permission group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId"
INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAccessRules

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

ModifyAccessRules This API is used to batch modify the attributes of permission rules, such as address, access mode, and priority. You must specify the permission rule IDs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAccessRulesWithContext

func (c *Client) ModifyAccessRulesWithContext(ctx context.Context, request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)

ModifyAccessRules This API is used to batch modify the attributes of permission rules, such as address, access mode, and priority. You must specify the permission rule IDs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyFileSystem

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

ModifyFileSystem This API is used to modify the attributes of a successfully created file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_QUOTALESSTHANCURRENTUSED = "FailedOperation.QuotaLessThanCurrentUsed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyFileSystemWithContext

func (c *Client) ModifyFileSystemWithContext(ctx context.Context, request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)

ModifyFileSystem This API is used to modify the attributes of a successfully created file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_QUOTALESSTHANCURRENTUSED = "FailedOperation.QuotaLessThanCurrentUsed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota"
INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyLifeCycleRules

func (c *Client) ModifyLifeCycleRules(request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)

ModifyLifeCycleRules This API is used to batch modify the attributes of lifecycle rules, such as name, path, transition list, and status. You must specify the lifecycle rule IDs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyLifeCycleRulesWithContext

func (c *Client) ModifyLifeCycleRulesWithContext(ctx context.Context, request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)

ModifyLifeCycleRules This API is used to batch modify the attributes of lifecycle rules, such as name, path, transition list, and status. You must specify the lifecycle rule IDs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyMountPoint

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

ModifyMountPoint This API is used to modify the attributes of a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyMountPointWithContext

func (c *Client) ModifyMountPointWithContext(ctx context.Context, request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)

ModifyMountPoint This API is used to modify the attributes of a mount point.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId"
INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyResourceTags

func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)

ModifyResourceTags This API is used to modify the list of resource tags by overwriting them all.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyResourceTagsWithContext

func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)

ModifyResourceTags This API is used to modify the list of resource tags by overwriting them all.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

type CreateAccessGroupRequest

type CreateAccessGroupRequest struct {
	*tchttp.BaseRequest

	// Permission group name
	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`

	// VPC type (1: CVM; 2: BM 1.0)
	VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`

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

	// Permission group description, which is an empty string by default
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateAccessGroupRequest

func NewCreateAccessGroupRequest() (request *CreateAccessGroupRequest)

func (*CreateAccessGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccessGroupRequest) ToJsonString

func (r *CreateAccessGroupRequest) ToJsonString() string

type CreateAccessGroupResponse

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

		// Permission group
		AccessGroup *AccessGroup `json:"AccessGroup,omitempty" name:"AccessGroup"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccessGroupResponse) ToJsonString

func (r *CreateAccessGroupResponse) ToJsonString() string

type CreateAccessRulesRequest

type CreateAccessRulesRequest struct {
	*tchttp.BaseRequest

	// Multiple permission rules (up to 10)
	AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules"`

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewCreateAccessRulesRequest

func NewCreateAccessRulesRequest() (request *CreateAccessRulesRequest)

func (*CreateAccessRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccessRulesRequest) ToJsonString

func (r *CreateAccessRulesRequest) ToJsonString() string

type CreateAccessRulesResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccessRulesResponse) ToJsonString

func (r *CreateAccessRulesResponse) ToJsonString() string

type CreateFileSystemRequest

type CreateFileSystemRequest struct {
	*tchttp.BaseRequest

	// File system name
	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`

	// File system capacity (in bytes), which can range from 1 GB to 1 PB and must be an integer multiple of 1 GB
	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`

	// Whether to verify POSIX ACL
	PosixAcl *bool `json:"PosixAcl,omitempty" name:"PosixAcl"`

	// File system description, which is an empty string by default
	Description *string `json:"Description,omitempty" name:"Description"`

	// List of superuser names, which is an empty array by default
	SuperUsers []*string `json:"SuperUsers,omitempty" name:"SuperUsers"`

	// Username of the root directory Inode, which is `hadoop` by default
	RootInodeUser *string `json:"RootInodeUser,omitempty" name:"RootInodeUser"`

	// Group name of the root directory Inode, which is `supergroup` by default
	RootInodeGroup *string `json:"RootInodeGroup,omitempty" name:"RootInodeGroup"`

	// Whether to enable verification of Ranger service addresses
	EnableRanger *bool `json:"EnableRanger,omitempty" name:"EnableRanger"`

	// List of Ranger service addresses (empty array by default)
	RangerServiceAddresses []*string `json:"RangerServiceAddresses,omitempty" name:"RangerServiceAddresses"`
}

func NewCreateFileSystemRequest

func NewCreateFileSystemRequest() (request *CreateFileSystemRequest)

func (*CreateFileSystemRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFileSystemRequest) ToJsonString

func (r *CreateFileSystemRequest) ToJsonString() string

type CreateFileSystemResponse

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

		// File system
		FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFileSystemResponse) ToJsonString

func (r *CreateFileSystemResponse) ToJsonString() string

type CreateLifeCycleRulesRequest

type CreateLifeCycleRulesRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Multiple lifecycle rules (up to 10)
	LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules"`
}

func NewCreateLifeCycleRulesRequest

func NewCreateLifeCycleRulesRequest() (request *CreateLifeCycleRulesRequest)

func (*CreateLifeCycleRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLifeCycleRulesRequest) ToJsonString

func (r *CreateLifeCycleRulesRequest) ToJsonString() string

type CreateLifeCycleRulesResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateLifeCycleRulesResponse

func NewCreateLifeCycleRulesResponse() (response *CreateLifeCycleRulesResponse)

func (*CreateLifeCycleRulesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLifeCycleRulesResponse) ToJsonString

func (r *CreateLifeCycleRulesResponse) ToJsonString() string

type CreateMountPointRequest

type CreateMountPointRequest struct {
	*tchttp.BaseRequest

	// Mount point name
	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Mount point status (1: enabled; 2: disabled)
	MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`
}

func NewCreateMountPointRequest

func NewCreateMountPointRequest() (request *CreateMountPointRequest)

func (*CreateMountPointRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMountPointRequest) ToJsonString

func (r *CreateMountPointRequest) ToJsonString() string

type CreateMountPointResponse

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

		// Mount point
		MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMountPointResponse) ToJsonString

func (r *CreateMountPointResponse) ToJsonString() string

type CreateRestoreTasksRequest

type CreateRestoreTasksRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Multiple restoration tasks (up to 10)
	RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks"`
}

func NewCreateRestoreTasksRequest

func NewCreateRestoreTasksRequest() (request *CreateRestoreTasksRequest)

func (*CreateRestoreTasksRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRestoreTasksRequest) ToJsonString

func (r *CreateRestoreTasksRequest) ToJsonString() string

type CreateRestoreTasksResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRestoreTasksResponse

func NewCreateRestoreTasksResponse() (response *CreateRestoreTasksResponse)

func (*CreateRestoreTasksResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRestoreTasksResponse) ToJsonString

func (r *CreateRestoreTasksResponse) ToJsonString() string

type DeleteAccessGroupRequest

type DeleteAccessGroupRequest struct {
	*tchttp.BaseRequest

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewDeleteAccessGroupRequest

func NewDeleteAccessGroupRequest() (request *DeleteAccessGroupRequest)

func (*DeleteAccessGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccessGroupRequest) ToJsonString

func (r *DeleteAccessGroupRequest) ToJsonString() string

type DeleteAccessGroupResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccessGroupResponse) ToJsonString

func (r *DeleteAccessGroupResponse) ToJsonString() string

type DeleteAccessRulesRequest

type DeleteAccessRulesRequest struct {
	*tchttp.BaseRequest

	// Multiple permission rule IDs (up to 10)
	AccessRuleIds []*uint64 `json:"AccessRuleIds,omitempty" name:"AccessRuleIds"`
}

func NewDeleteAccessRulesRequest

func NewDeleteAccessRulesRequest() (request *DeleteAccessRulesRequest)

func (*DeleteAccessRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccessRulesRequest) ToJsonString

func (r *DeleteAccessRulesRequest) ToJsonString() string

type DeleteAccessRulesResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccessRulesResponse) ToJsonString

func (r *DeleteAccessRulesResponse) ToJsonString() string

type DeleteFileSystemRequest

type DeleteFileSystemRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDeleteFileSystemRequest

func NewDeleteFileSystemRequest() (request *DeleteFileSystemRequest)

func (*DeleteFileSystemRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFileSystemRequest) ToJsonString

func (r *DeleteFileSystemRequest) ToJsonString() string

type DeleteFileSystemResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFileSystemResponse) ToJsonString

func (r *DeleteFileSystemResponse) ToJsonString() string

type DeleteLifeCycleRulesRequest

type DeleteLifeCycleRulesRequest struct {
	*tchttp.BaseRequest

	// Multiple lifecycle rule IDs (up to 10)
	LifeCycleRuleIds []*uint64 `json:"LifeCycleRuleIds,omitempty" name:"LifeCycleRuleIds"`
}

func NewDeleteLifeCycleRulesRequest

func NewDeleteLifeCycleRulesRequest() (request *DeleteLifeCycleRulesRequest)

func (*DeleteLifeCycleRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLifeCycleRulesRequest) ToJsonString

func (r *DeleteLifeCycleRulesRequest) ToJsonString() string

type DeleteLifeCycleRulesResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteLifeCycleRulesResponse

func NewDeleteLifeCycleRulesResponse() (response *DeleteLifeCycleRulesResponse)

func (*DeleteLifeCycleRulesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLifeCycleRulesResponse) ToJsonString

func (r *DeleteLifeCycleRulesResponse) ToJsonString() string

type DeleteMountPointRequest

type DeleteMountPointRequest struct {
	*tchttp.BaseRequest

	// Mount point ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
}

func NewDeleteMountPointRequest

func NewDeleteMountPointRequest() (request *DeleteMountPointRequest)

func (*DeleteMountPointRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMountPointRequest) ToJsonString

func (r *DeleteMountPointRequest) ToJsonString() string

type DeleteMountPointResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMountPointResponse) ToJsonString

func (r *DeleteMountPointResponse) ToJsonString() string

type DescribeAccessGroupRequest

type DescribeAccessGroupRequest struct {
	*tchttp.BaseRequest

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewDescribeAccessGroupRequest

func NewDescribeAccessGroupRequest() (request *DescribeAccessGroupRequest)

func (*DescribeAccessGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessGroupRequest) ToJsonString

func (r *DescribeAccessGroupRequest) ToJsonString() string

type DescribeAccessGroupResponse

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

		// Permission group
		AccessGroup *AccessGroup `json:"AccessGroup,omitempty" name:"AccessGroup"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccessGroupResponse

func NewDescribeAccessGroupResponse() (response *DescribeAccessGroupResponse)

func (*DescribeAccessGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessGroupResponse) ToJsonString

func (r *DescribeAccessGroupResponse) ToJsonString() string

type DescribeAccessGroupsRequest

type DescribeAccessGroupsRequest struct {
	*tchttp.BaseRequest

	// VPC ID
	// Note: either `VpcId` or `OwnerUin` can be specified as the input parameter
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Resource owner `Uin`
	OwnerUin *uint64 `json:"OwnerUin,omitempty" name:"OwnerUin"`
}

func NewDescribeAccessGroupsRequest

func NewDescribeAccessGroupsRequest() (request *DescribeAccessGroupsRequest)

func (*DescribeAccessGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessGroupsRequest) ToJsonString

func (r *DescribeAccessGroupsRequest) ToJsonString() string

type DescribeAccessGroupsResponse

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

		// List of permission groups
		AccessGroups []*AccessGroup `json:"AccessGroups,omitempty" name:"AccessGroups"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessGroupsResponse) ToJsonString

func (r *DescribeAccessGroupsResponse) ToJsonString() string

type DescribeAccessRulesRequest

type DescribeAccessRulesRequest struct {
	*tchttp.BaseRequest

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}

func NewDescribeAccessRulesRequest

func NewDescribeAccessRulesRequest() (request *DescribeAccessRulesRequest)

func (*DescribeAccessRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessRulesRequest) ToJsonString

func (r *DescribeAccessRulesRequest) ToJsonString() string

type DescribeAccessRulesResponse

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

		// List of permission rules
		AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccessRulesResponse) ToJsonString

func (r *DescribeAccessRulesResponse) ToJsonString() string

type DescribeFileSystemRequest

type DescribeFileSystemRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDescribeFileSystemRequest

func NewDescribeFileSystemRequest() (request *DescribeFileSystemRequest)

func (*DescribeFileSystemRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFileSystemRequest) ToJsonString

func (r *DescribeFileSystemRequest) ToJsonString() string

type DescribeFileSystemResponse

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

		// File system
		FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`

		// Used capacity of the file system, in bytes
		// Note: this field may return `null`, indicating that no valid value was found.
		CapacityUsed *uint64 `json:"CapacityUsed,omitempty" name:"CapacityUsed"`

		// Used ARCHIVE capacity of COS, in bytes
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ArchiveCapacityUsed *uint64 `json:"ArchiveCapacityUsed,omitempty" name:"ArchiveCapacityUsed"`

		// Used STANDARD capacity of COS, in bytes
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		StandardCapacityUsed *uint64 `json:"StandardCapacityUsed,omitempty" name:"StandardCapacityUsed"`

		// Used STANDARD_IA capacity of COS, in bytes
		// Note: this field may return `null`, indicating that no valid value was found.
		DegradeCapacityUsed *uint64 `json:"DegradeCapacityUsed,omitempty" name:"DegradeCapacityUsed"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFileSystemResponse) ToJsonString

func (r *DescribeFileSystemResponse) ToJsonString() string

type DescribeFileSystemsRequest

type DescribeFileSystemsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeFileSystemsRequest

func NewDescribeFileSystemsRequest() (request *DescribeFileSystemsRequest)

func (*DescribeFileSystemsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFileSystemsRequest) ToJsonString

func (r *DescribeFileSystemsRequest) ToJsonString() string

type DescribeFileSystemsResponse

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

		// List of file systems
		FileSystems []*FileSystem `json:"FileSystems,omitempty" name:"FileSystems"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFileSystemsResponse) ToJsonString

func (r *DescribeFileSystemsResponse) ToJsonString() string

type DescribeLifeCycleRulesRequest

type DescribeLifeCycleRulesRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDescribeLifeCycleRulesRequest

func NewDescribeLifeCycleRulesRequest() (request *DescribeLifeCycleRulesRequest)

func (*DescribeLifeCycleRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLifeCycleRulesRequest) ToJsonString

func (r *DescribeLifeCycleRulesRequest) ToJsonString() string

type DescribeLifeCycleRulesResponse

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

		// List of lifecycle rules
		LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeLifeCycleRulesResponse

func NewDescribeLifeCycleRulesResponse() (response *DescribeLifeCycleRulesResponse)

func (*DescribeLifeCycleRulesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLifeCycleRulesResponse) ToJsonString

func (r *DescribeLifeCycleRulesResponse) ToJsonString() string

type DescribeMountPointRequest

type DescribeMountPointRequest struct {
	*tchttp.BaseRequest

	// Mount point ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
}

func NewDescribeMountPointRequest

func NewDescribeMountPointRequest() (request *DescribeMountPointRequest)

func (*DescribeMountPointRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMountPointRequest) ToJsonString

func (r *DescribeMountPointRequest) ToJsonString() string

type DescribeMountPointResponse

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

		// Mount point
		MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMountPointResponse) ToJsonString

func (r *DescribeMountPointResponse) ToJsonString() string

type DescribeMountPointsRequest

type DescribeMountPointsRequest struct {
	*tchttp.BaseRequest

	// File system ID
	// Note: only one of `AccessGroupId`, `FileSystemId`, and `OwnerUin` can be specified as the input parameter
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// Resource owner `Uin`
	OwnerUin *uint64 `json:"OwnerUin,omitempty" name:"OwnerUin"`
}

func NewDescribeMountPointsRequest

func NewDescribeMountPointsRequest() (request *DescribeMountPointsRequest)

func (*DescribeMountPointsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMountPointsRequest) ToJsonString

func (r *DescribeMountPointsRequest) ToJsonString() string

type DescribeMountPointsResponse

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

		// List of mount points
		MountPoints []*MountPoint `json:"MountPoints,omitempty" name:"MountPoints"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMountPointsResponse) ToJsonString

func (r *DescribeMountPointsResponse) ToJsonString() string

type DescribeResourceTagsRequest

type DescribeResourceTagsRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDescribeResourceTagsRequest

func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)

func (*DescribeResourceTagsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsRequest) ToJsonString

func (r *DescribeResourceTagsRequest) ToJsonString() string

type DescribeResourceTagsResponse

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

		// List of resource tags
		Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeResourceTagsResponse

func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)

func (*DescribeResourceTagsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceTagsResponse) ToJsonString

func (r *DescribeResourceTagsResponse) ToJsonString() string

type DescribeRestoreTasksRequest

type DescribeRestoreTasksRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}

func NewDescribeRestoreTasksRequest

func NewDescribeRestoreTasksRequest() (request *DescribeRestoreTasksRequest)

func (*DescribeRestoreTasksRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRestoreTasksRequest) ToJsonString

func (r *DescribeRestoreTasksRequest) ToJsonString() string

type DescribeRestoreTasksResponse

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

		// List of restoration tasks
		RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRestoreTasksResponse

func NewDescribeRestoreTasksResponse() (response *DescribeRestoreTasksResponse)

func (*DescribeRestoreTasksResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRestoreTasksResponse) ToJsonString

func (r *DescribeRestoreTasksResponse) ToJsonString() string

type DisassociateAccessGroupsRequest

type DisassociateAccessGroupsRequest struct {
	*tchttp.BaseRequest

	// Mount point ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`

	// List of permission group IDs
	AccessGroupIds []*string `json:"AccessGroupIds,omitempty" name:"AccessGroupIds"`
}

func NewDisassociateAccessGroupsRequest

func NewDisassociateAccessGroupsRequest() (request *DisassociateAccessGroupsRequest)

func (*DisassociateAccessGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateAccessGroupsRequest) ToJsonString

func (r *DisassociateAccessGroupsRequest) ToJsonString() string

type DisassociateAccessGroupsResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisassociateAccessGroupsResponse

func NewDisassociateAccessGroupsResponse() (response *DisassociateAccessGroupsResponse)

func (*DisassociateAccessGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateAccessGroupsResponse) ToJsonString

func (r *DisassociateAccessGroupsResponse) ToJsonString() string

type FileSystem

type FileSystem struct {

	// Resource owner `AppId`
	AppId *uint64 `json:"AppId,omitempty" name:"AppId"`

	// File system name
	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`

	// File system description
	Description *string `json:"Description,omitempty" name:"Description"`

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

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// File system block size (in bytes)
	BlockSize *uint64 `json:"BlockSize,omitempty" name:"BlockSize"`

	// File system capacity (in bytes)
	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`

	// File system status (1: creating; 2: created successfully; 3: failed to create)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// List of superuser names
	SuperUsers []*string `json:"SuperUsers,omitempty" name:"SuperUsers"`

	// POSIX permission control
	PosixAcl *bool `json:"PosixAcl,omitempty" name:"PosixAcl"`

	// Whether to enable verification of Ranger service addresses
	// Note: this field may return `null`, indicating that no valid value was found.
	EnableRanger *bool `json:"EnableRanger,omitempty" name:"EnableRanger"`

	// List of Ranger service addresses
	// Note: this field may return `null`, indicating that no valid value was found.
	RangerServiceAddresses []*string `json:"RangerServiceAddresses,omitempty" name:"RangerServiceAddresses"`
}

type LifeCycleRule

type LifeCycleRule struct {

	// Lifecycle rule ID
	LifeCycleRuleId *uint64 `json:"LifeCycleRuleId,omitempty" name:"LifeCycleRuleId"`

	// Lifecycle rule name
	LifeCycleRuleName *string `json:"LifeCycleRuleName,omitempty" name:"LifeCycleRuleName"`

	// Lifecycle rule path (directory or file)
	Path *string `json:"Path,omitempty" name:"Path"`

	// List of lifecycle rule transitions
	Transitions []*Transition `json:"Transitions,omitempty" name:"Transitions"`

	// Lifecycle rule status (1: enabled; 2: disabled)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type ModifyAccessGroupRequest

type ModifyAccessGroupRequest struct {
	*tchttp.BaseRequest

	// Permission group ID
	AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`

	// Permission group name
	AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`

	// Permission group description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifyAccessGroupRequest

func NewModifyAccessGroupRequest() (request *ModifyAccessGroupRequest)

func (*ModifyAccessGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccessGroupRequest) ToJsonString

func (r *ModifyAccessGroupRequest) ToJsonString() string

type ModifyAccessGroupResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccessGroupResponse) ToJsonString

func (r *ModifyAccessGroupResponse) ToJsonString() string

type ModifyAccessRulesRequest

type ModifyAccessRulesRequest struct {
	*tchttp.BaseRequest

	// Multiple permission rules (up to 10)
	AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules"`
}

func NewModifyAccessRulesRequest

func NewModifyAccessRulesRequest() (request *ModifyAccessRulesRequest)

func (*ModifyAccessRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccessRulesRequest) ToJsonString

func (r *ModifyAccessRulesRequest) ToJsonString() string

type ModifyAccessRulesResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccessRulesResponse) ToJsonString

func (r *ModifyAccessRulesResponse) ToJsonString() string

type ModifyFileSystemRequest

type ModifyFileSystemRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// File system name
	FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"`

	// File system description
	Description *string `json:"Description,omitempty" name:"Description"`

	// File system capacity (in bytes), which can range from 1 GB to 1 PB and must be an integer multiple of 1 GB
	// Note: the file system capacity after change cannot be smaller than the currently used capacity
	CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"`

	// List of superuser names, which can be an empty array
	SuperUsers []*string `json:"SuperUsers,omitempty" name:"SuperUsers"`

	// Whether to verify POSIX ACL
	PosixAcl *bool `json:"PosixAcl,omitempty" name:"PosixAcl"`

	// Whether to enable verification of Ranger service addresses
	EnableRanger *bool `json:"EnableRanger,omitempty" name:"EnableRanger"`

	// List of Ranger service addresses, which can be an empty array
	RangerServiceAddresses []*string `json:"RangerServiceAddresses,omitempty" name:"RangerServiceAddresses"`
}

func NewModifyFileSystemRequest

func NewModifyFileSystemRequest() (request *ModifyFileSystemRequest)

func (*ModifyFileSystemRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFileSystemRequest) ToJsonString

func (r *ModifyFileSystemRequest) ToJsonString() string

type ModifyFileSystemResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFileSystemResponse) ToJsonString

func (r *ModifyFileSystemResponse) ToJsonString() string

type ModifyLifeCycleRulesRequest

type ModifyLifeCycleRulesRequest struct {
	*tchttp.BaseRequest

	// Multiple lifecycle rules (up to 10)
	LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules"`
}

func NewModifyLifeCycleRulesRequest

func NewModifyLifeCycleRulesRequest() (request *ModifyLifeCycleRulesRequest)

func (*ModifyLifeCycleRulesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLifeCycleRulesRequest) ToJsonString

func (r *ModifyLifeCycleRulesRequest) ToJsonString() string

type ModifyLifeCycleRulesResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyLifeCycleRulesResponse

func NewModifyLifeCycleRulesResponse() (response *ModifyLifeCycleRulesResponse)

func (*ModifyLifeCycleRulesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLifeCycleRulesResponse) ToJsonString

func (r *ModifyLifeCycleRulesResponse) ToJsonString() string

type ModifyMountPointRequest

type ModifyMountPointRequest struct {
	*tchttp.BaseRequest

	// Mount point ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`

	// Mount point name
	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`

	// Mount point status
	MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`
}

func NewModifyMountPointRequest

func NewModifyMountPointRequest() (request *ModifyMountPointRequest)

func (*ModifyMountPointRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMountPointRequest) ToJsonString

func (r *ModifyMountPointRequest) ToJsonString() string

type ModifyMountPointResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMountPointResponse) ToJsonString

func (r *ModifyMountPointResponse) ToJsonString() string

type ModifyResourceTagsRequest

type ModifyResourceTagsRequest struct {
	*tchttp.BaseRequest

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Multiple resource tags, which can be an empty array
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewModifyResourceTagsRequest

func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)

func (*ModifyResourceTagsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourceTagsRequest) ToJsonString

func (r *ModifyResourceTagsRequest) ToJsonString() string

type ModifyResourceTagsResponse

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyResourceTagsResponse

func NewModifyResourceTagsResponse() (response *ModifyResourceTagsResponse)

func (*ModifyResourceTagsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourceTagsResponse) ToJsonString

func (r *ModifyResourceTagsResponse) ToJsonString() string

type MountPoint

type MountPoint struct {

	// Mount point ID
	MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`

	// Mount point name
	MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"`

	// File system ID
	FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`

	// Mount point status (1: enabled; 2: disabled)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// List of IDs of the bound permission groups
	AccessGroupIds []*string `json:"AccessGroupIds,omitempty" name:"AccessGroupIds"`
}

type RestoreTask

type RestoreTask struct {

	// Restoration task ID
	RestoreTaskId *uint64 `json:"RestoreTaskId,omitempty" name:"RestoreTaskId"`

	// Restoration task file path
	FilePath *string `json:"FilePath,omitempty" name:"FilePath"`

	// Restoration task type (`1`: standard; `2`: expedited; `3`: bulk, with only the expedited type available currently)
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Validity period (in days) of the temporary copy generated during restoration
	Days *uint64 `json:"Days,omitempty" name:"Days"`

	// Restoration task status (1: binding file; 2: file binding completed; 3: restoring file; 4: file restoration completed)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type Tag

type Tag struct {

	// Tag key
	Key *string `json:"Key,omitempty" name:"Key"`

	// Tag value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type Transition

type Transition struct {

	// Trigger time (in days)
	Days *uint64 `json:"Days,omitempty" name:"Days"`

	// Transition type (`1`: transition to ARCHIVE; `2`: delete; `3`: transition to STANDARD_IA)
	Type *uint64 `json:"Type,omitempty" name:"Type"`
}

Jump to

Keyboard shortcuts

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