Documentation ¶
Index ¶
- Constants
- type AvailableProtoStatus
- type AvailableRegion
- type AvailableType
- type AvailableZone
- type Client
- func (c *Client) CreateCfsFileSystem(request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
- func (c *Client) CreateCfsFileSystemWithContext(ctx context.Context, request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
- func (c *Client) CreateCfsPGroup(request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
- func (c *Client) CreateCfsPGroupWithContext(ctx context.Context, request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
- func (c *Client) CreateCfsRule(request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
- func (c *Client) CreateCfsRuleWithContext(ctx context.Context, request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
- func (c *Client) DeleteCfsFileSystem(request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
- func (c *Client) DeleteCfsFileSystemWithContext(ctx context.Context, request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
- func (c *Client) DeleteCfsPGroup(request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
- func (c *Client) DeleteCfsPGroupWithContext(ctx context.Context, request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
- func (c *Client) DeleteCfsRule(request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
- func (c *Client) DeleteCfsRuleWithContext(ctx context.Context, request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
- func (c *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
- func (c *Client) DeleteMountTargetWithContext(ctx context.Context, request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
- func (c *Client) DescribeAvailableZoneInfo(request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
- func (c *Client) DescribeAvailableZoneInfoWithContext(ctx context.Context, request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
- func (c *Client) DescribeCfsFileSystemClients(request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
- func (c *Client) DescribeCfsFileSystemClientsWithContext(ctx context.Context, request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
- func (c *Client) DescribeCfsFileSystems(request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
- func (c *Client) DescribeCfsFileSystemsWithContext(ctx context.Context, request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
- func (c *Client) DescribeCfsPGroups(request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
- func (c *Client) DescribeCfsPGroupsWithContext(ctx context.Context, request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
- func (c *Client) DescribeCfsRules(request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
- func (c *Client) DescribeCfsRulesWithContext(ctx context.Context, request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
- func (c *Client) DescribeCfsServiceStatus(request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
- func (c *Client) DescribeCfsServiceStatusWithContext(ctx context.Context, request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
- func (c *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
- func (c *Client) DescribeMountTargetsWithContext(ctx context.Context, request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
- func (c *Client) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) UpdateCfsFileSystemName(request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
- func (c *Client) UpdateCfsFileSystemNameWithContext(ctx context.Context, request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
- func (c *Client) UpdateCfsFileSystemPGroup(request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
- func (c *Client) UpdateCfsFileSystemPGroupWithContext(ctx context.Context, request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
- func (c *Client) UpdateCfsFileSystemSizeLimit(request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
- func (c *Client) UpdateCfsFileSystemSizeLimitWithContext(ctx context.Context, request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
- func (c *Client) UpdateCfsPGroup(request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
- func (c *Client) UpdateCfsPGroupWithContext(ctx context.Context, request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
- func (c *Client) UpdateCfsRule(request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
- func (c *Client) UpdateCfsRuleWithContext(ctx context.Context, request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
- type CreateCfsFileSystemRequest
- type CreateCfsFileSystemRequestParams
- type CreateCfsFileSystemResponse
- type CreateCfsFileSystemResponseParams
- type CreateCfsPGroupRequest
- type CreateCfsPGroupRequestParams
- type CreateCfsPGroupResponse
- type CreateCfsPGroupResponseParams
- type CreateCfsRuleRequest
- type CreateCfsRuleRequestParams
- type CreateCfsRuleResponse
- type CreateCfsRuleResponseParams
- type DeleteCfsFileSystemRequest
- type DeleteCfsFileSystemRequestParams
- type DeleteCfsFileSystemResponse
- type DeleteCfsFileSystemResponseParams
- type DeleteCfsPGroupRequest
- type DeleteCfsPGroupRequestParams
- type DeleteCfsPGroupResponse
- type DeleteCfsPGroupResponseParams
- type DeleteCfsRuleRequest
- type DeleteCfsRuleRequestParams
- type DeleteCfsRuleResponse
- type DeleteCfsRuleResponseParams
- type DeleteMountTargetRequest
- type DeleteMountTargetRequestParams
- type DeleteMountTargetResponse
- type DeleteMountTargetResponseParams
- type DescribeAvailableZoneInfoRequest
- type DescribeAvailableZoneInfoRequestParams
- type DescribeAvailableZoneInfoResponse
- type DescribeAvailableZoneInfoResponseParams
- type DescribeCfsFileSystemClientsRequest
- type DescribeCfsFileSystemClientsRequestParams
- type DescribeCfsFileSystemClientsResponse
- type DescribeCfsFileSystemClientsResponseParams
- type DescribeCfsFileSystemsRequest
- type DescribeCfsFileSystemsRequestParams
- type DescribeCfsFileSystemsResponse
- type DescribeCfsFileSystemsResponseParams
- type DescribeCfsPGroupsRequest
- type DescribeCfsPGroupsRequestParams
- type DescribeCfsPGroupsResponse
- type DescribeCfsPGroupsResponseParams
- type DescribeCfsRulesRequest
- type DescribeCfsRulesRequestParams
- type DescribeCfsRulesResponse
- type DescribeCfsRulesResponseParams
- type DescribeCfsServiceStatusRequest
- type DescribeCfsServiceStatusRequestParams
- type DescribeCfsServiceStatusResponse
- type DescribeCfsServiceStatusResponseParams
- type DescribeMountTargetsRequest
- type DescribeMountTargetsRequestParams
- type DescribeMountTargetsResponse
- type DescribeMountTargetsResponseParams
- type FileSystemClient
- type FileSystemInfo
- type MountInfo
- type PGroup
- type PGroupInfo
- type PGroupRuleInfo
- type SignUpCfsServiceRequest
- type SignUpCfsServiceRequestParams
- type SignUpCfsServiceResponse
- type SignUpCfsServiceResponseParams
- type TagInfo
- type UpdateCfsFileSystemNameRequest
- type UpdateCfsFileSystemNameRequestParams
- type UpdateCfsFileSystemNameResponse
- type UpdateCfsFileSystemNameResponseParams
- type UpdateCfsFileSystemPGroupRequest
- type UpdateCfsFileSystemPGroupRequestParams
- type UpdateCfsFileSystemPGroupResponse
- type UpdateCfsFileSystemPGroupResponseParams
- type UpdateCfsFileSystemSizeLimitRequest
- type UpdateCfsFileSystemSizeLimitRequestParams
- type UpdateCfsFileSystemSizeLimitResponse
- type UpdateCfsFileSystemSizeLimitResponseParams
- type UpdateCfsPGroupRequest
- type UpdateCfsPGroupRequestParams
- type UpdateCfsPGroupResponse
- type UpdateCfsPGroupResponseParams
- type UpdateCfsRuleRequest
- type UpdateCfsRuleRequestParams
- type UpdateCfsRuleResponse
- type UpdateCfsRuleResponseParams
Constants ¶
const ( // Request unauthorized. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to bind the resource pack to the file system. FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" // The resource is being created. FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" // There are mount targets on the file system. FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" // The permission group has been bound to a file system. FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" // The permission group is being updated. FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" // The permission group has been associated with a legacy instance. Please unassociate it and try again. FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" // Failed to unbind the resource tag. FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" // Internal error. INTERNALERROR = "InternalError" // Failed to create the file system. INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" // Failed to get the payment status of the user. INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // The length of the string used to ensure the idempotency of the request exceeds the upper limit of 64 bytes. INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" // The permission group name already exists. INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" // The rule IP already exists. INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" // The length of the custom file system name exceeds the limit (64 bytes). INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" // The file system quota exceeds the upper limit. INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" // Incorrect rule IP. INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" // The string used to ensure the idempotency of the request is incorrect. INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" // Invalid encryption parameter. INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" // `FileSystemId` is invalid. INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" // Invalid custom name. INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" // Invalid file system quota. INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" // Invalid file system status. INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" // Incorrect mount target IP. INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" // Invalid network type. INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" // The permission group is not under this user. INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" // Invalid permission group ID. INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" // Invalid permission group name. INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" // Incorrect priority settings. INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" // Invalid protocol parameter. INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" // Either `ZoneName` or `ZoneId, Region` must be selected. INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" // Invalid parameter value: invalid resource tag value. INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" // Incorrect read/write permission settings. INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" // INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" // The resource pack does not exist or has been bound. INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" // Invalid storage class parameter. INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" // Invalid subnet ID. INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" // The tag key cannot be empty. INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" // Incorrect user permission settings. INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" // The specified VIP is unavailable. INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" // Invalid VPCID. INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" // Invalid VPC parameter. INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" // Invalid AZ. INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" // Invalid AZ or AZ ID. INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" // `FileSystemId` is missing. INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" // Either `FileSystemId` or `Region` must be selected. INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" // `FileSystem` is missing. INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" // Key ID or ARN is missing. INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" // The permission group name and description cannot both be empty. INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" // The permission group name cannot be empty. INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" // No storage pack is bound to. INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" // `SUBNETID` and `UNSUBNETID` cannot both be empty. INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" // A VPC parameter is missing. INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" // `VPCID` and `UNVPCID` cannot both be empty. INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" // `ZoneID` is missing. INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" // Either `Zone` or `Zone_id` must be selected. INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" // The length of the permission group description exceeds the limit (255 bytes). INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" // The length of the permission group name exceeds the limit (64 bytes). INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" // The permission group rule and permission group do not match. INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" // Invalid parameter value: the number of tag keys exceeds the upper limit (6). INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" // The length of the tag key exceeds the upper limit of 127 bytes. INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" // The length of the tag value exceeds the upper limit of 255 bytes. INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" // Services are unavailable in this AZ. INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" // Services are unavailable in this region. INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" // `ZoneId` and `Region` do not match. INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" // The number of file systems has reached the upper limit. RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" // The number of permission groups has reached the upper limit. RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" // Resources in the region have been sold out. RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" // The number of rules exceeds the upper limit. RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" // There is no IP available in this subnet. RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" // The quantity of the resource tags reached the upper limit. RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The file system does not exist. RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" // The mount target does not exist. RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" // The permission group does not exist. RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" // The permission rule does not exist. RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // This AZ does not support the basic network. UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" // Your account is in arrears. Please top up and try again. UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" // Unverified user. UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser" )
const APIVersion = "2019-07-19"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailableProtoStatus ¶
type AvailableProtoStatus struct { // Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable) SaleStatus *string `json:"SaleStatus,omitempty" name:"SaleStatus"` // Protocol type. Valid values: NFS, CIFS Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
type AvailableRegion ¶
type AvailableRegion struct { // Region name, such as "ap-beijing" Region *string `json:"Region,omitempty" name:"Region"` // Region name, such as "bj" RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // Region availability. If a region has at least one AZ where resources are purchasable, this value will be `AVAILABLE`; otherwise, it will be `UNAVAILABLE` RegionStatus *string `json:"RegionStatus,omitempty" name:"RegionStatus"` // Array of AZs Zones []*AvailableZone `json:"Zones,omitempty" name:"Zones"` // Region name, such as "Guangzhou" RegionCnName *string `json:"RegionCnName,omitempty" name:"RegionCnName"` }
type AvailableType ¶
type AvailableType struct { // Protocol and sale details Protocols []*AvailableProtoStatus `json:"Protocols,omitempty" name:"Protocols"` // Storage class. Valid values: `SD` (standard storage) and `HP` (high-performance storage) Type *string `json:"Type,omitempty" name:"Type"` // Indicates whether prepaid is supported. `true`: yes; `false`: no Prepayment *bool `json:"Prepayment,omitempty" name:"Prepayment"` }
type AvailableZone ¶
type AvailableZone struct { // AZ name Zone *string `json:"Zone,omitempty" name:"Zone"` // AZ ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // Chinese name of an AZ ZoneCnName *string `json:"ZoneCnName,omitempty" name:"ZoneCnName"` // Array of classes Types []*AvailableType `json:"Types,omitempty" name:"Types"` // Chinese and English names of an AZ ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateCfsFileSystem ¶
func (c *Client) CreateCfsFileSystem(request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
CreateCfsFileSystem This API is used to create a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsFileSystemWithContext ¶
func (c *Client) CreateCfsFileSystemWithContext(ctx context.Context, request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
CreateCfsFileSystem This API is used to create a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsPGroup ¶
func (c *Client) CreateCfsPGroup(request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
CreateCfsPGroup This API is used to create a permission group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsPGroupWithContext ¶
func (c *Client) CreateCfsPGroupWithContext(ctx context.Context, request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
CreateCfsPGroup This API is used to create a permission group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsRule ¶
func (c *Client) CreateCfsRule(request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
CreateCfsRule This API is used to create a permission group rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsRuleWithContext ¶
func (c *Client) CreateCfsRuleWithContext(ctx context.Context, request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
CreateCfsRule This API is used to create a permission group rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsFileSystem ¶
func (c *Client) DeleteCfsFileSystem(request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
DeleteCfsFileSystem This API is used to delete a file system.
error code that may be returned:
FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsFileSystemWithContext ¶
func (c *Client) DeleteCfsFileSystemWithContext(ctx context.Context, request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
DeleteCfsFileSystem This API is used to delete a file system.
error code that may be returned:
FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsPGroup ¶
func (c *Client) DeleteCfsPGroup(request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
DeleteCfsPGroup This API is used to delete a permission group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsPGroupWithContext ¶
func (c *Client) DeleteCfsPGroupWithContext(ctx context.Context, request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
DeleteCfsPGroup This API is used to delete a permission group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsRule ¶
func (c *Client) DeleteCfsRule(request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
DeleteCfsRule This API is used to delete a permission group rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsRuleWithContext ¶
func (c *Client) DeleteCfsRuleWithContext(ctx context.Context, request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
DeleteCfsRule This API is used to delete a permission group rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteMountTarget ¶
func (c *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
DeleteMountTarget This API is used to delete a mount target.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteMountTargetWithContext ¶
func (c *Client) DeleteMountTargetWithContext(ctx context.Context, request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
DeleteMountTarget This API is used to delete a mount target.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAvailableZoneInfo ¶
func (c *Client) DescribeAvailableZoneInfo(request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
DescribeAvailableZoneInfo This API is used to query the availability of a region.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAvailableZoneInfoWithContext ¶
func (c *Client) DescribeAvailableZoneInfoWithContext(ctx context.Context, request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
DescribeAvailableZoneInfo This API is used to query the availability of a region.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsFileSystemClients ¶
func (c *Client) DescribeCfsFileSystemClients(request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
DescribeCfsFileSystemClients This API is used to query clients on which this file system is mounted. To do so, the client needs to have the CFS monitoring plugin installed.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCfsFileSystemClientsWithContext ¶
func (c *Client) DescribeCfsFileSystemClientsWithContext(ctx context.Context, request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
DescribeCfsFileSystemClients This API is used to query clients on which this file system is mounted. To do so, the client needs to have the CFS monitoring plugin installed.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCfsFileSystems ¶
func (c *Client) DescribeCfsFileSystems(request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
DescribeCfsFileSystems This API is used to query file systems.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsFileSystemsWithContext ¶
func (c *Client) DescribeCfsFileSystemsWithContext(ctx context.Context, request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
DescribeCfsFileSystems This API is used to query file systems.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsPGroups ¶
func (c *Client) DescribeCfsPGroups(request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
DescribeCfsPGroups This API is used to query the list of permission groups.
error code that may be returned:
INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsPGroupsWithContext ¶
func (c *Client) DescribeCfsPGroupsWithContext(ctx context.Context, request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
DescribeCfsPGroups This API is used to query the list of permission groups.
error code that may be returned:
INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsRules ¶
func (c *Client) DescribeCfsRules(request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
DescribeCfsRules This API is used to query the list of permission group rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsRulesWithContext ¶
func (c *Client) DescribeCfsRulesWithContext(ctx context.Context, request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
DescribeCfsRules This API is used to query the list of permission group rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsServiceStatus ¶
func (c *Client) DescribeCfsServiceStatus(request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
DescribeCfsServiceStatus This API is used to query the status of the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsServiceStatusWithContext ¶
func (c *Client) DescribeCfsServiceStatusWithContext(ctx context.Context, request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
DescribeCfsServiceStatus This API is used to query the status of the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMountTargets ¶
func (c *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
DescribeMountTargets This API is used to query the mount targets of a file system.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMountTargetsWithContext ¶
func (c *Client) DescribeMountTargetsWithContext(ctx context.Context, request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
DescribeMountTargets This API is used to query the mount targets of a file system.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) SignUpCfsService ¶
func (c *Client) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
SignUpCfsService This API is used to activate the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) SignUpCfsServiceWithContext ¶
func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
SignUpCfsService This API is used to activate the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemName ¶
func (c *Client) UpdateCfsFileSystemName(request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
UpdateCfsFileSystemName This API is used to update a file system name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemNameWithContext ¶
func (c *Client) UpdateCfsFileSystemNameWithContext(ctx context.Context, request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
UpdateCfsFileSystemName This API is used to update a file system name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemPGroup ¶
func (c *Client) UpdateCfsFileSystemPGroup(request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
UpdateCfsFileSystemPGroup This API is used to update the permission group used by a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemPGroupWithContext ¶
func (c *Client) UpdateCfsFileSystemPGroupWithContext(ctx context.Context, request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
UpdateCfsFileSystemPGroup This API is used to update the permission group used by a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemSizeLimit ¶
func (c *Client) UpdateCfsFileSystemSizeLimit(request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
UpdateCfsFileSystemSizeLimit This API is used to update the capacity limit of a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemSizeLimitWithContext ¶
func (c *Client) UpdateCfsFileSystemSizeLimitWithContext(ctx context.Context, request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
UpdateCfsFileSystemSizeLimit This API is used to update the capacity limit of a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsPGroup ¶
func (c *Client) UpdateCfsPGroup(request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
UpdateCfsPGroup This API is used to update the information of a permission group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsPGroupWithContext ¶
func (c *Client) UpdateCfsPGroupWithContext(ctx context.Context, request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
UpdateCfsPGroup This API is used to update the information of a permission group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsRule ¶
func (c *Client) UpdateCfsRule(request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
UpdateCfsRule This API is used to update a permission rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsRuleWithContext ¶
func (c *Client) UpdateCfsRuleWithContext(ctx context.Context, request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
UpdateCfsRule This API is used to update a permission rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
type CreateCfsFileSystemRequest ¶
type CreateCfsFileSystemRequest struct { *tchttp.BaseRequest // AZ name, such as "ap-beijing-1". For the list of regions and AZs, please see [Overview](https://intl.cloud.tencent.com/document/product/582/13225?from_cn_redirect=1) Zone *string `json:"Zone,omitempty" name:"Zone"` // Network type. Valid values: `VPC` (private network), `BASIC` (classic network), `CCN` (Cloud Connect Network). You must set this parameter to `CCN` if you use the Turbo series. Classic network will be phased out and is not recommended. NetInterface *string `json:"NetInterface,omitempty" name:"NetInterface"` // Permission group ID (required for Standard and High-Performance). For the Turbo series, set it to `pgroupbasic`. PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Storage class of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), `TP` (High-Performance Turbo) StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // VPC ID. This field is required if network type is VPC. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID. This field is required if network type is VPC. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // IP address (this parameter supports only the VPC network type, and the Turbo series is not supported). If this parameter is left empty, a random IP in the subnet will be assigned. MountIP *string `json:"MountIP,omitempty" name:"MountIP"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // File system tag ResourceTags []*TagInfo `json:"ResourceTags,omitempty" name:"ResourceTags"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. This string is valid for 2 hours. ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // CCN instance ID (required if the network type is CCN) CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB). Capacity *uint64 `json:"Capacity,omitempty" name:"Capacity"` }
func NewCreateCfsFileSystemRequest ¶
func NewCreateCfsFileSystemRequest() (request *CreateCfsFileSystemRequest)
func (*CreateCfsFileSystemRequest) FromJsonString ¶
func (r *CreateCfsFileSystemRequest) 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 (*CreateCfsFileSystemRequest) ToJsonString ¶
func (r *CreateCfsFileSystemRequest) ToJsonString() string
type CreateCfsFileSystemRequestParams ¶
type CreateCfsFileSystemRequestParams struct { // AZ name, such as "ap-beijing-1". For the list of regions and AZs, please see [Overview](https://intl.cloud.tencent.com/document/product/582/13225?from_cn_redirect=1) Zone *string `json:"Zone,omitempty" name:"Zone"` // Network type. Valid values: `VPC` (private network), `BASIC` (classic network), `CCN` (Cloud Connect Network). You must set this parameter to `CCN` if you use the Turbo series. Classic network will be phased out and is not recommended. NetInterface *string `json:"NetInterface,omitempty" name:"NetInterface"` // Permission group ID (required for Standard and High-Performance). For the Turbo series, set it to `pgroupbasic`. PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Storage class of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), `TP` (High-Performance Turbo) StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // VPC ID. This field is required if network type is VPC. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID. This field is required if network type is VPC. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // IP address (this parameter supports only the VPC network type, and the Turbo series is not supported). If this parameter is left empty, a random IP in the subnet will be assigned. MountIP *string `json:"MountIP,omitempty" name:"MountIP"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // File system tag ResourceTags []*TagInfo `json:"ResourceTags,omitempty" name:"ResourceTags"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. This string is valid for 2 hours. ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // CCN instance ID (required if the network type is CCN) CcnId *string `json:"CcnId,omitempty" name:"CcnId"` // CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB). Capacity *uint64 `json:"Capacity,omitempty" name:"Capacity"` }
Predefined struct for user
type CreateCfsFileSystemResponse ¶
type CreateCfsFileSystemResponse struct { *tchttp.BaseResponse Response *CreateCfsFileSystemResponseParams `json:"Response"` }
func NewCreateCfsFileSystemResponse ¶
func NewCreateCfsFileSystemResponse() (response *CreateCfsFileSystemResponse)
func (*CreateCfsFileSystemResponse) FromJsonString ¶
func (r *CreateCfsFileSystemResponse) 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 (*CreateCfsFileSystemResponse) ToJsonString ¶
func (r *CreateCfsFileSystemResponse) ToJsonString() string
type CreateCfsFileSystemResponseParams ¶
type CreateCfsFileSystemResponseParams struct { // File system creation time CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Custom file system name CreationToken *string `json:"CreationToken,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // File system status. Valid values: `creating`, `create_failed`, `available`, `unserviced`, `upgrading`, `deleting` LifeCycleState *string `json:"LifeCycleState,omitempty" name:"LifeCycleState"` // Storage used by the file system, in bytes SizeByte *uint64 `json:"SizeByte,omitempty" name:"SizeByte"` // AZ ID ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // Whether a file system is encrypted Encrypted *bool `json:"Encrypted,omitempty" name:"Encrypted"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsPGroupRequest ¶
type CreateCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` }
func NewCreateCfsPGroupRequest ¶
func NewCreateCfsPGroupRequest() (request *CreateCfsPGroupRequest)
func (*CreateCfsPGroupRequest) FromJsonString ¶
func (r *CreateCfsPGroupRequest) 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 (*CreateCfsPGroupRequest) ToJsonString ¶
func (r *CreateCfsPGroupRequest) ToJsonString() string
type CreateCfsPGroupRequestParams ¶
type CreateCfsPGroupRequestParams struct { // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` }
Predefined struct for user
type CreateCfsPGroupResponse ¶
type CreateCfsPGroupResponse struct { *tchttp.BaseResponse Response *CreateCfsPGroupResponseParams `json:"Response"` }
func NewCreateCfsPGroupResponse ¶
func NewCreateCfsPGroupResponse() (response *CreateCfsPGroupResponse)
func (*CreateCfsPGroupResponse) FromJsonString ¶
func (r *CreateCfsPGroupResponse) 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 (*CreateCfsPGroupResponse) ToJsonString ¶
func (r *CreateCfsPGroupResponse) ToJsonString() string
type CreateCfsPGroupResponseParams ¶
type CreateCfsPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitempty" name:"Name"` // Permission group description DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` // The number of file systems bound to this permission group BindCfsNum *int64 `json:"BindCfsNum,omitempty" name:"BindCfsNum"` // Permission group creation time CDate *string `json:"CDate,omitempty" name:"CDate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsRuleRequest ¶
type CreateCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` }
func NewCreateCfsRuleRequest ¶
func NewCreateCfsRuleRequest() (request *CreateCfsRuleRequest)
func (*CreateCfsRuleRequest) FromJsonString ¶
func (r *CreateCfsRuleRequest) 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 (*CreateCfsRuleRequest) ToJsonString ¶
func (r *CreateCfsRuleRequest) ToJsonString() string
type CreateCfsRuleRequestParams ¶
type CreateCfsRuleRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` }
Predefined struct for user
type CreateCfsRuleResponse ¶
type CreateCfsRuleResponse struct { *tchttp.BaseResponse Response *CreateCfsRuleResponseParams `json:"Response"` }
func NewCreateCfsRuleResponse ¶
func NewCreateCfsRuleResponse() (response *CreateCfsRuleResponse)
func (*CreateCfsRuleResponse) FromJsonString ¶
func (r *CreateCfsRuleResponse) 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 (*CreateCfsRuleResponse) ToJsonString ¶
func (r *CreateCfsRuleResponse) ToJsonString() string
type CreateCfsRuleResponseParams ¶
type CreateCfsRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Client IP AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read & write permissions RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsFileSystemRequest ¶
type DeleteCfsFileSystemRequest struct { *tchttp.BaseRequest // File system ID. Note: please call the `DeleteMountTarget` API to delete the mount target first before deleting a file system; otherwise, the delete operation will fail. FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDeleteCfsFileSystemRequest ¶
func NewDeleteCfsFileSystemRequest() (request *DeleteCfsFileSystemRequest)
func (*DeleteCfsFileSystemRequest) FromJsonString ¶
func (r *DeleteCfsFileSystemRequest) 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 (*DeleteCfsFileSystemRequest) ToJsonString ¶
func (r *DeleteCfsFileSystemRequest) ToJsonString() string
type DeleteCfsFileSystemRequestParams ¶
type DeleteCfsFileSystemRequestParams struct { // File system ID. Note: please call the `DeleteMountTarget` API to delete the mount target first before deleting a file system; otherwise, the delete operation will fail. FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DeleteCfsFileSystemResponse ¶
type DeleteCfsFileSystemResponse struct { *tchttp.BaseResponse Response *DeleteCfsFileSystemResponseParams `json:"Response"` }
func NewDeleteCfsFileSystemResponse ¶
func NewDeleteCfsFileSystemResponse() (response *DeleteCfsFileSystemResponse)
func (*DeleteCfsFileSystemResponse) FromJsonString ¶
func (r *DeleteCfsFileSystemResponse) 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 (*DeleteCfsFileSystemResponse) ToJsonString ¶
func (r *DeleteCfsFileSystemResponse) ToJsonString() string
type DeleteCfsFileSystemResponseParams ¶
type DeleteCfsFileSystemResponseParams 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"` }
Predefined struct for user
type DeleteCfsPGroupRequest ¶
type DeleteCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` }
func NewDeleteCfsPGroupRequest ¶
func NewDeleteCfsPGroupRequest() (request *DeleteCfsPGroupRequest)
func (*DeleteCfsPGroupRequest) FromJsonString ¶
func (r *DeleteCfsPGroupRequest) 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 (*DeleteCfsPGroupRequest) ToJsonString ¶
func (r *DeleteCfsPGroupRequest) ToJsonString() string
type DeleteCfsPGroupRequestParams ¶
type DeleteCfsPGroupRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` }
Predefined struct for user
type DeleteCfsPGroupResponse ¶
type DeleteCfsPGroupResponse struct { *tchttp.BaseResponse Response *DeleteCfsPGroupResponseParams `json:"Response"` }
func NewDeleteCfsPGroupResponse ¶
func NewDeleteCfsPGroupResponse() (response *DeleteCfsPGroupResponse)
func (*DeleteCfsPGroupResponse) FromJsonString ¶
func (r *DeleteCfsPGroupResponse) 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 (*DeleteCfsPGroupResponse) ToJsonString ¶
func (r *DeleteCfsPGroupResponse) ToJsonString() string
type DeleteCfsPGroupResponseParams ¶
type DeleteCfsPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // User ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsRuleRequest ¶
type DeleteCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewDeleteCfsRuleRequest ¶
func NewDeleteCfsRuleRequest() (request *DeleteCfsRuleRequest)
func (*DeleteCfsRuleRequest) FromJsonString ¶
func (r *DeleteCfsRuleRequest) 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 (*DeleteCfsRuleRequest) ToJsonString ¶
func (r *DeleteCfsRuleRequest) ToJsonString() string
type DeleteCfsRuleRequestParams ¶
type DeleteCfsRuleRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
Predefined struct for user
type DeleteCfsRuleResponse ¶
type DeleteCfsRuleResponse struct { *tchttp.BaseResponse Response *DeleteCfsRuleResponseParams `json:"Response"` }
func NewDeleteCfsRuleResponse ¶
func NewDeleteCfsRuleResponse() (response *DeleteCfsRuleResponse)
func (*DeleteCfsRuleResponse) FromJsonString ¶
func (r *DeleteCfsRuleResponse) 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 (*DeleteCfsRuleResponse) ToJsonString ¶
func (r *DeleteCfsRuleResponse) ToJsonString() string
type DeleteCfsRuleResponseParams ¶
type DeleteCfsRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMountTargetRequest ¶
type DeleteMountTargetRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitempty" name:"MountTargetId"` }
func NewDeleteMountTargetRequest ¶
func NewDeleteMountTargetRequest() (request *DeleteMountTargetRequest)
func (*DeleteMountTargetRequest) FromJsonString ¶
func (r *DeleteMountTargetRequest) 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 (*DeleteMountTargetRequest) ToJsonString ¶
func (r *DeleteMountTargetRequest) ToJsonString() string
type DeleteMountTargetRequestParams ¶
type DeleteMountTargetRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitempty" name:"MountTargetId"` }
Predefined struct for user
type DeleteMountTargetResponse ¶
type DeleteMountTargetResponse struct { *tchttp.BaseResponse Response *DeleteMountTargetResponseParams `json:"Response"` }
func NewDeleteMountTargetResponse ¶
func NewDeleteMountTargetResponse() (response *DeleteMountTargetResponse)
func (*DeleteMountTargetResponse) FromJsonString ¶
func (r *DeleteMountTargetResponse) 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 (*DeleteMountTargetResponse) ToJsonString ¶
func (r *DeleteMountTargetResponse) ToJsonString() string
type DeleteMountTargetResponseParams ¶
type DeleteMountTargetResponseParams 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"` }
Predefined struct for user
type DescribeAvailableZoneInfoRequest ¶
type DescribeAvailableZoneInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAvailableZoneInfoRequest ¶
func NewDescribeAvailableZoneInfoRequest() (request *DescribeAvailableZoneInfoRequest)
func (*DescribeAvailableZoneInfoRequest) FromJsonString ¶
func (r *DescribeAvailableZoneInfoRequest) 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 (*DescribeAvailableZoneInfoRequest) ToJsonString ¶
func (r *DescribeAvailableZoneInfoRequest) ToJsonString() string
type DescribeAvailableZoneInfoRequestParams ¶
type DescribeAvailableZoneInfoRequestParams struct { }
Predefined struct for user
type DescribeAvailableZoneInfoResponse ¶
type DescribeAvailableZoneInfoResponse struct { *tchttp.BaseResponse Response *DescribeAvailableZoneInfoResponseParams `json:"Response"` }
func NewDescribeAvailableZoneInfoResponse ¶
func NewDescribeAvailableZoneInfoResponse() (response *DescribeAvailableZoneInfoResponse)
func (*DescribeAvailableZoneInfoResponse) FromJsonString ¶
func (r *DescribeAvailableZoneInfoResponse) 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 (*DescribeAvailableZoneInfoResponse) ToJsonString ¶
func (r *DescribeAvailableZoneInfoResponse) ToJsonString() string
type DescribeAvailableZoneInfoResponseParams ¶
type DescribeAvailableZoneInfoResponseParams struct { // Information such as resource availability in each AZ and the supported storage classes and protocols RegionZones []*AvailableRegion `json:"RegionZones,omitempty" name:"RegionZones"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemClientsRequest ¶
type DescribeCfsFileSystemClientsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDescribeCfsFileSystemClientsRequest ¶
func NewDescribeCfsFileSystemClientsRequest() (request *DescribeCfsFileSystemClientsRequest)
func (*DescribeCfsFileSystemClientsRequest) FromJsonString ¶
func (r *DescribeCfsFileSystemClientsRequest) 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 (*DescribeCfsFileSystemClientsRequest) ToJsonString ¶
func (r *DescribeCfsFileSystemClientsRequest) ToJsonString() string
type DescribeCfsFileSystemClientsRequestParams ¶
type DescribeCfsFileSystemClientsRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeCfsFileSystemClientsResponse ¶
type DescribeCfsFileSystemClientsResponse struct { *tchttp.BaseResponse Response *DescribeCfsFileSystemClientsResponseParams `json:"Response"` }
func NewDescribeCfsFileSystemClientsResponse ¶
func NewDescribeCfsFileSystemClientsResponse() (response *DescribeCfsFileSystemClientsResponse)
func (*DescribeCfsFileSystemClientsResponse) FromJsonString ¶
func (r *DescribeCfsFileSystemClientsResponse) 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 (*DescribeCfsFileSystemClientsResponse) ToJsonString ¶
func (r *DescribeCfsFileSystemClientsResponse) ToJsonString() string
type DescribeCfsFileSystemClientsResponseParams ¶
type DescribeCfsFileSystemClientsResponseParams struct { // Client list ClientList []*FileSystemClient `json:"ClientList,omitempty" name:"ClientList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemsRequest ¶
type DescribeCfsFileSystemsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
func NewDescribeCfsFileSystemsRequest ¶
func NewDescribeCfsFileSystemsRequest() (request *DescribeCfsFileSystemsRequest)
func (*DescribeCfsFileSystemsRequest) FromJsonString ¶
func (r *DescribeCfsFileSystemsRequest) 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 (*DescribeCfsFileSystemsRequest) ToJsonString ¶
func (r *DescribeCfsFileSystemsRequest) ToJsonString() string
type DescribeCfsFileSystemsRequestParams ¶
type DescribeCfsFileSystemsRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
Predefined struct for user
type DescribeCfsFileSystemsResponse ¶
type DescribeCfsFileSystemsResponse struct { *tchttp.BaseResponse Response *DescribeCfsFileSystemsResponseParams `json:"Response"` }
func NewDescribeCfsFileSystemsResponse ¶
func NewDescribeCfsFileSystemsResponse() (response *DescribeCfsFileSystemsResponse)
func (*DescribeCfsFileSystemsResponse) FromJsonString ¶
func (r *DescribeCfsFileSystemsResponse) 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 (*DescribeCfsFileSystemsResponse) ToJsonString ¶
func (r *DescribeCfsFileSystemsResponse) ToJsonString() string
type DescribeCfsFileSystemsResponseParams ¶
type DescribeCfsFileSystemsResponseParams struct { // File system information FileSystems []*FileSystemInfo `json:"FileSystems,omitempty" name:"FileSystems"` // Total number of file systems TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsPGroupsRequest ¶
type DescribeCfsPGroupsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCfsPGroupsRequest ¶
func NewDescribeCfsPGroupsRequest() (request *DescribeCfsPGroupsRequest)
func (*DescribeCfsPGroupsRequest) FromJsonString ¶
func (r *DescribeCfsPGroupsRequest) 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 (*DescribeCfsPGroupsRequest) ToJsonString ¶
func (r *DescribeCfsPGroupsRequest) ToJsonString() string
type DescribeCfsPGroupsRequestParams ¶
type DescribeCfsPGroupsRequestParams struct { }
Predefined struct for user
type DescribeCfsPGroupsResponse ¶
type DescribeCfsPGroupsResponse struct { *tchttp.BaseResponse Response *DescribeCfsPGroupsResponseParams `json:"Response"` }
func NewDescribeCfsPGroupsResponse ¶
func NewDescribeCfsPGroupsResponse() (response *DescribeCfsPGroupsResponse)
func (*DescribeCfsPGroupsResponse) FromJsonString ¶
func (r *DescribeCfsPGroupsResponse) 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 (*DescribeCfsPGroupsResponse) ToJsonString ¶
func (r *DescribeCfsPGroupsResponse) ToJsonString() string
type DescribeCfsPGroupsResponseParams ¶
type DescribeCfsPGroupsResponseParams struct { // Permission group information list PGroupList []*PGroupInfo `json:"PGroupList,omitempty" name:"PGroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsRulesRequest ¶
type DescribeCfsRulesRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` }
func NewDescribeCfsRulesRequest ¶
func NewDescribeCfsRulesRequest() (request *DescribeCfsRulesRequest)
func (*DescribeCfsRulesRequest) FromJsonString ¶
func (r *DescribeCfsRulesRequest) 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 (*DescribeCfsRulesRequest) ToJsonString ¶
func (r *DescribeCfsRulesRequest) ToJsonString() string
type DescribeCfsRulesRequestParams ¶
type DescribeCfsRulesRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` }
Predefined struct for user
type DescribeCfsRulesResponse ¶
type DescribeCfsRulesResponse struct { *tchttp.BaseResponse Response *DescribeCfsRulesResponseParams `json:"Response"` }
func NewDescribeCfsRulesResponse ¶
func NewDescribeCfsRulesResponse() (response *DescribeCfsRulesResponse)
func (*DescribeCfsRulesResponse) FromJsonString ¶
func (r *DescribeCfsRulesResponse) 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 (*DescribeCfsRulesResponse) ToJsonString ¶
func (r *DescribeCfsRulesResponse) ToJsonString() string
type DescribeCfsRulesResponseParams ¶
type DescribeCfsRulesResponseParams struct { // List of permission group rules RuleList []*PGroupRuleInfo `json:"RuleList,omitempty" name:"RuleList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsServiceStatusRequest ¶
type DescribeCfsServiceStatusRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCfsServiceStatusRequest ¶
func NewDescribeCfsServiceStatusRequest() (request *DescribeCfsServiceStatusRequest)
func (*DescribeCfsServiceStatusRequest) FromJsonString ¶
func (r *DescribeCfsServiceStatusRequest) 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 (*DescribeCfsServiceStatusRequest) ToJsonString ¶
func (r *DescribeCfsServiceStatusRequest) ToJsonString() string
type DescribeCfsServiceStatusRequestParams ¶
type DescribeCfsServiceStatusRequestParams struct { }
Predefined struct for user
type DescribeCfsServiceStatusResponse ¶
type DescribeCfsServiceStatusResponse struct { *tchttp.BaseResponse Response *DescribeCfsServiceStatusResponseParams `json:"Response"` }
func NewDescribeCfsServiceStatusResponse ¶
func NewDescribeCfsServiceStatusResponse() (response *DescribeCfsServiceStatusResponse)
func (*DescribeCfsServiceStatusResponse) FromJsonString ¶
func (r *DescribeCfsServiceStatusResponse) 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 (*DescribeCfsServiceStatusResponse) ToJsonString ¶
func (r *DescribeCfsServiceStatusResponse) ToJsonString() string
type DescribeCfsServiceStatusResponseParams ¶
type DescribeCfsServiceStatusResponseParams struct { // Current status of the CFS service for this user. Valid values: none (not activated), creating (activating), created (activated) CfsServiceStatus *string `json:"CfsServiceStatus,omitempty" name:"CfsServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMountTargetsRequest ¶
type DescribeMountTargetsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDescribeMountTargetsRequest ¶
func NewDescribeMountTargetsRequest() (request *DescribeMountTargetsRequest)
func (*DescribeMountTargetsRequest) FromJsonString ¶
func (r *DescribeMountTargetsRequest) 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 (*DescribeMountTargetsRequest) ToJsonString ¶
func (r *DescribeMountTargetsRequest) ToJsonString() string
type DescribeMountTargetsRequestParams ¶
type DescribeMountTargetsRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeMountTargetsResponse ¶
type DescribeMountTargetsResponse struct { *tchttp.BaseResponse Response *DescribeMountTargetsResponseParams `json:"Response"` }
func NewDescribeMountTargetsResponse ¶
func NewDescribeMountTargetsResponse() (response *DescribeMountTargetsResponse)
func (*DescribeMountTargetsResponse) FromJsonString ¶
func (r *DescribeMountTargetsResponse) 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 (*DescribeMountTargetsResponse) ToJsonString ¶
func (r *DescribeMountTargetsResponse) ToJsonString() string
type DescribeMountTargetsResponseParams ¶
type DescribeMountTargetsResponseParams struct { // Mount target details MountTargets []*MountInfo `json:"MountTargets,omitempty" name:"MountTargets"` // The number of mount targets NumberOfMountTargets *int64 `json:"NumberOfMountTargets,omitempty" name:"NumberOfMountTargets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type FileSystemClient ¶
type FileSystemClient struct { // IP address of the file system CfsVip *string `json:"CfsVip,omitempty" name:"CfsVip"` // Client IP ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // File system VPCID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Name of the availability zone, e.g. ap-beijing-1. For more information, see regions and availability zones in the Overview document Zone *string `json:"Zone,omitempty" name:"Zone"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Path in which the file system is mounted to the client MountDirectory *string `json:"MountDirectory,omitempty" name:"MountDirectory"` }
type FileSystemInfo ¶
type FileSystemInfo struct { // Creation time CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Custom name CreationToken *string `json:"CreationToken,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // File system status LifeCycleState *string `json:"LifeCycleState,omitempty" name:"LifeCycleState"` // Used file system capacity SizeByte *uint64 `json:"SizeByte,omitempty" name:"SizeByte"` // Maximum storage limit of a file system SizeLimit *uint64 `json:"SizeLimit,omitempty" name:"SizeLimit"` // Region ID ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // Region name Zone *string `json:"Zone,omitempty" name:"Zone"` // File system protocol type Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // File system storage class StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // Prepaid storage pack bound with the file system StorageResourcePkg *string `json:"StorageResourcePkg,omitempty" name:"StorageResourcePkg"` // Prepaid bandwidth pack bound to a file system (not supported currently) BandwidthResourcePkg *string `json:"BandwidthResourcePkg,omitempty" name:"BandwidthResourcePkg"` // Information of permission groups bound to a file system PGroup *PGroup `json:"PGroup,omitempty" name:"PGroup"` // Custom name FsName *string `json:"FsName,omitempty" name:"FsName"` // Whether a file system is encrypted Encrypted *bool `json:"Encrypted,omitempty" name:"Encrypted"` // Key used for encryption, which can be the key ID or ARN KmsKeyId *string `json:"KmsKeyId,omitempty" name:"KmsKeyId"` // Application ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // The upper limit on the file system’s throughput, which is determined based on its current usage, and bound resource packs for both storage and throughput BandwidthLimit *float64 `json:"BandwidthLimit,omitempty" name:"BandwidthLimit"` // Total capacity of the file system Capacity *uint64 `json:"Capacity,omitempty" name:"Capacity"` // File system tag list Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` }
type MountInfo ¶
type MountInfo struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitempty" name:"MountTargetId"` // Mount target IP IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // Mount root-directory FSID *string `json:"FSID,omitempty" name:"FSID"` // Mount target status LifeCycleState *string `json:"LifeCycleState,omitempty" name:"LifeCycleState"` // Network type NetworkInterface *string `json:"NetworkInterface,omitempty" name:"NetworkInterface"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC name VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Subnet name SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // CCN instance ID used by CFS Turbo CcnID *string `json:"CcnID,omitempty" name:"CcnID"` // CCN IP range used by CFS Turbo CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` }
type PGroupInfo ¶
type PGroupInfo struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitempty" name:"Name"` // Description DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` // Creation time CDate *string `json:"CDate,omitempty" name:"CDate"` // The number of bound file system BindCfsNum *int64 `json:"BindCfsNum,omitempty" name:"BindCfsNum"` }
type PGroupRuleInfo ¶
type PGroupRuleInfo struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Client IP allowed for access AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read/write permission. ro: read-only; rw: read & write RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission. all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
type SignUpCfsServiceRequest ¶
type SignUpCfsServiceRequest struct {
*tchttp.BaseRequest
}
func NewSignUpCfsServiceRequest ¶
func NewSignUpCfsServiceRequest() (request *SignUpCfsServiceRequest)
func (*SignUpCfsServiceRequest) FromJsonString ¶
func (r *SignUpCfsServiceRequest) 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 (*SignUpCfsServiceRequest) ToJsonString ¶
func (r *SignUpCfsServiceRequest) ToJsonString() string
type SignUpCfsServiceRequestParams ¶
type SignUpCfsServiceRequestParams struct { }
Predefined struct for user
type SignUpCfsServiceResponse ¶
type SignUpCfsServiceResponse struct { *tchttp.BaseResponse Response *SignUpCfsServiceResponseParams `json:"Response"` }
func NewSignUpCfsServiceResponse ¶
func NewSignUpCfsServiceResponse() (response *SignUpCfsServiceResponse)
func (*SignUpCfsServiceResponse) FromJsonString ¶
func (r *SignUpCfsServiceResponse) 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 (*SignUpCfsServiceResponse) ToJsonString ¶
func (r *SignUpCfsServiceResponse) ToJsonString() string
type SignUpCfsServiceResponseParams ¶
type SignUpCfsServiceResponseParams struct { // Current status of the CFS service for this user. Valid values: none (not activated), creating (activating), created (activated) CfsServiceStatus *string `json:"CfsServiceStatus,omitempty" name:"CfsServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemNameRequest ¶
type UpdateCfsFileSystemNameRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` }
func NewUpdateCfsFileSystemNameRequest ¶
func NewUpdateCfsFileSystemNameRequest() (request *UpdateCfsFileSystemNameRequest)
func (*UpdateCfsFileSystemNameRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemNameRequest) 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 (*UpdateCfsFileSystemNameRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemNameRequest) ToJsonString() string
type UpdateCfsFileSystemNameRequestParams ¶
type UpdateCfsFileSystemNameRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` }
Predefined struct for user
type UpdateCfsFileSystemNameResponse ¶
type UpdateCfsFileSystemNameResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemNameResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemNameResponse ¶
func NewUpdateCfsFileSystemNameResponse() (response *UpdateCfsFileSystemNameResponse)
func (*UpdateCfsFileSystemNameResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemNameResponse) 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 (*UpdateCfsFileSystemNameResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemNameResponse) ToJsonString() string
type UpdateCfsFileSystemNameResponseParams ¶
type UpdateCfsFileSystemNameResponseParams struct { // Custom file system name CreationToken *string `json:"CreationToken,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupRequest ¶
type UpdateCfsFileSystemPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewUpdateCfsFileSystemPGroupRequest ¶
func NewUpdateCfsFileSystemPGroupRequest() (request *UpdateCfsFileSystemPGroupRequest)
func (*UpdateCfsFileSystemPGroupRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemPGroupRequest) 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 (*UpdateCfsFileSystemPGroupRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemPGroupRequest) ToJsonString() string
type UpdateCfsFileSystemPGroupRequestParams ¶
type UpdateCfsFileSystemPGroupRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupResponse ¶
type UpdateCfsFileSystemPGroupResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemPGroupResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemPGroupResponse ¶
func NewUpdateCfsFileSystemPGroupResponse() (response *UpdateCfsFileSystemPGroupResponse)
func (*UpdateCfsFileSystemPGroupResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemPGroupResponse) 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 (*UpdateCfsFileSystemPGroupResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemPGroupResponse) ToJsonString() string
type UpdateCfsFileSystemPGroupResponseParams ¶
type UpdateCfsFileSystemPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemSizeLimitRequest ¶
type UpdateCfsFileSystemSizeLimitRequest struct { *tchttp.BaseRequest // File system capacity limit in GB. Value range: 0-1,073,741,824. If 0 is entered, no limit will be imposed on the file system capacity. FsLimit *uint64 `json:"FsLimit,omitempty" name:"FsLimit"` // File system ID. Currently, only Standard file systems are supported. FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewUpdateCfsFileSystemSizeLimitRequest ¶
func NewUpdateCfsFileSystemSizeLimitRequest() (request *UpdateCfsFileSystemSizeLimitRequest)
func (*UpdateCfsFileSystemSizeLimitRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitRequest) 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 (*UpdateCfsFileSystemSizeLimitRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitRequest) ToJsonString() string
type UpdateCfsFileSystemSizeLimitRequestParams ¶
type UpdateCfsFileSystemSizeLimitRequestParams struct { // File system capacity limit in GB. Value range: 0-1,073,741,824. If 0 is entered, no limit will be imposed on the file system capacity. FsLimit *uint64 `json:"FsLimit,omitempty" name:"FsLimit"` // File system ID. Currently, only Standard file systems are supported. FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
Predefined struct for user
type UpdateCfsFileSystemSizeLimitResponse ¶
type UpdateCfsFileSystemSizeLimitResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemSizeLimitResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemSizeLimitResponse ¶
func NewUpdateCfsFileSystemSizeLimitResponse() (response *UpdateCfsFileSystemSizeLimitResponse)
func (*UpdateCfsFileSystemSizeLimitResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitResponse) 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 (*UpdateCfsFileSystemSizeLimitResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitResponse) ToJsonString() string
type UpdateCfsFileSystemSizeLimitResponseParams ¶
type UpdateCfsFileSystemSizeLimitResponseParams 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"` }
Predefined struct for user
type UpdateCfsPGroupRequest ¶
type UpdateCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` }
func NewUpdateCfsPGroupRequest ¶
func NewUpdateCfsPGroupRequest() (request *UpdateCfsPGroupRequest)
func (*UpdateCfsPGroupRequest) FromJsonString ¶
func (r *UpdateCfsPGroupRequest) 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 (*UpdateCfsPGroupRequest) ToJsonString ¶
func (r *UpdateCfsPGroupRequest) ToJsonString() string
type UpdateCfsPGroupRequestParams ¶
type UpdateCfsPGroupRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` }
Predefined struct for user
type UpdateCfsPGroupResponse ¶
type UpdateCfsPGroupResponse struct { *tchttp.BaseResponse Response *UpdateCfsPGroupResponseParams `json:"Response"` }
func NewUpdateCfsPGroupResponse ¶
func NewUpdateCfsPGroupResponse() (response *UpdateCfsPGroupResponse)
func (*UpdateCfsPGroupResponse) FromJsonString ¶
func (r *UpdateCfsPGroupResponse) 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 (*UpdateCfsPGroupResponse) ToJsonString ¶
func (r *UpdateCfsPGroupResponse) ToJsonString() string
type UpdateCfsPGroupResponseParams ¶
type UpdateCfsPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitempty" name:"Name"` // Description DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsRuleRequest ¶
type UpdateCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
func NewUpdateCfsRuleRequest ¶
func NewUpdateCfsRuleRequest() (request *UpdateCfsRuleRequest)
func (*UpdateCfsRuleRequest) FromJsonString ¶
func (r *UpdateCfsRuleRequest) 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 (*UpdateCfsRuleRequest) ToJsonString ¶
func (r *UpdateCfsRuleRequest) ToJsonString() string
type UpdateCfsRuleRequestParams ¶
type UpdateCfsRuleRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
Predefined struct for user
type UpdateCfsRuleResponse ¶
type UpdateCfsRuleResponse struct { *tchttp.BaseResponse Response *UpdateCfsRuleResponseParams `json:"Response"` }
func NewUpdateCfsRuleResponse ¶
func NewUpdateCfsRuleResponse() (response *UpdateCfsRuleResponse)
func (*UpdateCfsRuleResponse) FromJsonString ¶
func (r *UpdateCfsRuleResponse) 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 (*UpdateCfsRuleResponse) ToJsonString ¶
func (r *UpdateCfsRuleResponse) ToJsonString() string
type UpdateCfsRuleResponseParams ¶
type UpdateCfsRuleResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Client IP or IP range allowed for access AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read & write permission RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user