Documentation
¶
Index ¶
- type CreateClusterRequest
- func NewCreateClusterRequest(regionId string, name string, azs []string, ...) *CreateClusterRequest
- func NewCreateClusterRequestWithAllParams(regionId string, name string, description *string, basicAuth *bool, ...) *CreateClusterRequest
- func NewCreateClusterRequestWithoutParam() *CreateClusterRequest
- func (r CreateClusterRequest) GetRegionId() string
- func (r *CreateClusterRequest) SetAccessKey(accessKey string)
- func (r *CreateClusterRequest) SetAzs(azs []string)
- func (r *CreateClusterRequest) SetBasicAuth(basicAuth bool)
- func (r *CreateClusterRequest) SetClientCertificate(clientCertificate bool)
- func (r *CreateClusterRequest) SetDescription(description string)
- func (r *CreateClusterRequest) SetMasterCidr(masterCidr string)
- func (r *CreateClusterRequest) SetName(name string)
- func (r *CreateClusterRequest) SetNodeGroup(nodeGroup *kubernetes.NodeGroupSpec)
- func (r *CreateClusterRequest) SetRegionId(regionId string)
- func (r *CreateClusterRequest) SetSecretKey(secretKey string)
- func (r *CreateClusterRequest) SetUserMetrics(userMetrics bool)
- func (r *CreateClusterRequest) SetVersion(version string)
- type CreateClusterResponse
- type CreateClusterResult
- type CreateNodeGroupRequest
- func NewCreateNodeGroupRequest(regionId string, name string, clusterId string, ...) *CreateNodeGroupRequest
- func NewCreateNodeGroupRequestWithAllParams(regionId string, name string, description *string, clusterId string, ...) *CreateNodeGroupRequest
- func NewCreateNodeGroupRequestWithoutParam() *CreateNodeGroupRequest
- func (r CreateNodeGroupRequest) GetRegionId() string
- func (r *CreateNodeGroupRequest) SetAutoRepair(autoRepair bool)
- func (r *CreateNodeGroupRequest) SetClusterId(clusterId string)
- func (r *CreateNodeGroupRequest) SetDescription(description string)
- func (r *CreateNodeGroupRequest) SetInitialNodeCount(initialNodeCount int)
- func (r *CreateNodeGroupRequest) SetName(name string)
- func (r *CreateNodeGroupRequest) SetNodeCidr(nodeCidr string)
- func (r *CreateNodeGroupRequest) SetNodeConfig(nodeConfig *kubernetes.NodeConfigSpec)
- func (r *CreateNodeGroupRequest) SetRegionId(regionId string)
- func (r *CreateNodeGroupRequest) SetVpcId(vpcId string)
- type CreateNodeGroupResponse
- type CreateNodeGroupResult
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DeleteClusterResult
- type DeleteNodeGroupRequest
- type DeleteNodeGroupResponse
- type DeleteNodeGroupResult
- type DescribeClusterRequest
- type DescribeClusterResponse
- type DescribeClusterResult
- type DescribeClustersRequest
- func (r DescribeClustersRequest) GetRegionId() string
- func (r *DescribeClustersRequest) SetFilters(filters []common.Filter)
- func (r *DescribeClustersRequest) SetPageNumber(pageNumber int)
- func (r *DescribeClustersRequest) SetPageSize(pageSize int)
- func (r *DescribeClustersRequest) SetRegionId(regionId string)
- type DescribeClustersResponse
- type DescribeClustersResult
- type DescribeImagesRequest
- type DescribeImagesResponse
- type DescribeImagesResult
- type DescribeNodeGroupRequest
- type DescribeNodeGroupResponse
- type DescribeNodeGroupResult
- type DescribeNodeGroupsRequest
- func NewDescribeNodeGroupsRequest(regionId string) *DescribeNodeGroupsRequest
- func NewDescribeNodeGroupsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeNodeGroupsRequest
- func NewDescribeNodeGroupsRequestWithoutParam() *DescribeNodeGroupsRequest
- func (r DescribeNodeGroupsRequest) GetRegionId() string
- func (r *DescribeNodeGroupsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeNodeGroupsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeNodeGroupsRequest) SetPageSize(pageSize int)
- func (r *DescribeNodeGroupsRequest) SetRegionId(regionId string)
- type DescribeNodeGroupsResponse
- type DescribeNodeGroupsResult
- type DescribeQuotasRequest
- type DescribeQuotasResponse
- type DescribeQuotasResult
- type DescribeServerConfigRequest
- type DescribeServerConfigResponse
- type DescribeServerConfigResult
- type DescribeVersionsRequest
- type DescribeVersionsResponse
- type DescribeVersionsResult
- type ModifyClusterRequest
- type ModifyClusterResponse
- type ModifyClusterResult
- type ModifyNodeGroupRequest
- func NewModifyNodeGroupRequest(regionId string, nodeGroupId string) *ModifyNodeGroupRequest
- func NewModifyNodeGroupRequestWithAllParams(regionId string, nodeGroupId string, name *string, description *string) *ModifyNodeGroupRequest
- func NewModifyNodeGroupRequestWithoutParam() *ModifyNodeGroupRequest
- func (r ModifyNodeGroupRequest) GetRegionId() string
- func (r *ModifyNodeGroupRequest) SetDescription(description string)
- func (r *ModifyNodeGroupRequest) SetName(name string)
- func (r *ModifyNodeGroupRequest) SetNodeGroupId(nodeGroupId string)
- func (r *ModifyNodeGroupRequest) SetRegionId(regionId string)
- type ModifyNodeGroupResponse
- type ModifyNodeGroupResult
- type SetAutoRepairRequest
- type SetAutoRepairResponse
- type SetAutoRepairResult
- type SetNodeGroupSizeRequest
- func NewSetNodeGroupSizeRequest(regionId string, nodeGroupId string, expectCount int) *SetNodeGroupSizeRequest
- func NewSetNodeGroupSizeRequestWithAllParams(regionId string, nodeGroupId string, expectCount int) *SetNodeGroupSizeRequest
- func NewSetNodeGroupSizeRequestWithoutParam() *SetNodeGroupSizeRequest
- type SetNodeGroupSizeResponse
- type SetNodeGroupSizeResult
- type SetUserMetricsRequest
- type SetUserMetricsResponse
- type SetUserMetricsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateClusterRequest ¶
type CreateClusterRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 名称(同一用户的 cluster 允许重名) */
Name string `json:"name"`
/* 描述 (Optional) */
Description *string `json:"description"`
/* 默认开启 basicAuth与clientCertificate最少选择一个 (Optional) */
BasicAuth *bool `json:"basicAuth"`
/* 默认开启 clientCertificate (Optional) */
ClientCertificate *bool `json:"clientCertificate"`
/* kubernetes的版本 (Optional) */
Version *string `json:"version"`
/* 集群所在的az */
Azs []string `json:"azs"`
/* pod 创建参数 */
NodeGroup *kubernetes.NodeGroupSpec `json:"nodeGroup"`
/* k8s的master的cidr */
MasterCidr string `json:"masterCidr"`
/* 用户的AccessKey,插件调用open-api时的认证凭证 */
AccessKey string `json:"accessKey"`
/* 用户的SecretKey,插件调用open-api时的认证凭证 */
SecretKey string `json:"secretKey"`
/* 是否启用用户自定义监控,默认不启用 (Optional) */
UserMetrics *bool `json:"userMetrics"`
}
func NewCreateClusterRequest ¶
func NewCreateClusterRequest( regionId string, name string, azs []string, nodeGroup *kubernetes.NodeGroupSpec, masterCidr string, accessKey string, secretKey string, ) *CreateClusterRequest
* param regionId: 地域 ID (Required) * param name: 名称(同一用户的 cluster 允许重名) (Required) * param azs: 集群所在的az (Required) * param nodeGroup: pod 创建参数 (Required) * param masterCidr: k8s的master的cidr (Required) * param accessKey: 用户的AccessKey,插件调用open-api时的认证凭证 (Required) * param secretKey: 用户的SecretKey,插件调用open-api时的认证凭证 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateClusterRequestWithAllParams ¶
func NewCreateClusterRequestWithAllParams( regionId string, name string, description *string, basicAuth *bool, clientCertificate *bool, version *string, azs []string, nodeGroup *kubernetes.NodeGroupSpec, masterCidr string, accessKey string, secretKey string, userMetrics *bool, ) *CreateClusterRequest
* param regionId: 地域 ID (Required) * param name: 名称(同一用户的 cluster 允许重名) (Required) * param description: 描述 (Optional) * param basicAuth: 默认开启 basicAuth与clientCertificate最少选择一个 (Optional) * param clientCertificate: 默认开启 clientCertificate (Optional) * param version: kubernetes的版本 (Optional) * param azs: 集群所在的az (Required) * param nodeGroup: pod 创建参数 (Required) * param masterCidr: k8s的master的cidr (Required) * param accessKey: 用户的AccessKey,插件调用open-api时的认证凭证 (Required) * param secretKey: 用户的SecretKey,插件调用open-api时的认证凭证 (Required) * param userMetrics: 是否启用用户自定义监控,默认不启用 (Optional)
func NewCreateClusterRequestWithoutParam ¶
func NewCreateClusterRequestWithoutParam() *CreateClusterRequest
This constructor has better compatible ability when API parameters changed
func (CreateClusterRequest) GetRegionId ¶
func (r CreateClusterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateClusterRequest) SetAccessKey ¶
func (r *CreateClusterRequest) SetAccessKey(accessKey string)
param accessKey: 用户的AccessKey,插件调用open-api时的认证凭证(Required)
func (*CreateClusterRequest) SetAzs ¶
func (r *CreateClusterRequest) SetAzs(azs []string)
param azs: 集群所在的az(Required)
func (*CreateClusterRequest) SetBasicAuth ¶
func (r *CreateClusterRequest) SetBasicAuth(basicAuth bool)
param basicAuth: 默认开启 basicAuth与clientCertificate最少选择一个(Optional)
func (*CreateClusterRequest) SetClientCertificate ¶
func (r *CreateClusterRequest) SetClientCertificate(clientCertificate bool)
param clientCertificate: 默认开启 clientCertificate(Optional)
func (*CreateClusterRequest) SetDescription ¶
func (r *CreateClusterRequest) SetDescription(description string)
param description: 描述(Optional)
func (*CreateClusterRequest) SetMasterCidr ¶
func (r *CreateClusterRequest) SetMasterCidr(masterCidr string)
param masterCidr: k8s的master的cidr(Required)
func (*CreateClusterRequest) SetName ¶
func (r *CreateClusterRequest) SetName(name string)
param name: 名称(同一用户的 cluster 允许重名)(Required)
func (*CreateClusterRequest) SetNodeGroup ¶
func (r *CreateClusterRequest) SetNodeGroup(nodeGroup *kubernetes.NodeGroupSpec)
param nodeGroup: pod 创建参数(Required)
func (*CreateClusterRequest) SetRegionId ¶
func (r *CreateClusterRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
func (*CreateClusterRequest) SetSecretKey ¶
func (r *CreateClusterRequest) SetSecretKey(secretKey string)
param secretKey: 用户的SecretKey,插件调用open-api时的认证凭证(Required)
func (*CreateClusterRequest) SetUserMetrics ¶
func (r *CreateClusterRequest) SetUserMetrics(userMetrics bool)
param userMetrics: 是否启用用户自定义监控,默认不启用(Optional)
func (*CreateClusterRequest) SetVersion ¶
func (r *CreateClusterRequest) SetVersion(version string)
param version: kubernetes的版本(Optional)
type CreateClusterResponse ¶
type CreateClusterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateClusterResult `json:"result"`
}
type CreateClusterResult ¶
type CreateClusterResult struct {
ClusterId string `json:"clusterId"`
}
type CreateNodeGroupRequest ¶
type CreateNodeGroupRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 名称(同一用户的 cluster 内部唯一) */
Name string `json:"name"`
/* 描述 (Optional) */
Description *string `json:"description"`
/* node group所属的cluster */
ClusterId string `json:"clusterId"`
/* 节点组配置 */
NodeConfig *kubernetes.NodeConfigSpec `json:"nodeConfig"`
/* nodeGroup初始化大小 */
InitialNodeCount int `json:"initialNodeCount"`
/* k8s运行的vpc */
VpcId string `json:"vpcId"`
/* k8s的node的cidr */
NodeCidr string `json:"nodeCidr"`
/* 是否开启 node group 的自动修复,默认关闭 (Optional) */
AutoRepair *bool `json:"autoRepair"`
}
func NewCreateNodeGroupRequest ¶
func NewCreateNodeGroupRequest( regionId string, name string, clusterId string, nodeConfig *kubernetes.NodeConfigSpec, initialNodeCount int, vpcId string, nodeCidr string, ) *CreateNodeGroupRequest
* param regionId: 地域 ID (Required) * param name: 名称(同一用户的 cluster 内部唯一) (Required) * param clusterId: node group所属的cluster (Required) * param nodeConfig: 节点组配置 (Required) * param initialNodeCount: nodeGroup初始化大小 (Required) * param vpcId: k8s运行的vpc (Required) * param nodeCidr: k8s的node的cidr (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateNodeGroupRequestWithAllParams ¶
func NewCreateNodeGroupRequestWithAllParams( regionId string, name string, description *string, clusterId string, nodeConfig *kubernetes.NodeConfigSpec, initialNodeCount int, vpcId string, nodeCidr string, autoRepair *bool, ) *CreateNodeGroupRequest
* param regionId: 地域 ID (Required) * param name: 名称(同一用户的 cluster 内部唯一) (Required) * param description: 描述 (Optional) * param clusterId: node group所属的cluster (Required) * param nodeConfig: 节点组配置 (Required) * param initialNodeCount: nodeGroup初始化大小 (Required) * param vpcId: k8s运行的vpc (Required) * param nodeCidr: k8s的node的cidr (Required) * param autoRepair: 是否开启 node group 的自动修复,默认关闭 (Optional)
func NewCreateNodeGroupRequestWithoutParam ¶
func NewCreateNodeGroupRequestWithoutParam() *CreateNodeGroupRequest
This constructor has better compatible ability when API parameters changed
func (CreateNodeGroupRequest) GetRegionId ¶
func (r CreateNodeGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNodeGroupRequest) SetAutoRepair ¶
func (r *CreateNodeGroupRequest) SetAutoRepair(autoRepair bool)
param autoRepair: 是否开启 node group 的自动修复,默认关闭(Optional)
func (*CreateNodeGroupRequest) SetClusterId ¶
func (r *CreateNodeGroupRequest) SetClusterId(clusterId string)
param clusterId: node group所属的cluster(Required)
func (*CreateNodeGroupRequest) SetDescription ¶
func (r *CreateNodeGroupRequest) SetDescription(description string)
param description: 描述(Optional)
func (*CreateNodeGroupRequest) SetInitialNodeCount ¶
func (r *CreateNodeGroupRequest) SetInitialNodeCount(initialNodeCount int)
param initialNodeCount: nodeGroup初始化大小(Required)
func (*CreateNodeGroupRequest) SetName ¶
func (r *CreateNodeGroupRequest) SetName(name string)
param name: 名称(同一用户的 cluster 内部唯一)(Required)
func (*CreateNodeGroupRequest) SetNodeCidr ¶
func (r *CreateNodeGroupRequest) SetNodeCidr(nodeCidr string)
param nodeCidr: k8s的node的cidr(Required)
func (*CreateNodeGroupRequest) SetNodeConfig ¶
func (r *CreateNodeGroupRequest) SetNodeConfig(nodeConfig *kubernetes.NodeConfigSpec)
param nodeConfig: 节点组配置(Required)
func (*CreateNodeGroupRequest) SetRegionId ¶
func (r *CreateNodeGroupRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
func (*CreateNodeGroupRequest) SetVpcId ¶
func (r *CreateNodeGroupRequest) SetVpcId(vpcId string)
param vpcId: k8s运行的vpc(Required)
type CreateNodeGroupResponse ¶
type CreateNodeGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateNodeGroupResult `json:"result"`
}
type CreateNodeGroupResult ¶
type CreateNodeGroupResult struct {
NodeGroupId string `json:"nodeGroupId"`
}
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 集群 ID */
ClusterId string `json:"clusterId"`
}
func NewDeleteClusterRequest ¶
func NewDeleteClusterRequest( regionId string, clusterId string, ) *DeleteClusterRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteClusterRequestWithAllParams ¶
func NewDeleteClusterRequestWithAllParams( regionId string, clusterId string, ) *DeleteClusterRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required)
func NewDeleteClusterRequestWithoutParam ¶
func NewDeleteClusterRequestWithoutParam() *DeleteClusterRequest
This constructor has better compatible ability when API parameters changed
func (DeleteClusterRequest) GetRegionId ¶
func (r DeleteClusterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteClusterRequest) SetClusterId ¶
func (r *DeleteClusterRequest) SetClusterId(clusterId string)
param clusterId: 集群 ID(Required)
func (*DeleteClusterRequest) SetRegionId ¶
func (r *DeleteClusterRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteClusterResult `json:"result"`
}
type DeleteClusterResult ¶
type DeleteClusterResult struct {
}
type DeleteNodeGroupRequest ¶
type DeleteNodeGroupRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 节点组 ID */
NodeGroupId string `json:"nodeGroupId"`
}
func NewDeleteNodeGroupRequest ¶
func NewDeleteNodeGroupRequest( regionId string, nodeGroupId string, ) *DeleteNodeGroupRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteNodeGroupRequestWithAllParams ¶
func NewDeleteNodeGroupRequestWithAllParams( regionId string, nodeGroupId string, ) *DeleteNodeGroupRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required)
func NewDeleteNodeGroupRequestWithoutParam ¶
func NewDeleteNodeGroupRequestWithoutParam() *DeleteNodeGroupRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNodeGroupRequest) GetRegionId ¶
func (r DeleteNodeGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNodeGroupRequest) SetNodeGroupId ¶
func (r *DeleteNodeGroupRequest) SetNodeGroupId(nodeGroupId string)
param nodeGroupId: 节点组 ID(Required)
func (*DeleteNodeGroupRequest) SetRegionId ¶
func (r *DeleteNodeGroupRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DeleteNodeGroupResponse ¶
type DeleteNodeGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteNodeGroupResult `json:"result"`
}
type DeleteNodeGroupResult ¶
type DeleteNodeGroupResult struct {
}
type DescribeClusterRequest ¶
type DescribeClusterRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 集群 ID */
ClusterId string `json:"clusterId"`
}
func NewDescribeClusterRequest ¶
func NewDescribeClusterRequest( regionId string, clusterId string, ) *DescribeClusterRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeClusterRequestWithAllParams ¶
func NewDescribeClusterRequestWithAllParams( regionId string, clusterId string, ) *DescribeClusterRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required)
func NewDescribeClusterRequestWithoutParam ¶
func NewDescribeClusterRequestWithoutParam() *DescribeClusterRequest
This constructor has better compatible ability when API parameters changed
func (DescribeClusterRequest) GetRegionId ¶
func (r DescribeClusterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeClusterRequest) SetClusterId ¶
func (r *DescribeClusterRequest) SetClusterId(clusterId string)
param clusterId: 集群 ID(Required)
func (*DescribeClusterRequest) SetRegionId ¶
func (r *DescribeClusterRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DescribeClusterResponse ¶
type DescribeClusterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeClusterResult `json:"result"`
}
type DescribeClusterResult ¶
type DescribeClusterResult struct {
Cluster kubernetes.Cluster `json:"cluster"`
}
type DescribeClustersRequest ¶
type DescribeClustersRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 页码;默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认为20;取值范围[10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* name - 集群名称,模糊匹配,仅支持单个
id - id,支持多个
(Optional) */
Filters []common.Filter `json:"filters"`
}
func NewDescribeClustersRequest ¶
func NewDescribeClustersRequest( regionId string, ) *DescribeClustersRequest
* param regionId: 地域 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeClustersRequestWithAllParams ¶
func NewDescribeClustersRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeClustersRequest
- param regionId: 地域 ID (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
- param filters: name - 集群名称,模糊匹配,仅支持单个
id - id,支持多个
(Optional)
func NewDescribeClustersRequestWithoutParam ¶
func NewDescribeClustersRequestWithoutParam() *DescribeClustersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeClustersRequest) GetRegionId ¶
func (r DescribeClustersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeClustersRequest) SetFilters ¶
func (r *DescribeClustersRequest) SetFilters(filters []common.Filter)
param filters: name - 集群名称,模糊匹配,仅支持单个
id - id,支持多个 (Optional)
func (*DescribeClustersRequest) SetPageNumber ¶
func (r *DescribeClustersRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeClustersRequest) SetPageSize ¶
func (r *DescribeClustersRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeClustersRequest) SetRegionId ¶
func (r *DescribeClustersRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DescribeClustersResponse ¶
type DescribeClustersResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeClustersResult `json:"result"`
}
type DescribeClustersResult ¶
type DescribeClustersResult struct {
Clusters []kubernetes.Cluster `json:"clusters"`
TotalCount int `json:"totalCount"`
}
type DescribeImagesRequest ¶
type DescribeImagesRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 集群的大版本,如 1.8.12 (Optional) */
MasterVersion *string `json:"masterVersion"`
/* master 的镜像编码,如 1.8.12-jke (Optional) */
MasterImageCode *string `json:"masterImageCode"`
}
func NewDescribeImagesRequest ¶
func NewDescribeImagesRequest( regionId string, ) *DescribeImagesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeImagesRequestWithAllParams ¶
func NewDescribeImagesRequestWithAllParams( regionId string, masterVersion *string, masterImageCode *string, ) *DescribeImagesRequest
* param regionId: Region ID (Required) * param masterVersion: 集群的大版本,如 1.8.12 (Optional) * param masterImageCode: master 的镜像编码,如 1.8.12-jke (Optional)
func NewDescribeImagesRequestWithoutParam ¶
func NewDescribeImagesRequestWithoutParam() *DescribeImagesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeImagesRequest) GetRegionId ¶
func (r DescribeImagesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeImagesRequest) SetMasterImageCode ¶
func (r *DescribeImagesRequest) SetMasterImageCode(masterImageCode string)
param masterImageCode: master 的镜像编码,如 1.8.12-jke(Optional)
func (*DescribeImagesRequest) SetMasterVersion ¶
func (r *DescribeImagesRequest) SetMasterVersion(masterVersion string)
param masterVersion: 集群的大版本,如 1.8.12(Optional)
func (*DescribeImagesRequest) SetRegionId ¶
func (r *DescribeImagesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeImagesResponse ¶
type DescribeImagesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeImagesResult `json:"result"`
}
type DescribeImagesResult ¶
type DescribeImagesResult struct {
MasterImages []kubernetes.MasterImage `json:"masterImages"`
}
type DescribeNodeGroupRequest ¶
type DescribeNodeGroupRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 节点组 ID */
NodeGroupId string `json:"nodeGroupId"`
}
func NewDescribeNodeGroupRequest ¶
func NewDescribeNodeGroupRequest( regionId string, nodeGroupId string, ) *DescribeNodeGroupRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNodeGroupRequestWithAllParams ¶
func NewDescribeNodeGroupRequestWithAllParams( regionId string, nodeGroupId string, ) *DescribeNodeGroupRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required)
func NewDescribeNodeGroupRequestWithoutParam ¶
func NewDescribeNodeGroupRequestWithoutParam() *DescribeNodeGroupRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNodeGroupRequest) GetRegionId ¶
func (r DescribeNodeGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNodeGroupRequest) SetNodeGroupId ¶
func (r *DescribeNodeGroupRequest) SetNodeGroupId(nodeGroupId string)
param nodeGroupId: 节点组 ID(Required)
func (*DescribeNodeGroupRequest) SetRegionId ¶
func (r *DescribeNodeGroupRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DescribeNodeGroupResponse ¶
type DescribeNodeGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeNodeGroupResult `json:"result"`
}
type DescribeNodeGroupResult ¶
type DescribeNodeGroupResult struct {
NodeGroup kubernetes.NodeGroup `json:"nodeGroup"`
}
type DescribeNodeGroupsRequest ¶
type DescribeNodeGroupsRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 页码;默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页大小;默认为20;取值范围[10, 100] (Optional) */
PageSize *int `json:"pageSize"`
/* name - 节点组名称,模糊匹配,支持单个
id - 节点组 id,支持多个
clusterId - 根据clusterId查询
clusterName - 根据名称查询 cluster
(Optional) */
Filters []common.Filter `json:"filters"`
}
func NewDescribeNodeGroupsRequest ¶
func NewDescribeNodeGroupsRequest( regionId string, ) *DescribeNodeGroupsRequest
* param regionId: 地域 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNodeGroupsRequestWithAllParams ¶
func NewDescribeNodeGroupsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeNodeGroupsRequest
- param regionId: 地域 ID (Required)
- param pageNumber: 页码;默认为1 (Optional)
- param pageSize: 分页大小;默认为20;取值范围[10, 100] (Optional)
- param filters: name - 节点组名称,模糊匹配,支持单个
id - 节点组 id,支持多个 clusterId - 根据clusterId查询 clusterName - 根据名称查询 cluster
(Optional)
func NewDescribeNodeGroupsRequestWithoutParam ¶
func NewDescribeNodeGroupsRequestWithoutParam() *DescribeNodeGroupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNodeGroupsRequest) GetRegionId ¶
func (r DescribeNodeGroupsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNodeGroupsRequest) SetFilters ¶
func (r *DescribeNodeGroupsRequest) SetFilters(filters []common.Filter)
param filters: name - 节点组名称,模糊匹配,支持单个
id - 节点组 id,支持多个 clusterId - 根据clusterId查询 clusterName - 根据名称查询 cluster (Optional)
func (*DescribeNodeGroupsRequest) SetPageNumber ¶
func (r *DescribeNodeGroupsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码;默认为1(Optional)
func (*DescribeNodeGroupsRequest) SetPageSize ¶
func (r *DescribeNodeGroupsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小;默认为20;取值范围[10, 100](Optional)
func (*DescribeNodeGroupsRequest) SetRegionId ¶
func (r *DescribeNodeGroupsRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type DescribeNodeGroupsResponse ¶
type DescribeNodeGroupsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeNodeGroupsResult `json:"result"`
}
type DescribeNodeGroupsResult ¶
type DescribeNodeGroupsResult struct {
NodeGroups []kubernetes.NodeGroup `json:"nodeGroups"`
TotalCount int `json:"totalCount"`
}
type DescribeQuotasRequest ¶
type DescribeQuotasRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* resourceTypes - 资源类型,暂时只支持[kubernetes]
(Optional) */
Filters []common.Filter `json:"filters"`
}
func NewDescribeQuotasRequest ¶
func NewDescribeQuotasRequest( regionId string, ) *DescribeQuotasRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeQuotasRequestWithAllParams ¶
func NewDescribeQuotasRequestWithAllParams( regionId string, filters []common.Filter, ) *DescribeQuotasRequest
* param regionId: Region ID (Required) * param filters: resourceTypes - 资源类型,暂时只支持[kubernetes] (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 - 资源类型,暂时只支持[kubernetes]
(Optional)
func (*DescribeQuotasRequest) SetRegionId ¶
func (r *DescribeQuotasRequest) SetRegionId(regionId string)
param regionId: Region 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 []kubernetes.Quota `json:"quotas"`
}
type DescribeServerConfigRequest ¶
type DescribeServerConfigRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
}
func NewDescribeServerConfigRequest ¶
func NewDescribeServerConfigRequest( regionId string, ) *DescribeServerConfigRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeServerConfigRequestWithAllParams ¶
func NewDescribeServerConfigRequestWithAllParams( regionId string, ) *DescribeServerConfigRequest
* param regionId: Region ID (Required)
func NewDescribeServerConfigRequestWithoutParam ¶
func NewDescribeServerConfigRequestWithoutParam() *DescribeServerConfigRequest
This constructor has better compatible ability when API parameters changed
func (DescribeServerConfigRequest) GetRegionId ¶
func (r DescribeServerConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeServerConfigRequest) SetRegionId ¶
func (r *DescribeServerConfigRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeServerConfigResponse ¶
type DescribeServerConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeServerConfigResult `json:"result"`
}
type DescribeServerConfigResult ¶
type DescribeServerConfigResult struct {
ServerConfig kubernetes.ServerConfig `json:"serverConfig"`
}
type DescribeVersionsRequest ¶
type DescribeVersionsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 集群的大版本,如 1.12.4-jcs.1 (Optional) */
MasterVersion *string `json:"masterVersion"`
}
func NewDescribeVersionsRequest ¶
func NewDescribeVersionsRequest( regionId string, ) *DescribeVersionsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeVersionsRequestWithAllParams ¶
func NewDescribeVersionsRequestWithAllParams( regionId string, masterVersion *string, ) *DescribeVersionsRequest
* param regionId: Region ID (Required) * param masterVersion: 集群的大版本,如 1.12.4-jcs.1 (Optional)
func NewDescribeVersionsRequestWithoutParam ¶
func NewDescribeVersionsRequestWithoutParam() *DescribeVersionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeVersionsRequest) GetRegionId ¶
func (r DescribeVersionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeVersionsRequest) SetMasterVersion ¶
func (r *DescribeVersionsRequest) SetMasterVersion(masterVersion string)
param masterVersion: 集群的大版本,如 1.12.4-jcs.1(Optional)
func (*DescribeVersionsRequest) SetRegionId ¶
func (r *DescribeVersionsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeVersionsResponse ¶
type DescribeVersionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeVersionsResult `json:"result"`
}
type DescribeVersionsResult ¶
type DescribeVersionsResult struct {
MasterVersions []kubernetes.MasterVersion `json:"masterVersions"`
}
type ModifyClusterRequest ¶
type ModifyClusterRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 集群 ID */
ClusterId string `json:"clusterId"`
/* 集群名称 (Optional) */
Name *string `json:"name"`
/* 集群 name 和 description 必须要指定一个 (Optional) */
Description *string `json:"description"`
}
func NewModifyClusterRequest ¶
func NewModifyClusterRequest( regionId string, clusterId string, ) *ModifyClusterRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyClusterRequestWithAllParams ¶
func NewModifyClusterRequestWithAllParams( regionId string, clusterId string, name *string, description *string, ) *ModifyClusterRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required) * param name: 集群名称 (Optional) * param description: 集群 name 和 description 必须要指定一个 (Optional)
func NewModifyClusterRequestWithoutParam ¶
func NewModifyClusterRequestWithoutParam() *ModifyClusterRequest
This constructor has better compatible ability when API parameters changed
func (ModifyClusterRequest) GetRegionId ¶
func (r ModifyClusterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyClusterRequest) SetClusterId ¶
func (r *ModifyClusterRequest) SetClusterId(clusterId string)
param clusterId: 集群 ID(Required)
func (*ModifyClusterRequest) SetDescription ¶
func (r *ModifyClusterRequest) SetDescription(description string)
param description: 集群 name 和 description 必须要指定一个(Optional)
func (*ModifyClusterRequest) SetName ¶
func (r *ModifyClusterRequest) SetName(name string)
param name: 集群名称(Optional)
func (*ModifyClusterRequest) SetRegionId ¶
func (r *ModifyClusterRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type ModifyClusterResponse ¶
type ModifyClusterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ModifyClusterResult `json:"result"`
}
type ModifyClusterResult ¶
type ModifyClusterResult struct {
}
type ModifyNodeGroupRequest ¶
type ModifyNodeGroupRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 节点组 ID */
NodeGroupId string `json:"nodeGroupId"`
/* 节点组名称 (Optional) */
Name *string `json:"name"`
/* 集群 name 和 description 必须要指定一个 (Optional) */
Description *string `json:"description"`
}
func NewModifyNodeGroupRequest ¶
func NewModifyNodeGroupRequest( regionId string, nodeGroupId string, ) *ModifyNodeGroupRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyNodeGroupRequestWithAllParams ¶
func NewModifyNodeGroupRequestWithAllParams( regionId string, nodeGroupId string, name *string, description *string, ) *ModifyNodeGroupRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * param name: 节点组名称 (Optional) * param description: 集群 name 和 description 必须要指定一个 (Optional)
func NewModifyNodeGroupRequestWithoutParam ¶
func NewModifyNodeGroupRequestWithoutParam() *ModifyNodeGroupRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNodeGroupRequest) GetRegionId ¶
func (r ModifyNodeGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNodeGroupRequest) SetDescription ¶
func (r *ModifyNodeGroupRequest) SetDescription(description string)
param description: 集群 name 和 description 必须要指定一个(Optional)
func (*ModifyNodeGroupRequest) SetName ¶
func (r *ModifyNodeGroupRequest) SetName(name string)
param name: 节点组名称(Optional)
func (*ModifyNodeGroupRequest) SetNodeGroupId ¶
func (r *ModifyNodeGroupRequest) SetNodeGroupId(nodeGroupId string)
param nodeGroupId: 节点组 ID(Required)
func (*ModifyNodeGroupRequest) SetRegionId ¶
func (r *ModifyNodeGroupRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type ModifyNodeGroupResponse ¶
type ModifyNodeGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ModifyNodeGroupResult `json:"result"`
}
type ModifyNodeGroupResult ¶
type ModifyNodeGroupResult struct {
}
type SetAutoRepairRequest ¶
type SetAutoRepairRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 节点组 ID */
NodeGroupId string `json:"nodeGroupId"`
/* 是否开启自动修复 */
Enabled bool `json:"enabled"`
}
func NewSetAutoRepairRequest ¶
func NewSetAutoRepairRequest( regionId string, nodeGroupId string, enabled bool, ) *SetAutoRepairRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * param enabled: 是否开启自动修复 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetAutoRepairRequestWithAllParams ¶
func NewSetAutoRepairRequestWithAllParams( regionId string, nodeGroupId string, enabled bool, ) *SetAutoRepairRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * param enabled: 是否开启自动修复 (Required)
func NewSetAutoRepairRequestWithoutParam ¶
func NewSetAutoRepairRequestWithoutParam() *SetAutoRepairRequest
This constructor has better compatible ability when API parameters changed
func (SetAutoRepairRequest) GetRegionId ¶
func (r SetAutoRepairRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetAutoRepairRequest) SetEnabled ¶
func (r *SetAutoRepairRequest) SetEnabled(enabled bool)
param enabled: 是否开启自动修复(Required)
func (*SetAutoRepairRequest) SetNodeGroupId ¶
func (r *SetAutoRepairRequest) SetNodeGroupId(nodeGroupId string)
param nodeGroupId: 节点组 ID(Required)
func (*SetAutoRepairRequest) SetRegionId ¶
func (r *SetAutoRepairRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type SetAutoRepairResponse ¶
type SetAutoRepairResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetAutoRepairResult `json:"result"`
}
type SetAutoRepairResult ¶
type SetAutoRepairResult struct {
}
type SetNodeGroupSizeRequest ¶
type SetNodeGroupSizeRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 节点组 ID */
NodeGroupId string `json:"nodeGroupId"`
/* 创建集群请求参数模型 */
ExpectCount int `json:"expectCount"`
}
func NewSetNodeGroupSizeRequest ¶
func NewSetNodeGroupSizeRequest( regionId string, nodeGroupId string, expectCount int, ) *SetNodeGroupSizeRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * param expectCount: 创建集群请求参数模型 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetNodeGroupSizeRequestWithAllParams ¶
func NewSetNodeGroupSizeRequestWithAllParams( regionId string, nodeGroupId string, expectCount int, ) *SetNodeGroupSizeRequest
* param regionId: 地域 ID (Required) * param nodeGroupId: 节点组 ID (Required) * param expectCount: 创建集群请求参数模型 (Required)
func NewSetNodeGroupSizeRequestWithoutParam ¶
func NewSetNodeGroupSizeRequestWithoutParam() *SetNodeGroupSizeRequest
This constructor has better compatible ability when API parameters changed
func (SetNodeGroupSizeRequest) GetRegionId ¶
func (r SetNodeGroupSizeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetNodeGroupSizeRequest) SetExpectCount ¶
func (r *SetNodeGroupSizeRequest) SetExpectCount(expectCount int)
param expectCount: 创建集群请求参数模型(Required)
func (*SetNodeGroupSizeRequest) SetNodeGroupId ¶
func (r *SetNodeGroupSizeRequest) SetNodeGroupId(nodeGroupId string)
param nodeGroupId: 节点组 ID(Required)
func (*SetNodeGroupSizeRequest) SetRegionId ¶
func (r *SetNodeGroupSizeRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type SetNodeGroupSizeResponse ¶
type SetNodeGroupSizeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetNodeGroupSizeResult `json:"result"`
}
type SetNodeGroupSizeResult ¶
type SetNodeGroupSizeResult struct {
}
type SetUserMetricsRequest ¶
type SetUserMetricsRequest struct {
core.JDCloudRequest
/* 地域 ID */
RegionId string `json:"regionId"`
/* 集群 ID */
ClusterId string `json:"clusterId"`
/* 是否开启自定义监控 (Optional) */
Enabled *bool `json:"enabled"`
}
func NewSetUserMetricsRequest ¶
func NewSetUserMetricsRequest( regionId string, clusterId string, ) *SetUserMetricsRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetUserMetricsRequestWithAllParams ¶
func NewSetUserMetricsRequestWithAllParams( regionId string, clusterId string, enabled *bool, ) *SetUserMetricsRequest
* param regionId: 地域 ID (Required) * param clusterId: 集群 ID (Required) * param enabled: 是否开启自定义监控 (Optional)
func NewSetUserMetricsRequestWithoutParam ¶
func NewSetUserMetricsRequestWithoutParam() *SetUserMetricsRequest
This constructor has better compatible ability when API parameters changed
func (SetUserMetricsRequest) GetRegionId ¶
func (r SetUserMetricsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetUserMetricsRequest) SetClusterId ¶
func (r *SetUserMetricsRequest) SetClusterId(clusterId string)
param clusterId: 集群 ID(Required)
func (*SetUserMetricsRequest) SetEnabled ¶
func (r *SetUserMetricsRequest) SetEnabled(enabled bool)
param enabled: 是否开启自定义监控(Optional)
func (*SetUserMetricsRequest) SetRegionId ¶
func (r *SetUserMetricsRequest) SetRegionId(regionId string)
param regionId: 地域 ID(Required)
type SetUserMetricsResponse ¶
type SetUserMetricsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetUserMetricsResult `json:"result"`
}
type SetUserMetricsResult ¶
type SetUserMetricsResult struct {
}
Source Files
¶
- CreateCluster.go
- CreateNodeGroup.go
- DeleteCluster.go
- DeleteNodeGroup.go
- DescribeCluster.go
- DescribeClusters.go
- DescribeImages.go
- DescribeNodeGroup.go
- DescribeNodeGroups.go
- DescribeQuotas.go
- DescribeServerConfig.go
- DescribeVersions.go
- ModifyCluster.go
- ModifyNodeGroup.go
- SetAutoRepair.go
- SetNodeGroupSize.go
- SetUserMetrics.go