Documentation ¶
Index ¶
- type AllocDedicatedHostsRequest
- func NewAllocDedicatedHostsRequest(regionId string, dedicatedHostSpec *dh.DedicatedHostSpec) *AllocDedicatedHostsRequest
- func NewAllocDedicatedHostsRequestWithAllParams(regionId string, dedicatedHostSpec *dh.DedicatedHostSpec, deployPolicy *string, ...) *AllocDedicatedHostsRequest
- func NewAllocDedicatedHostsRequestWithoutParam() *AllocDedicatedHostsRequest
- func (r AllocDedicatedHostsRequest) GetRegionId() string
- func (r *AllocDedicatedHostsRequest) SetClientToken(clientToken string)
- func (r *AllocDedicatedHostsRequest) SetDedicatedHostSpec(dedicatedHostSpec *dh.DedicatedHostSpec)
- func (r *AllocDedicatedHostsRequest) SetDeployPolicy(deployPolicy string)
- func (r *AllocDedicatedHostsRequest) SetMaxCount(maxCount int)
- func (r *AllocDedicatedHostsRequest) SetRegionId(regionId string)
- type AllocDedicatedHostsResponse
- type AllocDedicatedHostsResult
- type AllocDedicatedPoolRequest
- func NewAllocDedicatedPoolRequest(regionId string) *AllocDedicatedPoolRequest
- func NewAllocDedicatedPoolRequestWithAllParams(regionId string, dedicatedHostType *string, name *string, az []string, ...) *AllocDedicatedPoolRequest
- func NewAllocDedicatedPoolRequestWithoutParam() *AllocDedicatedPoolRequest
- func (r AllocDedicatedPoolRequest) GetRegionId() string
- func (r *AllocDedicatedPoolRequest) SetAz(az []string)
- func (r *AllocDedicatedPoolRequest) SetDedicatedHostType(dedicatedHostType string)
- func (r *AllocDedicatedPoolRequest) SetDescription(description string)
- func (r *AllocDedicatedPoolRequest) SetName(name string)
- func (r *AllocDedicatedPoolRequest) SetRegionId(regionId string)
- type AllocDedicatedPoolResponse
- type AllocDedicatedPoolResult
- type DescribeDedicatedHostTypeRequest
- func NewDescribeDedicatedHostTypeRequest(regionId string) *DescribeDedicatedHostTypeRequest
- func NewDescribeDedicatedHostTypeRequestWithAllParams(regionId string, filters []common.Filter) *DescribeDedicatedHostTypeRequest
- func NewDescribeDedicatedHostTypeRequestWithoutParam() *DescribeDedicatedHostTypeRequest
- type DescribeDedicatedHostTypeResponse
- type DescribeDedicatedHostTypeResult
- type DescribeDedicatedHostsRequest
- func NewDescribeDedicatedHostsRequest(regionId string) *DescribeDedicatedHostsRequest
- func NewDescribeDedicatedHostsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeDedicatedHostsRequest
- func NewDescribeDedicatedHostsRequestWithoutParam() *DescribeDedicatedHostsRequest
- func (r DescribeDedicatedHostsRequest) GetRegionId() string
- func (r *DescribeDedicatedHostsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeDedicatedHostsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeDedicatedHostsRequest) SetPageSize(pageSize int)
- func (r *DescribeDedicatedHostsRequest) SetRegionId(regionId string)
- type DescribeDedicatedHostsResponse
- type DescribeDedicatedHostsResult
- type DescribeDedicatedPoolsRequest
- func NewDescribeDedicatedPoolsRequest(regionId string) *DescribeDedicatedPoolsRequest
- func NewDescribeDedicatedPoolsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeDedicatedPoolsRequest
- func NewDescribeDedicatedPoolsRequestWithoutParam() *DescribeDedicatedPoolsRequest
- func (r DescribeDedicatedPoolsRequest) GetRegionId() string
- func (r *DescribeDedicatedPoolsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeDedicatedPoolsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeDedicatedPoolsRequest) SetPageSize(pageSize int)
- func (r *DescribeDedicatedPoolsRequest) SetRegionId(regionId string)
- type DescribeDedicatedPoolsResponse
- type DescribeDedicatedPoolsResult
- type DescribeQuotasRequest
- type DescribeQuotasResponse
- type DescribeQuotasResult
- type ModifyDedicatedHostAttributeRequest
- func NewModifyDedicatedHostAttributeRequest(regionId string, dedicatedHostId string) *ModifyDedicatedHostAttributeRequest
- func NewModifyDedicatedHostAttributeRequestWithAllParams(regionId string, dedicatedHostId string, name *string, description *string) *ModifyDedicatedHostAttributeRequest
- func NewModifyDedicatedHostAttributeRequestWithoutParam() *ModifyDedicatedHostAttributeRequest
- func (r ModifyDedicatedHostAttributeRequest) GetRegionId() string
- func (r *ModifyDedicatedHostAttributeRequest) SetDedicatedHostId(dedicatedHostId string)
- func (r *ModifyDedicatedHostAttributeRequest) SetDescription(description string)
- func (r *ModifyDedicatedHostAttributeRequest) SetName(name string)
- func (r *ModifyDedicatedHostAttributeRequest) SetRegionId(regionId string)
- type ModifyDedicatedHostAttributeResponse
- type ModifyDedicatedHostAttributeResult
- type ModifyDedicatedPoolAttributeRequest
- func NewModifyDedicatedPoolAttributeRequest(regionId string, dedicatedPoolId string) *ModifyDedicatedPoolAttributeRequest
- func NewModifyDedicatedPoolAttributeRequestWithAllParams(regionId string, dedicatedPoolId string, name *string, description *string, ...) *ModifyDedicatedPoolAttributeRequest
- func NewModifyDedicatedPoolAttributeRequestWithoutParam() *ModifyDedicatedPoolAttributeRequest
- func (r ModifyDedicatedPoolAttributeRequest) GetRegionId() string
- func (r *ModifyDedicatedPoolAttributeRequest) SetAz(az []string)
- func (r *ModifyDedicatedPoolAttributeRequest) SetDedicatedPoolId(dedicatedPoolId string)
- func (r *ModifyDedicatedPoolAttributeRequest) SetDescription(description string)
- func (r *ModifyDedicatedPoolAttributeRequest) SetName(name string)
- func (r *ModifyDedicatedPoolAttributeRequest) SetRegionId(regionId string)
- type ModifyDedicatedPoolAttributeResponse
- type ModifyDedicatedPoolAttributeResult
- type ReleaseDedicatedHostRequest
- func NewReleaseDedicatedHostRequest(regionId string, dedicatedHostId string) *ReleaseDedicatedHostRequest
- func NewReleaseDedicatedHostRequestWithAllParams(regionId string, dedicatedHostId string) *ReleaseDedicatedHostRequest
- func NewReleaseDedicatedHostRequestWithoutParam() *ReleaseDedicatedHostRequest
- type ReleaseDedicatedHostResponse
- type ReleaseDedicatedHostResult
- type ReleaseDedicatedPoolRequest
- func NewReleaseDedicatedPoolRequest(regionId string, dedicatedPoolId string) *ReleaseDedicatedPoolRequest
- func NewReleaseDedicatedPoolRequestWithAllParams(regionId string, dedicatedPoolId string) *ReleaseDedicatedPoolRequest
- func NewReleaseDedicatedPoolRequestWithoutParam() *ReleaseDedicatedPoolRequest
- type ReleaseDedicatedPoolResponse
- type ReleaseDedicatedPoolResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocDedicatedHostsRequest ¶
type AllocDedicatedHostsRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 描述专有宿主机配置 */ DedicatedHostSpec *dh.DedicatedHostSpec `json:"dedicatedHostSpec"` /* 是否支持AZ内专有宿主机强制均衡,默认为preferred--非强制,取值[preferred--非强制,required--强制] (Optional) */ DeployPolicy *string `json:"deployPolicy"` /* 购买云主机的数量;取值范围:[1,100],默认为1。 (Optional) */ MaxCount *int `json:"maxCount"` /* 用于保证请求的幂等性。由客户端生成,长度不能超过64个字符。 (Optional) */ ClientToken *string `json:"clientToken"` }
func NewAllocDedicatedHostsRequest ¶
func NewAllocDedicatedHostsRequest( regionId string, dedicatedHostSpec *dh.DedicatedHostSpec, ) *AllocDedicatedHostsRequest
* param regionId: 地域ID (Required) * param dedicatedHostSpec: 描述专有宿主机配置 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAllocDedicatedHostsRequestWithAllParams ¶
func NewAllocDedicatedHostsRequestWithAllParams( regionId string, dedicatedHostSpec *dh.DedicatedHostSpec, deployPolicy *string, maxCount *int, clientToken *string, ) *AllocDedicatedHostsRequest
* param regionId: 地域ID (Required) * param dedicatedHostSpec: 描述专有宿主机配置 (Required) * param deployPolicy: 是否支持AZ内专有宿主机强制均衡,默认为preferred--非强制,取值[preferred--非强制,required--强制] (Optional) * param maxCount: 购买云主机的数量;取值范围:[1,100],默认为1。 (Optional) * param clientToken: 用于保证请求的幂等性。由客户端生成,长度不能超过64个字符。 (Optional)
func NewAllocDedicatedHostsRequestWithoutParam ¶
func NewAllocDedicatedHostsRequestWithoutParam() *AllocDedicatedHostsRequest
This constructor has better compatible ability when API parameters changed
func (AllocDedicatedHostsRequest) GetRegionId ¶
func (r AllocDedicatedHostsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AllocDedicatedHostsRequest) SetClientToken ¶
func (r *AllocDedicatedHostsRequest) SetClientToken(clientToken string)
param clientToken: 用于保证请求的幂等性。由客户端生成,长度不能超过64个字符。
(Optional)
func (*AllocDedicatedHostsRequest) SetDedicatedHostSpec ¶
func (r *AllocDedicatedHostsRequest) SetDedicatedHostSpec(dedicatedHostSpec *dh.DedicatedHostSpec)
param dedicatedHostSpec: 描述专有宿主机配置
(Required)
func (*AllocDedicatedHostsRequest) SetDeployPolicy ¶
func (r *AllocDedicatedHostsRequest) SetDeployPolicy(deployPolicy string)
param deployPolicy: 是否支持AZ内专有宿主机强制均衡,默认为preferred--非强制,取值[preferred--非强制,required--强制]
(Optional)
func (*AllocDedicatedHostsRequest) SetMaxCount ¶
func (r *AllocDedicatedHostsRequest) SetMaxCount(maxCount int)
param maxCount: 购买云主机的数量;取值范围:[1,100],默认为1。
(Optional)
func (*AllocDedicatedHostsRequest) SetRegionId ¶
func (r *AllocDedicatedHostsRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type AllocDedicatedHostsResponse ¶
type AllocDedicatedHostsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AllocDedicatedHostsResult `json:"result"` }
type AllocDedicatedHostsResult ¶
type AllocDedicatedHostsResult struct {
DedicatedHostIds []string `json:"dedicatedHostIds"`
}
type AllocDedicatedPoolRequest ¶
type AllocDedicatedPoolRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 支持的专有宿主机机型,每个专有宿主机池只能且必须指定一个专有宿主机机型 (Optional) */ DedicatedHostType *string `json:"dedicatedHostType"` /* 专有宿主机池名称 (Optional) */ Name *string `json:"name"` /* 指定专有宿主机池支持的可用区,可指定多个。 (Optional) */ Az []string `json:"az"` /* 专有宿主机池的描述信息。 (Optional) */ Description *string `json:"description"` }
func NewAllocDedicatedPoolRequest ¶
func NewAllocDedicatedPoolRequest( regionId string, ) *AllocDedicatedPoolRequest
* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAllocDedicatedPoolRequestWithAllParams ¶
func NewAllocDedicatedPoolRequestWithAllParams( regionId string, dedicatedHostType *string, name *string, az []string, description *string, ) *AllocDedicatedPoolRequest
* param regionId: 地域ID (Required) * param dedicatedHostType: 支持的专有宿主机机型,每个专有宿主机池只能且必须指定一个专有宿主机机型 (Optional) * param name: 专有宿主机池名称 (Optional) * param az: 指定专有宿主机池支持的可用区,可指定多个。 (Optional) * param description: 专有宿主机池的描述信息。 (Optional)
func NewAllocDedicatedPoolRequestWithoutParam ¶
func NewAllocDedicatedPoolRequestWithoutParam() *AllocDedicatedPoolRequest
This constructor has better compatible ability when API parameters changed
func (AllocDedicatedPoolRequest) GetRegionId ¶
func (r AllocDedicatedPoolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AllocDedicatedPoolRequest) SetAz ¶
func (r *AllocDedicatedPoolRequest) SetAz(az []string)
param az: 指定专有宿主机池支持的可用区,可指定多个。
(Optional)
func (*AllocDedicatedPoolRequest) SetDedicatedHostType ¶
func (r *AllocDedicatedPoolRequest) SetDedicatedHostType(dedicatedHostType string)
param dedicatedHostType: 支持的专有宿主机机型,每个专有宿主机池只能且必须指定一个专有宿主机机型
(Optional)
func (*AllocDedicatedPoolRequest) SetDescription ¶
func (r *AllocDedicatedPoolRequest) SetDescription(description string)
param description: 专有宿主机池的描述信息。
(Optional)
func (*AllocDedicatedPoolRequest) SetName ¶
func (r *AllocDedicatedPoolRequest) SetName(name string)
param name: 专有宿主机池名称
(Optional)
func (*AllocDedicatedPoolRequest) SetRegionId ¶
func (r *AllocDedicatedPoolRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type AllocDedicatedPoolResponse ¶
type AllocDedicatedPoolResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AllocDedicatedPoolResult `json:"result"` }
type AllocDedicatedPoolResult ¶
type AllocDedicatedPoolResult struct {
DedicatedPoolId string `json:"dedicatedPoolId"`
}
type DescribeDedicatedHostTypeRequest ¶
type DescribeDedicatedHostTypeRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* dedicatedHostType - 专有宿主机机型,精确匹配,支持多个 az - 可用区,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeDedicatedHostTypeRequest ¶
func NewDescribeDedicatedHostTypeRequest( regionId string, ) *DescribeDedicatedHostTypeRequest
* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDedicatedHostTypeRequestWithAllParams ¶
func NewDescribeDedicatedHostTypeRequestWithAllParams( regionId string, filters []common.Filter, ) *DescribeDedicatedHostTypeRequest
- param regionId: 地域ID (Required)
- param filters: dedicatedHostType - 专有宿主机机型,精确匹配,支持多个
az - 可用区,精确匹配,支持多个
(Optional)
func NewDescribeDedicatedHostTypeRequestWithoutParam ¶
func NewDescribeDedicatedHostTypeRequestWithoutParam() *DescribeDedicatedHostTypeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDedicatedHostTypeRequest) GetRegionId ¶
func (r DescribeDedicatedHostTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDedicatedHostTypeRequest) SetFilters ¶
func (r *DescribeDedicatedHostTypeRequest) SetFilters(filters []common.Filter)
param filters: dedicatedHostType - 专有宿主机机型,精确匹配,支持多个
az - 可用区,精确匹配,支持多个 (Optional)
func (*DescribeDedicatedHostTypeRequest) SetRegionId ¶
func (r *DescribeDedicatedHostTypeRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type DescribeDedicatedHostTypeResponse ¶
type DescribeDedicatedHostTypeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDedicatedHostTypeResult `json:"result"` }
type DescribeDedicatedHostsRequest ¶
type DescribeDedicatedHostsRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* dedicatedHostId - 专有宿主机ID,精确匹配,支持多个 az - 可用区,精确匹配,支持多个 status - 专有宿主机状态,精确匹配,支持多个,<a href="http://docs.jdcloud.com/dedicated-hosts/api/dh_status">参考专有宿主机状态</a> name - 专有宿主机名称,模糊匹配,支持单个 dedicatedPoolId - 专有宿主机池ID,精确匹配,支持多个 dedicatedHostType - 专有宿主机机型,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeDedicatedHostsRequest ¶
func NewDescribeDedicatedHostsRequest( regionId string, ) *DescribeDedicatedHostsRequest
* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDedicatedHostsRequestWithAllParams ¶
func NewDescribeDedicatedHostsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeDedicatedHostsRequest
- param regionId: 地域ID (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
- param filters: dedicatedHostId - 专有宿主机ID,精确匹配,支持多个
az - 可用区,精确匹配,支持多个 status - 专有宿主机状态,精确匹配,支持多个,<a href="http://docs.jdcloud.com/dedicated-hosts/api/dh_status">参考专有宿主机状态</a> name - 专有宿主机名称,模糊匹配,支持单个 dedicatedPoolId - 专有宿主机池ID,精确匹配,支持多个 dedicatedHostType - 专有宿主机机型,精确匹配,支持多个
(Optional)
func NewDescribeDedicatedHostsRequestWithoutParam ¶
func NewDescribeDedicatedHostsRequestWithoutParam() *DescribeDedicatedHostsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDedicatedHostsRequest) GetRegionId ¶
func (r DescribeDedicatedHostsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDedicatedHostsRequest) SetFilters ¶
func (r *DescribeDedicatedHostsRequest) SetFilters(filters []common.Filter)
param filters: dedicatedHostId - 专有宿主机ID,精确匹配,支持多个
az - 可用区,精确匹配,支持多个 status - 专有宿主机状态,精确匹配,支持多个,<a href="http://docs.jdcloud.com/dedicated-hosts/api/dh_status">参考专有宿主机状态</a> name - 专有宿主机名称,模糊匹配,支持单个 dedicatedPoolId - 专有宿主机池ID,精确匹配,支持多个 dedicatedHostType - 专有宿主机机型,精确匹配,支持多个 (Optional)
func (*DescribeDedicatedHostsRequest) SetPageNumber ¶
func (r *DescribeDedicatedHostsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeDedicatedHostsRequest) SetPageSize ¶
func (r *DescribeDedicatedHostsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeDedicatedHostsRequest) SetRegionId ¶
func (r *DescribeDedicatedHostsRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type DescribeDedicatedHostsResponse ¶
type DescribeDedicatedHostsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDedicatedHostsResult `json:"result"` }
type DescribeDedicatedHostsResult ¶
type DescribeDedicatedHostsResult struct { DedicatedHosts []dh.DedicatedHost `json:"dedicatedHosts"` TotalCount int `json:"totalCount"` }
type DescribeDedicatedPoolsRequest ¶
type DescribeDedicatedPoolsRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* dedicatedPoolId - 专有宿主机池ID,精确匹配,支持多个 name - 专有宿主机名称,模糊匹配,支持单个 dedicatedHostType - 专有宿主机机型,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeDedicatedPoolsRequest ¶
func NewDescribeDedicatedPoolsRequest( regionId string, ) *DescribeDedicatedPoolsRequest
* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDedicatedPoolsRequestWithAllParams ¶
func NewDescribeDedicatedPoolsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeDedicatedPoolsRequest
- param regionId: 地域ID (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
- param filters: dedicatedPoolId - 专有宿主机池ID,精确匹配,支持多个
name - 专有宿主机名称,模糊匹配,支持单个 dedicatedHostType - 专有宿主机机型,精确匹配,支持多个
(Optional)
func NewDescribeDedicatedPoolsRequestWithoutParam ¶
func NewDescribeDedicatedPoolsRequestWithoutParam() *DescribeDedicatedPoolsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDedicatedPoolsRequest) GetRegionId ¶
func (r DescribeDedicatedPoolsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDedicatedPoolsRequest) SetFilters ¶
func (r *DescribeDedicatedPoolsRequest) SetFilters(filters []common.Filter)
param filters: dedicatedPoolId - 专有宿主机池ID,精确匹配,支持多个
name - 专有宿主机名称,模糊匹配,支持单个 dedicatedHostType - 专有宿主机机型,精确匹配,支持多个 (Optional)
func (*DescribeDedicatedPoolsRequest) SetPageNumber ¶
func (r *DescribeDedicatedPoolsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeDedicatedPoolsRequest) SetPageSize ¶
func (r *DescribeDedicatedPoolsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeDedicatedPoolsRequest) SetRegionId ¶
func (r *DescribeDedicatedPoolsRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type DescribeDedicatedPoolsResponse ¶
type DescribeDedicatedPoolsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDedicatedPoolsResult `json:"result"` }
type DescribeDedicatedPoolsResult ¶
type DescribeDedicatedPoolsResult struct { DedicatedPools []dh.DedicatedPool `json:"dedicatedPools"` TotalCount int `json:"totalCount"` }
type DescribeQuotasRequest ¶
type DescribeQuotasRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* resourceTypes - 资源类型,支持多个[dedicatedHost,dedicatedPool] (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeQuotasRequest ¶
func NewDescribeQuotasRequest( regionId string, ) *DescribeQuotasRequest
* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeQuotasRequestWithAllParams ¶
func NewDescribeQuotasRequestWithAllParams( regionId string, filters []common.Filter, ) *DescribeQuotasRequest
* param regionId: 地域ID (Required) * param filters: resourceTypes - 资源类型,支持多个[dedicatedHost,dedicatedPool] (Optional)
func NewDescribeQuotasRequestWithoutParam ¶
func NewDescribeQuotasRequestWithoutParam() *DescribeQuotasRequest
This constructor has better compatible ability when API parameters changed
func (DescribeQuotasRequest) GetRegionId ¶
func (r DescribeQuotasRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeQuotasRequest) SetFilters ¶
func (r *DescribeQuotasRequest) SetFilters(filters []common.Filter)
param filters: resourceTypes - 资源类型,支持多个[dedicatedHost,dedicatedPool]
(Optional)
func (*DescribeQuotasRequest) SetRegionId ¶
func (r *DescribeQuotasRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type DescribeQuotasResponse ¶
type DescribeQuotasResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeQuotasResult `json:"result"` }
type DescribeQuotasResult ¶
type ModifyDedicatedHostAttributeRequest ¶
type ModifyDedicatedHostAttributeRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 专有宿主机ID */ DedicatedHostId string `json:"dedicatedHostId"` /* 名称,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional) */ Name *string `json:"name"` /* 描述,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional) */ Description *string `json:"description"` }
func NewModifyDedicatedHostAttributeRequest ¶
func NewModifyDedicatedHostAttributeRequest( regionId string, dedicatedHostId string, ) *ModifyDedicatedHostAttributeRequest
* param regionId: 地域ID (Required) * param dedicatedHostId: 专有宿主机ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyDedicatedHostAttributeRequestWithAllParams ¶
func NewModifyDedicatedHostAttributeRequestWithAllParams( regionId string, dedicatedHostId string, name *string, description *string, ) *ModifyDedicatedHostAttributeRequest
* param regionId: 地域ID (Required) * param dedicatedHostId: 专有宿主机ID (Required) * param name: 名称,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional) * param description: 描述,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional)
func NewModifyDedicatedHostAttributeRequestWithoutParam ¶
func NewModifyDedicatedHostAttributeRequestWithoutParam() *ModifyDedicatedHostAttributeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyDedicatedHostAttributeRequest) GetRegionId ¶
func (r ModifyDedicatedHostAttributeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyDedicatedHostAttributeRequest) SetDedicatedHostId ¶
func (r *ModifyDedicatedHostAttributeRequest) SetDedicatedHostId(dedicatedHostId string)
param dedicatedHostId: 专有宿主机ID(Required)
func (*ModifyDedicatedHostAttributeRequest) SetDescription ¶
func (r *ModifyDedicatedHostAttributeRequest) SetDescription(description string)
param description: 描述,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。(Optional)
func (*ModifyDedicatedHostAttributeRequest) SetName ¶
func (r *ModifyDedicatedHostAttributeRequest) SetName(name string)
param name: 名称,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。(Optional)
func (*ModifyDedicatedHostAttributeRequest) SetRegionId ¶
func (r *ModifyDedicatedHostAttributeRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type ModifyDedicatedHostAttributeResponse ¶
type ModifyDedicatedHostAttributeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyDedicatedHostAttributeResult `json:"result"` }
type ModifyDedicatedHostAttributeResult ¶
type ModifyDedicatedHostAttributeResult struct { }
type ModifyDedicatedPoolAttributeRequest ¶
type ModifyDedicatedPoolAttributeRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 专有宿主机ID */ DedicatedPoolId string `json:"dedicatedPoolId"` /* 名称,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional) */ Name *string `json:"name"` /* 描述,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional) */ Description *string `json:"description"` /* 指定宿主机池申请专有宿主机时默认继承的可用区。<br> 修改可用区时旧可用区必须是新可用区的子集,即可用区只能添加,不能减少。 (Optional) */ Az []string `json:"az"` }
func NewModifyDedicatedPoolAttributeRequest ¶
func NewModifyDedicatedPoolAttributeRequest( regionId string, dedicatedPoolId string, ) *ModifyDedicatedPoolAttributeRequest
* param regionId: 地域ID (Required) * param dedicatedPoolId: 专有宿主机ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyDedicatedPoolAttributeRequestWithAllParams ¶
func NewModifyDedicatedPoolAttributeRequestWithAllParams( regionId string, dedicatedPoolId string, name *string, description *string, az []string, ) *ModifyDedicatedPoolAttributeRequest
- param regionId: 地域ID (Required)
- param dedicatedPoolId: 专有宿主机ID (Required)
- param name: 名称,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional)
- param description: 描述,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。 (Optional)
- param az: 指定宿主机池申请专有宿主机时默认继承的可用区。<br>
修改可用区时旧可用区必须是新可用区的子集,即可用区只能添加,不能减少。
(Optional)
func NewModifyDedicatedPoolAttributeRequestWithoutParam ¶
func NewModifyDedicatedPoolAttributeRequestWithoutParam() *ModifyDedicatedPoolAttributeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyDedicatedPoolAttributeRequest) GetRegionId ¶
func (r ModifyDedicatedPoolAttributeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyDedicatedPoolAttributeRequest) SetAz ¶
func (r *ModifyDedicatedPoolAttributeRequest) SetAz(az []string)
param az: 指定宿主机池申请专有宿主机时默认继承的可用区。<br>
修改可用区时旧可用区必须是新可用区的子集,即可用区只能添加,不能减少。 (Optional)
func (*ModifyDedicatedPoolAttributeRequest) SetDedicatedPoolId ¶
func (r *ModifyDedicatedPoolAttributeRequest) SetDedicatedPoolId(dedicatedPoolId string)
param dedicatedPoolId: 专有宿主机ID(Required)
func (*ModifyDedicatedPoolAttributeRequest) SetDescription ¶
func (r *ModifyDedicatedPoolAttributeRequest) SetDescription(description string)
param description: 描述,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。(Optional)
func (*ModifyDedicatedPoolAttributeRequest) SetName ¶
func (r *ModifyDedicatedPoolAttributeRequest) SetName(name string)
param name: 名称,<a href="http://docs.jdcloud.com/virtual-machines/api/general_parameters">参考公共参数规范</a>。(Optional)
func (*ModifyDedicatedPoolAttributeRequest) SetRegionId ¶
func (r *ModifyDedicatedPoolAttributeRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type ModifyDedicatedPoolAttributeResponse ¶
type ModifyDedicatedPoolAttributeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyDedicatedPoolAttributeResult `json:"result"` }
type ModifyDedicatedPoolAttributeResult ¶
type ModifyDedicatedPoolAttributeResult struct { }
type ReleaseDedicatedHostRequest ¶
type ReleaseDedicatedHostRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 专有宿主机ID */ DedicatedHostId string `json:"dedicatedHostId"` }
func NewReleaseDedicatedHostRequest ¶
func NewReleaseDedicatedHostRequest( regionId string, dedicatedHostId string, ) *ReleaseDedicatedHostRequest
* param regionId: 地域ID (Required) * param dedicatedHostId: 专有宿主机ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewReleaseDedicatedHostRequestWithAllParams ¶
func NewReleaseDedicatedHostRequestWithAllParams( regionId string, dedicatedHostId string, ) *ReleaseDedicatedHostRequest
* param regionId: 地域ID (Required) * param dedicatedHostId: 专有宿主机ID (Required)
func NewReleaseDedicatedHostRequestWithoutParam ¶
func NewReleaseDedicatedHostRequestWithoutParam() *ReleaseDedicatedHostRequest
This constructor has better compatible ability when API parameters changed
func (ReleaseDedicatedHostRequest) GetRegionId ¶
func (r ReleaseDedicatedHostRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ReleaseDedicatedHostRequest) SetDedicatedHostId ¶
func (r *ReleaseDedicatedHostRequest) SetDedicatedHostId(dedicatedHostId string)
param dedicatedHostId: 专有宿主机ID(Required)
func (*ReleaseDedicatedHostRequest) SetRegionId ¶
func (r *ReleaseDedicatedHostRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type ReleaseDedicatedHostResponse ¶
type ReleaseDedicatedHostResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ReleaseDedicatedHostResult `json:"result"` }
type ReleaseDedicatedHostResult ¶
type ReleaseDedicatedHostResult struct { }
type ReleaseDedicatedPoolRequest ¶
type ReleaseDedicatedPoolRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 专有宿主机ID */ DedicatedPoolId string `json:"dedicatedPoolId"` }
func NewReleaseDedicatedPoolRequest ¶
func NewReleaseDedicatedPoolRequest( regionId string, dedicatedPoolId string, ) *ReleaseDedicatedPoolRequest
* param regionId: 地域ID (Required) * param dedicatedPoolId: 专有宿主机ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewReleaseDedicatedPoolRequestWithAllParams ¶
func NewReleaseDedicatedPoolRequestWithAllParams( regionId string, dedicatedPoolId string, ) *ReleaseDedicatedPoolRequest
* param regionId: 地域ID (Required) * param dedicatedPoolId: 专有宿主机ID (Required)
func NewReleaseDedicatedPoolRequestWithoutParam ¶
func NewReleaseDedicatedPoolRequestWithoutParam() *ReleaseDedicatedPoolRequest
This constructor has better compatible ability when API parameters changed
func (ReleaseDedicatedPoolRequest) GetRegionId ¶
func (r ReleaseDedicatedPoolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ReleaseDedicatedPoolRequest) SetDedicatedPoolId ¶
func (r *ReleaseDedicatedPoolRequest) SetDedicatedPoolId(dedicatedPoolId string)
param dedicatedPoolId: 专有宿主机ID(Required)
func (*ReleaseDedicatedPoolRequest) SetRegionId ¶
func (r *ReleaseDedicatedPoolRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
type ReleaseDedicatedPoolResponse ¶
type ReleaseDedicatedPoolResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ReleaseDedicatedPoolResult `json:"result"` }
type ReleaseDedicatedPoolResult ¶
type ReleaseDedicatedPoolResult struct { }