Documentation ¶
Index ¶
- type CreateInstanceVoucherRequest
- func NewCreateInstanceVoucherRequest(regionId string, instanceVoucherSpec *instancevoucher.InstanceVoucherSpec) *CreateInstanceVoucherRequest
- func NewCreateInstanceVoucherRequestWithAllParams(regionId string, instanceVoucherSpec *instancevoucher.InstanceVoucherSpec, ...) *CreateInstanceVoucherRequest
- func NewCreateInstanceVoucherRequestWithoutParam() *CreateInstanceVoucherRequest
- func (r CreateInstanceVoucherRequest) GetRegionId() string
- func (r *CreateInstanceVoucherRequest) SetClientToken(clientToken string)
- func (r *CreateInstanceVoucherRequest) SetInstanceVoucherSpec(instanceVoucherSpec *instancevoucher.InstanceVoucherSpec)
- func (r *CreateInstanceVoucherRequest) SetRegionId(regionId string)
- type CreateInstanceVoucherResponse
- type CreateInstanceVoucherResult
- type DeleteInstanceVoucherRequest
- func NewDeleteInstanceVoucherRequest(regionId string, instanceVoucherId string) *DeleteInstanceVoucherRequest
- func NewDeleteInstanceVoucherRequestWithAllParams(regionId string, instanceVoucherId string) *DeleteInstanceVoucherRequest
- func NewDeleteInstanceVoucherRequestWithoutParam() *DeleteInstanceVoucherRequest
- type DeleteInstanceVoucherResponse
- type DeleteInstanceVoucherResult
- type DescribeInstanceVoucherRequest
- func NewDescribeInstanceVoucherRequest(regionId string, instanceVoucherId string) *DescribeInstanceVoucherRequest
- func NewDescribeInstanceVoucherRequestWithAllParams(regionId string, instanceVoucherId string) *DescribeInstanceVoucherRequest
- func NewDescribeInstanceVoucherRequestWithoutParam() *DescribeInstanceVoucherRequest
- type DescribeInstanceVoucherResponse
- type DescribeInstanceVoucherResult
- type DescribeInstanceVoucherTypesRequest
- func NewDescribeInstanceVoucherTypesRequest(regionId string) *DescribeInstanceVoucherTypesRequest
- func NewDescribeInstanceVoucherTypesRequestWithAllParams(regionId string, resourceType *string, reservedType *string, ...) *DescribeInstanceVoucherTypesRequest
- func NewDescribeInstanceVoucherTypesRequestWithoutParam() *DescribeInstanceVoucherTypesRequest
- func (r DescribeInstanceVoucherTypesRequest) GetRegionId() string
- func (r *DescribeInstanceVoucherTypesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeInstanceVoucherTypesRequest) SetRegionId(regionId string)
- func (r *DescribeInstanceVoucherTypesRequest) SetReservedType(reservedType string)
- func (r *DescribeInstanceVoucherTypesRequest) SetResourceType(resourceType string)
- type DescribeInstanceVoucherTypesResponse
- type DescribeInstanceVoucherTypesResult
- type DescribeInstanceVouchersRequest
- func NewDescribeInstanceVouchersRequest(regionId string) *DescribeInstanceVouchersRequest
- func NewDescribeInstanceVouchersRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeInstanceVouchersRequest
- func NewDescribeInstanceVouchersRequestWithoutParam() *DescribeInstanceVouchersRequest
- func (r DescribeInstanceVouchersRequest) GetRegionId() string
- func (r *DescribeInstanceVouchersRequest) SetFilters(filters []common.Filter)
- func (r *DescribeInstanceVouchersRequest) SetPageNumber(pageNumber int)
- func (r *DescribeInstanceVouchersRequest) SetPageSize(pageSize int)
- func (r *DescribeInstanceVouchersRequest) SetRegionId(regionId string)
- type DescribeInstanceVouchersResponse
- type DescribeInstanceVouchersResult
- type DescribeQuotasRequest
- type DescribeQuotasResponse
- type DescribeQuotasResult
- type ModifyInstanceVoucherAttributeRequest
- func NewModifyInstanceVoucherAttributeRequest(regionId string, instanceVoucherId string) *ModifyInstanceVoucherAttributeRequest
- func NewModifyInstanceVoucherAttributeRequestWithAllParams(regionId string, instanceVoucherId string, name *string, description *string) *ModifyInstanceVoucherAttributeRequest
- func NewModifyInstanceVoucherAttributeRequestWithoutParam() *ModifyInstanceVoucherAttributeRequest
- func (r ModifyInstanceVoucherAttributeRequest) GetRegionId() string
- func (r *ModifyInstanceVoucherAttributeRequest) SetDescription(description string)
- func (r *ModifyInstanceVoucherAttributeRequest) SetInstanceVoucherId(instanceVoucherId string)
- func (r *ModifyInstanceVoucherAttributeRequest) SetName(name string)
- func (r *ModifyInstanceVoucherAttributeRequest) SetRegionId(regionId string)
- type ModifyInstanceVoucherAttributeResponse
- type ModifyInstanceVoucherAttributeResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateInstanceVoucherRequest ¶
type CreateInstanceVoucherRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 创建实例抵扣券规格 */ InstanceVoucherSpec *instancevoucher.InstanceVoucherSpec `json:"instanceVoucherSpec"` /* 保证请求幂等性 (Optional) */ ClientToken *string `json:"clientToken"` }
func NewCreateInstanceVoucherRequest ¶
func NewCreateInstanceVoucherRequest( regionId string, instanceVoucherSpec *instancevoucher.InstanceVoucherSpec, ) *CreateInstanceVoucherRequest
* param regionId: 地域 ID (Required) * param instanceVoucherSpec: 创建实例抵扣券规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateInstanceVoucherRequestWithAllParams ¶
func NewCreateInstanceVoucherRequestWithAllParams( regionId string, instanceVoucherSpec *instancevoucher.InstanceVoucherSpec, clientToken *string, ) *CreateInstanceVoucherRequest
* param regionId: 地域 ID (Required) * param instanceVoucherSpec: 创建实例抵扣券规格 (Required) * param clientToken: 保证请求幂等性 (Optional)
func NewCreateInstanceVoucherRequestWithoutParam ¶
func NewCreateInstanceVoucherRequestWithoutParam() *CreateInstanceVoucherRequest
This constructor has better compatible ability when API parameters changed
func (CreateInstanceVoucherRequest) GetRegionId ¶
func (r CreateInstanceVoucherRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateInstanceVoucherRequest) SetClientToken ¶
func (r *CreateInstanceVoucherRequest) SetClientToken(clientToken string)
param clientToken: 保证请求幂等性(Optional)
func (*CreateInstanceVoucherRequest) SetInstanceVoucherSpec ¶
func (r *CreateInstanceVoucherRequest) SetInstanceVoucherSpec(instanceVoucherSpec *instancevoucher.InstanceVoucherSpec)
param instanceVoucherSpec: 创建实例抵扣券规格(Required)
func (*CreateInstanceVoucherRequest) SetRegionId ¶
func (r *CreateInstanceVoucherRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type CreateInstanceVoucherResponse ¶
type CreateInstanceVoucherResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateInstanceVoucherResult `json:"result"` }
type CreateInstanceVoucherResult ¶
type CreateInstanceVoucherResult struct {
InstanceVoucherId string `json:"instanceVoucherId"`
}
type DeleteInstanceVoucherRequest ¶
type DeleteInstanceVoucherRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 实例抵扣券 ID */ InstanceVoucherId string `json:"instanceVoucherId"` }
func NewDeleteInstanceVoucherRequest ¶
func NewDeleteInstanceVoucherRequest( regionId string, instanceVoucherId string, ) *DeleteInstanceVoucherRequest
* param regionId: 地域 ID (Required) * param instanceVoucherId: 实例抵扣券 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteInstanceVoucherRequestWithAllParams ¶
func NewDeleteInstanceVoucherRequestWithAllParams( regionId string, instanceVoucherId string, ) *DeleteInstanceVoucherRequest
* param regionId: 地域 ID (Required) * param instanceVoucherId: 实例抵扣券 ID (Required)
func NewDeleteInstanceVoucherRequestWithoutParam ¶
func NewDeleteInstanceVoucherRequestWithoutParam() *DeleteInstanceVoucherRequest
This constructor has better compatible ability when API parameters changed
func (DeleteInstanceVoucherRequest) GetRegionId ¶
func (r DeleteInstanceVoucherRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteInstanceVoucherRequest) SetInstanceVoucherId ¶
func (r *DeleteInstanceVoucherRequest) SetInstanceVoucherId(instanceVoucherId string)
param instanceVoucherId: 实例抵扣券 ID(Required)
func (*DeleteInstanceVoucherRequest) SetRegionId ¶
func (r *DeleteInstanceVoucherRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DeleteInstanceVoucherResponse ¶
type DeleteInstanceVoucherResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteInstanceVoucherResult `json:"result"` }
type DeleteInstanceVoucherResult ¶
type DeleteInstanceVoucherResult struct { }
type DescribeInstanceVoucherRequest ¶
type DescribeInstanceVoucherRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 实例抵扣券 ID */ InstanceVoucherId string `json:"instanceVoucherId"` }
func NewDescribeInstanceVoucherRequest ¶
func NewDescribeInstanceVoucherRequest( regionId string, instanceVoucherId string, ) *DescribeInstanceVoucherRequest
* param regionId: 地域 ID (Required) * param instanceVoucherId: 实例抵扣券 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceVoucherRequestWithAllParams ¶
func NewDescribeInstanceVoucherRequestWithAllParams( regionId string, instanceVoucherId string, ) *DescribeInstanceVoucherRequest
* param regionId: 地域 ID (Required) * param instanceVoucherId: 实例抵扣券 ID (Required)
func NewDescribeInstanceVoucherRequestWithoutParam ¶
func NewDescribeInstanceVoucherRequestWithoutParam() *DescribeInstanceVoucherRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceVoucherRequest) GetRegionId ¶
func (r DescribeInstanceVoucherRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceVoucherRequest) SetInstanceVoucherId ¶
func (r *DescribeInstanceVoucherRequest) SetInstanceVoucherId(instanceVoucherId string)
param instanceVoucherId: 实例抵扣券 ID(Required)
func (*DescribeInstanceVoucherRequest) SetRegionId ¶
func (r *DescribeInstanceVoucherRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DescribeInstanceVoucherResponse ¶
type DescribeInstanceVoucherResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceVoucherResult `json:"result"` }
type DescribeInstanceVoucherResult ¶
type DescribeInstanceVoucherResult struct {
InstanceVoucher instancevoucher.InstanceVoucher `json:"instanceVoucher"`
}
type DescribeInstanceVoucherTypesRequest ¶
type DescribeInstanceVoucherTypesRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 产品类型 支持[vm, nativecontainer, pod],默认为vm (Optional) */ ResourceType *string `json:"resourceType"` /* 资源分配方式,支持[nonReserved] (Optional) */ ReservedType *string `json:"reservedType"` /* Filter names: (仅支持eq) instanceType - 实例规格,精确匹配,支持多个 instanceTypeFamily - 实例规格族,精确匹配,支持多个 az - 可用区,精确匹配,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeInstanceVoucherTypesRequest ¶
func NewDescribeInstanceVoucherTypesRequest( regionId string, ) *DescribeInstanceVoucherTypesRequest
* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceVoucherTypesRequestWithAllParams ¶
func NewDescribeInstanceVoucherTypesRequestWithAllParams( regionId string, resourceType *string, reservedType *string, filters []common.Filter, ) *DescribeInstanceVoucherTypesRequest
- param regionId: 地域ID (Required)
- param resourceType: 产品类型 支持[vm, nativecontainer, pod],默认为vm (Optional)
- param reservedType: 资源分配方式,支持[nonReserved] (Optional)
- param filters: Filter names: (仅支持eq)
instanceType - 实例规格,精确匹配,支持多个 instanceTypeFamily - 实例规格族,精确匹配,支持多个 az - 可用区,精确匹配,支持多个
(Optional)
func NewDescribeInstanceVoucherTypesRequestWithoutParam ¶
func NewDescribeInstanceVoucherTypesRequestWithoutParam() *DescribeInstanceVoucherTypesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceVoucherTypesRequest) GetRegionId ¶
func (r DescribeInstanceVoucherTypesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceVoucherTypesRequest) SetFilters ¶
func (r *DescribeInstanceVoucherTypesRequest) SetFilters(filters []common.Filter)
param filters: Filter names: (仅支持eq)
instanceType - 实例规格,精确匹配,支持多个 instanceTypeFamily - 实例规格族,精确匹配,支持多个 az - 可用区,精确匹配,支持多个 (Optional)
func (*DescribeInstanceVoucherTypesRequest) SetRegionId ¶
func (r *DescribeInstanceVoucherTypesRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
func (*DescribeInstanceVoucherTypesRequest) SetReservedType ¶
func (r *DescribeInstanceVoucherTypesRequest) SetReservedType(reservedType string)
param reservedType: 资源分配方式,支持[nonReserved](Optional)
func (*DescribeInstanceVoucherTypesRequest) SetResourceType ¶
func (r *DescribeInstanceVoucherTypesRequest) SetResourceType(resourceType string)
param resourceType: 产品类型 支持[vm, nativecontainer, pod],默认为vm(Optional)
type DescribeInstanceVoucherTypesResponse ¶
type DescribeInstanceVoucherTypesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceVoucherTypesResult `json:"result"` }
type DescribeInstanceVoucherTypesResult ¶
type DescribeInstanceVoucherTypesResult struct {
InstanceVoucherTypes []instancevoucher.InstanceVoucherType `json:"instanceVoucherTypes"`
}
type DescribeInstanceVouchersRequest ¶
type DescribeInstanceVouchersRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 页码;默认为1 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小;默认为20;取值范围[10, 100] (Optional) */ PageSize *int `json:"pageSize"` /* Filter names: (仅支持eq) instanceVoucherId - 实例ID,精确匹配,支持多个 name - 实例名称,模糊匹配,支持多个 resourceType - 产品类型,精确匹配,支持多个 支持[vm nativecontainer pod] reservedType - 资源分配方式,精确匹配,支持多个 支持[nonReserved] status - 实例抵扣券状态,精确匹配,支持多个 instanceTypeFamily - 实例规格族,精确匹配,支持多个(适用于非预留型) (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeInstanceVouchersRequest ¶
func NewDescribeInstanceVouchersRequest( regionId string, ) *DescribeInstanceVouchersRequest
* param regionId: 地域 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceVouchersRequestWithAllParams ¶
func NewDescribeInstanceVouchersRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeInstanceVouchersRequest
- param regionId: 地域 ID (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
- param filters: Filter names: (仅支持eq)
instanceVoucherId - 实例ID,精确匹配,支持多个 name - 实例名称,模糊匹配,支持多个 resourceType - 产品类型,精确匹配,支持多个 支持[vm nativecontainer pod] reservedType - 资源分配方式,精确匹配,支持多个 支持[nonReserved] status - 实例抵扣券状态,精确匹配,支持多个 instanceTypeFamily - 实例规格族,精确匹配,支持多个(适用于非预留型)
(Optional)
func NewDescribeInstanceVouchersRequestWithoutParam ¶
func NewDescribeInstanceVouchersRequestWithoutParam() *DescribeInstanceVouchersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceVouchersRequest) GetRegionId ¶
func (r DescribeInstanceVouchersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceVouchersRequest) SetFilters ¶
func (r *DescribeInstanceVouchersRequest) SetFilters(filters []common.Filter)
param filters: Filter names: (仅支持eq)
instanceVoucherId - 实例ID,精确匹配,支持多个 name - 实例名称,模糊匹配,支持多个 resourceType - 产品类型,精确匹配,支持多个 支持[vm nativecontainer pod] reservedType - 资源分配方式,精确匹配,支持多个 支持[nonReserved] status - 实例抵扣券状态,精确匹配,支持多个 instanceTypeFamily - 实例规格族,精确匹配,支持多个(适用于非预留型) (Optional)
func (*DescribeInstanceVouchersRequest) SetPageNumber ¶
func (r *DescribeInstanceVouchersRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeInstanceVouchersRequest) SetPageSize ¶
func (r *DescribeInstanceVouchersRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeInstanceVouchersRequest) SetRegionId ¶
func (r *DescribeInstanceVouchersRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DescribeInstanceVouchersResponse ¶
type DescribeInstanceVouchersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceVouchersResult `json:"result"` }
type DescribeInstanceVouchersResult ¶
type DescribeInstanceVouchersResult struct { InstanceVouchers []instancevoucher.InstanceVoucher `json:"instanceVouchers"` TotalCount int `json:"totalCount"` }
type DescribeQuotasRequest ¶
type DescribeQuotasRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* Filter names: (仅支持eq) resourceType - 产品类型,精确匹配,支持多个 支持[vm, nativecontainer, pod] reservedType - 资源分配方式,精确匹配,支持多个 支持[nonReserved] (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: Filter names: (仅支持eq)
resourceType - 产品类型,精确匹配,支持多个 支持[vm, nativecontainer, pod] reservedType - 资源分配方式,精确匹配,支持多个 支持[nonReserved]
(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: Filter names: (仅支持eq)
resourceType - 产品类型,精确匹配,支持多个 支持[vm, nativecontainer, pod] reservedType - 资源分配方式,精确匹配,支持多个 支持[nonReserved] (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 DescribeQuotasResult struct {
Quotas []instancevoucher.Quota `json:"quotas"`
}
type ModifyInstanceVoucherAttributeRequest ¶
type ModifyInstanceVoucherAttributeRequest struct { core.JDCloudRequest /* 地域 ID */ RegionId string `json:"regionId"` /* 实例抵扣券 ID */ InstanceVoucherId string `json:"instanceVoucherId"` /* 实例抵扣券名称 (Optional) */ Name *string `json:"name"` /* 实例抵扣券描述 (Optional) */ Description *string `json:"description"` }
func NewModifyInstanceVoucherAttributeRequest ¶
func NewModifyInstanceVoucherAttributeRequest( regionId string, instanceVoucherId string, ) *ModifyInstanceVoucherAttributeRequest
* param regionId: 地域 ID (Required) * param instanceVoucherId: 实例抵扣券 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyInstanceVoucherAttributeRequestWithAllParams ¶
func NewModifyInstanceVoucherAttributeRequestWithAllParams( regionId string, instanceVoucherId string, name *string, description *string, ) *ModifyInstanceVoucherAttributeRequest
* param regionId: 地域 ID (Required) * param instanceVoucherId: 实例抵扣券 ID (Required) * param name: 实例抵扣券名称 (Optional) * param description: 实例抵扣券描述 (Optional)
func NewModifyInstanceVoucherAttributeRequestWithoutParam ¶
func NewModifyInstanceVoucherAttributeRequestWithoutParam() *ModifyInstanceVoucherAttributeRequest
This constructor has better compatible ability when API parameters changed
func (ModifyInstanceVoucherAttributeRequest) GetRegionId ¶
func (r ModifyInstanceVoucherAttributeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyInstanceVoucherAttributeRequest) SetDescription ¶
func (r *ModifyInstanceVoucherAttributeRequest) SetDescription(description string)
param description: 实例抵扣券描述(Optional)
func (*ModifyInstanceVoucherAttributeRequest) SetInstanceVoucherId ¶
func (r *ModifyInstanceVoucherAttributeRequest) SetInstanceVoucherId(instanceVoucherId string)
param instanceVoucherId: 实例抵扣券 ID(Required)
func (*ModifyInstanceVoucherAttributeRequest) SetName ¶
func (r *ModifyInstanceVoucherAttributeRequest) SetName(name string)
param name: 实例抵扣券名称(Optional)
func (*ModifyInstanceVoucherAttributeRequest) SetRegionId ¶
func (r *ModifyInstanceVoucherAttributeRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type ModifyInstanceVoucherAttributeResponse ¶
type ModifyInstanceVoucherAttributeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyInstanceVoucherAttributeResult `json:"result"` }
type ModifyInstanceVoucherAttributeResult ¶
type ModifyInstanceVoucherAttributeResult struct { }