Documentation ¶
Index ¶
- type ApplyElasticIpsRequest
- func NewApplyElasticIpsRequest(regionId string, elasticIpSpec *edcps.ElasticIpSpec) *ApplyElasticIpsRequest
- func NewApplyElasticIpsRequestWithAllParams(regionId string, clientToken *string, elasticIpSpec *edcps.ElasticIpSpec) *ApplyElasticIpsRequest
- func NewApplyElasticIpsRequestWithoutParam() *ApplyElasticIpsRequest
- type ApplyElasticIpsResponse
- type ApplyElasticIpsResult
- type AssociateElasticIpRequest
- func NewAssociateElasticIpRequest(regionId string, instanceId string, elasticIpId string) *AssociateElasticIpRequest
- func NewAssociateElasticIpRequestWithAllParams(regionId string, instanceId string, clientToken *string, elasticIpId string, ...) *AssociateElasticIpRequest
- func NewAssociateElasticIpRequestWithoutParam() *AssociateElasticIpRequest
- func (r AssociateElasticIpRequest) GetRegionId() string
- func (r *AssociateElasticIpRequest) SetClientToken(clientToken string)
- func (r *AssociateElasticIpRequest) SetElasticIpId(elasticIpId string)
- func (r *AssociateElasticIpRequest) SetInstanceId(instanceId string)
- func (r *AssociateElasticIpRequest) SetRegionId(regionId string)
- func (r *AssociateElasticIpRequest) SetTargetIp(targetIp string)
- type AssociateElasticIpResponse
- type AssociateElasticIpResult
- type CreateAliasIpRequest
- type CreateAliasIpResponse
- type CreateAliasIpResult
- type CreateInstancesRequest
- func NewCreateInstancesRequest(regionId string, instanceSpec *edcps.InstanceSpec) *CreateInstancesRequest
- func NewCreateInstancesRequestWithAllParams(regionId string, clientToken *string, instanceSpec *edcps.InstanceSpec) *CreateInstancesRequest
- func NewCreateInstancesRequestWithoutParam() *CreateInstancesRequest
- type CreateInstancesResponse
- type CreateInstancesResult
- type CreateKeypairsRequest
- type CreateKeypairsResponse
- type CreateKeypairsResult
- type CreateSecondaryCidrRequest
- func NewCreateSecondaryCidrRequest(regionId string, secondaryCidrSpec *edcps.SecondaryCidrSpec) *CreateSecondaryCidrRequest
- func NewCreateSecondaryCidrRequestWithAllParams(regionId string, clientToken *string, ...) *CreateSecondaryCidrRequest
- func NewCreateSecondaryCidrRequestWithoutParam() *CreateSecondaryCidrRequest
- type CreateSecondaryCidrResponse
- type CreateSecondaryCidrResult
- type CreateSubnetRequest
- type CreateSubnetResponse
- type CreateSubnetResult
- type CreateVpcRequest
- type CreateVpcResponse
- type CreateVpcResult
- type DeleteAliasIpRequest
- type DeleteAliasIpResponse
- type DeleteAliasIpResult
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type DeleteInstanceResult
- type DeleteKeypairsRequest
- type DeleteKeypairsResponse
- type DeleteKeypairsResult
- type DeleteSecondaryCidrRequest
- func NewDeleteSecondaryCidrRequest(regionId string, secondaryCidrId string) *DeleteSecondaryCidrRequest
- func NewDeleteSecondaryCidrRequestWithAllParams(regionId string, secondaryCidrId string, clientToken *string) *DeleteSecondaryCidrRequest
- func NewDeleteSecondaryCidrRequestWithoutParam() *DeleteSecondaryCidrRequest
- type DeleteSecondaryCidrResponse
- type DeleteSecondaryCidrResult
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteSubnetResult
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DeleteVpcResult
- type DeleteelasticIpRequest
- type DeleteelasticIpResponse
- type DeleteelasticIpResult
- type DescribeAliasIpsRequest
- func (r DescribeAliasIpsRequest) GetRegionId() string
- func (r *DescribeAliasIpsRequest) SetCidr(cidr string)
- func (r *DescribeAliasIpsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeAliasIpsRequest) SetInstanceId(instanceId string)
- func (r *DescribeAliasIpsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeAliasIpsRequest) SetPageSize(pageSize int)
- func (r *DescribeAliasIpsRequest) SetRegionId(regionId string)
- func (r *DescribeAliasIpsRequest) SetSubnetId(subnetId string)
- type DescribeAliasIpsResponse
- type DescribeAliasIpsResult
- type DescribeAvailablePrivateIpRequest
- func NewDescribeAvailablePrivateIpRequest(regionId string, instanceId string) *DescribeAvailablePrivateIpRequest
- func NewDescribeAvailablePrivateIpRequestWithAllParams(regionId string, instanceId string) *DescribeAvailablePrivateIpRequest
- func NewDescribeAvailablePrivateIpRequestWithoutParam() *DescribeAvailablePrivateIpRequest
- type DescribeAvailablePrivateIpResponse
- type DescribeAvailablePrivateIpResult
- type DescribeDeviceRaidsRequest
- func NewDescribeDeviceRaidsRequest(regionId string, deviceType string) *DescribeDeviceRaidsRequest
- func NewDescribeDeviceRaidsRequestWithAllParams(regionId string, deviceType string, volumeType *string) *DescribeDeviceRaidsRequest
- func NewDescribeDeviceRaidsRequestWithoutParam() *DescribeDeviceRaidsRequest
- type DescribeDeviceRaidsResponse
- type DescribeDeviceRaidsResult
- type DescribeDeviceStockRequest
- type DescribeDeviceStockResponse
- type DescribeDeviceStockResult
- type DescribeDeviceTypesRequest
- type DescribeDeviceTypesResponse
- type DescribeDeviceTypesResult
- type DescribeEdCPSRegionsRequest
- type DescribeEdCPSRegionsResponse
- type DescribeEdCPSRegionsResult
- type DescribeElasticIpRequest
- type DescribeElasticIpResponse
- type DescribeElasticIpResult
- type DescribeElasticIpStockRequest
- type DescribeElasticIpStockResponse
- type DescribeElasticIpStockResult
- type DescribeElasticIpsRequest
- func (r DescribeElasticIpsRequest) GetRegionId() string
- func (r *DescribeElasticIpsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeElasticIpsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeElasticIpsRequest) SetPageSize(pageSize int)
- func (r *DescribeElasticIpsRequest) SetRegionId(regionId string)
- func (r *DescribeElasticIpsRequest) SetStatus(status string)
- type DescribeElasticIpsResponse
- type DescribeElasticIpsResult
- type DescribeInstanceNameRequest
- type DescribeInstanceNameResponse
- type DescribeInstanceNameResult
- type DescribeInstanceRaidRequest
- type DescribeInstanceRaidResponse
- type DescribeInstanceRaidResult
- type DescribeInstanceRequest
- type DescribeInstanceResponse
- type DescribeInstanceResult
- type DescribeInstanceStatusRequest
- func NewDescribeInstanceStatusRequest(regionId string, instanceId string) *DescribeInstanceStatusRequest
- func NewDescribeInstanceStatusRequestWithAllParams(regionId string, instanceId string) *DescribeInstanceStatusRequest
- func NewDescribeInstanceStatusRequestWithoutParam() *DescribeInstanceStatusRequest
- type DescribeInstanceStatusResponse
- type DescribeInstanceStatusResult
- type DescribeInstancesRequest
- func NewDescribeInstancesRequest(regionId string) *DescribeInstancesRequest
- func NewDescribeInstancesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, az *string, name *string, ...) *DescribeInstancesRequest
- func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest
- func (r DescribeInstancesRequest) GetRegionId() string
- func (r *DescribeInstancesRequest) SetAz(az string)
- func (r *DescribeInstancesRequest) SetDeviceType(deviceType string)
- func (r *DescribeInstancesRequest) SetEnableInternet(enableInternet string)
- func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeInstancesRequest) SetKeypairId(keypairId string)
- func (r *DescribeInstancesRequest) SetName(name string)
- func (r *DescribeInstancesRequest) SetNetworkType(networkType string)
- func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeInstancesRequest) SetPrivateIp(privateIp string)
- func (r *DescribeInstancesRequest) SetRegionId(regionId string)
- func (r *DescribeInstancesRequest) SetSubnetId(subnetId string)
- type DescribeInstancesResponse
- type DescribeInstancesResult
- type DescribeKeypairRequest
- type DescribeKeypairResponse
- type DescribeKeypairResult
- type DescribeKeypairsRequest
- func (r DescribeKeypairsRequest) GetRegionId() string
- func (r *DescribeKeypairsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeKeypairsRequest) SetName(name string)
- func (r *DescribeKeypairsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeKeypairsRequest) SetPageSize(pageSize int)
- func (r *DescribeKeypairsRequest) SetRegionId(regionId string)
- type DescribeKeypairsResponse
- type DescribeKeypairsResult
- type DescribeLineTypesRequest
- type DescribeLineTypesResponse
- type DescribeLineTypesResult
- type DescribeOSRequest
- type DescribeOSResponse
- type DescribeOSResult
- type DescribeSecondaryCidrsRequest
- func NewDescribeSecondaryCidrsRequest(regionId string, subnetId string) *DescribeSecondaryCidrsRequest
- func NewDescribeSecondaryCidrsRequestWithAllParams(regionId string, subnetId string) *DescribeSecondaryCidrsRequest
- func NewDescribeSecondaryCidrsRequestWithoutParam() *DescribeSecondaryCidrsRequest
- type DescribeSecondaryCidrsResponse
- type DescribeSecondaryCidrsResult
- type DescribeSubnetRequest
- type DescribeSubnetResponse
- type DescribeSubnetResult
- type DescribeSubnetsRequest
- func (r DescribeSubnetsRequest) GetRegionId() string
- func (r *DescribeSubnetsRequest) SetAz(az string)
- func (r *DescribeSubnetsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeSubnetsRequest) SetName(name string)
- func (r *DescribeSubnetsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSubnetsRequest) SetPageSize(pageSize int)
- func (r *DescribeSubnetsRequest) SetRegionId(regionId string)
- func (r *DescribeSubnetsRequest) SetVpcId(vpcId string)
- type DescribeSubnetsResponse
- type DescribeSubnetsResult
- type DescribeVpcRequest
- type DescribeVpcResponse
- type DescribeVpcResult
- type DescribeVpcsRequest
- func (r DescribeVpcsRequest) GetRegionId() string
- func (r *DescribeVpcsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeVpcsRequest) SetName(name string)
- func (r *DescribeVpcsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeVpcsRequest) SetPageSize(pageSize int)
- func (r *DescribeVpcsRequest) SetRegionId(regionId string)
- type DescribeVpcsResponse
- type DescribeVpcsResult
- type DisassociateElasticIpRequest
- func NewDisassociateElasticIpRequest(regionId string, instanceId string, elasticIpId string) *DisassociateElasticIpRequest
- func NewDisassociateElasticIpRequestWithAllParams(regionId string, instanceId string, clientToken *string, elasticIpId string) *DisassociateElasticIpRequest
- func NewDisassociateElasticIpRequestWithoutParam() *DisassociateElasticIpRequest
- func (r DisassociateElasticIpRequest) GetRegionId() string
- func (r *DisassociateElasticIpRequest) SetClientToken(clientToken string)
- func (r *DisassociateElasticIpRequest) SetElasticIpId(elasticIpId string)
- func (r *DisassociateElasticIpRequest) SetInstanceId(instanceId string)
- func (r *DisassociateElasticIpRequest) SetRegionId(regionId string)
- type DisassociateElasticIpResponse
- type DisassociateElasticIpResult
- type ImportKeypairsRequest
- func NewImportKeypairsRequest(regionId string, name string, publicKey string) *ImportKeypairsRequest
- func NewImportKeypairsRequestWithAllParams(regionId string, clientToken *string, name string, publicKey string) *ImportKeypairsRequest
- func NewImportKeypairsRequestWithoutParam() *ImportKeypairsRequest
- type ImportKeypairsResponse
- type ImportKeypairsResult
- type ModifyElasticIpBandwidthRequest
- func NewModifyElasticIpBandwidthRequest(regionId string, elasticIpId string, bandwidth int) *ModifyElasticIpBandwidthRequest
- func NewModifyElasticIpBandwidthRequestWithAllParams(regionId string, elasticIpId string, clientToken *string, bandwidth int, ...) *ModifyElasticIpBandwidthRequest
- func NewModifyElasticIpBandwidthRequestWithoutParam() *ModifyElasticIpBandwidthRequest
- func (r ModifyElasticIpBandwidthRequest) GetRegionId() string
- func (r *ModifyElasticIpBandwidthRequest) SetBandwidth(bandwidth int)
- func (r *ModifyElasticIpBandwidthRequest) SetClientToken(clientToken string)
- func (r *ModifyElasticIpBandwidthRequest) SetElasticIpId(elasticIpId string)
- func (r *ModifyElasticIpBandwidthRequest) SetExtraUplinkBandwidth(extraUplinkBandwidth int)
- func (r *ModifyElasticIpBandwidthRequest) SetRegionId(regionId string)
- type ModifyElasticIpBandwidthResponse
- type ModifyElasticIpBandwidthResult
- type ModifyInstanceRequest
- type ModifyInstanceResponse
- type ModifyInstanceResult
- type ModifySubnetRequest
- type ModifySubnetResponse
- type ModifySubnetResult
- type ModifyVpcRequest
- type ModifyVpcResponse
- type ModifyVpcResult
- type ReinstallInstanceRequest
- func NewReinstallInstanceRequest(regionId string, instanceId string, instanceSpec *edcps.ReinstallInstanceSpec) *ReinstallInstanceRequest
- func NewReinstallInstanceRequestWithAllParams(regionId string, instanceId string, clientToken *string, ...) *ReinstallInstanceRequest
- func NewReinstallInstanceRequestWithoutParam() *ReinstallInstanceRequest
- func (r ReinstallInstanceRequest) GetRegionId() string
- func (r *ReinstallInstanceRequest) SetClientToken(clientToken string)
- func (r *ReinstallInstanceRequest) SetInstanceId(instanceId string)
- func (r *ReinstallInstanceRequest) SetInstanceSpec(instanceSpec *edcps.ReinstallInstanceSpec)
- func (r *ReinstallInstanceRequest) SetRegionId(regionId string)
- type ReinstallInstanceResponse
- type ReinstallInstanceResult
- type ResetPasswordRequest
- func NewResetPasswordRequest(regionId string, instanceId string, password string) *ResetPasswordRequest
- func NewResetPasswordRequestWithAllParams(regionId string, instanceId string, clientToken *string, password string) *ResetPasswordRequest
- func NewResetPasswordRequestWithoutParam() *ResetPasswordRequest
- func (r ResetPasswordRequest) GetRegionId() string
- func (r *ResetPasswordRequest) SetClientToken(clientToken string)
- func (r *ResetPasswordRequest) SetInstanceId(instanceId string)
- func (r *ResetPasswordRequest) SetPassword(password string)
- func (r *ResetPasswordRequest) SetRegionId(regionId string)
- type ResetPasswordResponse
- type ResetPasswordResult
- type RestartInstanceRequest
- type RestartInstanceResponse
- type RestartInstanceResult
- type StartInstanceRequest
- type StartInstanceResponse
- type StartInstanceResult
- type StopInstanceRequest
- type StopInstanceResponse
- type StopInstanceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyElasticIpsRequest ¶
type ApplyElasticIpsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 弹性公网IP配置 */ ElasticIpSpec *edcps.ElasticIpSpec `json:"elasticIpSpec"` }
func NewApplyElasticIpsRequest ¶
func NewApplyElasticIpsRequest( regionId string, elasticIpSpec *edcps.ElasticIpSpec, ) *ApplyElasticIpsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param elasticIpSpec: 弹性公网IP配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewApplyElasticIpsRequestWithAllParams ¶
func NewApplyElasticIpsRequestWithAllParams( regionId string, clientToken *string, elasticIpSpec *edcps.ElasticIpSpec, ) *ApplyElasticIpsRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param elasticIpSpec: 弹性公网IP配置 (Required)
func NewApplyElasticIpsRequestWithoutParam ¶
func NewApplyElasticIpsRequestWithoutParam() *ApplyElasticIpsRequest
This constructor has better compatible ability when API parameters changed
func (ApplyElasticIpsRequest) GetRegionId ¶
func (r ApplyElasticIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ApplyElasticIpsRequest) SetClientToken ¶
func (r *ApplyElasticIpsRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*ApplyElasticIpsRequest) SetElasticIpSpec ¶
func (r *ApplyElasticIpsRequest) SetElasticIpSpec(elasticIpSpec *edcps.ElasticIpSpec)
param elasticIpSpec: 弹性公网IP配置(Required)
func (*ApplyElasticIpsRequest) SetRegionId ¶
func (r *ApplyElasticIpsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type ApplyElasticIpsResponse ¶
type ApplyElasticIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ApplyElasticIpsResult `json:"result"` }
type ApplyElasticIpsResult ¶
type ApplyElasticIpsResult struct {
ElasticIpIds []string `json:"elasticIpIds"`
}
type AssociateElasticIpRequest ¶
type AssociateElasticIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 弹性公网IPID */ ElasticIpId string `json:"elasticIpId"` /* 私有IP (Optional) */ TargetIp *string `json:"targetIp"` }
func NewAssociateElasticIpRequest ¶
func NewAssociateElasticIpRequest( regionId string, instanceId string, elasticIpId string, ) *AssociateElasticIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * param elasticIpId: 弹性公网IPID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAssociateElasticIpRequestWithAllParams ¶
func NewAssociateElasticIpRequestWithAllParams( regionId string, instanceId string, clientToken *string, elasticIpId string, targetIp *string, ) *AssociateElasticIpRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param elasticIpId: 弹性公网IPID (Required) * param targetIp: 私有IP (Optional)
func NewAssociateElasticIpRequestWithoutParam ¶
func NewAssociateElasticIpRequestWithoutParam() *AssociateElasticIpRequest
This constructor has better compatible ability when API parameters changed
func (AssociateElasticIpRequest) GetRegionId ¶
func (r AssociateElasticIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AssociateElasticIpRequest) SetClientToken ¶
func (r *AssociateElasticIpRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*AssociateElasticIpRequest) SetElasticIpId ¶
func (r *AssociateElasticIpRequest) SetElasticIpId(elasticIpId string)
param elasticIpId: 弹性公网IPID(Required)
func (*AssociateElasticIpRequest) SetInstanceId ¶
func (r *AssociateElasticIpRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*AssociateElasticIpRequest) SetRegionId ¶
func (r *AssociateElasticIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*AssociateElasticIpRequest) SetTargetIp ¶
func (r *AssociateElasticIpRequest) SetTargetIp(targetIp string)
param targetIp: 私有IP(Optional)
type AssociateElasticIpResponse ¶
type AssociateElasticIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AssociateElasticIpResult `json:"result"` }
type AssociateElasticIpResult ¶
type AssociateElasticIpResult struct {
Success bool `json:"success"`
}
type CreateAliasIpRequest ¶
type CreateAliasIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 别名IP配置 */ AliasIpSpec *edcps.AliasIpSpec `json:"aliasIpSpec"` }
func NewCreateAliasIpRequest ¶
func NewCreateAliasIpRequest( regionId string, aliasIpSpec *edcps.AliasIpSpec, ) *CreateAliasIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param aliasIpSpec: 别名IP配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateAliasIpRequestWithAllParams ¶
func NewCreateAliasIpRequestWithAllParams( regionId string, clientToken *string, aliasIpSpec *edcps.AliasIpSpec, ) *CreateAliasIpRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param aliasIpSpec: 别名IP配置 (Required)
func NewCreateAliasIpRequestWithoutParam ¶
func NewCreateAliasIpRequestWithoutParam() *CreateAliasIpRequest
This constructor has better compatible ability when API parameters changed
func (CreateAliasIpRequest) GetRegionId ¶
func (r CreateAliasIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateAliasIpRequest) SetAliasIpSpec ¶
func (r *CreateAliasIpRequest) SetAliasIpSpec(aliasIpSpec *edcps.AliasIpSpec)
param aliasIpSpec: 别名IP配置(Required)
func (*CreateAliasIpRequest) SetClientToken ¶
func (r *CreateAliasIpRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*CreateAliasIpRequest) SetRegionId ¶
func (r *CreateAliasIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type CreateAliasIpResponse ¶
type CreateAliasIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateAliasIpResult `json:"result"` }
type CreateAliasIpResult ¶
type CreateAliasIpResult struct { SuccessList []edcps.AliasIpSuccessInfo `json:"successList"` ErrorList []edcps.AliasIpErrorInfo `json:"errorList"` }
type CreateInstancesRequest ¶
type CreateInstancesRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 描述分布式云物理服务器配置 */ InstanceSpec *edcps.InstanceSpec `json:"instanceSpec"` }
func NewCreateInstancesRequest ¶
func NewCreateInstancesRequest( regionId string, instanceSpec *edcps.InstanceSpec, ) *CreateInstancesRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceSpec: 描述分布式云物理服务器配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstancesRequestWithAllParams ¶
func NewCreateInstancesRequestWithAllParams( regionId string, clientToken *string, instanceSpec *edcps.InstanceSpec, ) *CreateInstancesRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param instanceSpec: 描述分布式云物理服务器配置 (Required)
func NewCreateInstancesRequestWithoutParam ¶
func NewCreateInstancesRequestWithoutParam() *CreateInstancesRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstancesRequest) GetRegionId ¶
func (r CreateInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstancesRequest) SetClientToken ¶
func (r *CreateInstancesRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*CreateInstancesRequest) SetInstanceSpec ¶
func (r *CreateInstancesRequest) SetInstanceSpec(instanceSpec *edcps.InstanceSpec)
param instanceSpec: 描述分布式云物理服务器配置(Required)
func (*CreateInstancesRequest) SetRegionId ¶
func (r *CreateInstancesRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type CreateInstancesResponse ¶
type CreateInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstancesResult `json:"result"` }
type CreateInstancesResult ¶
type CreateInstancesResult struct {
InstanceIds []string `json:"instanceIds"`
}
type CreateKeypairsRequest ¶
type CreateKeypairsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 密钥对名称 */ Name string `json:"name"` }
func NewCreateKeypairsRequest ¶
func NewCreateKeypairsRequest( regionId string, name string, ) *CreateKeypairsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param name: 密钥对名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateKeypairsRequestWithAllParams ¶
func NewCreateKeypairsRequestWithAllParams( regionId string, clientToken *string, name string, ) *CreateKeypairsRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param name: 密钥对名称 (Required)
func NewCreateKeypairsRequestWithoutParam ¶
func NewCreateKeypairsRequestWithoutParam() *CreateKeypairsRequest
This constructor has better compatible ability when API parameters changed
func (CreateKeypairsRequest) GetRegionId ¶
func (r CreateKeypairsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateKeypairsRequest) SetClientToken ¶
func (r *CreateKeypairsRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*CreateKeypairsRequest) SetName ¶
func (r *CreateKeypairsRequest) SetName(name string)
param name: 密钥对名称(Required)
func (*CreateKeypairsRequest) SetRegionId ¶
func (r *CreateKeypairsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type CreateKeypairsResponse ¶
type CreateKeypairsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateKeypairsResult `json:"result"` }
type CreateKeypairsResult ¶
type CreateKeypairsResult struct { KeypairId string `json:"keypairId"` Region string `json:"region"` Name string `json:"name"` PublicKey string `json:"publicKey"` FingerPrint string `json:"fingerPrint"` CreateTime string `json:"createTime"` UpdateTime string `json:"updateTime"` PrivateKey string `json:"privateKey"` }
type CreateSecondaryCidrRequest ¶
type CreateSecondaryCidrRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 次要cidr配置 */ SecondaryCidrSpec *edcps.SecondaryCidrSpec `json:"secondaryCidrSpec"` }
func NewCreateSecondaryCidrRequest ¶
func NewCreateSecondaryCidrRequest( regionId string, secondaryCidrSpec *edcps.SecondaryCidrSpec, ) *CreateSecondaryCidrRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param secondaryCidrSpec: 次要cidr配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSecondaryCidrRequestWithAllParams ¶
func NewCreateSecondaryCidrRequestWithAllParams( regionId string, clientToken *string, secondaryCidrSpec *edcps.SecondaryCidrSpec, ) *CreateSecondaryCidrRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param secondaryCidrSpec: 次要cidr配置 (Required)
func NewCreateSecondaryCidrRequestWithoutParam ¶
func NewCreateSecondaryCidrRequestWithoutParam() *CreateSecondaryCidrRequest
This constructor has better compatible ability when API parameters changed
func (CreateSecondaryCidrRequest) GetRegionId ¶
func (r CreateSecondaryCidrRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSecondaryCidrRequest) SetClientToken ¶
func (r *CreateSecondaryCidrRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*CreateSecondaryCidrRequest) SetRegionId ¶
func (r *CreateSecondaryCidrRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*CreateSecondaryCidrRequest) SetSecondaryCidrSpec ¶
func (r *CreateSecondaryCidrRequest) SetSecondaryCidrSpec(secondaryCidrSpec *edcps.SecondaryCidrSpec)
param secondaryCidrSpec: 次要cidr配置(Required)
type CreateSecondaryCidrResponse ¶
type CreateSecondaryCidrResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSecondaryCidrResult `json:"result"` }
type CreateSecondaryCidrResult ¶
type CreateSecondaryCidrResult struct {
SecondaryCidrId string `json:"secondaryCidrId"`
}
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 子网配置 */ SubnetSpec *edcps.SubnetSpec `json:"subnetSpec"` }
func NewCreateSubnetRequest ¶
func NewCreateSubnetRequest( regionId string, subnetSpec *edcps.SubnetSpec, ) *CreateSubnetRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetSpec: 子网配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSubnetRequestWithAllParams ¶
func NewCreateSubnetRequestWithAllParams( regionId string, clientToken *string, subnetSpec *edcps.SubnetSpec, ) *CreateSubnetRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param subnetSpec: 子网配置 (Required)
func NewCreateSubnetRequestWithoutParam ¶
func NewCreateSubnetRequestWithoutParam() *CreateSubnetRequest
This constructor has better compatible ability when API parameters changed
func (CreateSubnetRequest) GetRegionId ¶
func (r CreateSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSubnetRequest) SetClientToken ¶
func (r *CreateSubnetRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*CreateSubnetRequest) SetRegionId ¶
func (r *CreateSubnetRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*CreateSubnetRequest) SetSubnetSpec ¶
func (r *CreateSubnetRequest) SetSubnetSpec(subnetSpec *edcps.SubnetSpec)
param subnetSpec: 子网配置(Required)
type CreateSubnetResponse ¶
type CreateSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSubnetResult `json:"result"` }
type CreateSubnetResult ¶
type CreateSubnetResult struct {
SubnetId string `json:"subnetId"`
}
type CreateVpcRequest ¶
type CreateVpcRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 子网配置 */ VpcSpec *edcps.VpcSpec `json:"vpcSpec"` }
func NewCreateVpcRequest ¶
func NewCreateVpcRequest( regionId string, vpcSpec *edcps.VpcSpec, ) *CreateVpcRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param vpcSpec: 子网配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateVpcRequestWithAllParams ¶
func NewCreateVpcRequestWithAllParams( regionId string, clientToken *string, vpcSpec *edcps.VpcSpec, ) *CreateVpcRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param vpcSpec: 子网配置 (Required)
func NewCreateVpcRequestWithoutParam ¶
func NewCreateVpcRequestWithoutParam() *CreateVpcRequest
This constructor has better compatible ability when API parameters changed
func (CreateVpcRequest) GetRegionId ¶
func (r CreateVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateVpcRequest) SetClientToken ¶
func (r *CreateVpcRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*CreateVpcRequest) SetRegionId ¶
func (r *CreateVpcRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*CreateVpcRequest) SetVpcSpec ¶
func (r *CreateVpcRequest) SetVpcSpec(vpcSpec *edcps.VpcSpec)
param vpcSpec: 子网配置(Required)
type CreateVpcResponse ¶
type CreateVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateVpcResult `json:"result"` }
type CreateVpcResult ¶
type CreateVpcResult struct {
VpcId string `json:"vpcId"`
}
type DeleteAliasIpRequest ¶
type DeleteAliasIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 别名IP ID */ AliasIpId string `json:"aliasIpId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewDeleteAliasIpRequest ¶
func NewDeleteAliasIpRequest( regionId string, aliasIpId string, ) *DeleteAliasIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param aliasIpId: 别名IP ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteAliasIpRequestWithAllParams ¶
func NewDeleteAliasIpRequestWithAllParams( regionId string, aliasIpId string, clientToken *string, ) *DeleteAliasIpRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param aliasIpId: 别名IP ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewDeleteAliasIpRequestWithoutParam ¶
func NewDeleteAliasIpRequestWithoutParam() *DeleteAliasIpRequest
This constructor has better compatible ability when API parameters changed
func (DeleteAliasIpRequest) GetRegionId ¶
func (r DeleteAliasIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteAliasIpRequest) SetAliasIpId ¶
func (r *DeleteAliasIpRequest) SetAliasIpId(aliasIpId string)
param aliasIpId: 别名IP ID(Required)
func (*DeleteAliasIpRequest) SetClientToken ¶
func (r *DeleteAliasIpRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DeleteAliasIpRequest) SetRegionId ¶
func (r *DeleteAliasIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DeleteAliasIpResponse ¶
type DeleteAliasIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteAliasIpResult `json:"result"` }
type DeleteAliasIpResult ¶
type DeleteAliasIpResult struct {
Success bool `json:"success"`
}
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewDeleteInstanceRequest ¶
func NewDeleteInstanceRequest( regionId string, instanceId string, ) *DeleteInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteInstanceRequestWithAllParams ¶
func NewDeleteInstanceRequestWithAllParams( regionId string, instanceId string, clientToken *string, ) *DeleteInstanceRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewDeleteInstanceRequestWithoutParam ¶
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) SetClientToken ¶
func (r *DeleteInstanceRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DeleteInstanceRequest) SetInstanceId ¶
func (r *DeleteInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DeleteInstanceRequest) SetRegionId ¶
func (r *DeleteInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteInstanceResult `json:"result"` }
type DeleteInstanceResult ¶
type DeleteInstanceResult struct {
Success bool `json:"success"`
}
type DeleteKeypairsRequest ¶
type DeleteKeypairsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 密钥对ID */ KeypairId string `json:"keypairId"` }
func NewDeleteKeypairsRequest ¶
func NewDeleteKeypairsRequest( regionId string, keypairId string, ) *DeleteKeypairsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param keypairId: 密钥对ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteKeypairsRequestWithAllParams ¶
func NewDeleteKeypairsRequestWithAllParams( regionId string, keypairId string, ) *DeleteKeypairsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param keypairId: 密钥对ID (Required)
func NewDeleteKeypairsRequestWithoutParam ¶
func NewDeleteKeypairsRequestWithoutParam() *DeleteKeypairsRequest
This constructor has better compatible ability when API parameters changed
func (DeleteKeypairsRequest) GetRegionId ¶
func (r DeleteKeypairsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteKeypairsRequest) SetKeypairId ¶
func (r *DeleteKeypairsRequest) SetKeypairId(keypairId string)
param keypairId: 密钥对ID(Required)
func (*DeleteKeypairsRequest) SetRegionId ¶
func (r *DeleteKeypairsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DeleteKeypairsResponse ¶
type DeleteKeypairsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteKeypairsResult `json:"result"` }
type DeleteKeypairsResult ¶
type DeleteKeypairsResult struct {
Success bool `json:"success"`
}
type DeleteSecondaryCidrRequest ¶
type DeleteSecondaryCidrRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 次要CIDR ID */ SecondaryCidrId string `json:"secondaryCidrId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewDeleteSecondaryCidrRequest ¶
func NewDeleteSecondaryCidrRequest( regionId string, secondaryCidrId string, ) *DeleteSecondaryCidrRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param secondaryCidrId: 次要CIDR ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSecondaryCidrRequestWithAllParams ¶
func NewDeleteSecondaryCidrRequestWithAllParams( regionId string, secondaryCidrId string, clientToken *string, ) *DeleteSecondaryCidrRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param secondaryCidrId: 次要CIDR ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewDeleteSecondaryCidrRequestWithoutParam ¶
func NewDeleteSecondaryCidrRequestWithoutParam() *DeleteSecondaryCidrRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSecondaryCidrRequest) GetRegionId ¶
func (r DeleteSecondaryCidrRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSecondaryCidrRequest) SetClientToken ¶
func (r *DeleteSecondaryCidrRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DeleteSecondaryCidrRequest) SetRegionId ¶
func (r *DeleteSecondaryCidrRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DeleteSecondaryCidrRequest) SetSecondaryCidrId ¶
func (r *DeleteSecondaryCidrRequest) SetSecondaryCidrId(secondaryCidrId string)
param secondaryCidrId: 次要CIDR ID(Required)
type DeleteSecondaryCidrResponse ¶
type DeleteSecondaryCidrResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteSecondaryCidrResult `json:"result"` }
type DeleteSecondaryCidrResult ¶
type DeleteSecondaryCidrResult struct {
Success bool `json:"success"`
}
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 子网ID */ SubnetId string `json:"subnetId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewDeleteSubnetRequest ¶
func NewDeleteSubnetRequest( regionId string, subnetId string, ) *DeleteSubnetRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSubnetRequestWithAllParams ¶
func NewDeleteSubnetRequestWithAllParams( regionId string, subnetId string, clientToken *string, ) *DeleteSubnetRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param subnetId: 子网ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewDeleteSubnetRequestWithoutParam ¶
func NewDeleteSubnetRequestWithoutParam() *DeleteSubnetRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSubnetRequest) GetRegionId ¶
func (r DeleteSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSubnetRequest) SetClientToken ¶
func (r *DeleteSubnetRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DeleteSubnetRequest) SetRegionId ¶
func (r *DeleteSubnetRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DeleteSubnetRequest) SetSubnetId ¶
func (r *DeleteSubnetRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteSubnetResult `json:"result"` }
type DeleteSubnetResult ¶
type DeleteSubnetResult struct {
Success bool `json:"success"`
}
type DeleteVpcRequest ¶
type DeleteVpcRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 私有网络ID */ VpcId string `json:"vpcId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewDeleteVpcRequest ¶
func NewDeleteVpcRequest( regionId string, vpcId string, ) *DeleteVpcRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param vpcId: 私有网络ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteVpcRequestWithAllParams ¶
func NewDeleteVpcRequestWithAllParams( regionId string, vpcId string, clientToken *string, ) *DeleteVpcRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param vpcId: 私有网络ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewDeleteVpcRequestWithoutParam ¶
func NewDeleteVpcRequestWithoutParam() *DeleteVpcRequest
This constructor has better compatible ability when API parameters changed
func (DeleteVpcRequest) GetRegionId ¶
func (r DeleteVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteVpcRequest) SetClientToken ¶
func (r *DeleteVpcRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DeleteVpcRequest) SetRegionId ¶
func (r *DeleteVpcRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DeleteVpcRequest) SetVpcId ¶
func (r *DeleteVpcRequest) SetVpcId(vpcId string)
param vpcId: 私有网络ID(Required)
type DeleteVpcResponse ¶
type DeleteVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteVpcResult `json:"result"` }
type DeleteVpcResult ¶
type DeleteVpcResult struct {
Success bool `json:"success"`
}
type DeleteelasticIpRequest ¶
type DeleteelasticIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 弹性公网IPID */ ElasticIpId string `json:"elasticIpId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewDeleteelasticIpRequest ¶
func NewDeleteelasticIpRequest( regionId string, elasticIpId string, ) *DeleteelasticIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param elasticIpId: 弹性公网IPID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteelasticIpRequestWithAllParams ¶
func NewDeleteelasticIpRequestWithAllParams( regionId string, elasticIpId string, clientToken *string, ) *DeleteelasticIpRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param elasticIpId: 弹性公网IPID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewDeleteelasticIpRequestWithoutParam ¶
func NewDeleteelasticIpRequestWithoutParam() *DeleteelasticIpRequest
This constructor has better compatible ability when API parameters changed
func (DeleteelasticIpRequest) GetRegionId ¶
func (r DeleteelasticIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteelasticIpRequest) SetClientToken ¶
func (r *DeleteelasticIpRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DeleteelasticIpRequest) SetElasticIpId ¶
func (r *DeleteelasticIpRequest) SetElasticIpId(elasticIpId string)
param elasticIpId: 弹性公网IPID(Required)
func (*DeleteelasticIpRequest) SetRegionId ¶
func (r *DeleteelasticIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DeleteelasticIpResponse ¶
type DeleteelasticIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteelasticIpResult `json:"result"` }
type DeleteelasticIpResult ¶
type DeleteelasticIpResult struct {
Success bool `json:"success"`
}
type DescribeAliasIpsRequest ¶
type DescribeAliasIpsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[20, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 子网ID (Optional) */ SubnetId *string `json:"subnetId"` /* 实例ID (Optional) */ InstanceId *string `json:"instanceId"` /* CIDR段,模糊搜索 (Optional) */ Cidr *string `json:"cidr"` /* aliasIpId - 别名IP id<br/> (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeAliasIpsRequest ¶
func NewDescribeAliasIpsRequest( regionId string, ) *DescribeAliasIpsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAliasIpsRequestWithAllParams ¶
func NewDescribeAliasIpsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, subnetId *string, instanceId *string, cidr *string, filters []common.Filter, ) *DescribeAliasIpsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[20, 100] (Optional) * param subnetId: 子网ID (Optional) * param instanceId: 实例ID (Optional) * param cidr: CIDR段,模糊搜索 (Optional) * param filters: aliasIpId - 别名IP id<br/> (Optional)
func NewDescribeAliasIpsRequestWithoutParam ¶
func NewDescribeAliasIpsRequestWithoutParam() *DescribeAliasIpsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAliasIpsRequest) GetRegionId ¶
func (r DescribeAliasIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAliasIpsRequest) SetCidr ¶
func (r *DescribeAliasIpsRequest) SetCidr(cidr string)
param cidr: CIDR段,模糊搜索(Optional)
func (*DescribeAliasIpsRequest) SetFilters ¶ added in v1.15.0
func (r *DescribeAliasIpsRequest) SetFilters(filters []common.Filter)
param filters: aliasIpId - 别名IP id<br/>
(Optional)
func (*DescribeAliasIpsRequest) SetInstanceId ¶
func (r *DescribeAliasIpsRequest) SetInstanceId(instanceId string)
param instanceId: 实例ID(Optional)
func (*DescribeAliasIpsRequest) SetPageNumber ¶
func (r *DescribeAliasIpsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeAliasIpsRequest) SetPageSize ¶
func (r *DescribeAliasIpsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[20, 100](Optional)
func (*DescribeAliasIpsRequest) SetRegionId ¶
func (r *DescribeAliasIpsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeAliasIpsRequest) SetSubnetId ¶
func (r *DescribeAliasIpsRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Optional)
type DescribeAliasIpsResponse ¶
type DescribeAliasIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAliasIpsResult `json:"result"` }
type DescribeAliasIpsResult ¶
type DescribeAvailablePrivateIpRequest ¶
type DescribeAvailablePrivateIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` }
func NewDescribeAvailablePrivateIpRequest ¶
func NewDescribeAvailablePrivateIpRequest( regionId string, instanceId string, ) *DescribeAvailablePrivateIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeAvailablePrivateIpRequestWithAllParams ¶
func NewDescribeAvailablePrivateIpRequestWithAllParams( regionId string, instanceId string, ) *DescribeAvailablePrivateIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required)
func NewDescribeAvailablePrivateIpRequestWithoutParam ¶
func NewDescribeAvailablePrivateIpRequestWithoutParam() *DescribeAvailablePrivateIpRequest
This constructor has better compatible ability when API parameters changed
func (DescribeAvailablePrivateIpRequest) GetRegionId ¶
func (r DescribeAvailablePrivateIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeAvailablePrivateIpRequest) SetInstanceId ¶
func (r *DescribeAvailablePrivateIpRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DescribeAvailablePrivateIpRequest) SetRegionId ¶
func (r *DescribeAvailablePrivateIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeAvailablePrivateIpResponse ¶
type DescribeAvailablePrivateIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeAvailablePrivateIpResult `json:"result"` }
type DescribeAvailablePrivateIpResult ¶
type DescribeAvailablePrivateIpResult struct {
AvailablePrivateIps []string `json:"availablePrivateIps"`
}
type DescribeDeviceRaidsRequest ¶
type DescribeDeviceRaidsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 实例类型,可调用(describeDeviceTypes)接口获取指定地域的实例类型,例如:edcps.c.normal1 */ DeviceType string `json:"deviceType"` /* 磁盘类型,取值范围:system、data (Optional) */ VolumeType *string `json:"volumeType"` }
func NewDescribeDeviceRaidsRequest ¶
func NewDescribeDeviceRaidsRequest( regionId string, deviceType string, ) *DescribeDeviceRaidsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param deviceType: 实例类型,可调用(describeDeviceTypes)接口获取指定地域的实例类型,例如:edcps.c.normal1 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDeviceRaidsRequestWithAllParams ¶
func NewDescribeDeviceRaidsRequestWithAllParams( regionId string, deviceType string, volumeType *string, ) *DescribeDeviceRaidsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param deviceType: 实例类型,可调用(describeDeviceTypes)接口获取指定地域的实例类型,例如:edcps.c.normal1 (Required) * param volumeType: 磁盘类型,取值范围:system、data (Optional)
func NewDescribeDeviceRaidsRequestWithoutParam ¶
func NewDescribeDeviceRaidsRequestWithoutParam() *DescribeDeviceRaidsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDeviceRaidsRequest) GetRegionId ¶
func (r DescribeDeviceRaidsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDeviceRaidsRequest) SetDeviceType ¶
func (r *DescribeDeviceRaidsRequest) SetDeviceType(deviceType string)
param deviceType: 实例类型,可调用(describeDeviceTypes)接口获取指定地域的实例类型,例如:edcps.c.normal1(Required)
func (*DescribeDeviceRaidsRequest) SetRegionId ¶
func (r *DescribeDeviceRaidsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeDeviceRaidsRequest) SetVolumeType ¶
func (r *DescribeDeviceRaidsRequest) SetVolumeType(volumeType string)
param volumeType: 磁盘类型,取值范围:system、data(Optional)
type DescribeDeviceRaidsResponse ¶
type DescribeDeviceRaidsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDeviceRaidsResult `json:"result"` }
type DescribeDeviceStockRequest ¶
type DescribeDeviceStockRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 实例类型,调用接口(describeDeviceTypes)获取实例类型 (Optional) */ DeviceType *string `json:"deviceType"` }
func NewDescribeDeviceStockRequest ¶
func NewDescribeDeviceStockRequest( regionId string, ) *DescribeDeviceStockRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDeviceStockRequestWithAllParams ¶
func NewDescribeDeviceStockRequestWithAllParams( regionId string, deviceType *string, ) *DescribeDeviceStockRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param deviceType: 实例类型,调用接口(describeDeviceTypes)获取实例类型 (Optional)
func NewDescribeDeviceStockRequestWithoutParam ¶
func NewDescribeDeviceStockRequestWithoutParam() *DescribeDeviceStockRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDeviceStockRequest) GetRegionId ¶
func (r DescribeDeviceStockRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDeviceStockRequest) SetDeviceType ¶
func (r *DescribeDeviceStockRequest) SetDeviceType(deviceType string)
param deviceType: 实例类型,调用接口(describeDeviceTypes)获取实例类型(Optional)
func (*DescribeDeviceStockRequest) SetRegionId ¶
func (r *DescribeDeviceStockRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeDeviceStockResponse ¶
type DescribeDeviceStockResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDeviceStockResult `json:"result"` }
type DescribeDeviceStockResult ¶
type DescribeDeviceStockResult struct {
DevicesStock []edcps.ResourceStock `json:"devicesStock"`
}
type DescribeDeviceTypesRequest ¶
type DescribeDeviceTypesRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 可用区,精确匹配 (Optional) */ Az *string `json:"az"` }
func NewDescribeDeviceTypesRequest ¶
func NewDescribeDeviceTypesRequest( regionId string, ) *DescribeDeviceTypesRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDeviceTypesRequestWithAllParams ¶
func NewDescribeDeviceTypesRequestWithAllParams( regionId string, az *string, ) *DescribeDeviceTypesRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param az: 可用区,精确匹配 (Optional)
func NewDescribeDeviceTypesRequestWithoutParam ¶
func NewDescribeDeviceTypesRequestWithoutParam() *DescribeDeviceTypesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDeviceTypesRequest) GetRegionId ¶
func (r DescribeDeviceTypesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDeviceTypesRequest) SetAz ¶
func (r *DescribeDeviceTypesRequest) SetAz(az string)
param az: 可用区,精确匹配(Optional)
func (*DescribeDeviceTypesRequest) SetRegionId ¶
func (r *DescribeDeviceTypesRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeDeviceTypesResponse ¶
type DescribeDeviceTypesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDeviceTypesResult `json:"result"` }
type DescribeDeviceTypesResult ¶
type DescribeDeviceTypesResult struct {
DeviceTypes []edcps.DeviceType `json:"deviceTypes"`
}
type DescribeEdCPSRegionsRequest ¶
type DescribeEdCPSRegionsRequest struct {
core.JDCloudRequest
}
func NewDescribeEdCPSRegionsRequest ¶
func NewDescribeEdCPSRegionsRequest() *DescribeEdCPSRegionsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeEdCPSRegionsRequestWithAllParams ¶
func NewDescribeEdCPSRegionsRequestWithAllParams() *DescribeEdCPSRegionsRequest
func NewDescribeEdCPSRegionsRequestWithoutParam ¶
func NewDescribeEdCPSRegionsRequestWithoutParam() *DescribeEdCPSRegionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeEdCPSRegionsRequest) GetRegionId ¶
func (r DescribeEdCPSRegionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type DescribeEdCPSRegionsResponse ¶
type DescribeEdCPSRegionsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeEdCPSRegionsResult `json:"result"` }
type DescribeElasticIpRequest ¶
type DescribeElasticIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 弹性公网IPID */ ElasticIpId string `json:"elasticIpId"` }
func NewDescribeElasticIpRequest ¶
func NewDescribeElasticIpRequest( regionId string, elasticIpId string, ) *DescribeElasticIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param elasticIpId: 弹性公网IPID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeElasticIpRequestWithAllParams ¶
func NewDescribeElasticIpRequestWithAllParams( regionId string, elasticIpId string, ) *DescribeElasticIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param elasticIpId: 弹性公网IPID (Required)
func NewDescribeElasticIpRequestWithoutParam ¶
func NewDescribeElasticIpRequestWithoutParam() *DescribeElasticIpRequest
This constructor has better compatible ability when API parameters changed
func (DescribeElasticIpRequest) GetRegionId ¶
func (r DescribeElasticIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeElasticIpRequest) SetElasticIpId ¶
func (r *DescribeElasticIpRequest) SetElasticIpId(elasticIpId string)
param elasticIpId: 弹性公网IPID(Required)
func (*DescribeElasticIpRequest) SetRegionId ¶
func (r *DescribeElasticIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeElasticIpResponse ¶
type DescribeElasticIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeElasticIpResult `json:"result"` }
type DescribeElasticIpResult ¶
type DescribeElasticIpStockRequest ¶
type DescribeElasticIpStockRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` }
func NewDescribeElasticIpStockRequest ¶
func NewDescribeElasticIpStockRequest( regionId string, ) *DescribeElasticIpStockRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeElasticIpStockRequestWithAllParams ¶
func NewDescribeElasticIpStockRequestWithAllParams( regionId string, ) *DescribeElasticIpStockRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
func NewDescribeElasticIpStockRequestWithoutParam ¶
func NewDescribeElasticIpStockRequestWithoutParam() *DescribeElasticIpStockRequest
This constructor has better compatible ability when API parameters changed
func (DescribeElasticIpStockRequest) GetRegionId ¶
func (r DescribeElasticIpStockRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeElasticIpStockRequest) SetRegionId ¶
func (r *DescribeElasticIpStockRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeElasticIpStockResponse ¶
type DescribeElasticIpStockResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeElasticIpStockResult `json:"result"` }
type DescribeElasticIpsRequest ¶
type DescribeElasticIpsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[20, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 弹性公网IP状态,取值范围:associate、disassociate (Optional) */ Status *string `json:"status"` /* elasticIpId - 弹性公网IPID,精确匹配,支持多个<br/> elasticIp - 弹性公网IP,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeElasticIpsRequest ¶
func NewDescribeElasticIpsRequest( regionId string, ) *DescribeElasticIpsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeElasticIpsRequestWithAllParams ¶
func NewDescribeElasticIpsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, status *string, filters []common.Filter, ) *DescribeElasticIpsRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[20, 100] (Optional)
- param status: 弹性公网IP状态,取值范围:associate、disassociate (Optional)
- param filters: elasticIpId - 弹性公网IPID,精确匹配,支持多个<br/>
elasticIp - 弹性公网IP,精确匹配,支持多个
(Optional)
func NewDescribeElasticIpsRequestWithoutParam ¶
func NewDescribeElasticIpsRequestWithoutParam() *DescribeElasticIpsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeElasticIpsRequest) GetRegionId ¶
func (r DescribeElasticIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeElasticIpsRequest) SetFilters ¶
func (r *DescribeElasticIpsRequest) SetFilters(filters []common.Filter)
param filters: elasticIpId - 弹性公网IPID,精确匹配,支持多个<br/>
elasticIp - 弹性公网IP,精确匹配,支持多个 (Optional)
func (*DescribeElasticIpsRequest) SetPageNumber ¶
func (r *DescribeElasticIpsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeElasticIpsRequest) SetPageSize ¶
func (r *DescribeElasticIpsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[20, 100](Optional)
func (*DescribeElasticIpsRequest) SetRegionId ¶
func (r *DescribeElasticIpsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeElasticIpsRequest) SetStatus ¶
func (r *DescribeElasticIpsRequest) SetStatus(status string)
param status: 弹性公网IP状态,取值范围:associate、disassociate(Optional)
type DescribeElasticIpsResponse ¶
type DescribeElasticIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeElasticIpsResult `json:"result"` }
type DescribeInstanceNameRequest ¶
type DescribeInstanceNameRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceNameRequest ¶
func NewDescribeInstanceNameRequest( regionId string, instanceId string, ) *DescribeInstanceNameRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceNameRequestWithAllParams ¶
func NewDescribeInstanceNameRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceNameRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required)
func NewDescribeInstanceNameRequestWithoutParam ¶
func NewDescribeInstanceNameRequestWithoutParam() *DescribeInstanceNameRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceNameRequest) GetRegionId ¶
func (r DescribeInstanceNameRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceNameRequest) SetInstanceId ¶
func (r *DescribeInstanceNameRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DescribeInstanceNameRequest) SetRegionId ¶
func (r *DescribeInstanceNameRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeInstanceNameResponse ¶
type DescribeInstanceNameResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceNameResult `json:"result"` }
type DescribeInstanceNameResult ¶
type DescribeInstanceNameResult struct {
Name string `json:"name"`
}
type DescribeInstanceRaidRequest ¶
type DescribeInstanceRaidRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceRaidRequest ¶
func NewDescribeInstanceRaidRequest( regionId string, instanceId string, ) *DescribeInstanceRaidRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceRaidRequestWithAllParams ¶
func NewDescribeInstanceRaidRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceRaidRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required)
func NewDescribeInstanceRaidRequestWithoutParam ¶
func NewDescribeInstanceRaidRequestWithoutParam() *DescribeInstanceRaidRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceRaidRequest) GetRegionId ¶
func (r DescribeInstanceRaidRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceRaidRequest) SetInstanceId ¶
func (r *DescribeInstanceRaidRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DescribeInstanceRaidRequest) SetRegionId ¶
func (r *DescribeInstanceRaidRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeInstanceRaidResponse ¶
type DescribeInstanceRaidResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceRaidResult `json:"result"` }
type DescribeInstanceRequest ¶
type DescribeInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceRequest ¶
func NewDescribeInstanceRequest( regionId string, instanceId string, ) *DescribeInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceRequestWithAllParams ¶
func NewDescribeInstanceRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required)
func NewDescribeInstanceRequestWithoutParam ¶
func NewDescribeInstanceRequestWithoutParam() *DescribeInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceRequest) GetRegionId ¶
func (r DescribeInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceRequest) SetInstanceId ¶
func (r *DescribeInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DescribeInstanceRequest) SetRegionId ¶
func (r *DescribeInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeInstanceResponse ¶
type DescribeInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceResult `json:"result"` }
type DescribeInstanceResult ¶
type DescribeInstanceStatusRequest ¶
type DescribeInstanceStatusRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceStatusRequest ¶
func NewDescribeInstanceStatusRequest( regionId string, instanceId string, ) *DescribeInstanceStatusRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceStatusRequestWithAllParams ¶
func NewDescribeInstanceStatusRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceStatusRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required)
func NewDescribeInstanceStatusRequestWithoutParam ¶
func NewDescribeInstanceStatusRequestWithoutParam() *DescribeInstanceStatusRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceStatusRequest) GetRegionId ¶
func (r DescribeInstanceStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceStatusRequest) SetInstanceId ¶
func (r *DescribeInstanceStatusRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DescribeInstanceStatusRequest) SetRegionId ¶
func (r *DescribeInstanceStatusRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeInstanceStatusResponse ¶
type DescribeInstanceStatusResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceStatusResult `json:"result"` }
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[20, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 可用区,精确匹配 (Optional) */ Az *string `json:"az"` /* 分布式云物理服务器名称,支持模糊匹配 (Optional) */ Name *string `json:"name"` /* 网络类型,精确匹配,支持vpc (Optional) */ NetworkType *string `json:"networkType"` /* 实例类型,精确匹配,调用接口(describeDeviceTypes)获取实例类型 (Optional) */ DeviceType *string `json:"deviceType"` /* 子网ID (Optional) */ SubnetId *string `json:"subnetId"` /* 是否启用外网, yes/no (Optional) */ EnableInternet *string `json:"enableInternet"` /* 内网ip (Optional) */ PrivateIp *string `json:"privateIp"` /* 密钥对id (Optional) */ KeypairId *string `json:"keypairId"` /* instanceId - 分布式云物理服务器ID,精确匹配,支持多个<br/> status - 分布式云物理服务器状态,参考分布式云物理服务器状态,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest( regionId string, ) *DescribeInstancesRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstancesRequestWithAllParams ¶
func NewDescribeInstancesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, az *string, name *string, networkType *string, deviceType *string, subnetId *string, enableInternet *string, privateIp *string, keypairId *string, filters []common.Filter, ) *DescribeInstancesRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[20, 100] (Optional)
- param az: 可用区,精确匹配 (Optional)
- param name: 分布式云物理服务器名称,支持模糊匹配 (Optional)
- param networkType: 网络类型,精确匹配,支持vpc (Optional)
- param deviceType: 实例类型,精确匹配,调用接口(describeDeviceTypes)获取实例类型 (Optional)
- param subnetId: 子网ID (Optional)
- param enableInternet: 是否启用外网, yes/no (Optional)
- param privateIp: 内网ip (Optional)
- param keypairId: 密钥对id (Optional)
- param filters: instanceId - 分布式云物理服务器ID,精确匹配,支持多个<br/>
status - 分布式云物理服务器状态,参考分布式云物理服务器状态,精确匹配,支持多个
(Optional)
func NewDescribeInstancesRequestWithoutParam ¶
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) SetAz ¶
func (r *DescribeInstancesRequest) SetAz(az string)
param az: 可用区,精确匹配(Optional)
func (*DescribeInstancesRequest) SetDeviceType ¶
func (r *DescribeInstancesRequest) SetDeviceType(deviceType string)
param deviceType: 实例类型,精确匹配,调用接口(describeDeviceTypes)获取实例类型(Optional)
func (*DescribeInstancesRequest) SetEnableInternet ¶
func (r *DescribeInstancesRequest) SetEnableInternet(enableInternet string)
param enableInternet: 是否启用外网, yes/no(Optional)
func (*DescribeInstancesRequest) SetFilters ¶
func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
param filters: instanceId - 分布式云物理服务器ID,精确匹配,支持多个<br/>
status - 分布式云物理服务器状态,参考分布式云物理服务器状态,精确匹配,支持多个 (Optional)
func (*DescribeInstancesRequest) SetKeypairId ¶
func (r *DescribeInstancesRequest) SetKeypairId(keypairId string)
param keypairId: 密钥对id(Optional)
func (*DescribeInstancesRequest) SetName ¶
func (r *DescribeInstancesRequest) SetName(name string)
param name: 分布式云物理服务器名称,支持模糊匹配(Optional)
func (*DescribeInstancesRequest) SetNetworkType ¶
func (r *DescribeInstancesRequest) SetNetworkType(networkType string)
param networkType: 网络类型,精确匹配,支持vpc(Optional)
func (*DescribeInstancesRequest) SetPageNumber ¶
func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeInstancesRequest) SetPageSize ¶
func (r *DescribeInstancesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[20, 100](Optional)
func (*DescribeInstancesRequest) SetPrivateIp ¶ added in v1.15.0
func (r *DescribeInstancesRequest) SetPrivateIp(privateIp string)
param privateIp: 内网ip(Optional)
func (*DescribeInstancesRequest) SetRegionId ¶
func (r *DescribeInstancesRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeInstancesRequest) SetSubnetId ¶
func (r *DescribeInstancesRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Optional)
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstancesResult `json:"result"` }
type DescribeInstancesResult ¶
type DescribeKeypairRequest ¶
type DescribeKeypairRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 密钥对ID */ KeypairId string `json:"keypairId"` }
func NewDescribeKeypairRequest ¶
func NewDescribeKeypairRequest( regionId string, keypairId string, ) *DescribeKeypairRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param keypairId: 密钥对ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKeypairRequestWithAllParams ¶
func NewDescribeKeypairRequestWithAllParams( regionId string, keypairId string, ) *DescribeKeypairRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param keypairId: 密钥对ID (Required)
func NewDescribeKeypairRequestWithoutParam ¶
func NewDescribeKeypairRequestWithoutParam() *DescribeKeypairRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKeypairRequest) GetRegionId ¶
func (r DescribeKeypairRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKeypairRequest) SetKeypairId ¶
func (r *DescribeKeypairRequest) SetKeypairId(keypairId string)
param keypairId: 密钥对ID(Required)
func (*DescribeKeypairRequest) SetRegionId ¶
func (r *DescribeKeypairRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeKeypairResponse ¶
type DescribeKeypairResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeKeypairResult `json:"result"` }
type DescribeKeypairResult ¶
type DescribeKeypairsRequest ¶
type DescribeKeypairsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[20, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 密钥对名称 (Optional) */ Name *string `json:"name"` /* keypairId - 密钥对ID,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeKeypairsRequest ¶
func NewDescribeKeypairsRequest( regionId string, ) *DescribeKeypairsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeKeypairsRequestWithAllParams ¶
func NewDescribeKeypairsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, name *string, filters []common.Filter, ) *DescribeKeypairsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[20, 100] (Optional) * param name: 密钥对名称 (Optional) * param filters: keypairId - 密钥对ID,精确匹配,支持多个 (Optional)
func NewDescribeKeypairsRequestWithoutParam ¶
func NewDescribeKeypairsRequestWithoutParam() *DescribeKeypairsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeKeypairsRequest) GetRegionId ¶
func (r DescribeKeypairsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeKeypairsRequest) SetFilters ¶
func (r *DescribeKeypairsRequest) SetFilters(filters []common.Filter)
param filters: keypairId - 密钥对ID,精确匹配,支持多个
(Optional)
func (*DescribeKeypairsRequest) SetName ¶
func (r *DescribeKeypairsRequest) SetName(name string)
param name: 密钥对名称(Optional)
func (*DescribeKeypairsRequest) SetPageNumber ¶
func (r *DescribeKeypairsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeKeypairsRequest) SetPageSize ¶
func (r *DescribeKeypairsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[20, 100](Optional)
func (*DescribeKeypairsRequest) SetRegionId ¶
func (r *DescribeKeypairsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeKeypairsResponse ¶
type DescribeKeypairsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeKeypairsResult `json:"result"` }
type DescribeKeypairsResult ¶
type DescribeLineTypesRequest ¶
type DescribeLineTypesRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` }
func NewDescribeLineTypesRequest ¶
func NewDescribeLineTypesRequest( regionId string, ) *DescribeLineTypesRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLineTypesRequestWithAllParams ¶
func NewDescribeLineTypesRequestWithAllParams( regionId string, ) *DescribeLineTypesRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
func NewDescribeLineTypesRequestWithoutParam ¶
func NewDescribeLineTypesRequestWithoutParam() *DescribeLineTypesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLineTypesRequest) GetRegionId ¶
func (r DescribeLineTypesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLineTypesRequest) SetRegionId ¶
func (r *DescribeLineTypesRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeLineTypesResponse ¶
type DescribeLineTypesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeLineTypesResult `json:"result"` }
type DescribeLineTypesResult ¶
type DescribeOSRequest ¶
type DescribeOSRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 实例类型,可调用接口(describeDeviceTypes)获取指定地域的实例类型,例如:edcps.c.normal1 */ DeviceType string `json:"deviceType"` /* 操作系统类型,取值范围:CentOS、Ubuntu (Optional) */ OsType *string `json:"osType"` }
func NewDescribeOSRequest ¶
func NewDescribeOSRequest( regionId string, deviceType string, ) *DescribeOSRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param deviceType: 实例类型,可调用接口(describeDeviceTypes)获取指定地域的实例类型,例如:edcps.c.normal1 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeOSRequestWithAllParams ¶
func NewDescribeOSRequestWithAllParams( regionId string, deviceType string, osType *string, ) *DescribeOSRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param deviceType: 实例类型,可调用接口(describeDeviceTypes)获取指定地域的实例类型,例如:edcps.c.normal1 (Required) * param osType: 操作系统类型,取值范围:CentOS、Ubuntu (Optional)
func NewDescribeOSRequestWithoutParam ¶
func NewDescribeOSRequestWithoutParam() *DescribeOSRequest
This constructor has better compatible ability when API parameters changed
func (DescribeOSRequest) GetRegionId ¶
func (r DescribeOSRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeOSRequest) SetDeviceType ¶
func (r *DescribeOSRequest) SetDeviceType(deviceType string)
param deviceType: 实例类型,可调用接口(describeDeviceTypes)获取指定地域的实例类型,例如:edcps.c.normal1(Required)
func (*DescribeOSRequest) SetOsType ¶
func (r *DescribeOSRequest) SetOsType(osType string)
param osType: 操作系统类型,取值范围:CentOS、Ubuntu(Optional)
func (*DescribeOSRequest) SetRegionId ¶
func (r *DescribeOSRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeOSResponse ¶
type DescribeOSResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeOSResult `json:"result"` }
type DescribeOSResult ¶
type DescribeSecondaryCidrsRequest ¶
type DescribeSecondaryCidrsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 子网ID */ SubnetId string `json:"subnetId"` }
func NewDescribeSecondaryCidrsRequest ¶
func NewDescribeSecondaryCidrsRequest( regionId string, subnetId string, ) *DescribeSecondaryCidrsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSecondaryCidrsRequestWithAllParams ¶
func NewDescribeSecondaryCidrsRequestWithAllParams( regionId string, subnetId string, ) *DescribeSecondaryCidrsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required)
func NewDescribeSecondaryCidrsRequestWithoutParam ¶
func NewDescribeSecondaryCidrsRequestWithoutParam() *DescribeSecondaryCidrsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSecondaryCidrsRequest) GetRegionId ¶
func (r DescribeSecondaryCidrsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSecondaryCidrsRequest) SetRegionId ¶
func (r *DescribeSecondaryCidrsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeSecondaryCidrsRequest) SetSubnetId ¶
func (r *DescribeSecondaryCidrsRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
type DescribeSecondaryCidrsResponse ¶
type DescribeSecondaryCidrsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSecondaryCidrsResult `json:"result"` }
type DescribeSecondaryCidrsResult ¶
type DescribeSecondaryCidrsResult struct {
SecondaryCidrs []edcps.SecondaryCidr `json:"secondaryCidrs"`
}
type DescribeSubnetRequest ¶
type DescribeSubnetRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 子网ID */ SubnetId string `json:"subnetId"` }
func NewDescribeSubnetRequest ¶
func NewDescribeSubnetRequest( regionId string, subnetId string, ) *DescribeSubnetRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubnetRequestWithAllParams ¶
func NewDescribeSubnetRequestWithAllParams( regionId string, subnetId string, ) *DescribeSubnetRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required)
func NewDescribeSubnetRequestWithoutParam ¶
func NewDescribeSubnetRequestWithoutParam() *DescribeSubnetRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubnetRequest) GetRegionId ¶
func (r DescribeSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubnetRequest) SetRegionId ¶
func (r *DescribeSubnetRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeSubnetRequest) SetSubnetId ¶
func (r *DescribeSubnetRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
type DescribeSubnetResponse ¶
type DescribeSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubnetResult `json:"result"` }
type DescribeSubnetResult ¶
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[20, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 可用区,精确匹配 (Optional) */ Az *string `json:"az"` /* 子网名称 (Optional) */ Name *string `json:"name"` /* 私有网络ID,精确匹配 (Optional) */ VpcId *string `json:"vpcId"` /* subnetId - 子网ID,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeSubnetsRequest ¶
func NewDescribeSubnetsRequest( regionId string, ) *DescribeSubnetsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubnetsRequestWithAllParams ¶
func NewDescribeSubnetsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, az *string, name *string, vpcId *string, filters []common.Filter, ) *DescribeSubnetsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[20, 100] (Optional) * param az: 可用区,精确匹配 (Optional) * param name: 子网名称 (Optional) * param vpcId: 私有网络ID,精确匹配 (Optional) * param filters: subnetId - 子网ID,精确匹配,支持多个 (Optional)
func NewDescribeSubnetsRequestWithoutParam ¶
func NewDescribeSubnetsRequestWithoutParam() *DescribeSubnetsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubnetsRequest) GetRegionId ¶
func (r DescribeSubnetsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubnetsRequest) SetAz ¶
func (r *DescribeSubnetsRequest) SetAz(az string)
param az: 可用区,精确匹配(Optional)
func (*DescribeSubnetsRequest) SetFilters ¶
func (r *DescribeSubnetsRequest) SetFilters(filters []common.Filter)
param filters: subnetId - 子网ID,精确匹配,支持多个
(Optional)
func (*DescribeSubnetsRequest) SetName ¶
func (r *DescribeSubnetsRequest) SetName(name string)
param name: 子网名称(Optional)
func (*DescribeSubnetsRequest) SetPageNumber ¶
func (r *DescribeSubnetsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeSubnetsRequest) SetPageSize ¶
func (r *DescribeSubnetsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[20, 100](Optional)
func (*DescribeSubnetsRequest) SetRegionId ¶
func (r *DescribeSubnetsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeSubnetsRequest) SetVpcId ¶
func (r *DescribeSubnetsRequest) SetVpcId(vpcId string)
param vpcId: 私有网络ID,精确匹配(Optional)
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubnetsResult `json:"result"` }
type DescribeSubnetsResult ¶
type DescribeVpcRequest ¶
type DescribeVpcRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 私有网络ID */ VpcId string `json:"vpcId"` }
func NewDescribeVpcRequest ¶
func NewDescribeVpcRequest( regionId string, vpcId string, ) *DescribeVpcRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param vpcId: 私有网络ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeVpcRequestWithAllParams ¶
func NewDescribeVpcRequestWithAllParams( regionId string, vpcId string, ) *DescribeVpcRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param vpcId: 私有网络ID (Required)
func NewDescribeVpcRequestWithoutParam ¶
func NewDescribeVpcRequestWithoutParam() *DescribeVpcRequest
This constructor has better compatible ability when API parameters changed
func (DescribeVpcRequest) GetRegionId ¶
func (r DescribeVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeVpcRequest) SetRegionId ¶
func (r *DescribeVpcRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*DescribeVpcRequest) SetVpcId ¶
func (r *DescribeVpcRequest) SetVpcId(vpcId string)
param vpcId: 私有网络ID(Required)
type DescribeVpcResponse ¶
type DescribeVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeVpcResult `json:"result"` }
type DescribeVpcResult ¶
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[20, 100] (Optional) */ PageSize *int `json:"pageSize"` /* 私有网络名称 (Optional) */ Name *string `json:"name"` /* vpcId - 私有网络ID,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeVpcsRequest ¶
func NewDescribeVpcsRequest( regionId string, ) *DescribeVpcsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeVpcsRequestWithAllParams ¶
func NewDescribeVpcsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, name *string, filters []common.Filter, ) *DescribeVpcsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param pageNumber: 页码;默认为1 (Optional) * param pageSize: 分页大小;默认为20;取值范围[20, 100] (Optional) * param name: 私有网络名称 (Optional) * param filters: vpcId - 私有网络ID,精确匹配,支持多个 (Optional)
func NewDescribeVpcsRequestWithoutParam ¶
func NewDescribeVpcsRequestWithoutParam() *DescribeVpcsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeVpcsRequest) GetRegionId ¶
func (r DescribeVpcsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeVpcsRequest) SetFilters ¶
func (r *DescribeVpcsRequest) SetFilters(filters []common.Filter)
param filters: vpcId - 私有网络ID,精确匹配,支持多个
(Optional)
func (*DescribeVpcsRequest) SetName ¶
func (r *DescribeVpcsRequest) SetName(name string)
param name: 私有网络名称(Optional)
func (*DescribeVpcsRequest) SetPageNumber ¶
func (r *DescribeVpcsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeVpcsRequest) SetPageSize ¶
func (r *DescribeVpcsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[20, 100](Optional)
func (*DescribeVpcsRequest) SetRegionId ¶
func (r *DescribeVpcsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DescribeVpcsResponse ¶
type DescribeVpcsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeVpcsResult `json:"result"` }
type DescribeVpcsResult ¶
type DisassociateElasticIpRequest ¶
type DisassociateElasticIpRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 弹性公网IPId */ ElasticIpId string `json:"elasticIpId"` }
func NewDisassociateElasticIpRequest ¶
func NewDisassociateElasticIpRequest( regionId string, instanceId string, elasticIpId string, ) *DisassociateElasticIpRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * param elasticIpId: 弹性公网IPId (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisassociateElasticIpRequestWithAllParams ¶
func NewDisassociateElasticIpRequestWithAllParams( regionId string, instanceId string, clientToken *string, elasticIpId string, ) *DisassociateElasticIpRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param elasticIpId: 弹性公网IPId (Required)
func NewDisassociateElasticIpRequestWithoutParam ¶
func NewDisassociateElasticIpRequestWithoutParam() *DisassociateElasticIpRequest
This constructor has better compatible ability when API parameters changed
func (DisassociateElasticIpRequest) GetRegionId ¶
func (r DisassociateElasticIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisassociateElasticIpRequest) SetClientToken ¶
func (r *DisassociateElasticIpRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*DisassociateElasticIpRequest) SetElasticIpId ¶
func (r *DisassociateElasticIpRequest) SetElasticIpId(elasticIpId string)
param elasticIpId: 弹性公网IPId(Required)
func (*DisassociateElasticIpRequest) SetInstanceId ¶
func (r *DisassociateElasticIpRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*DisassociateElasticIpRequest) SetRegionId ¶
func (r *DisassociateElasticIpRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type DisassociateElasticIpResponse ¶
type DisassociateElasticIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisassociateElasticIpResult `json:"result"` }
type DisassociateElasticIpResult ¶
type DisassociateElasticIpResult struct {
Success bool `json:"success"`
}
type ImportKeypairsRequest ¶
type ImportKeypairsRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 密钥对名称 */ Name string `json:"name"` /* 公钥 */ PublicKey string `json:"publicKey"` }
func NewImportKeypairsRequest ¶
func NewImportKeypairsRequest( regionId string, name string, publicKey string, ) *ImportKeypairsRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param name: 密钥对名称 (Required) * param publicKey: 公钥 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewImportKeypairsRequestWithAllParams ¶
func NewImportKeypairsRequestWithAllParams( regionId string, clientToken *string, name string, publicKey string, ) *ImportKeypairsRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param name: 密钥对名称 (Required) * param publicKey: 公钥 (Required)
func NewImportKeypairsRequestWithoutParam ¶
func NewImportKeypairsRequestWithoutParam() *ImportKeypairsRequest
This constructor has better compatible ability when API parameters changed
func (ImportKeypairsRequest) GetRegionId ¶
func (r ImportKeypairsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ImportKeypairsRequest) SetClientToken ¶
func (r *ImportKeypairsRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*ImportKeypairsRequest) SetName ¶
func (r *ImportKeypairsRequest) SetName(name string)
param name: 密钥对名称(Required)
func (*ImportKeypairsRequest) SetPublicKey ¶
func (r *ImportKeypairsRequest) SetPublicKey(publicKey string)
param publicKey: 公钥(Required)
func (*ImportKeypairsRequest) SetRegionId ¶
func (r *ImportKeypairsRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type ImportKeypairsResponse ¶
type ImportKeypairsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ImportKeypairsResult `json:"result"` }
type ImportKeypairsResult ¶
type ModifyElasticIpBandwidthRequest ¶
type ModifyElasticIpBandwidthRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 弹性公网IPID */ ElasticIpId string `json:"elasticIpId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 带宽,单位Mbps,取值范围[1,10240] */ Bandwidth int `json:"bandwidth"` /* 额外上行带宽,单位Mbps,取值范围[0,10240] (Optional) */ ExtraUplinkBandwidth *int `json:"extraUplinkBandwidth"` }
func NewModifyElasticIpBandwidthRequest ¶
func NewModifyElasticIpBandwidthRequest( regionId string, elasticIpId string, bandwidth int, ) *ModifyElasticIpBandwidthRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param elasticIpId: 弹性公网IPID (Required) * param bandwidth: 带宽,单位Mbps,取值范围[1,10240] (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyElasticIpBandwidthRequestWithAllParams ¶
func NewModifyElasticIpBandwidthRequestWithAllParams( regionId string, elasticIpId string, clientToken *string, bandwidth int, extraUplinkBandwidth *int, ) *ModifyElasticIpBandwidthRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param elasticIpId: 弹性公网IPID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param bandwidth: 带宽,单位Mbps,取值范围[1,10240] (Required) * param extraUplinkBandwidth: 额外上行带宽,单位Mbps,取值范围[0,10240] (Optional)
func NewModifyElasticIpBandwidthRequestWithoutParam ¶
func NewModifyElasticIpBandwidthRequestWithoutParam() *ModifyElasticIpBandwidthRequest
This constructor has better compatible ability when API parameters changed
func (ModifyElasticIpBandwidthRequest) GetRegionId ¶
func (r ModifyElasticIpBandwidthRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyElasticIpBandwidthRequest) SetBandwidth ¶
func (r *ModifyElasticIpBandwidthRequest) SetBandwidth(bandwidth int)
param bandwidth: 带宽,单位Mbps,取值范围[1,10240](Required)
func (*ModifyElasticIpBandwidthRequest) SetClientToken ¶
func (r *ModifyElasticIpBandwidthRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*ModifyElasticIpBandwidthRequest) SetElasticIpId ¶
func (r *ModifyElasticIpBandwidthRequest) SetElasticIpId(elasticIpId string)
param elasticIpId: 弹性公网IPID(Required)
func (*ModifyElasticIpBandwidthRequest) SetExtraUplinkBandwidth ¶
func (r *ModifyElasticIpBandwidthRequest) SetExtraUplinkBandwidth(extraUplinkBandwidth int)
param extraUplinkBandwidth: 额外上行带宽,单位Mbps,取值范围[0,10240](Optional)
func (*ModifyElasticIpBandwidthRequest) SetRegionId ¶
func (r *ModifyElasticIpBandwidthRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type ModifyElasticIpBandwidthResponse ¶
type ModifyElasticIpBandwidthResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyElasticIpBandwidthResult `json:"result"` }
type ModifyElasticIpBandwidthResult ¶
type ModifyElasticIpBandwidthResult struct {
Success bool `json:"success"`
}
type ModifyInstanceRequest ¶
type ModifyInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 分布式云物理服务器名称 (Optional) */ Name *string `json:"name"` /* 分布式云物理服务器描述 (Optional) */ Description *string `json:"description"` }
func NewModifyInstanceRequest ¶
func NewModifyInstanceRequest( regionId string, instanceId string, ) *ModifyInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceRequestWithAllParams ¶
func NewModifyInstanceRequestWithAllParams( regionId string, instanceId string, name *string, description *string, ) *ModifyInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * param name: 分布式云物理服务器名称 (Optional) * param description: 分布式云物理服务器描述 (Optional)
func NewModifyInstanceRequestWithoutParam ¶
func NewModifyInstanceRequestWithoutParam() *ModifyInstanceRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceRequest) GetRegionId ¶
func (r ModifyInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceRequest) SetDescription ¶
func (r *ModifyInstanceRequest) SetDescription(description string)
param description: 分布式云物理服务器描述(Optional)
func (*ModifyInstanceRequest) SetInstanceId ¶
func (r *ModifyInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*ModifyInstanceRequest) SetName ¶
func (r *ModifyInstanceRequest) SetName(name string)
param name: 分布式云物理服务器名称(Optional)
func (*ModifyInstanceRequest) SetRegionId ¶
func (r *ModifyInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type ModifyInstanceResponse ¶
type ModifyInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceResult `json:"result"` }
type ModifyInstanceResult ¶
type ModifySubnetRequest ¶
type ModifySubnetRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 子网ID */ SubnetId string `json:"subnetId"` /* 名称 (Optional) */ Name *string `json:"name"` /* 描述 (Optional) */ Description *string `json:"description"` }
func NewModifySubnetRequest ¶
func NewModifySubnetRequest( regionId string, subnetId string, ) *ModifySubnetRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifySubnetRequestWithAllParams ¶
func NewModifySubnetRequestWithAllParams( regionId string, subnetId string, name *string, description *string, ) *ModifySubnetRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param subnetId: 子网ID (Required) * param name: 名称 (Optional) * param description: 描述 (Optional)
func NewModifySubnetRequestWithoutParam ¶
func NewModifySubnetRequestWithoutParam() *ModifySubnetRequest
This constructor has better compatible ability when API parameters changed
func (ModifySubnetRequest) GetRegionId ¶
func (r ModifySubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySubnetRequest) SetDescription ¶
func (r *ModifySubnetRequest) SetDescription(description string)
param description: 描述(Optional)
func (*ModifySubnetRequest) SetName ¶
func (r *ModifySubnetRequest) SetName(name string)
param name: 名称(Optional)
func (*ModifySubnetRequest) SetRegionId ¶
func (r *ModifySubnetRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*ModifySubnetRequest) SetSubnetId ¶
func (r *ModifySubnetRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
type ModifySubnetResponse ¶
type ModifySubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifySubnetResult `json:"result"` }
type ModifySubnetResult ¶
type ModifyVpcRequest ¶
type ModifyVpcRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 私有网络ID */ VpcId string `json:"vpcId"` /* 名称 (Optional) */ Name *string `json:"name"` /* 描述 (Optional) */ Description *string `json:"description"` }
func NewModifyVpcRequest ¶
func NewModifyVpcRequest( regionId string, vpcId string, ) *ModifyVpcRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param vpcId: 私有网络ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyVpcRequestWithAllParams ¶
func NewModifyVpcRequestWithAllParams( regionId string, vpcId string, name *string, description *string, ) *ModifyVpcRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param vpcId: 私有网络ID (Required) * param name: 名称 (Optional) * param description: 描述 (Optional)
func NewModifyVpcRequestWithoutParam ¶
func NewModifyVpcRequestWithoutParam() *ModifyVpcRequest
This constructor has better compatible ability when API parameters changed
func (ModifyVpcRequest) GetRegionId ¶
func (r ModifyVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyVpcRequest) SetDescription ¶
func (r *ModifyVpcRequest) SetDescription(description string)
param description: 描述(Optional)
func (*ModifyVpcRequest) SetName ¶
func (r *ModifyVpcRequest) SetName(name string)
param name: 名称(Optional)
func (*ModifyVpcRequest) SetRegionId ¶
func (r *ModifyVpcRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
func (*ModifyVpcRequest) SetVpcId ¶
func (r *ModifyVpcRequest) SetVpcId(vpcId string)
param vpcId: 私有网络ID(Required)
type ModifyVpcResponse ¶
type ModifyVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyVpcResult `json:"result"` }
type ModifyVpcResult ¶
type ReinstallInstanceRequest ¶
type ReinstallInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 分布式云物理服务器配置 */ InstanceSpec *edcps.ReinstallInstanceSpec `json:"instanceSpec"` }
func NewReinstallInstanceRequest ¶
func NewReinstallInstanceRequest( regionId string, instanceId string, instanceSpec *edcps.ReinstallInstanceSpec, ) *ReinstallInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * param instanceSpec: 分布式云物理服务器配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewReinstallInstanceRequestWithAllParams ¶
func NewReinstallInstanceRequestWithAllParams( regionId string, instanceId string, clientToken *string, instanceSpec *edcps.ReinstallInstanceSpec, ) *ReinstallInstanceRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param instanceSpec: 分布式云物理服务器配置 (Required)
func NewReinstallInstanceRequestWithoutParam ¶
func NewReinstallInstanceRequestWithoutParam() *ReinstallInstanceRequest
This constructor has better compatible ability when API parameters changed
func (ReinstallInstanceRequest) GetRegionId ¶
func (r ReinstallInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ReinstallInstanceRequest) SetClientToken ¶
func (r *ReinstallInstanceRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*ReinstallInstanceRequest) SetInstanceId ¶
func (r *ReinstallInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*ReinstallInstanceRequest) SetInstanceSpec ¶
func (r *ReinstallInstanceRequest) SetInstanceSpec(instanceSpec *edcps.ReinstallInstanceSpec)
param instanceSpec: 分布式云物理服务器配置(Required)
func (*ReinstallInstanceRequest) SetRegionId ¶
func (r *ReinstallInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type ReinstallInstanceResponse ¶
type ReinstallInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ReinstallInstanceResult `json:"result"` }
type ReinstallInstanceResult ¶
type ReinstallInstanceResult struct {
Success bool `json:"success"`
}
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` /* 密码 */ Password string `json:"password"` }
func NewResetPasswordRequest ¶
func NewResetPasswordRequest( regionId string, instanceId string, password string, ) *ResetPasswordRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * param password: 密码 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewResetPasswordRequestWithAllParams ¶
func NewResetPasswordRequestWithAllParams( regionId string, instanceId string, clientToken *string, password string, ) *ResetPasswordRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional) * param password: 密码 (Required)
func NewResetPasswordRequestWithoutParam ¶
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) SetClientToken ¶
func (r *ResetPasswordRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*ResetPasswordRequest) SetInstanceId ¶
func (r *ResetPasswordRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*ResetPasswordRequest) SetPassword ¶
func (r *ResetPasswordRequest) SetPassword(password string)
param password: 密码(Required)
func (*ResetPasswordRequest) SetRegionId ¶
func (r *ResetPasswordRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type ResetPasswordResponse ¶
type ResetPasswordResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ResetPasswordResult `json:"result"` }
type ResetPasswordResult ¶
type ResetPasswordResult struct {
Success bool `json:"success"`
}
type RestartInstanceRequest ¶
type RestartInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewRestartInstanceRequest ¶
func NewRestartInstanceRequest( regionId string, instanceId string, ) *RestartInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRestartInstanceRequestWithAllParams ¶
func NewRestartInstanceRequestWithAllParams( regionId string, instanceId string, clientToken *string, ) *RestartInstanceRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewRestartInstanceRequestWithoutParam ¶
func NewRestartInstanceRequestWithoutParam() *RestartInstanceRequest
This constructor has better compatible ability when API parameters changed
func (RestartInstanceRequest) GetRegionId ¶
func (r RestartInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RestartInstanceRequest) SetClientToken ¶
func (r *RestartInstanceRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*RestartInstanceRequest) SetInstanceId ¶
func (r *RestartInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*RestartInstanceRequest) SetRegionId ¶
func (r *RestartInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type RestartInstanceResponse ¶
type RestartInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RestartInstanceResult `json:"result"` }
type RestartInstanceResult ¶
type RestartInstanceResult struct {
Success bool `json:"success"`
}
type StartInstanceRequest ¶
type StartInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewStartInstanceRequest ¶
func NewStartInstanceRequest( regionId string, instanceId string, ) *StartInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStartInstanceRequestWithAllParams ¶
func NewStartInstanceRequestWithAllParams( regionId string, instanceId string, clientToken *string, ) *StartInstanceRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewStartInstanceRequestWithoutParam ¶
func NewStartInstanceRequestWithoutParam() *StartInstanceRequest
This constructor has better compatible ability when API parameters changed
func (StartInstanceRequest) GetRegionId ¶
func (r StartInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StartInstanceRequest) SetClientToken ¶
func (r *StartInstanceRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*StartInstanceRequest) SetInstanceId ¶
func (r *StartInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*StartInstanceRequest) SetRegionId ¶
func (r *StartInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type StartInstanceResponse ¶
type StartInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StartInstanceResult `json:"result"` }
type StartInstanceResult ¶
type StartInstanceResult struct {
Success bool `json:"success"`
}
type StopInstanceRequest ¶
type StopInstanceRequest struct { core.JDCloudRequest /* 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 */ RegionId string `json:"regionId"` /* 分布式云物理服务器ID */ InstanceId string `json:"instanceId"` /* 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/> 如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional) */ ClientToken *string `json:"clientToken"` }
func NewStopInstanceRequest ¶
func NewStopInstanceRequest( regionId string, instanceId string, ) *StopInstanceRequest
* param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required) * param instanceId: 分布式云物理服务器ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopInstanceRequestWithAllParams ¶
func NewStopInstanceRequestWithAllParams( regionId string, instanceId string, clientToken *string, ) *StopInstanceRequest
- param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域 (Required)
- param instanceId: 分布式云物理服务器ID (Required)
- param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/>
(Optional)
func NewStopInstanceRequestWithoutParam ¶
func NewStopInstanceRequestWithoutParam() *StopInstanceRequest
This constructor has better compatible ability when API parameters changed
func (StopInstanceRequest) GetRegionId ¶
func (r StopInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopInstanceRequest) SetClientToken ¶
func (r *StopInstanceRequest) SetClientToken(clientToken string)
param clientToken: 由客户端生成,用于保证请求的幂等性,长度不能超过36个字符;<br/>
如果多个请求使用了相同的clientToken,只会执行第一个请求,之后的请求直接返回第一个请求的结果<br/> (Optional)
func (*StopInstanceRequest) SetInstanceId ¶
func (r *StopInstanceRequest) SetInstanceId(instanceId string)
param instanceId: 分布式云物理服务器ID(Required)
func (*StopInstanceRequest) SetRegionId ¶
func (r *StopInstanceRequest) SetRegionId(regionId string)
param regionId: 地域ID,可调用接口(describeEdCPSRegions)获取分布式云物理服务器支持的地域(Required)
type StopInstanceResponse ¶
type StopInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StopInstanceResult `json:"result"` }
type StopInstanceResult ¶
type StopInstanceResult struct {
Success bool `json:"success"`
}
Source Files ¶
- ApplyElasticIps.go
- AssociateElasticIp.go
- CreateAliasIp.go
- CreateInstances.go
- CreateKeypairs.go
- CreateSecondaryCidr.go
- CreateSubnet.go
- CreateVpc.go
- DeleteAliasIp.go
- DeleteInstance.go
- DeleteKeypairs.go
- DeleteSecondaryCidr.go
- DeleteSubnet.go
- DeleteVpc.go
- DeleteelasticIp.go
- DescribeAliasIps.go
- DescribeAvailablePrivateIp.go
- DescribeDeviceRaids.go
- DescribeDeviceStock.go
- DescribeDeviceTypes.go
- DescribeEdCPSRegions.go
- DescribeElasticIp.go
- DescribeElasticIpStock.go
- DescribeElasticIps.go
- DescribeInstance.go
- DescribeInstanceName.go
- DescribeInstanceRaid.go
- DescribeInstanceStatus.go
- DescribeInstances.go
- DescribeKeypair.go
- DescribeKeypairs.go
- DescribeLineTypes.go
- DescribeOS.go
- DescribeSecondaryCidrs.go
- DescribeSubnet.go
- DescribeSubnets.go
- DescribeVpc.go
- DescribeVpcs.go
- DisassociateElasticIp.go
- ImportKeypairs.go
- ModifyElasticIpBandwidth.go
- ModifyInstance.go
- ModifySubnet.go
- ModifyVpc.go
- ReinstallInstance.go
- ResetPassword.go
- RestartInstance.go
- StartInstance.go
- StopInstance.go