Documentation ¶
Index ¶
- type BackupDownloadURLRequest
- type BackupDownloadURLResponse
- type BackupDownloadURLResult
- type CreateBackupRequest
- func (r CreateBackupRequest) GetRegionId() string
- func (r *CreateBackupRequest) SetBackupMethod(backupMethod string)
- func (r *CreateBackupRequest) SetBackupName(backupName string)
- func (r *CreateBackupRequest) SetInstanceId(instanceId string)
- func (r *CreateBackupRequest) SetRegionId(regionId string)
- type CreateBackupResponse
- type CreateBackupResult
- type CreateBackupSynchronicityRequest
- func NewCreateBackupSynchronicityRequest(regionId string, instanceId string, srcRegion string, dstRegion string) *CreateBackupSynchronicityRequest
- func NewCreateBackupSynchronicityRequestWithAllParams(regionId string, instanceId string, srcRegion string, dstRegion string) *CreateBackupSynchronicityRequest
- func NewCreateBackupSynchronicityRequestWithoutParam() *CreateBackupSynchronicityRequest
- func (r CreateBackupSynchronicityRequest) GetRegionId() string
- func (r *CreateBackupSynchronicityRequest) SetDstRegion(dstRegion string)
- func (r *CreateBackupSynchronicityRequest) SetInstanceId(instanceId string)
- func (r *CreateBackupSynchronicityRequest) SetRegionId(regionId string)
- func (r *CreateBackupSynchronicityRequest) SetSrcRegion(srcRegion string)
- type CreateBackupSynchronicityResponse
- type CreateBackupSynchronicityResult
- type CreateInstanceRequest
- func NewCreateInstanceRequest(regionId string, instanceSpec *mongodb.DBInstanceSpec) *CreateInstanceRequest
- func NewCreateInstanceRequestWithAllParams(regionId string, instanceSpec *mongodb.DBInstanceSpec, ...) *CreateInstanceRequest
- func NewCreateInstanceRequestWithoutParam() *CreateInstanceRequest
- type CreateInstanceResponse
- type CreateInstanceResult
- type CreateShardingInstanceRequest
- func NewCreateShardingInstanceRequest(regionId string, shardingInstanceSpec *mongodb.ShardingDBInstanceSpec) *CreateShardingInstanceRequest
- func NewCreateShardingInstanceRequestWithAllParams(regionId string, shardingInstanceSpec *mongodb.ShardingDBInstanceSpec, ...) *CreateShardingInstanceRequest
- func NewCreateShardingInstanceRequestWithoutParam() *CreateShardingInstanceRequest
- func (r CreateShardingInstanceRequest) GetRegionId() string
- func (r *CreateShardingInstanceRequest) SetChargeSpec(chargeSpec *charge.ChargeSpec)
- func (r *CreateShardingInstanceRequest) SetRegionId(regionId string)
- func (r *CreateShardingInstanceRequest) SetShardingInstanceSpec(shardingInstanceSpec *mongodb.ShardingDBInstanceSpec)
- type CreateShardingInstanceResponse
- type CreateShardingInstanceResult
- type DeleteBackupRequest
- type DeleteBackupResponse
- type DeleteBackupResult
- type DeleteBackupSynchronicitiesRequest
- func NewDeleteBackupSynchronicitiesRequest(regionId string, serviceId string) *DeleteBackupSynchronicitiesRequest
- func NewDeleteBackupSynchronicitiesRequestWithAllParams(regionId string, serviceId string) *DeleteBackupSynchronicitiesRequest
- func NewDeleteBackupSynchronicitiesRequestWithoutParam() *DeleteBackupSynchronicitiesRequest
- type DeleteBackupSynchronicitiesResponse
- type DeleteBackupSynchronicitiesResult
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type DeleteInstanceResult
- type DescribeAvailableZonesRequest
- type DescribeAvailableZonesResponse
- type DescribeAvailableZonesResult
- type DescribeBackupPolicyRequest
- type DescribeBackupPolicyResponse
- type DescribeBackupPolicyResult
- type DescribeBackupSynchronicitiesRequest
- func NewDescribeBackupSynchronicitiesRequest(regionId string) *DescribeBackupSynchronicitiesRequest
- func NewDescribeBackupSynchronicitiesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeBackupSynchronicitiesRequest
- func NewDescribeBackupSynchronicitiesRequestWithoutParam() *DescribeBackupSynchronicitiesRequest
- func (r DescribeBackupSynchronicitiesRequest) GetRegionId() string
- func (r *DescribeBackupSynchronicitiesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeBackupSynchronicitiesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBackupSynchronicitiesRequest) SetPageSize(pageSize int)
- func (r *DescribeBackupSynchronicitiesRequest) SetRegionId(regionId string)
- type DescribeBackupSynchronicitiesResponse
- type DescribeBackupSynchronicitiesResult
- type DescribeBackupsRequest
- func (r DescribeBackupsRequest) GetRegionId() string
- func (r *DescribeBackupsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBackupsRequest) SetPageSize(pageSize int)
- func (r *DescribeBackupsRequest) SetRegionId(regionId string)
- type DescribeBackupsResponse
- type DescribeBackupsResult
- type DescribeFlavorsRequest
- type DescribeFlavorsResponse
- type DescribeFlavorsResult
- type DescribeInstancesRequest
- func (r DescribeInstancesRequest) GetRegionId() string
- func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeInstancesRequest) SetRegionId(regionId string)
- func (r *DescribeInstancesRequest) SetSorts(sorts []common.Sort)
- func (r *DescribeInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)
- type DescribeInstancesResponse
- type DescribeInstancesResult
- type DescribeSecurityIpsRequest
- type DescribeSecurityIpsResponse
- type DescribeSecurityIpsResult
- type ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequest(regionId string, instanceId string, preferredBackupTime string) *ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequestWithAllParams(regionId string, instanceId string, preferredBackupTime string) *ModifyBackupPolicyRequest
- func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest
- type ModifyBackupPolicyResponse
- type ModifyBackupPolicyResult
- type ModifyInstanceNameRequest
- func NewModifyInstanceNameRequest(regionId string, instanceId string, instanceName string) *ModifyInstanceNameRequest
- func NewModifyInstanceNameRequestWithAllParams(regionId string, instanceId string, instanceName string) *ModifyInstanceNameRequest
- func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest
- type ModifyInstanceNameResponse
- type ModifyInstanceNameResult
- type ModifyInstanceSpecRequest
- func NewModifyInstanceSpecRequest(regionId string, instanceId string, instanceClass string, ...) *ModifyInstanceSpecRequest
- func NewModifyInstanceSpecRequestWithAllParams(regionId string, instanceId string, instanceClass string, ...) *ModifyInstanceSpecRequest
- func NewModifyInstanceSpecRequestWithoutParam() *ModifyInstanceSpecRequest
- func (r ModifyInstanceSpecRequest) GetRegionId() string
- func (r *ModifyInstanceSpecRequest) SetInstanceClass(instanceClass string)
- func (r *ModifyInstanceSpecRequest) SetInstanceId(instanceId string)
- func (r *ModifyInstanceSpecRequest) SetInstanceStorageGB(instanceStorageGB int)
- func (r *ModifyInstanceSpecRequest) SetRegionId(regionId string)
- type ModifyInstanceSpecResponse
- type ModifyInstanceSpecResult
- type ModifyNodeSpecRequest
- func NewModifyNodeSpecRequest(regionId string, instanceId string, nodeId string, nodeType string) *ModifyNodeSpecRequest
- func NewModifyNodeSpecRequestWithAllParams(regionId string, instanceId string, nodeId string, nodeType string, ...) *ModifyNodeSpecRequest
- func NewModifyNodeSpecRequestWithoutParam() *ModifyNodeSpecRequest
- func (r ModifyNodeSpecRequest) GetRegionId() string
- func (r *ModifyNodeSpecRequest) SetInstanceId(instanceId string)
- func (r *ModifyNodeSpecRequest) SetNodeId(nodeId string)
- func (r *ModifyNodeSpecRequest) SetNodeStorageGB(nodeStorageGB int)
- func (r *ModifyNodeSpecRequest) SetNodeType(nodeType string)
- func (r *ModifyNodeSpecRequest) SetRegionId(regionId string)
- type ModifyNodeSpecResponse
- type ModifyNodeSpecResult
- type ModifySecurityIpsRequest
- func NewModifySecurityIpsRequest(regionId string, instanceId string, modifyMode string, securityIps string) *ModifySecurityIpsRequest
- func NewModifySecurityIpsRequestWithAllParams(regionId string, instanceId string, modifyMode string, securityIps string) *ModifySecurityIpsRequest
- func NewModifySecurityIpsRequestWithoutParam() *ModifySecurityIpsRequest
- func (r ModifySecurityIpsRequest) GetRegionId() string
- func (r *ModifySecurityIpsRequest) SetInstanceId(instanceId string)
- func (r *ModifySecurityIpsRequest) SetModifyMode(modifyMode string)
- func (r *ModifySecurityIpsRequest) SetRegionId(regionId string)
- func (r *ModifySecurityIpsRequest) SetSecurityIps(securityIps string)
- type ModifySecurityIpsResponse
- type ModifySecurityIpsResult
- type ResetPasswordRequest
- type ResetPasswordResponse
- type ResetPasswordResult
- type RestartInstanceRequest
- type RestartInstanceResponse
- type RestartInstanceResult
- type RestartNodeRequest
- type RestartNodeResponse
- type RestartNodeResult
- type RestoreInstanceRequest
- type RestoreInstanceResponse
- type RestoreInstanceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupDownloadURLRequest ¶
type BackupDownloadURLRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* backup ID */ BackupId string `json:"backupId"` }
func NewBackupDownloadURLRequest ¶
func NewBackupDownloadURLRequest( regionId string, backupId string, ) *BackupDownloadURLRequest
* param regionId: Region ID (Required) * param backupId: backup ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewBackupDownloadURLRequestWithAllParams ¶ added in v1.0.10
func NewBackupDownloadURLRequestWithAllParams( regionId string, backupId string, ) *BackupDownloadURLRequest
* param regionId: Region ID (Required) * param backupId: backup ID (Required)
func NewBackupDownloadURLRequestWithoutParam ¶ added in v1.0.10
func NewBackupDownloadURLRequestWithoutParam() *BackupDownloadURLRequest
This constructor has better compatible ability when API parameters changed
func (BackupDownloadURLRequest) GetRegionId ¶
func (r BackupDownloadURLRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BackupDownloadURLRequest) SetBackupId ¶
func (r *BackupDownloadURLRequest) SetBackupId(backupId string)
param backupId: backup ID(Required)
func (*BackupDownloadURLRequest) SetRegionId ¶
func (r *BackupDownloadURLRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type BackupDownloadURLResponse ¶
type BackupDownloadURLResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result BackupDownloadURLResult `json:"result"` }
type BackupDownloadURLResult ¶
type BackupDownloadURLResult struct {
BackupDownloadURL mongodb.BackupDownloadURL `json:"backupDownloadURL"`
}
type CreateBackupRequest ¶
type CreateBackupRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例ID */ InstanceId string `json:"instanceId"` /* 备份名称 (Optional) */ BackupName *string `json:"backupName"` /* 备份方式,Logical - 逻辑备份、Physical - 物理备份 (Optional) */ BackupMethod *string `json:"backupMethod"` }
func NewCreateBackupRequest ¶
func NewCreateBackupRequest( regionId string, instanceId string, ) *CreateBackupRequest
* param regionId: Region ID (Required) * param instanceId: 实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBackupRequestWithAllParams ¶ added in v1.0.10
func NewCreateBackupRequestWithAllParams( regionId string, instanceId string, backupName *string, backupMethod *string, ) *CreateBackupRequest
* param regionId: Region ID (Required) * param instanceId: 实例ID (Required) * param backupName: 备份名称 (Optional) * param backupMethod: 备份方式,Logical - 逻辑备份、Physical - 物理备份 (Optional)
func NewCreateBackupRequestWithoutParam ¶ added in v1.0.10
func NewCreateBackupRequestWithoutParam() *CreateBackupRequest
This constructor has better compatible ability when API parameters changed
func (CreateBackupRequest) GetRegionId ¶
func (r CreateBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBackupRequest) SetBackupMethod ¶ added in v1.21.0
func (r *CreateBackupRequest) SetBackupMethod(backupMethod string)
param backupMethod: 备份方式,Logical - 逻辑备份、Physical - 物理备份(Optional)
func (*CreateBackupRequest) SetBackupName ¶
func (r *CreateBackupRequest) SetBackupName(backupName string)
param backupName: 备份名称(Optional)
func (*CreateBackupRequest) SetInstanceId ¶
func (r *CreateBackupRequest) SetInstanceId(instanceId string)
param instanceId: 实例ID(Required)
func (*CreateBackupRequest) SetRegionId ¶
func (r *CreateBackupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateBackupResponse ¶
type CreateBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateBackupResult `json:"result"` }
type CreateBackupResult ¶
type CreateBackupResult struct {
BackupId string `json:"backupId"`
}
type CreateBackupSynchronicityRequest ¶ added in v1.21.0
type CreateBackupSynchronicityRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 源实例ID */ InstanceId string `json:"instanceId"` /* 源实例所在地域 */ SrcRegion string `json:"srcRegion"` /* 备份同步的目标地域 */ DstRegion string `json:"dstRegion"` }
func NewCreateBackupSynchronicityRequest ¶ added in v1.21.0
func NewCreateBackupSynchronicityRequest( regionId string, instanceId string, srcRegion string, dstRegion string, ) *CreateBackupSynchronicityRequest
* param regionId: Region ID (Required) * param instanceId: 源实例ID (Required) * param srcRegion: 源实例所在地域 (Required) * param dstRegion: 备份同步的目标地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBackupSynchronicityRequestWithAllParams ¶ added in v1.21.0
func NewCreateBackupSynchronicityRequestWithAllParams( regionId string, instanceId string, srcRegion string, dstRegion string, ) *CreateBackupSynchronicityRequest
* param regionId: Region ID (Required) * param instanceId: 源实例ID (Required) * param srcRegion: 源实例所在地域 (Required) * param dstRegion: 备份同步的目标地域 (Required)
func NewCreateBackupSynchronicityRequestWithoutParam ¶ added in v1.21.0
func NewCreateBackupSynchronicityRequestWithoutParam() *CreateBackupSynchronicityRequest
This constructor has better compatible ability when API parameters changed
func (CreateBackupSynchronicityRequest) GetRegionId ¶ added in v1.21.0
func (r CreateBackupSynchronicityRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBackupSynchronicityRequest) SetDstRegion ¶ added in v1.21.0
func (r *CreateBackupSynchronicityRequest) SetDstRegion(dstRegion string)
param dstRegion: 备份同步的目标地域(Required)
func (*CreateBackupSynchronicityRequest) SetInstanceId ¶ added in v1.21.0
func (r *CreateBackupSynchronicityRequest) SetInstanceId(instanceId string)
param instanceId: 源实例ID(Required)
func (*CreateBackupSynchronicityRequest) SetRegionId ¶ added in v1.21.0
func (r *CreateBackupSynchronicityRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateBackupSynchronicityRequest) SetSrcRegion ¶ added in v1.21.0
func (r *CreateBackupSynchronicityRequest) SetSrcRegion(srcRegion string)
param srcRegion: 源实例所在地域(Required)
type CreateBackupSynchronicityResponse ¶ added in v1.21.0
type CreateBackupSynchronicityResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateBackupSynchronicityResult `json:"result"` }
type CreateBackupSynchronicityResult ¶ added in v1.21.0
type CreateBackupSynchronicityResult struct {
ServiceId string `json:"serviceId"`
}
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例规格 */ InstanceSpec *mongodb.DBInstanceSpec `json:"instanceSpec"` /* 付费方式 (Optional) */ ChargeSpec *charge.ChargeSpec `json:"chargeSpec"` }
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest( regionId string, instanceSpec *mongodb.DBInstanceSpec, ) *CreateInstanceRequest
* param regionId: Region ID (Required) * param instanceSpec: 实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceRequestWithAllParams ¶ added in v1.0.10
func NewCreateInstanceRequestWithAllParams( regionId string, instanceSpec *mongodb.DBInstanceSpec, chargeSpec *charge.ChargeSpec, ) *CreateInstanceRequest
* param regionId: Region ID (Required) * param instanceSpec: 实例规格 (Required) * param chargeSpec: 付费方式 (Optional)
func NewCreateInstanceRequestWithoutParam ¶ added in v1.0.10
func NewCreateInstanceRequestWithoutParam() *CreateInstanceRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceRequest) GetRegionId ¶
func (r CreateInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceRequest) SetChargeSpec ¶
func (r *CreateInstanceRequest) SetChargeSpec(chargeSpec *charge.ChargeSpec)
param chargeSpec: 付费方式(Optional)
func (*CreateInstanceRequest) SetInstanceSpec ¶
func (r *CreateInstanceRequest) SetInstanceSpec(instanceSpec *mongodb.DBInstanceSpec)
param instanceSpec: 实例规格(Required)
func (*CreateInstanceRequest) SetRegionId ¶
func (r *CreateInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceResult `json:"result"` }
type CreateInstanceResult ¶
type CreateShardingInstanceRequest ¶ added in v1.21.0
type CreateShardingInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 实例规格 */ ShardingInstanceSpec *mongodb.ShardingDBInstanceSpec `json:"shardingInstanceSpec"` /* 付费方式 (Optional) */ ChargeSpec *charge.ChargeSpec `json:"chargeSpec"` }
func NewCreateShardingInstanceRequest ¶ added in v1.21.0
func NewCreateShardingInstanceRequest( regionId string, shardingInstanceSpec *mongodb.ShardingDBInstanceSpec, ) *CreateShardingInstanceRequest
* param regionId: Region ID (Required) * param shardingInstanceSpec: 实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateShardingInstanceRequestWithAllParams ¶ added in v1.21.0
func NewCreateShardingInstanceRequestWithAllParams( regionId string, shardingInstanceSpec *mongodb.ShardingDBInstanceSpec, chargeSpec *charge.ChargeSpec, ) *CreateShardingInstanceRequest
* param regionId: Region ID (Required) * param shardingInstanceSpec: 实例规格 (Required) * param chargeSpec: 付费方式 (Optional)
func NewCreateShardingInstanceRequestWithoutParam ¶ added in v1.21.0
func NewCreateShardingInstanceRequestWithoutParam() *CreateShardingInstanceRequest
This constructor has better compatible ability when API parameters changed
func (CreateShardingInstanceRequest) GetRegionId ¶ added in v1.21.0
func (r CreateShardingInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateShardingInstanceRequest) SetChargeSpec ¶ added in v1.21.0
func (r *CreateShardingInstanceRequest) SetChargeSpec(chargeSpec *charge.ChargeSpec)
param chargeSpec: 付费方式(Optional)
func (*CreateShardingInstanceRequest) SetRegionId ¶ added in v1.21.0
func (r *CreateShardingInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateShardingInstanceRequest) SetShardingInstanceSpec ¶ added in v1.21.0
func (r *CreateShardingInstanceRequest) SetShardingInstanceSpec(shardingInstanceSpec *mongodb.ShardingDBInstanceSpec)
param shardingInstanceSpec: 实例规格(Required)
type CreateShardingInstanceResponse ¶ added in v1.21.0
type CreateShardingInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateShardingInstanceResult `json:"result"` }
type CreateShardingInstanceResult ¶ added in v1.21.0
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* backup ID */ BackupId string `json:"backupId"` }
func NewDeleteBackupRequest ¶
func NewDeleteBackupRequest( regionId string, backupId string, ) *DeleteBackupRequest
* param regionId: Region ID (Required) * param backupId: backup ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBackupRequestWithAllParams ¶ added in v1.0.10
func NewDeleteBackupRequestWithAllParams( regionId string, backupId string, ) *DeleteBackupRequest
* param regionId: Region ID (Required) * param backupId: backup ID (Required)
func NewDeleteBackupRequestWithoutParam ¶ added in v1.0.10
func NewDeleteBackupRequestWithoutParam() *DeleteBackupRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBackupRequest) GetRegionId ¶
func (r DeleteBackupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBackupRequest) SetBackupId ¶
func (r *DeleteBackupRequest) SetBackupId(backupId string)
param backupId: backup ID(Required)
func (*DeleteBackupRequest) SetRegionId ¶
func (r *DeleteBackupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteBackupResponse ¶
type DeleteBackupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteBackupResult `json:"result"` }
type DeleteBackupResult ¶
type DeleteBackupResult struct { }
type DeleteBackupSynchronicitiesRequest ¶ added in v1.21.0
type DeleteBackupSynchronicitiesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* service ID */ ServiceId string `json:"serviceId"` }
func NewDeleteBackupSynchronicitiesRequest ¶ added in v1.21.0
func NewDeleteBackupSynchronicitiesRequest( regionId string, serviceId string, ) *DeleteBackupSynchronicitiesRequest
* param regionId: Region ID (Required) * param serviceId: service ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBackupSynchronicitiesRequestWithAllParams ¶ added in v1.21.0
func NewDeleteBackupSynchronicitiesRequestWithAllParams( regionId string, serviceId string, ) *DeleteBackupSynchronicitiesRequest
* param regionId: Region ID (Required) * param serviceId: service ID (Required)
func NewDeleteBackupSynchronicitiesRequestWithoutParam ¶ added in v1.21.0
func NewDeleteBackupSynchronicitiesRequestWithoutParam() *DeleteBackupSynchronicitiesRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBackupSynchronicitiesRequest) GetRegionId ¶ added in v1.21.0
func (r DeleteBackupSynchronicitiesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBackupSynchronicitiesRequest) SetRegionId ¶ added in v1.21.0
func (r *DeleteBackupSynchronicitiesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteBackupSynchronicitiesRequest) SetServiceId ¶ added in v1.21.0
func (r *DeleteBackupSynchronicitiesRequest) SetServiceId(serviceId string)
param serviceId: service ID(Required)
type DeleteBackupSynchronicitiesResponse ¶ added in v1.21.0
type DeleteBackupSynchronicitiesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteBackupSynchronicitiesResult `json:"result"` }
type DeleteBackupSynchronicitiesResult ¶ added in v1.21.0
type DeleteBackupSynchronicitiesResult struct {
ServiceId string `json:"serviceId"`
}
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewDeleteInstanceRequest ¶
func NewDeleteInstanceRequest( regionId string, instanceId string, ) *DeleteInstanceRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteInstanceRequestWithAllParams ¶ added in v1.0.10
func NewDeleteInstanceRequestWithAllParams( regionId string, instanceId string, ) *DeleteInstanceRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewDeleteInstanceRequestWithoutParam ¶ added in v1.0.10
func NewDeleteInstanceRequestWithoutParam() *DeleteInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DeleteInstanceRequest) GetRegionId ¶
func (r DeleteInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteInstanceRequest) SetInstanceId ¶
func (r *DeleteInstanceRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DeleteInstanceRequest) SetRegionId ¶
func (r *DeleteInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteInstanceResult `json:"result"` }
type DeleteInstanceResult ¶
type DeleteInstanceResult struct { }
type DescribeAvailableZonesRequest ¶ added in v1.0.10
type DescribeAvailableZonesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` }
func NewDescribeAvailableZonesRequest ¶ added in v1.0.10
func NewDescribeAvailableZonesRequest( regionId string, ) *DescribeAvailableZonesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAvailableZonesRequestWithAllParams ¶ added in v1.0.10
func NewDescribeAvailableZonesRequestWithAllParams( regionId string, ) *DescribeAvailableZonesRequest
* param regionId: Region ID (Required)
func NewDescribeAvailableZonesRequestWithoutParam ¶ added in v1.0.10
func NewDescribeAvailableZonesRequestWithoutParam() *DescribeAvailableZonesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAvailableZonesRequest) GetRegionId ¶ added in v1.0.10
func (r DescribeAvailableZonesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAvailableZonesRequest) SetRegionId ¶ added in v1.0.10
func (r *DescribeAvailableZonesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeAvailableZonesResponse ¶ added in v1.0.10
type DescribeAvailableZonesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAvailableZonesResult `json:"result"` }
type DescribeAvailableZonesResult ¶ added in v1.0.10
type DescribeAvailableZonesResult struct {
AvailableZones []mongodb.AvailableZones `json:"availableZones"`
}
type DescribeBackupPolicyRequest ¶
type DescribeBackupPolicyRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewDescribeBackupPolicyRequest ¶
func NewDescribeBackupPolicyRequest( regionId string, instanceId string, ) *DescribeBackupPolicyRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupPolicyRequestWithAllParams ¶ added in v1.0.10
func NewDescribeBackupPolicyRequestWithAllParams( regionId string, instanceId string, ) *DescribeBackupPolicyRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewDescribeBackupPolicyRequestWithoutParam ¶ added in v1.0.10
func NewDescribeBackupPolicyRequestWithoutParam() *DescribeBackupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupPolicyRequest) GetRegionId ¶
func (r DescribeBackupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupPolicyRequest) SetInstanceId ¶
func (r *DescribeBackupPolicyRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DescribeBackupPolicyRequest) SetRegionId ¶
func (r *DescribeBackupPolicyRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBackupPolicyResponse ¶
type DescribeBackupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupPolicyResult `json:"result"` }
type DescribeBackupSynchronicitiesRequest ¶ added in v1.21.0
type DescribeBackupSynchronicitiesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1,取值范围:[1,∞) (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[1, 100] (Optional) */ PageSize *int `json:"pageSize"` /* null (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeBackupSynchronicitiesRequest ¶ added in v1.21.0
func NewDescribeBackupSynchronicitiesRequest( regionId string, ) *DescribeBackupSynchronicitiesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupSynchronicitiesRequestWithAllParams ¶ added in v1.21.0
func NewDescribeBackupSynchronicitiesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeBackupSynchronicitiesRequest
* param regionId: Region ID (Required) * param pageNumber: 页码;默认为1,取值范围:[1,∞) (Optional) * param pageSize: 分页大小;默认为10;取值范围[1, 100] (Optional) * param filters: null (Optional)
func NewDescribeBackupSynchronicitiesRequestWithoutParam ¶ added in v1.21.0
func NewDescribeBackupSynchronicitiesRequestWithoutParam() *DescribeBackupSynchronicitiesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupSynchronicitiesRequest) GetRegionId ¶ added in v1.21.0
func (r DescribeBackupSynchronicitiesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupSynchronicitiesRequest) SetFilters ¶ added in v1.21.0
func (r *DescribeBackupSynchronicitiesRequest) SetFilters(filters []common.Filter)
param filters: null(Optional)
func (*DescribeBackupSynchronicitiesRequest) SetPageNumber ¶ added in v1.21.0
func (r *DescribeBackupSynchronicitiesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1,取值范围:[1,∞)(Optional)
func (*DescribeBackupSynchronicitiesRequest) SetPageSize ¶ added in v1.21.0
func (r *DescribeBackupSynchronicitiesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[1, 100](Optional)
func (*DescribeBackupSynchronicitiesRequest) SetRegionId ¶ added in v1.21.0
func (r *DescribeBackupSynchronicitiesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBackupSynchronicitiesResponse ¶ added in v1.21.0
type DescribeBackupSynchronicitiesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupSynchronicitiesResult `json:"result"` }
type DescribeBackupSynchronicitiesResult ¶ added in v1.21.0
type DescribeBackupSynchronicitiesResult struct { BackupSynchronicities []mongodb.BackupSynchronicity `json:"backupSynchronicities"` TotalCount int `json:"totalCount"` PageNumber int `json:"pageNumber"` }
type DescribeBackupsRequest ¶
type DescribeBackupsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1,取值范围:[1,∞) (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[1, 100] (Optional) */ PageSize *int `json:"pageSize"` /* instanceId - 实例ID, 精确匹配 backupId - 备份ID, 精确匹配 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeBackupsRequest ¶
func NewDescribeBackupsRequest( regionId string, ) *DescribeBackupsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBackupsRequestWithAllParams ¶ added in v1.0.10
func NewDescribeBackupsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeBackupsRequest
- param regionId: Region ID (Required)
- param pageNumber: 页码;默认为1,取值范围:[1,∞) (Optional)
- param pageSize: 分页大小;默认为10;取值范围[1, 100] (Optional)
- param filters: instanceId - 实例ID, 精确匹配
backupId - 备份ID, 精确匹配
(Optional)
func NewDescribeBackupsRequestWithoutParam ¶ added in v1.0.10
func NewDescribeBackupsRequestWithoutParam() *DescribeBackupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBackupsRequest) GetRegionId ¶
func (r DescribeBackupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBackupsRequest) SetFilters ¶
func (r *DescribeBackupsRequest) SetFilters(filters []common.Filter)
param filters: instanceId - 实例ID, 精确匹配
backupId - 备份ID, 精确匹配 (Optional)
func (*DescribeBackupsRequest) SetPageNumber ¶
func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1,取值范围:[1,∞)(Optional)
func (*DescribeBackupsRequest) SetPageSize ¶
func (r *DescribeBackupsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[1, 100](Optional)
func (*DescribeBackupsRequest) SetRegionId ¶
func (r *DescribeBackupsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBackupsResponse ¶
type DescribeBackupsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBackupsResult `json:"result"` }
type DescribeBackupsResult ¶
type DescribeFlavorsRequest ¶ added in v1.0.10
type DescribeFlavorsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` }
func NewDescribeFlavorsRequest ¶ added in v1.0.10
func NewDescribeFlavorsRequest( regionId string, ) *DescribeFlavorsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeFlavorsRequestWithAllParams ¶ added in v1.0.10
func NewDescribeFlavorsRequestWithAllParams( regionId string, ) *DescribeFlavorsRequest
* param regionId: Region ID (Required)
func NewDescribeFlavorsRequestWithoutParam ¶ added in v1.0.10
func NewDescribeFlavorsRequestWithoutParam() *DescribeFlavorsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeFlavorsRequest) GetRegionId ¶ added in v1.0.10
func (r DescribeFlavorsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeFlavorsRequest) SetRegionId ¶ added in v1.0.10
func (r *DescribeFlavorsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeFlavorsResponse ¶ added in v1.0.10
type DescribeFlavorsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeFlavorsResult `json:"result"` }
type DescribeFlavorsResult ¶ added in v1.0.10
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码;默认为1,取值范围:[1,∞) (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为10;取值范围[1, 100] (Optional) */ PageSize *int `json:"pageSize"` /* instanceId - 实例ID, 精确匹配 instanceName - 实例名称, 模糊匹配 instanceStatus - mongodb状态,精确匹配,支持多个.RUNNING:运行, ERROR:错误 ,BUILDING:创建中, DELETING:删除中, RESTORING:恢复中, RESIZING:变配中 chargeMode - 计费类型,精确匹配 (Optional) */ Filters []common.Filter `json:"filters"` /* Tag筛选条件 (Optional) */ TagFilters []common.TagFilter `json:"tagFilters"` /* createTime - 创建时间,asc(正序),desc(倒序) (Optional) */ Sorts []common.Sort `json:"sorts"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest( regionId string, ) *DescribeInstancesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstancesRequestWithAllParams ¶ added in v1.0.10
func NewDescribeInstancesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, tagFilters []common.TagFilter, sorts []common.Sort, ) *DescribeInstancesRequest
- param regionId: Region ID (Required)
- param pageNumber: 页码;默认为1,取值范围:[1,∞) (Optional)
- param pageSize: 分页大小;默认为10;取值范围[1, 100] (Optional)
- param filters: instanceId - 实例ID, 精确匹配
instanceName - 实例名称, 模糊匹配 instanceStatus - mongodb状态,精确匹配,支持多个.RUNNING:运行, ERROR:错误 ,BUILDING:创建中, DELETING:删除中, RESTORING:恢复中, RESIZING:变配中 chargeMode - 计费类型,精确匹配
(Optional) * param tagFilters: Tag筛选条件 (Optional) * param sorts: createTime - 创建时间,asc(正序),desc(倒序) (Optional)
func NewDescribeInstancesRequestWithoutParam ¶ added in v1.0.10
func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstancesRequest) GetRegionId ¶
func (r DescribeInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstancesRequest) SetFilters ¶
func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
param filters: instanceId - 实例ID, 精确匹配
instanceName - 实例名称, 模糊匹配 instanceStatus - mongodb状态,精确匹配,支持多个.RUNNING:运行, ERROR:错误 ,BUILDING:创建中, DELETING:删除中, RESTORING:恢复中, RESIZING:变配中 chargeMode - 计费类型,精确匹配 (Optional)
func (*DescribeInstancesRequest) SetPageNumber ¶
func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1,取值范围:[1,∞)(Optional)
func (*DescribeInstancesRequest) SetPageSize ¶
func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为10;取值范围[1, 100](Optional)
func (*DescribeInstancesRequest) SetRegionId ¶
func (r *DescribeInstancesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeInstancesRequest) SetSorts ¶
func (r *DescribeInstancesRequest) SetSorts(sorts []common.Sort)
param sorts: createTime - 创建时间,asc(正序),desc(倒序)
(Optional)
func (*DescribeInstancesRequest) SetTagFilters ¶ added in v1.3.0
func (r *DescribeInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)
param tagFilters: Tag筛选条件(Optional)
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstancesResult `json:"result"` }
type DescribeInstancesResult ¶
type DescribeInstancesResult struct { DbInstances []mongodb.DBInstance `json:"dbInstances"` TotalCount int `json:"totalCount"` PageNumber int `json:"pageNumber"` }
type DescribeSecurityIpsRequest ¶ added in v1.0.10
type DescribeSecurityIpsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewDescribeSecurityIpsRequest ¶ added in v1.0.10
func NewDescribeSecurityIpsRequest( regionId string, instanceId string, ) *DescribeSecurityIpsRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSecurityIpsRequestWithAllParams ¶ added in v1.0.10
func NewDescribeSecurityIpsRequestWithAllParams( regionId string, instanceId string, ) *DescribeSecurityIpsRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewDescribeSecurityIpsRequestWithoutParam ¶ added in v1.0.10
func NewDescribeSecurityIpsRequestWithoutParam() *DescribeSecurityIpsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSecurityIpsRequest) GetRegionId ¶ added in v1.0.10
func (r DescribeSecurityIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSecurityIpsRequest) SetInstanceId ¶ added in v1.0.10
func (r *DescribeSecurityIpsRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*DescribeSecurityIpsRequest) SetRegionId ¶ added in v1.0.10
func (r *DescribeSecurityIpsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeSecurityIpsResponse ¶ added in v1.0.10
type DescribeSecurityIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSecurityIpsResult `json:"result"` }
type DescribeSecurityIpsResult ¶ added in v1.0.10
type DescribeSecurityIpsResult struct {
SecurityIps string `json:"securityIps"`
}
type ModifyBackupPolicyRequest ¶
type ModifyBackupPolicyRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 备份时间,格式:HH:mmZ- HH:mmZ,只允许间隔时间为1小时的整点. */ PreferredBackupTime string `json:"preferredBackupTime"` }
func NewModifyBackupPolicyRequest ¶
func NewModifyBackupPolicyRequest( regionId string, instanceId string, preferredBackupTime string, ) *ModifyBackupPolicyRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param preferredBackupTime: 备份时间,格式:HH:mmZ- HH:mmZ,只允许间隔时间为1小时的整点. (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyBackupPolicyRequestWithAllParams ¶ added in v1.0.10
func NewModifyBackupPolicyRequestWithAllParams( regionId string, instanceId string, preferredBackupTime string, ) *ModifyBackupPolicyRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param preferredBackupTime: 备份时间,格式:HH:mmZ- HH:mmZ,只允许间隔时间为1小时的整点. (Required)
func NewModifyBackupPolicyRequestWithoutParam ¶ added in v1.0.10
func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest
This constructor has better compatible ability when API parameters changed
func (ModifyBackupPolicyRequest) GetRegionId ¶
func (r ModifyBackupPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyBackupPolicyRequest) SetInstanceId ¶
func (r *ModifyBackupPolicyRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ModifyBackupPolicyRequest) SetPreferredBackupTime ¶
func (r *ModifyBackupPolicyRequest) SetPreferredBackupTime(preferredBackupTime string)
param preferredBackupTime: 备份时间,格式:HH:mmZ- HH:mmZ,只允许间隔时间为1小时的整点.(Required)
func (*ModifyBackupPolicyRequest) SetRegionId ¶
func (r *ModifyBackupPolicyRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyBackupPolicyResponse ¶
type ModifyBackupPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyBackupPolicyResult `json:"result"` }
type ModifyInstanceNameRequest ¶
type ModifyInstanceNameRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 新的实例名称,只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符。 */ InstanceName string `json:"instanceName"` }
func NewModifyInstanceNameRequest ¶
func NewModifyInstanceNameRequest( regionId string, instanceId string, instanceName string, ) *ModifyInstanceNameRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param instanceName: 新的实例名称,只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceNameRequestWithAllParams ¶ added in v1.0.10
func NewModifyInstanceNameRequestWithAllParams( regionId string, instanceId string, instanceName string, ) *ModifyInstanceNameRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param instanceName: 新的实例名称,只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符。 (Required)
func NewModifyInstanceNameRequestWithoutParam ¶ added in v1.0.10
func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceNameRequest) GetRegionId ¶
func (r ModifyInstanceNameRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceNameRequest) SetInstanceId ¶
func (r *ModifyInstanceNameRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ModifyInstanceNameRequest) SetInstanceName ¶
func (r *ModifyInstanceNameRequest) SetInstanceName(instanceName string)
param instanceName: 新的实例名称,只支持数字、字母、英文下划线、中文,且不少于2字符不超过32字符。(Required)
func (*ModifyInstanceNameRequest) SetRegionId ¶
func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyInstanceNameResponse ¶
type ModifyInstanceNameResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceNameResult `json:"result"` }
type ModifyInstanceNameResult ¶
type ModifyInstanceNameResult struct { }
type ModifyInstanceSpecRequest ¶
type ModifyInstanceSpecRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 实例规格,包年包月不允许小于当前规格。 */ InstanceClass string `json:"instanceClass"` /* 存储空间,包年包月不允许小于当前规格。 */ InstanceStorageGB int `json:"instanceStorageGB"` }
func NewModifyInstanceSpecRequest ¶
func NewModifyInstanceSpecRequest( regionId string, instanceId string, instanceClass string, instanceStorageGB int, ) *ModifyInstanceSpecRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param instanceClass: 实例规格,包年包月不允许小于当前规格。 (Required) * param instanceStorageGB: 存储空间,包年包月不允许小于当前规格。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceSpecRequestWithAllParams ¶ added in v1.0.10
func NewModifyInstanceSpecRequestWithAllParams( regionId string, instanceId string, instanceClass string, instanceStorageGB int, ) *ModifyInstanceSpecRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param instanceClass: 实例规格,包年包月不允许小于当前规格。 (Required) * param instanceStorageGB: 存储空间,包年包月不允许小于当前规格。 (Required)
func NewModifyInstanceSpecRequestWithoutParam ¶ added in v1.0.10
func NewModifyInstanceSpecRequestWithoutParam() *ModifyInstanceSpecRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceSpecRequest) GetRegionId ¶
func (r ModifyInstanceSpecRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceSpecRequest) SetInstanceClass ¶
func (r *ModifyInstanceSpecRequest) SetInstanceClass(instanceClass string)
param instanceClass: 实例规格,包年包月不允许小于当前规格。(Required)
func (*ModifyInstanceSpecRequest) SetInstanceId ¶
func (r *ModifyInstanceSpecRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ModifyInstanceSpecRequest) SetInstanceStorageGB ¶
func (r *ModifyInstanceSpecRequest) SetInstanceStorageGB(instanceStorageGB int)
param instanceStorageGB: 存储空间,包年包月不允许小于当前规格。(Required)
func (*ModifyInstanceSpecRequest) SetRegionId ¶
func (r *ModifyInstanceSpecRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyInstanceSpecResponse ¶
type ModifyInstanceSpecResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceSpecResult `json:"result"` }
type ModifyNodeSpecRequest ¶ added in v1.21.0
type ModifyNodeSpecRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* Node ID */ NodeId string `json:"nodeId"` /* Shard节点或Mongos节点的规格,不允许小于当前规格。 */ NodeType string `json:"nodeType"` /* Shard存储空间,当前节点为Shard时可用,不允许小于当前规格。 (Optional) */ NodeStorageGB *int `json:"nodeStorageGB"` }
func NewModifyNodeSpecRequest ¶ added in v1.21.0
func NewModifyNodeSpecRequest( regionId string, instanceId string, nodeId string, nodeType string, ) *ModifyNodeSpecRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param nodeId: Node ID (Required) * param nodeType: Shard节点或Mongos节点的规格,不允许小于当前规格。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyNodeSpecRequestWithAllParams ¶ added in v1.21.0
func NewModifyNodeSpecRequestWithAllParams( regionId string, instanceId string, nodeId string, nodeType string, nodeStorageGB *int, ) *ModifyNodeSpecRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param nodeId: Node ID (Required) * param nodeType: Shard节点或Mongos节点的规格,不允许小于当前规格。 (Required) * param nodeStorageGB: Shard存储空间,当前节点为Shard时可用,不允许小于当前规格。 (Optional)
func NewModifyNodeSpecRequestWithoutParam ¶ added in v1.21.0
func NewModifyNodeSpecRequestWithoutParam() *ModifyNodeSpecRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNodeSpecRequest) GetRegionId ¶ added in v1.21.0
func (r ModifyNodeSpecRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNodeSpecRequest) SetInstanceId ¶ added in v1.21.0
func (r *ModifyNodeSpecRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ModifyNodeSpecRequest) SetNodeId ¶ added in v1.21.0
func (r *ModifyNodeSpecRequest) SetNodeId(nodeId string)
param nodeId: Node ID(Required)
func (*ModifyNodeSpecRequest) SetNodeStorageGB ¶ added in v1.21.0
func (r *ModifyNodeSpecRequest) SetNodeStorageGB(nodeStorageGB int)
param nodeStorageGB: Shard存储空间,当前节点为Shard时可用,不允许小于当前规格。(Optional)
func (*ModifyNodeSpecRequest) SetNodeType ¶ added in v1.21.0
func (r *ModifyNodeSpecRequest) SetNodeType(nodeType string)
param nodeType: Shard节点或Mongos节点的规格,不允许小于当前规格。(Required)
func (*ModifyNodeSpecRequest) SetRegionId ¶ added in v1.21.0
func (r *ModifyNodeSpecRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyNodeSpecResponse ¶ added in v1.21.0
type ModifyNodeSpecResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNodeSpecResult `json:"result"` }
type ModifyNodeSpecResult ¶ added in v1.21.0
type ModifyNodeSpecResult struct {
NodeId string `json:"nodeId"`
}
type ModifySecurityIpsRequest ¶ added in v1.0.10
type ModifySecurityIpsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 修改方式,Add 增加白名单,Delete 删除白名单. */ ModifyMode string `json:"modifyMode"` /* IP白名单分组下的IP列表,最多45个以逗号隔开,格式如下:0.0.0.0/0,10.23.12.24(IP),或者10.23.12.24/24(CIDR模式,无类域间路由,/24表示了地址中前缀的长度,范围[1,32])。 */ SecurityIps string `json:"securityIps"` }
func NewModifySecurityIpsRequest ¶ added in v1.0.10
func NewModifySecurityIpsRequest( regionId string, instanceId string, modifyMode string, securityIps string, ) *ModifySecurityIpsRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param modifyMode: 修改方式,Add 增加白名单,Delete 删除白名单. (Required) * param securityIps: IP白名单分组下的IP列表,最多45个以逗号隔开,格式如下:0.0.0.0/0,10.23.12.24(IP),或者10.23.12.24/24(CIDR模式,无类域间路由,/24表示了地址中前缀的长度,范围[1,32])。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifySecurityIpsRequestWithAllParams ¶ added in v1.0.10
func NewModifySecurityIpsRequestWithAllParams( regionId string, instanceId string, modifyMode string, securityIps string, ) *ModifySecurityIpsRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param modifyMode: 修改方式,Add 增加白名单,Delete 删除白名单. (Required) * param securityIps: IP白名单分组下的IP列表,最多45个以逗号隔开,格式如下:0.0.0.0/0,10.23.12.24(IP),或者10.23.12.24/24(CIDR模式,无类域间路由,/24表示了地址中前缀的长度,范围[1,32])。 (Required)
func NewModifySecurityIpsRequestWithoutParam ¶ added in v1.0.10
func NewModifySecurityIpsRequestWithoutParam() *ModifySecurityIpsRequest
This constructor has better compatible ability when API parameters changed
func (ModifySecurityIpsRequest) GetRegionId ¶ added in v1.0.10
func (r ModifySecurityIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySecurityIpsRequest) SetInstanceId ¶ added in v1.0.10
func (r *ModifySecurityIpsRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ModifySecurityIpsRequest) SetModifyMode ¶ added in v1.0.10
func (r *ModifySecurityIpsRequest) SetModifyMode(modifyMode string)
param modifyMode: 修改方式,Add 增加白名单,Delete 删除白名单.(Required)
func (*ModifySecurityIpsRequest) SetRegionId ¶ added in v1.0.10
func (r *ModifySecurityIpsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifySecurityIpsRequest) SetSecurityIps ¶ added in v1.0.10
func (r *ModifySecurityIpsRequest) SetSecurityIps(securityIps string)
param securityIps: IP白名单分组下的IP列表,最多45个以逗号隔开,格式如下:0.0.0.0/0,10.23.12.24(IP),或者10.23.12.24/24(CIDR模式,无类域间路由,/24表示了地址中前缀的长度,范围[1,32])。(Required)
type ModifySecurityIpsResponse ¶ added in v1.0.10
type ModifySecurityIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifySecurityIpsResult `json:"result"` }
type ModifySecurityIpsResult ¶ added in v1.0.10
type ModifySecurityIpsResult struct { }
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 新密码,必须包含且只支持字母及数字,不少于8字符不超过16字符。 */ AccountPassword string `json:"accountPassword"` }
func NewResetPasswordRequest ¶
func NewResetPasswordRequest( regionId string, instanceId string, accountPassword string, ) *ResetPasswordRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param accountPassword: 新密码,必须包含且只支持字母及数字,不少于8字符不超过16字符。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewResetPasswordRequestWithAllParams ¶ added in v1.0.10
func NewResetPasswordRequestWithAllParams( regionId string, instanceId string, accountPassword string, ) *ResetPasswordRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param accountPassword: 新密码,必须包含且只支持字母及数字,不少于8字符不超过16字符。 (Required)
func NewResetPasswordRequestWithoutParam ¶ added in v1.0.10
func NewResetPasswordRequestWithoutParam() *ResetPasswordRequest
This constructor has better compatible ability when API parameters changed
func (ResetPasswordRequest) GetRegionId ¶
func (r ResetPasswordRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ResetPasswordRequest) SetAccountPassword ¶
func (r *ResetPasswordRequest) SetAccountPassword(accountPassword string)
param accountPassword: 新密码,必须包含且只支持字母及数字,不少于8字符不超过16字符。(Required)
func (*ResetPasswordRequest) SetInstanceId ¶
func (r *ResetPasswordRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*ResetPasswordRequest) SetRegionId ¶
func (r *ResetPasswordRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ResetPasswordResponse ¶
type ResetPasswordResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ResetPasswordResult `json:"result"` }
type ResetPasswordResult ¶
type ResetPasswordResult struct { }
type RestartInstanceRequest ¶ added in v1.21.0
type RestartInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` }
func NewRestartInstanceRequest ¶ added in v1.21.0
func NewRestartInstanceRequest( regionId string, instanceId string, ) *RestartInstanceRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestartInstanceRequestWithAllParams ¶ added in v1.21.0
func NewRestartInstanceRequestWithAllParams( regionId string, instanceId string, ) *RestartInstanceRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)
func NewRestartInstanceRequestWithoutParam ¶ added in v1.21.0
func NewRestartInstanceRequestWithoutParam() *RestartInstanceRequest
This constructor has better compatible ability when API parameters changed
func (RestartInstanceRequest) GetRegionId ¶ added in v1.21.0
func (r RestartInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestartInstanceRequest) SetInstanceId ¶ added in v1.21.0
func (r *RestartInstanceRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*RestartInstanceRequest) SetRegionId ¶ added in v1.21.0
func (r *RestartInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type RestartInstanceResponse ¶ added in v1.21.0
type RestartInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestartInstanceResult `json:"result"` }
type RestartInstanceResult ¶ added in v1.21.0
type RestartInstanceResult struct {
InstanceId string `json:"instanceId"`
}
type RestartNodeRequest ¶ added in v1.21.0
type RestartNodeRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* Node ID */ NodeId string `json:"nodeId"` }
func NewRestartNodeRequest ¶ added in v1.21.0
func NewRestartNodeRequest( regionId string, instanceId string, nodeId string, ) *RestartNodeRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param nodeId: Node ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestartNodeRequestWithAllParams ¶ added in v1.21.0
func NewRestartNodeRequestWithAllParams( regionId string, instanceId string, nodeId string, ) *RestartNodeRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param nodeId: Node ID (Required)
func NewRestartNodeRequestWithoutParam ¶ added in v1.21.0
func NewRestartNodeRequestWithoutParam() *RestartNodeRequest
This constructor has better compatible ability when API parameters changed
func (RestartNodeRequest) GetRegionId ¶ added in v1.21.0
func (r RestartNodeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestartNodeRequest) SetInstanceId ¶ added in v1.21.0
func (r *RestartNodeRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*RestartNodeRequest) SetNodeId ¶ added in v1.21.0
func (r *RestartNodeRequest) SetNodeId(nodeId string)
param nodeId: Node ID(Required)
func (*RestartNodeRequest) SetRegionId ¶ added in v1.21.0
func (r *RestartNodeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type RestartNodeResponse ¶ added in v1.21.0
type RestartNodeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestartNodeResult `json:"result"` }
type RestartNodeResult ¶ added in v1.21.0
type RestartNodeResult struct {
NodeId string `json:"nodeId"`
}
type RestoreInstanceRequest ¶
type RestoreInstanceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Instance ID */ InstanceId string `json:"instanceId"` /* 备份ID */ BackupId string `json:"backupId"` }
func NewRestoreInstanceRequest ¶
func NewRestoreInstanceRequest( regionId string, instanceId string, backupId string, ) *RestoreInstanceRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param backupId: 备份ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestoreInstanceRequestWithAllParams ¶ added in v1.0.10
func NewRestoreInstanceRequestWithAllParams( regionId string, instanceId string, backupId string, ) *RestoreInstanceRequest
* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param backupId: 备份ID (Required)
func NewRestoreInstanceRequestWithoutParam ¶ added in v1.0.10
func NewRestoreInstanceRequestWithoutParam() *RestoreInstanceRequest
This constructor has better compatible ability when API parameters changed
func (RestoreInstanceRequest) GetRegionId ¶
func (r RestoreInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestoreInstanceRequest) SetBackupId ¶
func (r *RestoreInstanceRequest) SetBackupId(backupId string)
param backupId: 备份ID(Required)
func (*RestoreInstanceRequest) SetInstanceId ¶
func (r *RestoreInstanceRequest) SetInstanceId(instanceId string)
param instanceId: Instance ID(Required)
func (*RestoreInstanceRequest) SetRegionId ¶
func (r *RestoreInstanceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type RestoreInstanceResponse ¶
type RestoreInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestoreInstanceResult `json:"result"` }
type RestoreInstanceResult ¶
type RestoreInstanceResult struct { }
Source Files ¶
- BackupDownloadURL.go
- CreateBackup.go
- CreateBackupSynchronicity.go
- CreateInstance.go
- CreateShardingInstance.go
- DeleteBackup.go
- DeleteBackupSynchronicities.go
- DeleteInstance.go
- DescribeAvailableZones.go
- DescribeBackupPolicy.go
- DescribeBackupSynchronicities.go
- DescribeBackups.go
- DescribeFlavors.go
- DescribeInstances.go
- DescribeSecurityIps.go
- ModifyBackupPolicy.go
- ModifyInstanceName.go
- ModifyInstanceSpec.go
- ModifyNodeSpec.go
- ModifySecurityIps.go
- ResetPassword.go
- RestartInstance.go
- RestartNode.go
- RestoreInstance.go