client

package
v4.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CloneService added in v4.1.0

func (client *Client) CloneService(ClusterId *string, ServiceName *string, request *CloneServiceRequest) (_result *CloneServiceResponse, _err error)

Summary:

Clones a service.

@param request - CloneServiceRequest

@return CloneServiceResponse

func (*Client) CloneServiceWithOptions added in v4.1.0

func (client *Client) CloneServiceWithOptions(ClusterId *string, ServiceName *string, request *CloneServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CloneServiceResponse, _err error)

Summary:

Clones a service.

@param request - CloneServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CloneServiceResponse

func (*Client) CommitService

func (client *Client) CommitService(ClusterId *string, ServiceName *string) (_result *CommitServiceResponse, _err error)

Summary:

Commits the Worker0 container in the custom container service and deploys the container as a new image.

@return CommitServiceResponse

func (*Client) CommitServiceWithOptions

func (client *Client) CommitServiceWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CommitServiceResponse, _err error)

Summary:

Commits the Worker0 container in the custom container service and deploys the container as a new image.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CommitServiceResponse

func (*Client) CreateAppService

func (client *Client) CreateAppService(request *CreateAppServiceRequest) (_result *CreateAppServiceResponse, _err error)

Summary:

Creates an application service.

@param request - CreateAppServiceRequest

@return CreateAppServiceResponse

func (*Client) CreateAppServiceWithOptions

func (client *Client) CreateAppServiceWithOptions(request *CreateAppServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAppServiceResponse, _err error)

Summary:

Creates an application service.

@param request - CreateAppServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateAppServiceResponse

func (*Client) CreateBenchmarkTask

func (client *Client) CreateBenchmarkTask(request *CreateBenchmarkTaskRequest) (_result *CreateBenchmarkTaskResponse, _err error)

Summary:

Creates a stress testing task.

@param request - CreateBenchmarkTaskRequest

@return CreateBenchmarkTaskResponse

func (*Client) CreateBenchmarkTaskWithOptions

func (client *Client) CreateBenchmarkTaskWithOptions(request *CreateBenchmarkTaskRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateBenchmarkTaskResponse, _err error)

Summary:

Creates a stress testing task.

@param request - CreateBenchmarkTaskRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateBenchmarkTaskResponse

func (*Client) CreateGateway

func (client *Client) CreateGateway(request *CreateGatewayRequest) (_result *CreateGatewayResponse, _err error)

Summary:

Creates a private gateway. You can create a private gateway only in a self-managed resource group.

@param request - CreateGatewayRequest

@return CreateGatewayResponse

func (*Client) CreateGatewayIntranetLinkedVpc

func (client *Client) CreateGatewayIntranetLinkedVpc(ClusterId *string, GatewayId *string, request *CreateGatewayIntranetLinkedVpcRequest) (_result *CreateGatewayIntranetLinkedVpcResponse, _err error)

Summary:

Creates an internal endpoint of a private gateway.

@param request - CreateGatewayIntranetLinkedVpcRequest

@return CreateGatewayIntranetLinkedVpcResponse

func (*Client) CreateGatewayIntranetLinkedVpcWithOptions

func (client *Client) CreateGatewayIntranetLinkedVpcWithOptions(ClusterId *string, GatewayId *string, request *CreateGatewayIntranetLinkedVpcRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateGatewayIntranetLinkedVpcResponse, _err error)

Summary:

Creates an internal endpoint of a private gateway.

@param request - CreateGatewayIntranetLinkedVpcRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateGatewayIntranetLinkedVpcResponse

func (*Client) CreateGatewayWithOptions

func (client *Client) CreateGatewayWithOptions(request *CreateGatewayRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateGatewayResponse, _err error)

Summary:

Creates a private gateway. You can create a private gateway only in a self-managed resource group.

@param request - CreateGatewayRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateGatewayResponse

func (*Client) CreateResource

func (client *Client) CreateResource(request *CreateResourceRequest) (_result *CreateResourceResponse, _err error)

Summary:

Creates a resource group.

Description:

*Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).

@param request - CreateResourceRequest

@return CreateResourceResponse

func (*Client) CreateResourceInstances

func (client *Client) CreateResourceInstances(ClusterId *string, ResourceId *string, request *CreateResourceInstancesRequest) (_result *CreateResourceInstancesResponse, _err error)

Summary:

Creates instances in a dedicated resource group.

@param request - CreateResourceInstancesRequest

@return CreateResourceInstancesResponse

func (*Client) CreateResourceInstancesWithOptions

func (client *Client) CreateResourceInstancesWithOptions(ClusterId *string, ResourceId *string, request *CreateResourceInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateResourceInstancesResponse, _err error)

Summary:

Creates instances in a dedicated resource group.

@param request - CreateResourceInstancesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateResourceInstancesResponse

func (*Client) CreateResourceLog

func (client *Client) CreateResourceLog(ClusterId *string, ResourceId *string, request *CreateResourceLogRequest) (_result *CreateResourceLogResponse, _err error)

Summary:

Enables the LogShipper feature of Log Service for a resource group.

@param request - CreateResourceLogRequest

@return CreateResourceLogResponse

func (*Client) CreateResourceLogWithOptions

func (client *Client) CreateResourceLogWithOptions(ClusterId *string, ResourceId *string, request *CreateResourceLogRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateResourceLogResponse, _err error)

Summary:

Enables the LogShipper feature of Log Service for a resource group.

@param request - CreateResourceLogRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateResourceLogResponse

func (*Client) CreateResourceWithOptions

func (client *Client) CreateResourceWithOptions(request *CreateResourceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateResourceResponse, _err error)

Summary:

Creates a resource group.

Description:

*Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).

@param request - CreateResourceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateResourceResponse

func (*Client) CreateService

func (client *Client) CreateService(request *CreateServiceRequest) (_result *CreateServiceResponse, _err error)

Summary:

Creates a model service in Elastic Algorithm Service (EAS).

Description:

*Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).

@param request - CreateServiceRequest

@return CreateServiceResponse

func (*Client) CreateServiceAutoScaler

func (client *Client) CreateServiceAutoScaler(ClusterId *string, ServiceName *string, request *CreateServiceAutoScalerRequest) (_result *CreateServiceAutoScalerResponse, _err error)

Summary:

Enables the Autoscaler feature and creates an Autoscaler controller for a service.

@param request - CreateServiceAutoScalerRequest

@return CreateServiceAutoScalerResponse

func (*Client) CreateServiceAutoScalerWithOptions

func (client *Client) CreateServiceAutoScalerWithOptions(ClusterId *string, ServiceName *string, request *CreateServiceAutoScalerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateServiceAutoScalerResponse, _err error)

Summary:

Enables the Autoscaler feature and creates an Autoscaler controller for a service.

@param request - CreateServiceAutoScalerRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateServiceAutoScalerResponse

func (*Client) CreateServiceCronScaler

func (client *Client) CreateServiceCronScaler(ClusterId *string, ServiceName *string, request *CreateServiceCronScalerRequest) (_result *CreateServiceCronScalerResponse, _err error)

Summary:

Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.

@param request - CreateServiceCronScalerRequest

@return CreateServiceCronScalerResponse

func (*Client) CreateServiceCronScalerWithOptions

func (client *Client) CreateServiceCronScalerWithOptions(ClusterId *string, ServiceName *string, request *CreateServiceCronScalerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateServiceCronScalerResponse, _err error)

Summary:

Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.

@param request - CreateServiceCronScalerRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateServiceCronScalerResponse

func (*Client) CreateServiceMirror

func (client *Client) CreateServiceMirror(ClusterId *string, ServiceName *string, request *CreateServiceMirrorRequest) (_result *CreateServiceMirrorResponse, _err error)

Summary:

Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.

@param request - CreateServiceMirrorRequest

@return CreateServiceMirrorResponse

func (*Client) CreateServiceMirrorWithOptions

func (client *Client) CreateServiceMirrorWithOptions(ClusterId *string, ServiceName *string, request *CreateServiceMirrorRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateServiceMirrorResponse, _err error)

Summary:

Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.

@param request - CreateServiceMirrorRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateServiceMirrorResponse

func (*Client) CreateServiceWithOptions

func (client *Client) CreateServiceWithOptions(tmpReq *CreateServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateServiceResponse, _err error)

Summary:

Creates a model service in Elastic Algorithm Service (EAS).

Description:

*Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).

@param tmpReq - CreateServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return CreateServiceResponse

func (*Client) DeleteBenchmarkTask

func (client *Client) DeleteBenchmarkTask(ClusterId *string, TaskName *string) (_result *DeleteBenchmarkTaskResponse, _err error)

Summary:

Deletes a stress testing task.

@return DeleteBenchmarkTaskResponse

func (*Client) DeleteBenchmarkTaskWithOptions

func (client *Client) DeleteBenchmarkTaskWithOptions(ClusterId *string, TaskName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteBenchmarkTaskResponse, _err error)

Summary:

Deletes a stress testing task.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteBenchmarkTaskResponse

func (*Client) DeleteGateway

func (client *Client) DeleteGateway(ClusterId *string, GatewayId *string) (_result *DeleteGatewayResponse, _err error)

Summary:

Deletes a private gateway.

@return DeleteGatewayResponse

func (*Client) DeleteGatewayIntranetLinkedVpc

func (client *Client) DeleteGatewayIntranetLinkedVpc(ClusterId *string, GatewayId *string, request *DeleteGatewayIntranetLinkedVpcRequest) (_result *DeleteGatewayIntranetLinkedVpcResponse, _err error)

Summary:

删除网关内网访问端点

@param request - DeleteGatewayIntranetLinkedVpcRequest

@return DeleteGatewayIntranetLinkedVpcResponse

func (*Client) DeleteGatewayIntranetLinkedVpcWithOptions

func (client *Client) DeleteGatewayIntranetLinkedVpcWithOptions(ClusterId *string, GatewayId *string, request *DeleteGatewayIntranetLinkedVpcRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteGatewayIntranetLinkedVpcResponse, _err error)

Summary:

删除网关内网访问端点

@param request - DeleteGatewayIntranetLinkedVpcRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteGatewayIntranetLinkedVpcResponse

func (*Client) DeleteGatewayWithOptions

func (client *Client) DeleteGatewayWithOptions(ClusterId *string, GatewayId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteGatewayResponse, _err error)

Summary:

Deletes a private gateway.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteGatewayResponse

func (*Client) DeleteResource

func (client *Client) DeleteResource(ClusterId *string, ResourceId *string) (_result *DeleteResourceResponse, _err error)

Summary:

Deletes a resource group that contains no resources or instances.

@return DeleteResourceResponse

func (client *Client) DeleteResourceDLink(ClusterId *string, ResourceId *string) (_result *DeleteResourceDLinkResponse, _err error)

Summary:

Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.

@return DeleteResourceDLinkResponse

func (*Client) DeleteResourceDLinkWithOptions

func (client *Client) DeleteResourceDLinkWithOptions(ClusterId *string, ResourceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteResourceDLinkResponse, _err error)

Summary:

Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteResourceDLinkResponse

func (*Client) DeleteResourceInstances

func (client *Client) DeleteResourceInstances(ClusterId *string, ResourceId *string, request *DeleteResourceInstancesRequest) (_result *DeleteResourceInstancesResponse, _err error)

Summary:

Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.

@param request - DeleteResourceInstancesRequest

@return DeleteResourceInstancesResponse

func (*Client) DeleteResourceInstancesWithOptions

func (client *Client) DeleteResourceInstancesWithOptions(ClusterId *string, ResourceId *string, request *DeleteResourceInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteResourceInstancesResponse, _err error)

Summary:

Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.

@param request - DeleteResourceInstancesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteResourceInstancesResponse

func (*Client) DeleteResourceLog

func (client *Client) DeleteResourceLog(ClusterId *string, ResourceId *string) (_result *DeleteResourceLogResponse, _err error)

Summary:

Disables the LogShipper feature of Log Service for a dedicated resource group.

@return DeleteResourceLogResponse

func (*Client) DeleteResourceLogWithOptions

func (client *Client) DeleteResourceLogWithOptions(ClusterId *string, ResourceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteResourceLogResponse, _err error)

Summary:

Disables the LogShipper feature of Log Service for a dedicated resource group.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteResourceLogResponse

func (*Client) DeleteResourceWithOptions

func (client *Client) DeleteResourceWithOptions(ClusterId *string, ResourceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteResourceResponse, _err error)

Summary:

Deletes a resource group that contains no resources or instances.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteResourceResponse

func (*Client) DeleteService

func (client *Client) DeleteService(ClusterId *string, ServiceName *string) (_result *DeleteServiceResponse, _err error)

Summary:

Deletes a service.

@return DeleteServiceResponse

func (*Client) DeleteServiceAutoScaler

func (client *Client) DeleteServiceAutoScaler(ClusterId *string, ServiceName *string) (_result *DeleteServiceAutoScalerResponse, _err error)

Summary:

Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.

@return DeleteServiceAutoScalerResponse

func (*Client) DeleteServiceAutoScalerWithOptions

func (client *Client) DeleteServiceAutoScalerWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteServiceAutoScalerResponse, _err error)

Summary:

Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteServiceAutoScalerResponse

func (*Client) DeleteServiceCronScaler

func (client *Client) DeleteServiceCronScaler(ClusterId *string, ServiceName *string) (_result *DeleteServiceCronScalerResponse, _err error)

Summary:

Disables the Cronscaler feature for a service.

@return DeleteServiceCronScalerResponse

func (*Client) DeleteServiceCronScalerWithOptions

func (client *Client) DeleteServiceCronScalerWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteServiceCronScalerResponse, _err error)

Summary:

Disables the Cronscaler feature for a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteServiceCronScalerResponse

func (*Client) DeleteServiceInstances

func (client *Client) DeleteServiceInstances(ClusterId *string, ServiceName *string, request *DeleteServiceInstancesRequest) (_result *DeleteServiceInstancesResponse, _err error)

Summary:

Restarts the instances of a service.

@param request - DeleteServiceInstancesRequest

@return DeleteServiceInstancesResponse

func (*Client) DeleteServiceInstancesWithOptions

func (client *Client) DeleteServiceInstancesWithOptions(ClusterId *string, ServiceName *string, request *DeleteServiceInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteServiceInstancesResponse, _err error)

Summary:

Restarts the instances of a service.

@param request - DeleteServiceInstancesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteServiceInstancesResponse

func (*Client) DeleteServiceLabel

func (client *Client) DeleteServiceLabel(ClusterId *string, ServiceName *string, request *DeleteServiceLabelRequest) (_result *DeleteServiceLabelResponse, _err error)

Summary:

Deletes existing service tags.

@param request - DeleteServiceLabelRequest

@return DeleteServiceLabelResponse

func (*Client) DeleteServiceLabelWithOptions

func (client *Client) DeleteServiceLabelWithOptions(ClusterId *string, ServiceName *string, tmpReq *DeleteServiceLabelRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteServiceLabelResponse, _err error)

Summary:

Deletes existing service tags.

@param tmpReq - DeleteServiceLabelRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteServiceLabelResponse

func (*Client) DeleteServiceMirror

func (client *Client) DeleteServiceMirror(ClusterId *string, ServiceName *string) (_result *DeleteServiceMirrorResponse, _err error)

Summary:

Disables the traffic mirroring feature for a service.

@return DeleteServiceMirrorResponse

func (*Client) DeleteServiceMirrorWithOptions

func (client *Client) DeleteServiceMirrorWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteServiceMirrorResponse, _err error)

Summary:

Disables the traffic mirroring feature for a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteServiceMirrorResponse

func (*Client) DeleteServiceWithOptions

func (client *Client) DeleteServiceWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteServiceResponse, _err error)

Summary:

Deletes a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DeleteServiceResponse

func (*Client) DescribeBenchmarkTask

func (client *Client) DescribeBenchmarkTask(ClusterId *string, TaskName *string) (_result *DescribeBenchmarkTaskResponse, _err error)

Summary:

Queries details about the configurations of a stress testing task.

@return DescribeBenchmarkTaskResponse

func (*Client) DescribeBenchmarkTaskReport

func (client *Client) DescribeBenchmarkTaskReport(ClusterId *string, TaskName *string, request *DescribeBenchmarkTaskReportRequest) (_result *DescribeBenchmarkTaskReportResponse, _err error)

Summary:

Queries the report of a stress testing task.

@param request - DescribeBenchmarkTaskReportRequest

@return DescribeBenchmarkTaskReportResponse

func (*Client) DescribeBenchmarkTaskReportWithOptions

func (client *Client) DescribeBenchmarkTaskReportWithOptions(ClusterId *string, TaskName *string, request *DescribeBenchmarkTaskReportRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeBenchmarkTaskReportResponse, _err error)

Summary:

Queries the report of a stress testing task.

@param request - DescribeBenchmarkTaskReportRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBenchmarkTaskReportResponse

func (*Client) DescribeBenchmarkTaskWithOptions

func (client *Client) DescribeBenchmarkTaskWithOptions(ClusterId *string, TaskName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeBenchmarkTaskResponse, _err error)

Summary:

Queries details about the configurations of a stress testing task.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeBenchmarkTaskResponse

func (*Client) DescribeGateway

func (client *Client) DescribeGateway(ClusterId *string, GatewayId *string) (_result *DescribeGatewayResponse, _err error)

Summary:

Queries the details of a private gateway.

@return DescribeGatewayResponse

func (*Client) DescribeGatewayWithOptions

func (client *Client) DescribeGatewayWithOptions(ClusterId *string, GatewayId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeGatewayResponse, _err error)

Summary:

Queries the details of a private gateway.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeGatewayResponse

func (*Client) DescribeGroup

func (client *Client) DescribeGroup(ClusterId *string, GroupName *string) (_result *DescribeGroupResponse, _err error)

Summary:

Queries the information about a service group.

@return DescribeGroupResponse

func (*Client) DescribeGroupWithOptions

func (client *Client) DescribeGroupWithOptions(ClusterId *string, GroupName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeGroupResponse, _err error)

Summary:

Queries the information about a service group.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeGroupResponse

func (*Client) DescribeResource

func (client *Client) DescribeResource(ClusterId *string, ResourceId *string) (_result *DescribeResourceResponse, _err error)

Summary:

Queries the information about a resource group.

@return DescribeResourceResponse

func (client *Client) DescribeResourceDLink(ClusterId *string, ResourceId *string) (_result *DescribeResourceDLinkResponse, _err error)

Summary:

Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.

@return DescribeResourceDLinkResponse

func (*Client) DescribeResourceDLinkWithOptions

func (client *Client) DescribeResourceDLinkWithOptions(ClusterId *string, ResourceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeResourceDLinkResponse, _err error)

Summary:

Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceDLinkResponse

func (*Client) DescribeResourceLog

func (client *Client) DescribeResourceLog(ClusterId *string, ResourceId *string) (_result *DescribeResourceLogResponse, _err error)

Summary:

Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.

@return DescribeResourceLogResponse

func (*Client) DescribeResourceLogWithOptions

func (client *Client) DescribeResourceLogWithOptions(ClusterId *string, ResourceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeResourceLogResponse, _err error)

Summary:

Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceLogResponse

func (*Client) DescribeResourceWithOptions

func (client *Client) DescribeResourceWithOptions(ClusterId *string, ResourceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeResourceResponse, _err error)

Summary:

Queries the information about a resource group.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceResponse

func (*Client) DescribeService

func (client *Client) DescribeService(ClusterId *string, ServiceName *string) (_result *DescribeServiceResponse, _err error)

Summary:

Queries the details about a service.

@return DescribeServiceResponse

func (*Client) DescribeServiceAutoScaler

func (client *Client) DescribeServiceAutoScaler(ClusterId *string, ServiceName *string) (_result *DescribeServiceAutoScalerResponse, _err error)

Summary:

Queries information about the Autoscaler configurations of a service.

@return DescribeServiceAutoScalerResponse

func (*Client) DescribeServiceAutoScalerWithOptions

func (client *Client) DescribeServiceAutoScalerWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceAutoScalerResponse, _err error)

Summary:

Queries information about the Autoscaler configurations of a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceAutoScalerResponse

func (*Client) DescribeServiceCronScaler

func (client *Client) DescribeServiceCronScaler(ClusterId *string, ServiceName *string) (_result *DescribeServiceCronScalerResponse, _err error)

Summary:

Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.

@return DescribeServiceCronScalerResponse

func (*Client) DescribeServiceCronScalerWithOptions

func (client *Client) DescribeServiceCronScalerWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceCronScalerResponse, _err error)

Summary:

Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceCronScalerResponse

func (*Client) DescribeServiceDiagnosis

func (client *Client) DescribeServiceDiagnosis(ClusterId *string, ServiceName *string) (_result *DescribeServiceDiagnosisResponse, _err error)

Summary:

Queries the diagnostics details of a service.

@return DescribeServiceDiagnosisResponse

func (*Client) DescribeServiceDiagnosisWithOptions

func (client *Client) DescribeServiceDiagnosisWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceDiagnosisResponse, _err error)

Summary:

Queries the diagnostics details of a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceDiagnosisResponse

func (*Client) DescribeServiceEvent

func (client *Client) DescribeServiceEvent(ClusterId *string, ServiceName *string, request *DescribeServiceEventRequest) (_result *DescribeServiceEventResponse, _err error)

Summary:

Queries information about recent service deployment events.

@param request - DescribeServiceEventRequest

@return DescribeServiceEventResponse

func (*Client) DescribeServiceEventWithOptions

func (client *Client) DescribeServiceEventWithOptions(ClusterId *string, ServiceName *string, request *DescribeServiceEventRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceEventResponse, _err error)

Summary:

Queries information about recent service deployment events.

@param request - DescribeServiceEventRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceEventResponse

func (*Client) DescribeServiceInstanceDiagnosis

func (client *Client) DescribeServiceInstanceDiagnosis(ClusterId *string, ServiceName *string, InstanceName *string) (_result *DescribeServiceInstanceDiagnosisResponse, _err error)

Summary:

Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).

@return DescribeServiceInstanceDiagnosisResponse

func (*Client) DescribeServiceInstanceDiagnosisWithOptions

func (client *Client) DescribeServiceInstanceDiagnosisWithOptions(ClusterId *string, ServiceName *string, InstanceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceInstanceDiagnosisResponse, _err error)

Summary:

Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceInstanceDiagnosisResponse

func (*Client) DescribeServiceLog

func (client *Client) DescribeServiceLog(ClusterId *string, ServiceName *string, request *DescribeServiceLogRequest) (_result *DescribeServiceLogResponse, _err error)

Summary:

Queries the information about the logs of a service.

@param request - DescribeServiceLogRequest

@return DescribeServiceLogResponse

func (*Client) DescribeServiceLogWithOptions

func (client *Client) DescribeServiceLogWithOptions(ClusterId *string, ServiceName *string, request *DescribeServiceLogRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceLogResponse, _err error)

Summary:

Queries the information about the logs of a service.

@param request - DescribeServiceLogRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceLogResponse

func (*Client) DescribeServiceMirror

func (client *Client) DescribeServiceMirror(ClusterId *string, ServiceName *string) (_result *DescribeServiceMirrorResponse, _err error)

Summary:

Queries details about the traffic mirroring settings of a service.

@return DescribeServiceMirrorResponse

func (*Client) DescribeServiceMirrorWithOptions

func (client *Client) DescribeServiceMirrorWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceMirrorResponse, _err error)

Summary:

Queries details about the traffic mirroring settings of a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceMirrorResponse

func (*Client) DescribeServiceWithOptions

func (client *Client) DescribeServiceWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeServiceResponse, _err error)

Summary:

Queries the details about a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeServiceResponse

func (*Client) DescribeSpotDiscountHistory added in v4.2.0

func (client *Client) DescribeSpotDiscountHistory(request *DescribeSpotDiscountHistoryRequest) (_result *DescribeSpotDiscountHistoryResponse, _err error)

Summary:

Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.

@param request - DescribeSpotDiscountHistoryRequest

@return DescribeSpotDiscountHistoryResponse

func (*Client) DescribeSpotDiscountHistoryWithOptions added in v4.2.0

func (client *Client) DescribeSpotDiscountHistoryWithOptions(request *DescribeSpotDiscountHistoryRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeSpotDiscountHistoryResponse, _err error)

Summary:

Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.

@param request - DescribeSpotDiscountHistoryRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSpotDiscountHistoryResponse

func (*Client) DevelopService

func (client *Client) DevelopService(ClusterId *string, ServiceName *string, request *DevelopServiceRequest) (_result *DevelopServiceResponse, _err error)

Summary:

Switches a container service to development mode or exits development mode.

@param request - DevelopServiceRequest

@return DevelopServiceResponse

func (*Client) DevelopServiceWithOptions

func (client *Client) DevelopServiceWithOptions(ClusterId *string, ServiceName *string, request *DevelopServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DevelopServiceResponse, _err error)

Summary:

Switches a container service to development mode or exits development mode.

@param request - DevelopServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return DevelopServiceResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListBenchmarkTask

func (client *Client) ListBenchmarkTask(request *ListBenchmarkTaskRequest) (_result *ListBenchmarkTaskResponse, _err error)

Summary:

Queries a list of stress testing tasks that are created by the current user.

@param request - ListBenchmarkTaskRequest

@return ListBenchmarkTaskResponse

func (*Client) ListBenchmarkTaskWithOptions

func (client *Client) ListBenchmarkTaskWithOptions(request *ListBenchmarkTaskRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListBenchmarkTaskResponse, _err error)

Summary:

Queries a list of stress testing tasks that are created by the current user.

@param request - ListBenchmarkTaskRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListBenchmarkTaskResponse

func (*Client) ListGatewayIntranetLinkedVpc

func (client *Client) ListGatewayIntranetLinkedVpc(ClusterId *string, GatewayId *string) (_result *ListGatewayIntranetLinkedVpcResponse, _err error)

Summary:

Queries a list of the internal endpoints of a private gateway.

@return ListGatewayIntranetLinkedVpcResponse

func (*Client) ListGatewayIntranetLinkedVpcWithOptions

func (client *Client) ListGatewayIntranetLinkedVpcWithOptions(ClusterId *string, GatewayId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListGatewayIntranetLinkedVpcResponse, _err error)

Summary:

Queries a list of the internal endpoints of a private gateway.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListGatewayIntranetLinkedVpcResponse

func (*Client) ListGroups

func (client *Client) ListGroups(request *ListGroupsRequest) (_result *ListGroupsResponse, _err error)

Summary:

Queries created service groups.

@param request - ListGroupsRequest

@return ListGroupsResponse

func (*Client) ListGroupsWithOptions

func (client *Client) ListGroupsWithOptions(request *ListGroupsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListGroupsResponse, _err error)

Summary:

Queries created service groups.

@param request - ListGroupsRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListGroupsResponse

func (*Client) ListResourceInstanceWorker

func (client *Client) ListResourceInstanceWorker(ClusterId *string, ResourceId *string, InstanceName *string, request *ListResourceInstanceWorkerRequest) (_result *ListResourceInstanceWorkerResponse, _err error)

Summary:

Queries a list of workers in a resource group.

@param request - ListResourceInstanceWorkerRequest

@return ListResourceInstanceWorkerResponse

func (*Client) ListResourceInstanceWorkerWithOptions

func (client *Client) ListResourceInstanceWorkerWithOptions(ClusterId *string, ResourceId *string, InstanceName *string, request *ListResourceInstanceWorkerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListResourceInstanceWorkerResponse, _err error)

Summary:

Queries a list of workers in a resource group.

@param request - ListResourceInstanceWorkerRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListResourceInstanceWorkerResponse

func (*Client) ListResourceInstances

func (client *Client) ListResourceInstances(ClusterId *string, ResourceId *string, request *ListResourceInstancesRequest) (_result *ListResourceInstancesResponse, _err error)

Summary:

Queries a list of instances in a dedicated resource group.

@param request - ListResourceInstancesRequest

@return ListResourceInstancesResponse

func (*Client) ListResourceInstancesWithOptions

func (client *Client) ListResourceInstancesWithOptions(ClusterId *string, ResourceId *string, request *ListResourceInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListResourceInstancesResponse, _err error)

Summary:

Queries a list of instances in a dedicated resource group.

@param request - ListResourceInstancesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListResourceInstancesResponse

func (*Client) ListResourceServices

func (client *Client) ListResourceServices(ClusterId *string, ResourceId *string, request *ListResourceServicesRequest) (_result *ListResourceServicesResponse, _err error)

Summary:

Queries a list of services that are deployed in the dedicated resource group.

@param request - ListResourceServicesRequest

@return ListResourceServicesResponse

func (*Client) ListResourceServicesWithOptions

func (client *Client) ListResourceServicesWithOptions(ClusterId *string, ResourceId *string, request *ListResourceServicesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListResourceServicesResponse, _err error)

Summary:

Queries a list of services that are deployed in the dedicated resource group.

@param request - ListResourceServicesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListResourceServicesResponse

func (*Client) ListResources

func (client *Client) ListResources(request *ListResourcesRequest) (_result *ListResourcesResponse, _err error)

Summary:

Queries a list of dedicated resource groups for the current user.

@param request - ListResourcesRequest

@return ListResourcesResponse

func (*Client) ListResourcesWithOptions

func (client *Client) ListResourcesWithOptions(request *ListResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListResourcesResponse, _err error)

Summary:

Queries a list of dedicated resource groups for the current user.

@param request - ListResourcesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListResourcesResponse

func (*Client) ListServiceContainers

func (client *Client) ListServiceContainers(ClusterId *string, ServiceName *string, InstanceName *string) (_result *ListServiceContainersResponse, _err error)

Summary:

Queries the containers of a service.

@return ListServiceContainersResponse

func (*Client) ListServiceContainersWithOptions

func (client *Client) ListServiceContainersWithOptions(ClusterId *string, ServiceName *string, InstanceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListServiceContainersResponse, _err error)

Summary:

Queries the containers of a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListServiceContainersResponse

func (*Client) ListServiceInstances

func (client *Client) ListServiceInstances(ClusterId *string, ServiceName *string, request *ListServiceInstancesRequest) (_result *ListServiceInstancesResponse, _err error)

Summary:

Queries instances of a service.

@param request - ListServiceInstancesRequest

@return ListServiceInstancesResponse

func (*Client) ListServiceInstancesWithOptions

func (client *Client) ListServiceInstancesWithOptions(ClusterId *string, ServiceName *string, request *ListServiceInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListServiceInstancesResponse, _err error)

Summary:

Queries instances of a service.

@param request - ListServiceInstancesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListServiceInstancesResponse

func (*Client) ListServiceVersions

func (client *Client) ListServiceVersions(ClusterId *string, ServiceName *string, request *ListServiceVersionsRequest) (_result *ListServiceVersionsResponse, _err error)

Summary:

Queries the information about the historical versions of a service.

@param request - ListServiceVersionsRequest

@return ListServiceVersionsResponse

func (*Client) ListServiceVersionsWithOptions

func (client *Client) ListServiceVersionsWithOptions(ClusterId *string, ServiceName *string, request *ListServiceVersionsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListServiceVersionsResponse, _err error)

Summary:

Queries the information about the historical versions of a service.

@param request - ListServiceVersionsRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListServiceVersionsResponse

func (*Client) ListServices

func (client *Client) ListServices(request *ListServicesRequest) (_result *ListServicesResponse, _err error)

Summary:

Queries a list of services that are created by the current user.

@param request - ListServicesRequest

@return ListServicesResponse

func (*Client) ListServicesWithOptions

func (client *Client) ListServicesWithOptions(tmpReq *ListServicesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListServicesResponse, _err error)

Summary:

Queries a list of services that are created by the current user.

@param tmpReq - ListServicesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListServicesResponse

func (*Client) ReleaseService

func (client *Client) ReleaseService(ClusterId *string, ServiceName *string, request *ReleaseServiceRequest) (_result *ReleaseServiceResponse, _err error)

Summary:

Performs canary release or blue-green release of a service.

@param request - ReleaseServiceRequest

@return ReleaseServiceResponse

func (*Client) ReleaseServiceWithOptions

func (client *Client) ReleaseServiceWithOptions(ClusterId *string, ServiceName *string, request *ReleaseServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ReleaseServiceResponse, _err error)

Summary:

Performs canary release or blue-green release of a service.

@param request - ReleaseServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ReleaseServiceResponse

func (*Client) RestartService

func (client *Client) RestartService(ClusterId *string, ServiceName *string) (_result *RestartServiceResponse, _err error)

Summary:

Restarts a service.

@return RestartServiceResponse

func (*Client) RestartServiceWithOptions

func (client *Client) RestartServiceWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RestartServiceResponse, _err error)

Summary:

Restarts a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return RestartServiceResponse

func (*Client) StartBenchmarkTask

func (client *Client) StartBenchmarkTask(ClusterId *string, TaskName *string) (_result *StartBenchmarkTaskResponse, _err error)

Summary:

Starts a stress testing task.

@return StartBenchmarkTaskResponse

func (*Client) StartBenchmarkTaskWithOptions

func (client *Client) StartBenchmarkTaskWithOptions(ClusterId *string, TaskName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartBenchmarkTaskResponse, _err error)

Summary:

Starts a stress testing task.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return StartBenchmarkTaskResponse

func (*Client) StartService

func (client *Client) StartService(ClusterId *string, ServiceName *string) (_result *StartServiceResponse, _err error)

Summary:

Starts a service.

@return StartServiceResponse

func (*Client) StartServiceWithOptions

func (client *Client) StartServiceWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartServiceResponse, _err error)

Summary:

Starts a service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return StartServiceResponse

func (*Client) StopBenchmarkTask

func (client *Client) StopBenchmarkTask(ClusterId *string, TaskName *string) (_result *StopBenchmarkTaskResponse, _err error)

Summary:

Stops a stress testing task.

@return StopBenchmarkTaskResponse

func (*Client) StopBenchmarkTaskWithOptions

func (client *Client) StopBenchmarkTaskWithOptions(ClusterId *string, TaskName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StopBenchmarkTaskResponse, _err error)

Summary:

Stops a stress testing task.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return StopBenchmarkTaskResponse

func (*Client) StopService

func (client *Client) StopService(ClusterId *string, ServiceName *string) (_result *StopServiceResponse, _err error)

Summary:

Stops a running service.

@return StopServiceResponse

func (*Client) StopServiceWithOptions

func (client *Client) StopServiceWithOptions(ClusterId *string, ServiceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StopServiceResponse, _err error)

Summary:

Stops a running service.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return StopServiceResponse

func (*Client) UpdateAppService

func (client *Client) UpdateAppService(ClusterId *string, ServiceName *string, request *UpdateAppServiceRequest) (_result *UpdateAppServiceResponse, _err error)

Summary:

Updates an application service.

@param request - UpdateAppServiceRequest

@return UpdateAppServiceResponse

func (*Client) UpdateAppServiceWithOptions

func (client *Client) UpdateAppServiceWithOptions(ClusterId *string, ServiceName *string, request *UpdateAppServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateAppServiceResponse, _err error)

Summary:

Updates an application service.

@param request - UpdateAppServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateAppServiceResponse

func (*Client) UpdateBenchmarkTask

func (client *Client) UpdateBenchmarkTask(ClusterId *string, TaskName *string, request *UpdateBenchmarkTaskRequest) (_result *UpdateBenchmarkTaskResponse, _err error)

Summary:

Updates a stress testing task.

@param request - UpdateBenchmarkTaskRequest

@return UpdateBenchmarkTaskResponse

func (*Client) UpdateBenchmarkTaskWithOptions

func (client *Client) UpdateBenchmarkTaskWithOptions(ClusterId *string, TaskName *string, request *UpdateBenchmarkTaskRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateBenchmarkTaskResponse, _err error)

Summary:

Updates a stress testing task.

@param request - UpdateBenchmarkTaskRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateBenchmarkTaskResponse

func (*Client) UpdateGateway

func (client *Client) UpdateGateway(GatewayId *string, ClusterId *string, request *UpdateGatewayRequest) (_result *UpdateGatewayResponse, _err error)

Summary:

Update a private gateway.

@param request - UpdateGatewayRequest

@return UpdateGatewayResponse

func (*Client) UpdateGatewayWithOptions

func (client *Client) UpdateGatewayWithOptions(GatewayId *string, ClusterId *string, request *UpdateGatewayRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateGatewayResponse, _err error)

Summary:

Update a private gateway.

@param request - UpdateGatewayRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateGatewayResponse

func (*Client) UpdateResource

func (client *Client) UpdateResource(ClusterId *string, ResourceId *string, request *UpdateResourceRequest) (_result *UpdateResourceResponse, _err error)

Summary:

Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.

@param request - UpdateResourceRequest

@return UpdateResourceResponse

func (client *Client) UpdateResourceDLink(ClusterId *string, ResourceId *string, request *UpdateResourceDLinkRequest) (_result *UpdateResourceDLinkResponse, _err error)

Summary:

Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.

@param request - UpdateResourceDLinkRequest

@return UpdateResourceDLinkResponse

func (*Client) UpdateResourceDLinkWithOptions

func (client *Client) UpdateResourceDLinkWithOptions(ClusterId *string, ResourceId *string, request *UpdateResourceDLinkRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateResourceDLinkResponse, _err error)

Summary:

Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.

@param request - UpdateResourceDLinkRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateResourceDLinkResponse

func (*Client) UpdateResourceInstance

func (client *Client) UpdateResourceInstance(ClusterId *string, ResourceId *string, InstanceId *string, request *UpdateResourceInstanceRequest) (_result *UpdateResourceInstanceResponse, _err error)

Summary:

Updates the service scheduling status of an instance in a dedicated resource group.

@param request - UpdateResourceInstanceRequest

@return UpdateResourceInstanceResponse

func (*Client) UpdateResourceInstanceWithOptions

func (client *Client) UpdateResourceInstanceWithOptions(ClusterId *string, ResourceId *string, InstanceId *string, request *UpdateResourceInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateResourceInstanceResponse, _err error)

Summary:

Updates the service scheduling status of an instance in a dedicated resource group.

@param request - UpdateResourceInstanceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateResourceInstanceResponse

func (*Client) UpdateResourceWithOptions

func (client *Client) UpdateResourceWithOptions(ClusterId *string, ResourceId *string, request *UpdateResourceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateResourceResponse, _err error)

Summary:

Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.

@param request - UpdateResourceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateResourceResponse

func (*Client) UpdateService

func (client *Client) UpdateService(ClusterId *string, ServiceName *string, request *UpdateServiceRequest) (_result *UpdateServiceResponse, _err error)

Summary:

Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.

@param request - UpdateServiceRequest

@return UpdateServiceResponse

func (*Client) UpdateServiceAutoScaler

func (client *Client) UpdateServiceAutoScaler(ClusterId *string, ServiceName *string, request *UpdateServiceAutoScalerRequest) (_result *UpdateServiceAutoScalerResponse, _err error)

Summary:

Updates the Autoscaler configurations of a service.

@param request - UpdateServiceAutoScalerRequest

@return UpdateServiceAutoScalerResponse

func (*Client) UpdateServiceAutoScalerWithOptions

func (client *Client) UpdateServiceAutoScalerWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceAutoScalerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceAutoScalerResponse, _err error)

Summary:

Updates the Autoscaler configurations of a service.

@param request - UpdateServiceAutoScalerRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceAutoScalerResponse

func (*Client) UpdateServiceCronScaler

func (client *Client) UpdateServiceCronScaler(ClusterId *string, ServiceName *string, request *UpdateServiceCronScalerRequest) (_result *UpdateServiceCronScalerResponse, _err error)

Summary:

Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.

@param request - UpdateServiceCronScalerRequest

@return UpdateServiceCronScalerResponse

func (*Client) UpdateServiceCronScalerWithOptions

func (client *Client) UpdateServiceCronScalerWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceCronScalerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceCronScalerResponse, _err error)

Summary:

Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.

@param request - UpdateServiceCronScalerRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceCronScalerResponse

func (*Client) UpdateServiceInstance

func (client *Client) UpdateServiceInstance(ClusterId *string, ServiceName *string, InstanceName *string, request *UpdateServiceInstanceRequest) (_result *UpdateServiceInstanceResponse, _err error)

Summary:

Updates attributes of service instances. Only isolation can be performed for service instances.

@param request - UpdateServiceInstanceRequest

@return UpdateServiceInstanceResponse

func (*Client) UpdateServiceInstanceWithOptions

func (client *Client) UpdateServiceInstanceWithOptions(ClusterId *string, ServiceName *string, InstanceName *string, request *UpdateServiceInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceInstanceResponse, _err error)

Summary:

Updates attributes of service instances. Only isolation can be performed for service instances.

@param request - UpdateServiceInstanceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceInstanceResponse

func (*Client) UpdateServiceLabel

func (client *Client) UpdateServiceLabel(ClusterId *string, ServiceName *string, request *UpdateServiceLabelRequest) (_result *UpdateServiceLabelResponse, _err error)

Summary:

Adds service tags or updates existing service tags.

@param request - UpdateServiceLabelRequest

@return UpdateServiceLabelResponse

func (*Client) UpdateServiceLabelWithOptions

func (client *Client) UpdateServiceLabelWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceLabelRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceLabelResponse, _err error)

Summary:

Adds service tags or updates existing service tags.

@param request - UpdateServiceLabelRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceLabelResponse

func (*Client) UpdateServiceMirror

func (client *Client) UpdateServiceMirror(ClusterId *string, ServiceName *string, request *UpdateServiceMirrorRequest) (_result *UpdateServiceMirrorResponse, _err error)

Summary:

Updates the traffic mirroring configurations of a service.

@param request - UpdateServiceMirrorRequest

@return UpdateServiceMirrorResponse

func (*Client) UpdateServiceMirrorWithOptions

func (client *Client) UpdateServiceMirrorWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceMirrorRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceMirrorResponse, _err error)

Summary:

Updates the traffic mirroring configurations of a service.

@param request - UpdateServiceMirrorRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceMirrorResponse

func (*Client) UpdateServiceSafetyLock

func (client *Client) UpdateServiceSafetyLock(ClusterId *string, ServiceName *string, request *UpdateServiceSafetyLockRequest) (_result *UpdateServiceSafetyLockResponse, _err error)

Summary:

Updates the safety lock of a service to minimize misoperations on the service.

@param request - UpdateServiceSafetyLockRequest

@return UpdateServiceSafetyLockResponse

func (*Client) UpdateServiceSafetyLockWithOptions

func (client *Client) UpdateServiceSafetyLockWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceSafetyLockRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceSafetyLockResponse, _err error)

Summary:

Updates the safety lock of a service to minimize misoperations on the service.

@param request - UpdateServiceSafetyLockRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceSafetyLockResponse

func (*Client) UpdateServiceVersion

func (client *Client) UpdateServiceVersion(ClusterId *string, ServiceName *string, request *UpdateServiceVersionRequest) (_result *UpdateServiceVersionResponse, _err error)

Summary:

Updates the version of a service or rolls back the service to a specific version.

@param request - UpdateServiceVersionRequest

@return UpdateServiceVersionResponse

func (*Client) UpdateServiceVersionWithOptions

func (client *Client) UpdateServiceVersionWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceVersionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceVersionResponse, _err error)

Summary:

Updates the version of a service or rolls back the service to a specific version.

@param request - UpdateServiceVersionRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceVersionResponse

func (*Client) UpdateServiceWithOptions

func (client *Client) UpdateServiceWithOptions(ClusterId *string, ServiceName *string, request *UpdateServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateServiceResponse, _err error)

Summary:

Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.

@param request - UpdateServiceRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return UpdateServiceResponse

type CloneServiceRequest added in v4.1.0

type CloneServiceRequest struct {
	// The request body. For more information, see [CreateService](https://help.aliyun.com/document_detail/412086.html).
	//
	// example:
	//
	// {   "name": "foo",   "model_path": "http://path/to/model.tar.gz",   "processor": "tensorflow_cpu",   "metadata": {     "instance": 2,     "memory": 7000,     "cpu": 4   } }
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (CloneServiceRequest) GoString added in v4.1.0

func (s CloneServiceRequest) GoString() string

func (*CloneServiceRequest) SetBody added in v4.1.0

func (CloneServiceRequest) String added in v4.1.0

func (s CloneServiceRequest) String() string

type CloneServiceResponse added in v4.1.0

type CloneServiceResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CloneServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CloneServiceResponse) GoString added in v4.1.0

func (s CloneServiceResponse) GoString() string

func (*CloneServiceResponse) SetBody added in v4.1.0

func (*CloneServiceResponse) SetHeaders added in v4.1.0

func (s *CloneServiceResponse) SetHeaders(v map[string]*string) *CloneServiceResponse

func (*CloneServiceResponse) SetStatusCode added in v4.1.0

func (s *CloneServiceResponse) SetStatusCode(v int32) *CloneServiceResponse

func (CloneServiceResponse) String added in v4.1.0

func (s CloneServiceResponse) String() string

type CloneServiceResponseBody added in v4.1.0

type CloneServiceResponseBody struct {
	// The public endpoint of the service.
	//
	// example:
	//
	// http://10123*****.cn-shanghai.aliyuncs.com/api/predict/echo
	InternetEndpoint *string `json:"InternetEndpoint,omitempty" xml:"InternetEndpoint,omitempty"`
	// The private endpoint of the service.
	//
	// example:
	//
	// http://10123*****.vpc.cn-shanghai.aliyuncs.com/api/predict/echo
	IntranetEndpoint *string `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The service ID.
	//
	// example:
	//
	// eas-m-r9knx7n9guf2p*****
	ServiceId *string `json:"ServiceId,omitempty" xml:"ServiceId,omitempty"`
	// The service name.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The service status.
	//
	// example:
	//
	// Creating
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CloneServiceResponseBody) GoString added in v4.1.0

func (s CloneServiceResponseBody) GoString() string

func (*CloneServiceResponseBody) SetInternetEndpoint added in v4.1.0

func (s *CloneServiceResponseBody) SetInternetEndpoint(v string) *CloneServiceResponseBody

func (*CloneServiceResponseBody) SetIntranetEndpoint added in v4.1.0

func (s *CloneServiceResponseBody) SetIntranetEndpoint(v string) *CloneServiceResponseBody

func (*CloneServiceResponseBody) SetRequestId added in v4.1.0

func (*CloneServiceResponseBody) SetServiceId added in v4.1.0

func (*CloneServiceResponseBody) SetServiceName added in v4.1.0

func (*CloneServiceResponseBody) SetStatus added in v4.1.0

func (CloneServiceResponseBody) String added in v4.1.0

func (s CloneServiceResponseBody) String() string

type CommitServiceResponse

type CommitServiceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CommitServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CommitServiceResponse) GoString

func (s CommitServiceResponse) GoString() string

func (*CommitServiceResponse) SetBody

func (*CommitServiceResponse) SetHeaders

func (*CommitServiceResponse) SetStatusCode

func (s *CommitServiceResponse) SetStatusCode(v int32) *CommitServiceResponse

func (CommitServiceResponse) String

func (s CommitServiceResponse) String() string

type CommitServiceResponseBody

type CommitServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CommitServiceResponseBody) GoString

func (s CommitServiceResponseBody) GoString() string

func (*CommitServiceResponseBody) SetMessage

func (*CommitServiceResponseBody) SetRequestId

func (CommitServiceResponseBody) String

func (s CommitServiceResponseBody) String() string

type ContainerInfo

type ContainerInfo struct {
	CurrentReaon     *string `json:"CurrentReaon,omitempty" xml:"CurrentReaon,omitempty"`
	CurrentStatus    *string `json:"CurrentStatus,omitempty" xml:"CurrentStatus,omitempty"`
	CurrentTimestamp *string `json:"CurrentTimestamp,omitempty" xml:"CurrentTimestamp,omitempty"`
	Image            *string `json:"Image,omitempty" xml:"Image,omitempty"`
	LastReason       *string `json:"LastReason,omitempty" xml:"LastReason,omitempty"`
	LastStatus       *string `json:"LastStatus,omitempty" xml:"LastStatus,omitempty"`
	LastTimestamp    *string `json:"LastTimestamp,omitempty" xml:"LastTimestamp,omitempty"`
	Name             *string `json:"Name,omitempty" xml:"Name,omitempty"`
	Port             *int32  `json:"Port,omitempty" xml:"Port,omitempty"`
	Ready            *bool   `json:"Ready,omitempty" xml:"Ready,omitempty"`
	RestartCount     *int32  `json:"RestartCount,omitempty" xml:"RestartCount,omitempty"`
}

func (ContainerInfo) GoString

func (s ContainerInfo) GoString() string

func (*ContainerInfo) SetCurrentReaon

func (s *ContainerInfo) SetCurrentReaon(v string) *ContainerInfo

func (*ContainerInfo) SetCurrentStatus

func (s *ContainerInfo) SetCurrentStatus(v string) *ContainerInfo

func (*ContainerInfo) SetCurrentTimestamp

func (s *ContainerInfo) SetCurrentTimestamp(v string) *ContainerInfo

func (*ContainerInfo) SetImage

func (s *ContainerInfo) SetImage(v string) *ContainerInfo

func (*ContainerInfo) SetLastReason

func (s *ContainerInfo) SetLastReason(v string) *ContainerInfo

func (*ContainerInfo) SetLastStatus

func (s *ContainerInfo) SetLastStatus(v string) *ContainerInfo

func (*ContainerInfo) SetLastTimestamp

func (s *ContainerInfo) SetLastTimestamp(v string) *ContainerInfo

func (*ContainerInfo) SetName

func (s *ContainerInfo) SetName(v string) *ContainerInfo

func (*ContainerInfo) SetPort

func (s *ContainerInfo) SetPort(v int32) *ContainerInfo

func (*ContainerInfo) SetReady

func (s *ContainerInfo) SetReady(v bool) *ContainerInfo

func (*ContainerInfo) SetRestartCount

func (s *ContainerInfo) SetRestartCount(v int32) *ContainerInfo

func (ContainerInfo) String

func (s ContainerInfo) String() string

type CreateAppServiceRequest

type CreateAppServiceRequest struct {
	// The quota ID.
	//
	// example:
	//
	// abcdef
	QuotaId *string `json:"QuotaId,omitempty" xml:"QuotaId,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123456
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
	// The application service type.
	//
	// Valid values:
	//
	// 	- LLM
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// This parameter is required.
	//
	// example:
	//
	// LLM
	AppType *string `json:"AppType,omitempty" xml:"AppType,omitempty"`
	// The application version.
	//
	// example:
	//
	// v1
	AppVersion *string `json:"AppVersion,omitempty" xml:"AppVersion,omitempty"`
	// The additional configurations that are required for service deployment.
	Config map[string]interface{} `json:"Config,omitempty" xml:"Config,omitempty"`
	// The number of instances.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	Replicas *int32 `json:"Replicas,omitempty" xml:"Replicas,omitempty"`
	// The service name.
	//
	// This parameter is required.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The service specifications. Valid values:
	//
	// 	- llama_7b_fp16
	//
	// 	- llama_7b_int8
	//
	// 	- llama_13b_fp16
	//
	// 	- llama_7b_int8
	//
	// 	- chatglm_6b_fp16
	//
	// 	- chatglm_6b_int8
	//
	// 	- chatglm2_6b_fp16
	//
	// 	- baichuan_7b_int8
	//
	// 	- baichuan_13b_fp16
	//
	// 	- baichuan_7b_fp16
	//
	// This parameter is required.
	//
	// example:
	//
	// llama_7b_fp16
	ServiceSpec *string `json:"ServiceSpec,omitempty" xml:"ServiceSpec,omitempty"`
}

func (CreateAppServiceRequest) GoString

func (s CreateAppServiceRequest) GoString() string

func (*CreateAppServiceRequest) SetAppType

func (*CreateAppServiceRequest) SetAppVersion

func (*CreateAppServiceRequest) SetConfig

func (s *CreateAppServiceRequest) SetConfig(v map[string]interface{}) *CreateAppServiceRequest

func (*CreateAppServiceRequest) SetQuotaId

func (*CreateAppServiceRequest) SetReplicas

func (*CreateAppServiceRequest) SetServiceName

func (*CreateAppServiceRequest) SetServiceSpec

func (*CreateAppServiceRequest) SetWorkspaceId

func (CreateAppServiceRequest) String

func (s CreateAppServiceRequest) String() string

type CreateAppServiceResponse

type CreateAppServiceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateAppServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAppServiceResponse) GoString

func (s CreateAppServiceResponse) GoString() string

func (*CreateAppServiceResponse) SetBody

func (*CreateAppServiceResponse) SetHeaders

func (*CreateAppServiceResponse) SetStatusCode

func (CreateAppServiceResponse) String

func (s CreateAppServiceResponse) String() string

type CreateAppServiceResponseBody

type CreateAppServiceResponseBody struct {
	// The public endpoint of the service.
	//
	// example:
	//
	// http://pai-eas.cn-shanghai.****
	InternetEndpoint *string `json:"InternetEndpoint,omitempty" xml:"InternetEndpoint,omitempty"`
	// The internal endpoint of the service.
	//
	// example:
	//
	// http://pai-eas-vpc.cn-shanghai.****
	IntranetEndpoint *string `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"`
	// The region ID of the service.
	//
	// example:
	//
	// cn-shanghai
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The service ID.
	//
	// example:
	//
	// eas-m-aaxxxddf
	ServiceId *string `json:"ServiceId,omitempty" xml:"ServiceId,omitempty"`
	// The service name.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The service state.
	//
	// example:
	//
	// Creating
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateAppServiceResponseBody) GoString

func (s CreateAppServiceResponseBody) GoString() string

func (*CreateAppServiceResponseBody) SetInternetEndpoint

func (*CreateAppServiceResponseBody) SetIntranetEndpoint

func (*CreateAppServiceResponseBody) SetRegion

func (*CreateAppServiceResponseBody) SetRequestId

func (*CreateAppServiceResponseBody) SetServiceId

func (*CreateAppServiceResponseBody) SetServiceName

func (*CreateAppServiceResponseBody) SetStatus

func (CreateAppServiceResponseBody) String

type CreateBenchmarkTaskRequest

type CreateBenchmarkTaskRequest struct {
	// The request body. The body includes the parameters that are set to create a stress testing task.
	//
	// example:
	//
	// {
	//
	//     "base": {
	//
	//         "duration": 600
	//
	//     },
	//
	//     "service": {
	//
	//         "serviceName": "test_service",
	//
	//         "requestToken": "test_token"
	//
	//     },
	//
	//     "data": {
	//
	//         "path": "https://larec-benchmark-cd.oss-cn-chengdu.aliyuncs.com/youbei/sv_dbmtl/data/youbei.warmup.tf.bin",
	//
	//         "dataType": "binary"
	//
	//     },
	//
	//     "optional": {
	//
	//        "maxRt": 100
	//
	//     }
	//
	// }
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateBenchmarkTaskRequest) GoString

func (s CreateBenchmarkTaskRequest) GoString() string

func (*CreateBenchmarkTaskRequest) SetBody

func (CreateBenchmarkTaskRequest) String

type CreateBenchmarkTaskResponse

type CreateBenchmarkTaskResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateBenchmarkTaskResponse) GoString

func (s CreateBenchmarkTaskResponse) GoString() string

func (*CreateBenchmarkTaskResponse) SetBody

func (*CreateBenchmarkTaskResponse) SetHeaders

func (*CreateBenchmarkTaskResponse) SetStatusCode

func (CreateBenchmarkTaskResponse) String

type CreateBenchmarkTaskResponseBody

type CreateBenchmarkTaskResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Benchmark  task [foo] is Creating
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the region where the stress testing task is performed.
	//
	// example:
	//
	// cn-shanghai
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82********
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The name of the stress testing task.
	//
	// example:
	//
	// benchmark-larec-test-1076
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
}

func (CreateBenchmarkTaskResponseBody) GoString

func (*CreateBenchmarkTaskResponseBody) SetMessage

func (*CreateBenchmarkTaskResponseBody) SetRegion

func (*CreateBenchmarkTaskResponseBody) SetRequestId

func (*CreateBenchmarkTaskResponseBody) SetTaskName

func (CreateBenchmarkTaskResponseBody) String

type CreateGatewayIntranetLinkedVpcRequest

type CreateGatewayIntranetLinkedVpcRequest struct {
	// The vSwitch ID.
	//
	// example:
	//
	// vsw-8vbqn2at0kljjxxxx****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The virtual private cloud (VPC) ID.
	//
	// example:
	//
	// vpc-uf66uio7md****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (CreateGatewayIntranetLinkedVpcRequest) GoString

func (*CreateGatewayIntranetLinkedVpcRequest) SetVSwitchId

func (*CreateGatewayIntranetLinkedVpcRequest) SetVpcId

func (CreateGatewayIntranetLinkedVpcRequest) String

type CreateGatewayIntranetLinkedVpcResponse

type CreateGatewayIntranetLinkedVpcResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateGatewayIntranetLinkedVpcResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateGatewayIntranetLinkedVpcResponse) GoString

func (*CreateGatewayIntranetLinkedVpcResponse) SetHeaders

func (*CreateGatewayIntranetLinkedVpcResponse) SetStatusCode

func (CreateGatewayIntranetLinkedVpcResponse) String

type CreateGatewayIntranetLinkedVpcResponseBody

type CreateGatewayIntranetLinkedVpcResponseBody struct {
	// The private gateway ID.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Successfully add intranet linked vpc for gateway
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateGatewayIntranetLinkedVpcResponseBody) GoString

func (*CreateGatewayIntranetLinkedVpcResponseBody) SetGatewayId

func (*CreateGatewayIntranetLinkedVpcResponseBody) SetMessage

func (*CreateGatewayIntranetLinkedVpcResponseBody) SetRequestId

func (CreateGatewayIntranetLinkedVpcResponseBody) String

type CreateGatewayRequest

type CreateGatewayRequest struct {
	// The name of the resource group.
	//
	// example:
	//
	// eas-r-4gt8twzwllfo******
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// Specifies whether to enable Internet access. Default value: false.
	//
	// Valid values:
	//
	// 	- true
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- false
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// false
	EnableInternet *bool `json:"EnableInternet,omitempty" xml:"EnableInternet,omitempty"`
	// Specifies whether to enable internal network access. Default value: true.
	//
	// example:
	//
	// true
	EnableIntranet *bool `json:"EnableIntranet,omitempty" xml:"EnableIntranet,omitempty"`
	// The instance type used for the private gateway.
	//
	// This parameter is required.
	//
	// example:
	//
	// ecs.c6.4xlarge
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The private gateway alias.
	//
	// example:
	//
	// mygateway1
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (CreateGatewayRequest) GoString

func (s CreateGatewayRequest) GoString() string

func (*CreateGatewayRequest) SetEnableInternet

func (s *CreateGatewayRequest) SetEnableInternet(v bool) *CreateGatewayRequest

func (*CreateGatewayRequest) SetEnableIntranet

func (s *CreateGatewayRequest) SetEnableIntranet(v bool) *CreateGatewayRequest

func (*CreateGatewayRequest) SetInstanceType

func (s *CreateGatewayRequest) SetInstanceType(v string) *CreateGatewayRequest

func (*CreateGatewayRequest) SetName

func (*CreateGatewayRequest) SetResourceName

func (s *CreateGatewayRequest) SetResourceName(v string) *CreateGatewayRequest

func (CreateGatewayRequest) String

func (s CreateGatewayRequest) String() string

type CreateGatewayResponse

type CreateGatewayResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateGatewayResponse) GoString

func (s CreateGatewayResponse) GoString() string

func (*CreateGatewayResponse) SetBody

func (*CreateGatewayResponse) SetHeaders

func (*CreateGatewayResponse) SetStatusCode

func (s *CreateGatewayResponse) SetStatusCode(v int32) *CreateGatewayResponse

func (CreateGatewayResponse) String

func (s CreateGatewayResponse) String() string

type CreateGatewayResponseBody

type CreateGatewayResponseBody struct {
	// The region ID of the private gateway.
	//
	// example:
	//
	// cn-hangzhou
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The private gateway ID.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Successfully create gateway.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateGatewayResponseBody) GoString

func (s CreateGatewayResponseBody) GoString() string

func (*CreateGatewayResponseBody) SetClusterId

func (*CreateGatewayResponseBody) SetGatewayId

func (*CreateGatewayResponseBody) SetMessage

func (*CreateGatewayResponseBody) SetRequestId

func (CreateGatewayResponseBody) String

func (s CreateGatewayResponseBody) String() string

type CreateResourceInstancesRequest

type CreateResourceInstancesRequest struct {
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// 	- false (default)
	//
	// 	- true
	//
	// example:
	//
	// false
	AutoRenewal *bool `json:"AutoRenewal,omitempty" xml:"AutoRenewal,omitempty"`
	// The billing method of the instance. Valid values:
	//
	// 	- PrePaid: subscription.
	//
	// 	- PostPaid: pay-as-you-go.
	//
	// This parameter is required.
	//
	// example:
	//
	// PrePaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The number of instances that you want to create. Valid values: 1 to 100.
	//
	// This parameter is required.
	//
	// example:
	//
	// 5
	EcsInstanceCount *int32 `json:"EcsInstanceCount,omitempty" xml:"EcsInstanceCount,omitempty"`
	// The type of the Elastic Compute Service (ECS) instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// ecs.s6-c1m2.xlarge
	EcsInstanceType *string `json:"EcsInstanceType,omitempty" xml:"EcsInstanceType,omitempty"`
	// The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
	//
	// example:
	//
	// 200
	SystemDiskSize *int32 `json:"SystemDiskSize,omitempty" xml:"SystemDiskSize,omitempty"`
	// The user-defined information. This parameter is not in use.
	//
	// example:
	//
	// x112223333
	UserData *string `json:"UserData,omitempty" xml:"UserData,omitempty"`
	// The zone to which the instance belongs.
	//
	// example:
	//
	// cn-shanghai-f
	Zone *string `json:"Zone,omitempty" xml:"Zone,omitempty"`
}

func (CreateResourceInstancesRequest) GoString

func (*CreateResourceInstancesRequest) SetAutoRenewal

func (*CreateResourceInstancesRequest) SetChargeType

func (*CreateResourceInstancesRequest) SetEcsInstanceCount

func (*CreateResourceInstancesRequest) SetEcsInstanceType

func (*CreateResourceInstancesRequest) SetSystemDiskSize

func (*CreateResourceInstancesRequest) SetUserData

func (*CreateResourceInstancesRequest) SetZone

func (CreateResourceInstancesRequest) String

type CreateResourceInstancesResponse

type CreateResourceInstancesResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateResourceInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateResourceInstancesResponse) GoString

func (*CreateResourceInstancesResponse) SetHeaders

func (*CreateResourceInstancesResponse) SetStatusCode

func (CreateResourceInstancesResponse) String

type CreateResourceInstancesResponseBody

type CreateResourceInstancesResponseBody struct {
	// The instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty" type:"Repeated"`
	// The returned message.
	//
	// example:
	//
	// Create 5 new ecs instance(s) in resource [eas-r-asdasdasd] successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateResourceInstancesResponseBody) GoString

func (*CreateResourceInstancesResponseBody) SetInstanceIds

func (*CreateResourceInstancesResponseBody) SetMessage

func (*CreateResourceInstancesResponseBody) SetRequestId

func (CreateResourceInstancesResponseBody) String

type CreateResourceLogRequest

type CreateResourceLogRequest struct {
	// The Logstore of Log Service. For more information about how to query a Logstore, see [ListLogStores](https://help.aliyun.com/document_detail/426970.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// access_log
	LogStore *string `json:"LogStore,omitempty" xml:"LogStore,omitempty"`
	// The Log Service project that is associated with the resource group. For more information about how to query the project, see [ListProject](https://help.aliyun.com/document_detail/74955.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// eas-r-asdasdasd-sls
	ProjectName *string `json:"ProjectName,omitempty" xml:"ProjectName,omitempty"`
}

func (CreateResourceLogRequest) GoString

func (s CreateResourceLogRequest) GoString() string

func (*CreateResourceLogRequest) SetLogStore

func (*CreateResourceLogRequest) SetProjectName

func (CreateResourceLogRequest) String

func (s CreateResourceLogRequest) String() string

type CreateResourceLogResponse

type CreateResourceLogResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateResourceLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateResourceLogResponse) GoString

func (s CreateResourceLogResponse) GoString() string

func (*CreateResourceLogResponse) SetBody

func (*CreateResourceLogResponse) SetHeaders

func (*CreateResourceLogResponse) SetStatusCode

func (CreateResourceLogResponse) String

func (s CreateResourceLogResponse) String() string

type CreateResourceLogResponseBody

type CreateResourceLogResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Resource [eas-r-asdasdasd] is deleted.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateResourceLogResponseBody) GoString

func (*CreateResourceLogResponseBody) SetMessage

func (*CreateResourceLogResponseBody) SetRequestId

func (CreateResourceLogResponseBody) String

type CreateResourceRequest

type CreateResourceRequest struct {
	// Specifies whether to enable auto-renewal. Valid values:
	//
	// 	- false (default)
	//
	// 	- true
	//
	// example:
	//
	// false
	AutoRenewal *bool `json:"AutoRenewal,omitempty" xml:"AutoRenewal,omitempty"`
	// The billing method. Valid values:
	//
	// 	- PrePaid: the subscription billing method.
	//
	// 	- PostPaid: the pay-as-you-go billing method.
	//
	// >  This parameter is required when the ResourceType parameter is set to Dedicated.
	//
	// example:
	//
	// PostPaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The number of ECS instances.
	//
	// >  This parameter is required when the ResourceType parameter is set to Dedicated.
	//
	// example:
	//
	// 5
	EcsInstanceCount *int32 `json:"EcsInstanceCount,omitempty" xml:"EcsInstanceCount,omitempty"`
	// The type of the Elastic Compute Service (ECS) instance.
	//
	// >  This parameter is required when the ResourceType parameter is set to Dedicated.
	//
	// example:
	//
	// ecs.c6.8xlarge
	EcsInstanceType *string `json:"EcsInstanceType,omitempty" xml:"EcsInstanceType,omitempty"`
	// The type of the resource group. Valid values:
	//
	// 	- Dedicated: the dedicated resource group.
	//
	// 	- SelfManaged: the self-managed resource group.
	//
	// >  If you use a self-managed resource group, you must configure a whitelist.
	//
	// example:
	//
	// Dedicated
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The configurations of the self-managed resource group.
	SelfManagedResourceOptions *CreateResourceRequestSelfManagedResourceOptions `json:"SelfManagedResourceOptions,omitempty" xml:"SelfManagedResourceOptions,omitempty" type:"Struct"`
	// The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
	//
	// example:
	//
	// 200
	SystemDiskSize *int32 `json:"SystemDiskSize,omitempty" xml:"SystemDiskSize,omitempty"`
	// The ID of the zone in which the instance resides.
	//
	// example:
	//
	// cn-shanghai-f
	Zone *string `json:"Zone,omitempty" xml:"Zone,omitempty"`
}

func (CreateResourceRequest) GoString

func (s CreateResourceRequest) GoString() string

func (*CreateResourceRequest) SetAutoRenewal

func (s *CreateResourceRequest) SetAutoRenewal(v bool) *CreateResourceRequest

func (*CreateResourceRequest) SetChargeType

func (s *CreateResourceRequest) SetChargeType(v string) *CreateResourceRequest

func (*CreateResourceRequest) SetEcsInstanceCount

func (s *CreateResourceRequest) SetEcsInstanceCount(v int32) *CreateResourceRequest

func (*CreateResourceRequest) SetEcsInstanceType

func (s *CreateResourceRequest) SetEcsInstanceType(v string) *CreateResourceRequest

func (*CreateResourceRequest) SetResourceType

func (s *CreateResourceRequest) SetResourceType(v string) *CreateResourceRequest

func (*CreateResourceRequest) SetSelfManagedResourceOptions

func (*CreateResourceRequest) SetSystemDiskSize

func (s *CreateResourceRequest) SetSystemDiskSize(v int32) *CreateResourceRequest

func (*CreateResourceRequest) SetZone

func (CreateResourceRequest) String

func (s CreateResourceRequest) String() string

type CreateResourceRequestSelfManagedResourceOptions

type CreateResourceRequestSelfManagedResourceOptions struct {
	// The ID of the self-managed cluster.
	//
	// example:
	//
	// cf0386f250f2545689ca7fdd1cd******
	ExternalClusterId *string `json:"ExternalClusterId,omitempty" xml:"ExternalClusterId,omitempty"`
	// The tag key-value pairs for nodes.
	NodeMatchLabels map[string]*string `json:"NodeMatchLabels,omitempty" xml:"NodeMatchLabels,omitempty"`
	// Tolerations for nodes.
	NodeTolerations []*CreateResourceRequestSelfManagedResourceOptionsNodeTolerations `json:"NodeTolerations,omitempty" xml:"NodeTolerations,omitempty" type:"Repeated"`
	// The name of the RAM user to which the permissions on Elastic Algorithm Service of Platform for AI (PAI-EAS) are granted.
	//
	// example:
	//
	// clusterrole
	RoleName *string `json:"RoleName,omitempty" xml:"RoleName,omitempty"`
}

func (CreateResourceRequestSelfManagedResourceOptions) GoString

func (*CreateResourceRequestSelfManagedResourceOptions) SetExternalClusterId

func (*CreateResourceRequestSelfManagedResourceOptions) SetNodeMatchLabels

func (*CreateResourceRequestSelfManagedResourceOptions) SetRoleName

func (CreateResourceRequestSelfManagedResourceOptions) String

type CreateResourceRequestSelfManagedResourceOptionsNodeTolerations

type CreateResourceRequestSelfManagedResourceOptionsNodeTolerations struct {
	// The result.
	//
	// Valid values:
	//
	// 	- PreferNoSchedule
	//
	// 	- NoSchedule
	//
	// 	- NoExecute
	//
	// example:
	//
	// NoSchedule
	Effect *string `json:"effect,omitempty" xml:"effect,omitempty"`
	// The key name.
	//
	// example:
	//
	// key1
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The relationship between key names and key values.
	//
	// Valid values:
	//
	// 	- Equal
	//
	// 	- Exists
	//
	// example:
	//
	// Equal
	Operator *string `json:"operator,omitempty" xml:"operator,omitempty"`
	// The key value.
	//
	// example:
	//
	// value1
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (CreateResourceRequestSelfManagedResourceOptionsNodeTolerations) GoString

func (*CreateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetEffect

func (*CreateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetKey

func (*CreateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetOperator

func (*CreateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetValue

func (CreateResourceRequestSelfManagedResourceOptionsNodeTolerations) String

type CreateResourceResponse

type CreateResourceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateResourceResponse) GoString

func (s CreateResourceResponse) GoString() string

func (*CreateResourceResponse) SetBody

func (*CreateResourceResponse) SetHeaders

func (*CreateResourceResponse) SetStatusCode

func (CreateResourceResponse) String

func (s CreateResourceResponse) String() string

type CreateResourceResponseBody

type CreateResourceResponseBody struct {
	// The ID of the cluster to which the resource group belongs.
	//
	// example:
	//
	// cn-shanghai
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty" type:"Repeated"`
	// The user ID (UID) of the resource group owner.
	//
	// example:
	//
	// 14401087478****
	OwnerUid *string `json:"OwnerUid,omitempty" xml:"OwnerUid,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// eas-r-h7lcw24dyqztwxxxxxx
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The name of the resource group.
	//
	// example:
	//
	// MyResource
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
}

func (CreateResourceResponseBody) GoString

func (s CreateResourceResponseBody) GoString() string

func (*CreateResourceResponseBody) SetClusterId

func (*CreateResourceResponseBody) SetInstanceIds

func (*CreateResourceResponseBody) SetOwnerUid

func (*CreateResourceResponseBody) SetRequestId

func (*CreateResourceResponseBody) SetResourceId

func (*CreateResourceResponseBody) SetResourceName

func (CreateResourceResponseBody) String

type CreateServiceAutoScalerRequest

type CreateServiceAutoScalerRequest struct {
	// The Autoscaler operation.
	Behavior *CreateServiceAutoScalerRequestBehavior `json:"behavior,omitempty" xml:"behavior,omitempty" type:"Struct"`
	// The maximum number of instances in the service. The value of max must be greater than the value of min.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8
	Max *int32 `json:"max,omitempty" xml:"max,omitempty"`
	// The minimum number of instances in the service.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2
	Min *int32 `json:"min,omitempty" xml:"min,omitempty"`
	// The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.
	//
	// This parameter is required.
	ScaleStrategies []*CreateServiceAutoScalerRequestScaleStrategies `json:"scaleStrategies,omitempty" xml:"scaleStrategies,omitempty" type:"Repeated"`
}

func (CreateServiceAutoScalerRequest) GoString

func (*CreateServiceAutoScalerRequest) SetMax

func (*CreateServiceAutoScalerRequest) SetMin

func (CreateServiceAutoScalerRequest) String

type CreateServiceAutoScalerRequestBehavior

type CreateServiceAutoScalerRequestBehavior struct {
	// The operation that reduces the number of instances to 0.
	OnZero *CreateServiceAutoScalerRequestBehaviorOnZero `json:"onZero,omitempty" xml:"onZero,omitempty" type:"Struct"`
	// The scale-in operation.
	ScaleDown *CreateServiceAutoScalerRequestBehaviorScaleDown `json:"scaleDown,omitempty" xml:"scaleDown,omitempty" type:"Struct"`
	// The scale-out operation.
	ScaleUp *CreateServiceAutoScalerRequestBehaviorScaleUp `json:"scaleUp,omitempty" xml:"scaleUp,omitempty" type:"Struct"`
}

func (CreateServiceAutoScalerRequestBehavior) GoString

func (CreateServiceAutoScalerRequestBehavior) String

type CreateServiceAutoScalerRequestBehaviorOnZero

type CreateServiceAutoScalerRequestBehaviorOnZero struct {
	// The time window that is required before the number of instances is reduced to 0. The number of instances can be reduced to 0 only if no request is available or no traffic exists in the specified time window. Default value: 600.
	//
	// example:
	//
	// 600
	ScaleDownGracePeriodSeconds *int32 `json:"scaleDownGracePeriodSeconds,omitempty" xml:"scaleDownGracePeriodSeconds,omitempty"`
	// The number of instances that you want to create at a time if the number of instances is 0. Default value: 1.
	//
	// example:
	//
	// 1
	ScaleUpActivationReplicas *int32 `json:"scaleUpActivationReplicas,omitempty" xml:"scaleUpActivationReplicas,omitempty"`
}

func (CreateServiceAutoScalerRequestBehaviorOnZero) GoString

func (*CreateServiceAutoScalerRequestBehaviorOnZero) SetScaleDownGracePeriodSeconds

func (*CreateServiceAutoScalerRequestBehaviorOnZero) SetScaleUpActivationReplicas

func (CreateServiceAutoScalerRequestBehaviorOnZero) String

type CreateServiceAutoScalerRequestBehaviorScaleDown

type CreateServiceAutoScalerRequestBehaviorScaleDown struct {
	// The time window that is required before the scale-in operation is performed. The scale-in operation can be performed only if the specified metric drops below the specified threshold in the specified time window. Default value: 300.
	//
	// example:
	//
	// 300
	StabilizationWindowSeconds *int32 `json:"stabilizationWindowSeconds,omitempty" xml:"stabilizationWindowSeconds,omitempty"`
}

func (CreateServiceAutoScalerRequestBehaviorScaleDown) GoString

func (*CreateServiceAutoScalerRequestBehaviorScaleDown) SetStabilizationWindowSeconds

func (CreateServiceAutoScalerRequestBehaviorScaleDown) String

type CreateServiceAutoScalerRequestBehaviorScaleUp

type CreateServiceAutoScalerRequestBehaviorScaleUp struct {
	// The time window that is required before the scale-out operation is performed. The scale-out operation can be performed only if the specified metric exceeds the specified threshold in the specified time window. Default value: 0.
	//
	// example:
	//
	// 0
	StabilizationWindowSeconds *int32 `json:"stabilizationWindowSeconds,omitempty" xml:"stabilizationWindowSeconds,omitempty"`
}

func (CreateServiceAutoScalerRequestBehaviorScaleUp) GoString

func (*CreateServiceAutoScalerRequestBehaviorScaleUp) SetStabilizationWindowSeconds

func (CreateServiceAutoScalerRequestBehaviorScaleUp) String

type CreateServiceAutoScalerRequestScaleStrategies

type CreateServiceAutoScalerRequestScaleStrategies struct {
	// The name of the metric for triggering auto scaling. Valid values:
	//
	// 	- qps: the queries per second (qps) for an individual instance.
	//
	// 	- cpu: the cpu utilization.
	//
	// 	- gpu[util]: gpu utilization.
	//
	// This parameter is required.
	//
	// example:
	//
	// qps
	MetricName *string `json:"metricName,omitempty" xml:"metricName,omitempty"`
	// The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.
	//
	// example:
	//
	// demo_svc
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// The threshold of the metric that triggers auto scaling.
	//
	// 	- If you set metricName to qps, scale-out is triggered when the average qps for a single instance is greater than this threshold.
	//
	// 	- If you set metricName to cpu, scale-out is triggered when the average cpu utilization for a single instance is greater than this threshold.
	//
	// 	- If you set metricName to gpu, scale-out is triggered when the average cpu utilization for a single instance is greater than this threshold.
	//
	// This parameter is required.
	//
	// example:
	//
	// 10
	Threshold *float32 `json:"threshold,omitempty" xml:"threshold,omitempty"`
}

func (CreateServiceAutoScalerRequestScaleStrategies) GoString

func (*CreateServiceAutoScalerRequestScaleStrategies) SetMetricName

func (*CreateServiceAutoScalerRequestScaleStrategies) SetService

func (*CreateServiceAutoScalerRequestScaleStrategies) SetThreshold

func (CreateServiceAutoScalerRequestScaleStrategies) String

type CreateServiceAutoScalerResponse

type CreateServiceAutoScalerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateServiceAutoScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceAutoScalerResponse) GoString

func (*CreateServiceAutoScalerResponse) SetHeaders

func (*CreateServiceAutoScalerResponse) SetStatusCode

func (CreateServiceAutoScalerResponse) String

type CreateServiceAutoScalerResponseBody

type CreateServiceAutoScalerResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Succeed to auto scale service [foo]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateServiceAutoScalerResponseBody) GoString

func (*CreateServiceAutoScalerResponseBody) SetMessage

func (*CreateServiceAutoScalerResponseBody) SetRequestId

func (CreateServiceAutoScalerResponseBody) String

type CreateServiceCronScalerRequest

type CreateServiceCronScalerRequest struct {
	// The points in time that are excluded when you schedule a CronHPA job. The points in time must be specified by using a cron expression.
	ExcludeDates []*string `json:"ExcludeDates,omitempty" xml:"ExcludeDates,omitempty" type:"Repeated"`
	// The description of the CronHPA job.
	//
	// This parameter is required.
	ScaleJobs []*CreateServiceCronScalerRequestScaleJobs `json:"ScaleJobs,omitempty" xml:"ScaleJobs,omitempty" type:"Repeated"`
}

func (CreateServiceCronScalerRequest) GoString

func (*CreateServiceCronScalerRequest) SetExcludeDates

func (CreateServiceCronScalerRequest) String

type CreateServiceCronScalerRequestScaleJobs

type CreateServiceCronScalerRequestScaleJobs struct {
	// The name of the CronHPA job.
	//
	// example:
	//
	// scale-job-1
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The cron expression that is used to configure the execution time of the CronHPA job. For more information about how to configure cron expressions, see **Description of special characters*	- in this topic.
	//
	// This parameter is required.
	//
	// example:
	//
	// 0 18 	- 	- 	- *
	Schedule *string `json:"Schedule,omitempty" xml:"Schedule,omitempty"`
	// The number of instances that you want to configure for the CronHPA job.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	TargetSize *int32 `json:"TargetSize,omitempty" xml:"TargetSize,omitempty"`
}

func (CreateServiceCronScalerRequestScaleJobs) GoString

func (*CreateServiceCronScalerRequestScaleJobs) SetName

func (*CreateServiceCronScalerRequestScaleJobs) SetSchedule

func (*CreateServiceCronScalerRequestScaleJobs) SetTargetSize

func (CreateServiceCronScalerRequestScaleJobs) String

type CreateServiceCronScalerResponse

type CreateServiceCronScalerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateServiceCronScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceCronScalerResponse) GoString

func (*CreateServiceCronScalerResponse) SetHeaders

func (*CreateServiceCronScalerResponse) SetStatusCode

func (CreateServiceCronScalerResponse) String

type CreateServiceCronScalerResponseBody

type CreateServiceCronScalerResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Create cron scaler for service [foo] successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateServiceCronScalerResponseBody) GoString

func (*CreateServiceCronScalerResponseBody) SetMessage

func (*CreateServiceCronScalerResponseBody) SetRequestId

func (CreateServiceCronScalerResponseBody) String

type CreateServiceMirrorRequest

type CreateServiceMirrorRequest struct {
	// The percentage of the traffic that is mirrored to the destination service. Valid values: 0 to 100.
	//
	// example:
	//
	// 30
	Ratio *int32 `json:"Ratio,omitempty" xml:"Ratio,omitempty"`
	// The instances.
	Target []*string `json:"Target,omitempty" xml:"Target,omitempty" type:"Repeated"`
}

func (CreateServiceMirrorRequest) GoString

func (s CreateServiceMirrorRequest) GoString() string

func (*CreateServiceMirrorRequest) SetRatio

func (*CreateServiceMirrorRequest) SetTarget

func (CreateServiceMirrorRequest) String

type CreateServiceMirrorResponse

type CreateServiceMirrorResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateServiceMirrorResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceMirrorResponse) GoString

func (s CreateServiceMirrorResponse) GoString() string

func (*CreateServiceMirrorResponse) SetBody

func (*CreateServiceMirrorResponse) SetHeaders

func (*CreateServiceMirrorResponse) SetStatusCode

func (CreateServiceMirrorResponse) String

type CreateServiceMirrorResponseBody

type CreateServiceMirrorResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Traffic mirroring is ON for service [foo] in region [cn-shanghia], ratio [70%]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateServiceMirrorResponseBody) GoString

func (*CreateServiceMirrorResponseBody) SetMessage

func (*CreateServiceMirrorResponseBody) SetRequestId

func (CreateServiceMirrorResponseBody) String

type CreateServiceRequest

type CreateServiceRequest struct {
	// Specifies whether to enter development mode.
	//
	// Valid values:
	//
	// 	- true
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- false
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// true
	Develop *string `json:"Develop,omitempty" xml:"Develop,omitempty"`
	// The custom label.
	Labels map[string]*string `json:"Labels,omitempty" xml:"Labels,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123456
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
	// The request body. For more information about the key request parameters, see **Table 1. Request body parameters*	- and **Table 2. Metadata parameters**. For more information about all related parameters, see [Parameters of model services](https://help.aliyun.com/document_detail/450525.html).
	//
	// example:
	//
	// Service deployment by using an image:
	//
	// {
	//
	//   "name": "foo",
	//
	//   "metadata": {
	//
	//     "instance": 2,
	//
	//     "memory": 7000,
	//
	//     "cpu": 4
	//
	//     },
	//
	//   "containers": [
	//
	//     {
	//
	//       "image": "****",
	//
	//       "script": "***	- --listen=0.0.0.0 --server_port=8000 --headless",
	//
	//       "port": 8000
	//
	//     }
	//
	//   ],
	//
	//   "storage": [
	//
	//     {
	//
	//       "oss": {
	//
	//         "path": "oss://examplebuket/data111/",
	//
	//         "readOnly": false
	//
	//       },
	//
	//       "properties": {
	//
	//         "resource_type": "model"
	//
	//       },
	//
	//       "mount_path": "/data"
	//
	//     }
	//
	//   ]
	//
	// }
	//
	// AI-Web application deployment by using an image:
	//
	// {
	//
	//   "name": "foo",
	//
	//   "metadata": {
	//
	//     "instance": 1,
	//
	//     "memory": 7000,
	//
	//     "cpu": 4,
	//
	//     "enable_webservice": true
	//
	//   },
	//
	//   "containers": [
	//
	//     {
	//
	//       "image": "****",
	//
	//       "script": "***	- --listen=0.0.0.0 --server_port=8000 --headless",
	//
	//       "port": 8000
	//
	//     }
	//
	//   ],
	//
	//   "storage": [
	//
	//     {
	//
	//       "oss": {
	//
	//         "path": "oss://examplebucket/data111/",
	//
	//         "readOnly": false
	//
	//       },
	//
	//       "properties": {
	//
	//       "resource_type": "model"
	//
	//       },
	//
	//       "mount_path": "/data"
	//
	//     }
	//
	//   ]
	//
	// }
	//
	// Service deployment by using models and processors:
	//
	// {
	//
	//   "metadata": {
	//
	//     "instance": 1,
	//
	//     "memory": 7000,
	//
	//     "cpu": 4
	//
	//   },
	//
	//   "name": "foo",
	//
	//   "model_config": {},
	//
	//   "processor_type": "python",
	//
	//   "processor_path": "oss://****",
	//
	//   "processor_entry": "a.py",
	//
	//   "model_path": "oss://****"
	//
	// }
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceRequest) GoString

func (s CreateServiceRequest) GoString() string

func (*CreateServiceRequest) SetBody

func (*CreateServiceRequest) SetDevelop

func (*CreateServiceRequest) SetLabels

func (*CreateServiceRequest) SetWorkspaceId

func (s *CreateServiceRequest) SetWorkspaceId(v string) *CreateServiceRequest

func (CreateServiceRequest) String

func (s CreateServiceRequest) String() string

type CreateServiceResponse

type CreateServiceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceResponse) GoString

func (s CreateServiceResponse) GoString() string

func (*CreateServiceResponse) SetBody

func (*CreateServiceResponse) SetHeaders

func (*CreateServiceResponse) SetStatusCode

func (s *CreateServiceResponse) SetStatusCode(v int32) *CreateServiceResponse

func (CreateServiceResponse) String

func (s CreateServiceResponse) String() string

type CreateServiceResponseBody

type CreateServiceResponseBody struct {
	// The public endpoint of the created service.
	//
	// example:
	//
	// http://pai-eas.vpc.cn-shanghai.****
	InternetEndpoint *string `json:"InternetEndpoint,omitempty" xml:"InternetEndpoint,omitempty"`
	// The internal endpoint of the created service.
	//
	// example:
	//
	// http://pai-eas.cn-shanghai.****
	IntranetEndpoint *string `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"`
	// The region ID of the created service.
	//
	// example:
	//
	// cn-shanghai
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the created service.
	//
	// example:
	//
	// eas-m-aaxxxddf
	ServiceId *string `json:"ServiceId,omitempty" xml:"ServiceId,omitempty"`
	// The name of the created service.
	//
	// example:
	//
	// yourname
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The service state.
	//
	// example:
	//
	// Creating
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateServiceResponseBody) GoString

func (s CreateServiceResponseBody) GoString() string

func (*CreateServiceResponseBody) SetInternetEndpoint

func (s *CreateServiceResponseBody) SetInternetEndpoint(v string) *CreateServiceResponseBody

func (*CreateServiceResponseBody) SetIntranetEndpoint

func (s *CreateServiceResponseBody) SetIntranetEndpoint(v string) *CreateServiceResponseBody

func (*CreateServiceResponseBody) SetRegion

func (*CreateServiceResponseBody) SetRequestId

func (*CreateServiceResponseBody) SetServiceId

func (*CreateServiceResponseBody) SetServiceName

func (*CreateServiceResponseBody) SetStatus

func (CreateServiceResponseBody) String

func (s CreateServiceResponseBody) String() string

type CreateServiceShrinkRequest

type CreateServiceShrinkRequest struct {
	// Specifies whether to enter development mode.
	//
	// Valid values:
	//
	// 	- true
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- false
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// true
	Develop *string `json:"Develop,omitempty" xml:"Develop,omitempty"`
	// The custom label.
	LabelsShrink *string `json:"Labels,omitempty" xml:"Labels,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123456
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
	// The request body. For more information about the key request parameters, see **Table 1. Request body parameters*	- and **Table 2. Metadata parameters**. For more information about all related parameters, see [Parameters of model services](https://help.aliyun.com/document_detail/450525.html).
	//
	// example:
	//
	// Service deployment by using an image:
	//
	// {
	//
	//   "name": "foo",
	//
	//   "metadata": {
	//
	//     "instance": 2,
	//
	//     "memory": 7000,
	//
	//     "cpu": 4
	//
	//     },
	//
	//   "containers": [
	//
	//     {
	//
	//       "image": "****",
	//
	//       "script": "***	- --listen=0.0.0.0 --server_port=8000 --headless",
	//
	//       "port": 8000
	//
	//     }
	//
	//   ],
	//
	//   "storage": [
	//
	//     {
	//
	//       "oss": {
	//
	//         "path": "oss://examplebuket/data111/",
	//
	//         "readOnly": false
	//
	//       },
	//
	//       "properties": {
	//
	//         "resource_type": "model"
	//
	//       },
	//
	//       "mount_path": "/data"
	//
	//     }
	//
	//   ]
	//
	// }
	//
	// AI-Web application deployment by using an image:
	//
	// {
	//
	//   "name": "foo",
	//
	//   "metadata": {
	//
	//     "instance": 1,
	//
	//     "memory": 7000,
	//
	//     "cpu": 4,
	//
	//     "enable_webservice": true
	//
	//   },
	//
	//   "containers": [
	//
	//     {
	//
	//       "image": "****",
	//
	//       "script": "***	- --listen=0.0.0.0 --server_port=8000 --headless",
	//
	//       "port": 8000
	//
	//     }
	//
	//   ],
	//
	//   "storage": [
	//
	//     {
	//
	//       "oss": {
	//
	//         "path": "oss://examplebucket/data111/",
	//
	//         "readOnly": false
	//
	//       },
	//
	//       "properties": {
	//
	//       "resource_type": "model"
	//
	//       },
	//
	//       "mount_path": "/data"
	//
	//     }
	//
	//   ]
	//
	// }
	//
	// Service deployment by using models and processors:
	//
	// {
	//
	//   "metadata": {
	//
	//     "instance": 1,
	//
	//     "memory": 7000,
	//
	//     "cpu": 4
	//
	//   },
	//
	//   "name": "foo",
	//
	//   "model_config": {},
	//
	//   "processor_type": "python",
	//
	//   "processor_path": "oss://****",
	//
	//   "processor_entry": "a.py",
	//
	//   "model_path": "oss://****"
	//
	// }
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateServiceShrinkRequest) GoString

func (s CreateServiceShrinkRequest) GoString() string

func (*CreateServiceShrinkRequest) SetBody

func (*CreateServiceShrinkRequest) SetDevelop

func (*CreateServiceShrinkRequest) SetLabelsShrink

func (*CreateServiceShrinkRequest) SetWorkspaceId

func (CreateServiceShrinkRequest) String

type DeleteBenchmarkTaskResponse

type DeleteBenchmarkTaskResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteBenchmarkTaskResponse) GoString

func (s DeleteBenchmarkTaskResponse) GoString() string

func (*DeleteBenchmarkTaskResponse) SetBody

func (*DeleteBenchmarkTaskResponse) SetHeaders

func (*DeleteBenchmarkTaskResponse) SetStatusCode

func (DeleteBenchmarkTaskResponse) String

type DeleteBenchmarkTaskResponseBody

type DeleteBenchmarkTaskResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Benchmark task [benchmark-test-service-234c] is Deleting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteBenchmarkTaskResponseBody) GoString

func (*DeleteBenchmarkTaskResponseBody) SetMessage

func (*DeleteBenchmarkTaskResponseBody) SetRequestId

func (DeleteBenchmarkTaskResponseBody) String

type DeleteGatewayIntranetLinkedVpcRequest

type DeleteGatewayIntranetLinkedVpcRequest struct {
	// The ID of the vSwitch.
	//
	// example:
	//
	// vsw-8vbqn2at0kljjxxxx****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The virtual private cloud (VPC) ID.
	//
	// example:
	//
	// vpc-uf66uio7md****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (DeleteGatewayIntranetLinkedVpcRequest) GoString

func (*DeleteGatewayIntranetLinkedVpcRequest) SetVSwitchId

func (*DeleteGatewayIntranetLinkedVpcRequest) SetVpcId

func (DeleteGatewayIntranetLinkedVpcRequest) String

type DeleteGatewayIntranetLinkedVpcResponse

type DeleteGatewayIntranetLinkedVpcResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteGatewayIntranetLinkedVpcResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteGatewayIntranetLinkedVpcResponse) GoString

func (*DeleteGatewayIntranetLinkedVpcResponse) SetHeaders

func (*DeleteGatewayIntranetLinkedVpcResponse) SetStatusCode

func (DeleteGatewayIntranetLinkedVpcResponse) String

type DeleteGatewayIntranetLinkedVpcResponseBody

type DeleteGatewayIntranetLinkedVpcResponseBody struct {
	// The private gateway ID.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Successfully delete intranet linked vpc for gateway
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteGatewayIntranetLinkedVpcResponseBody) GoString

func (*DeleteGatewayIntranetLinkedVpcResponseBody) SetGatewayId

func (*DeleteGatewayIntranetLinkedVpcResponseBody) SetMessage

func (*DeleteGatewayIntranetLinkedVpcResponseBody) SetRequestId

func (DeleteGatewayIntranetLinkedVpcResponseBody) String

type DeleteGatewayResponse

type DeleteGatewayResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteGatewayResponse) GoString

func (s DeleteGatewayResponse) GoString() string

func (*DeleteGatewayResponse) SetBody

func (*DeleteGatewayResponse) SetHeaders

func (*DeleteGatewayResponse) SetStatusCode

func (s *DeleteGatewayResponse) SetStatusCode(v int32) *DeleteGatewayResponse

func (DeleteGatewayResponse) String

func (s DeleteGatewayResponse) String() string

type DeleteGatewayResponseBody

type DeleteGatewayResponseBody struct {
	// The private gateway ID.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Gateway is deleted.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteGatewayResponseBody) GoString

func (s DeleteGatewayResponseBody) GoString() string

func (*DeleteGatewayResponseBody) SetGatewayId

func (*DeleteGatewayResponseBody) SetMessage

func (*DeleteGatewayResponseBody) SetRequestId

func (DeleteGatewayResponseBody) String

func (s DeleteGatewayResponseBody) String() string

type DeleteResourceDLinkResponse

type DeleteResourceDLinkResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteResourceDLinkResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteResourceDLinkResponse) GoString

func (s DeleteResourceDLinkResponse) GoString() string

func (*DeleteResourceDLinkResponse) SetBody

func (*DeleteResourceDLinkResponse) SetHeaders

func (*DeleteResourceDLinkResponse) SetStatusCode

func (DeleteResourceDLinkResponse) String

type DeleteResourceDLinkResponseBody

type DeleteResourceDLinkResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Network interfaces are deleting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteResourceDLinkResponseBody) GoString

func (*DeleteResourceDLinkResponseBody) SetMessage

func (*DeleteResourceDLinkResponseBody) SetRequestId

func (DeleteResourceDLinkResponseBody) String

type DeleteResourceInstancesRequest

type DeleteResourceInstancesRequest struct {
	// Specifies whether to delete all the instances that fail to be created. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	AllFailed *bool `json:"AllFailed,omitempty" xml:"AllFailed,omitempty"`
	// The instances. Separate multiple instances with commas (,), such as `instanceId1,instanceId2`. For more information about how to query the instances, see [ListResourceInstances](https://help.aliyun.com/document_detail/412129.html).
	//
	// example:
	//
	// eas-i-xxxxxxx,eas-i-xxxxxxx
	InstanceList *string `json:"InstanceList,omitempty" xml:"InstanceList,omitempty"`
}

func (DeleteResourceInstancesRequest) GoString

func (*DeleteResourceInstancesRequest) SetAllFailed

func (*DeleteResourceInstancesRequest) SetInstanceList

func (DeleteResourceInstancesRequest) String

type DeleteResourceInstancesResponse

type DeleteResourceInstancesResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteResourceInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteResourceInstancesResponse) GoString

func (*DeleteResourceInstancesResponse) SetHeaders

func (*DeleteResourceInstancesResponse) SetStatusCode

func (DeleteResourceInstancesResponse) String

type DeleteResourceInstancesResponseBody

type DeleteResourceInstancesResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Instances eas-i-011227132046,eas-i-011227132046 are deleting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteResourceInstancesResponseBody) GoString

func (*DeleteResourceInstancesResponseBody) SetMessage

func (*DeleteResourceInstancesResponseBody) SetRequestId

func (DeleteResourceInstancesResponseBody) String

type DeleteResourceLogResponse

type DeleteResourceLogResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteResourceLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteResourceLogResponse) GoString

func (s DeleteResourceLogResponse) GoString() string

func (*DeleteResourceLogResponse) SetBody

func (*DeleteResourceLogResponse) SetHeaders

func (*DeleteResourceLogResponse) SetStatusCode

func (DeleteResourceLogResponse) String

func (s DeleteResourceLogResponse) String() string

type DeleteResourceLogResponseBody

type DeleteResourceLogResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Log service for resource [eas-r-asdasdasd] is deleting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteResourceLogResponseBody) GoString

func (*DeleteResourceLogResponseBody) SetMessage

func (*DeleteResourceLogResponseBody) SetRequestId

func (DeleteResourceLogResponseBody) String

type DeleteResourceResponse

type DeleteResourceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteResourceResponse) GoString

func (s DeleteResourceResponse) GoString() string

func (*DeleteResourceResponse) SetBody

func (*DeleteResourceResponse) SetHeaders

func (*DeleteResourceResponse) SetStatusCode

func (DeleteResourceResponse) String

func (s DeleteResourceResponse) String() string

type DeleteResourceResponseBody

type DeleteResourceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Resource [eas-r-asdasdasd] is deleted.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82-9624-EC2B1779848E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteResourceResponseBody) GoString

func (s DeleteResourceResponseBody) GoString() string

func (*DeleteResourceResponseBody) SetMessage

func (*DeleteResourceResponseBody) SetRequestId

func (DeleteResourceResponseBody) String

type DeleteServiceAutoScalerResponse

type DeleteServiceAutoScalerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceAutoScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceAutoScalerResponse) GoString

func (*DeleteServiceAutoScalerResponse) SetHeaders

func (*DeleteServiceAutoScalerResponse) SetStatusCode

func (DeleteServiceAutoScalerResponse) String

type DeleteServiceAutoScalerResponseBody

type DeleteServiceAutoScalerResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Autoscaler for service [foo] deleted successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceAutoScalerResponseBody) GoString

func (*DeleteServiceAutoScalerResponseBody) SetMessage

func (*DeleteServiceAutoScalerResponseBody) SetRequestId

func (DeleteServiceAutoScalerResponseBody) String

type DeleteServiceCronScalerResponse

type DeleteServiceCronScalerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceCronScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceCronScalerResponse) GoString

func (*DeleteServiceCronScalerResponse) SetHeaders

func (*DeleteServiceCronScalerResponse) SetStatusCode

func (DeleteServiceCronScalerResponse) String

type DeleteServiceCronScalerResponseBody

type DeleteServiceCronScalerResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Cronscaler for service [foo] deleted successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceCronScalerResponseBody) GoString

func (*DeleteServiceCronScalerResponseBody) SetMessage

func (*DeleteServiceCronScalerResponseBody) SetRequestId

func (DeleteServiceCronScalerResponseBody) String

type DeleteServiceInstancesRequest

type DeleteServiceInstancesRequest struct {
	// The name of the container whose process needs to be restarted. This parameter takes effect only if the SoftRestart parameter is set to true.
	//
	// example:
	//
	// worker0
	Container *string `json:"Container,omitempty" xml:"Container,omitempty"`
	// The instances that you want to restart. Separate multiple instance names with commas (,). For more information about how to query the instance name, see [ListServiceInstances](https://help.aliyun.com/document_detail/412108.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// foo-rdsbxxxx,foo-rdsaxxxx
	InstanceList *string `json:"InstanceList,omitempty" xml:"InstanceList,omitempty"`
	// Specifies whether to restart only the container process without recreating the instance. Default value: false. Valid values: true and false.
	//
	// example:
	//
	// true
	SoftRestart *bool `json:"SoftRestart,omitempty" xml:"SoftRestart,omitempty"`
}

func (DeleteServiceInstancesRequest) GoString

func (*DeleteServiceInstancesRequest) SetContainer

func (*DeleteServiceInstancesRequest) SetInstanceList

func (*DeleteServiceInstancesRequest) SetSoftRestart

func (DeleteServiceInstancesRequest) String

type DeleteServiceInstancesResponse

type DeleteServiceInstancesResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceInstancesResponse) GoString

func (*DeleteServiceInstancesResponse) SetHeaders

func (*DeleteServiceInstancesResponse) SetStatusCode

func (DeleteServiceInstancesResponse) String

type DeleteServiceInstancesResponseBody

type DeleteServiceInstancesResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Instance(s) [foo-rdsb,foo-rdsa]  for service [foo] in region [cn-shanghai] was deleted successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceInstancesResponseBody) GoString

func (*DeleteServiceInstancesResponseBody) SetMessage

func (*DeleteServiceInstancesResponseBody) SetRequestId

func (DeleteServiceInstancesResponseBody) String

type DeleteServiceLabelRequest

type DeleteServiceLabelRequest struct {
	// The service tags that you want to delete.
	//
	// This parameter is required.
	Keys []*string `json:"Keys,omitempty" xml:"Keys,omitempty" type:"Repeated"`
}

func (DeleteServiceLabelRequest) GoString

func (s DeleteServiceLabelRequest) GoString() string

func (*DeleteServiceLabelRequest) SetKeys

func (DeleteServiceLabelRequest) String

func (s DeleteServiceLabelRequest) String() string

type DeleteServiceLabelResponse

type DeleteServiceLabelResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceLabelResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceLabelResponse) GoString

func (s DeleteServiceLabelResponse) GoString() string

func (*DeleteServiceLabelResponse) SetBody

func (*DeleteServiceLabelResponse) SetHeaders

func (*DeleteServiceLabelResponse) SetStatusCode

func (DeleteServiceLabelResponse) String

type DeleteServiceLabelResponseBody

type DeleteServiceLabelResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Succeed to delete service [service_from_zxxx] labels.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceLabelResponseBody) GoString

func (*DeleteServiceLabelResponseBody) SetMessage

func (*DeleteServiceLabelResponseBody) SetRequestId

func (DeleteServiceLabelResponseBody) String

type DeleteServiceLabelShrinkRequest

type DeleteServiceLabelShrinkRequest struct {
	// The service tags that you want to delete.
	//
	// This parameter is required.
	KeysShrink *string `json:"Keys,omitempty" xml:"Keys,omitempty"`
}

func (DeleteServiceLabelShrinkRequest) GoString

func (*DeleteServiceLabelShrinkRequest) SetKeysShrink

func (DeleteServiceLabelShrinkRequest) String

type DeleteServiceMirrorResponse

type DeleteServiceMirrorResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceMirrorResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceMirrorResponse) GoString

func (s DeleteServiceMirrorResponse) GoString() string

func (*DeleteServiceMirrorResponse) SetBody

func (*DeleteServiceMirrorResponse) SetHeaders

func (*DeleteServiceMirrorResponse) SetStatusCode

func (DeleteServiceMirrorResponse) String

type DeleteServiceMirrorResponseBody

type DeleteServiceMirrorResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Traffic mirroring is OFF for service [foo] in region [cn-shanghia], ratio [70%]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceMirrorResponseBody) GoString

func (*DeleteServiceMirrorResponseBody) SetMessage

func (*DeleteServiceMirrorResponseBody) SetRequestId

func (DeleteServiceMirrorResponseBody) String

type DeleteServiceResponse

type DeleteServiceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteServiceResponse) GoString

func (s DeleteServiceResponse) GoString() string

func (*DeleteServiceResponse) SetBody

func (*DeleteServiceResponse) SetHeaders

func (*DeleteServiceResponse) SetStatusCode

func (s *DeleteServiceResponse) SetStatusCode(v int32) *DeleteServiceResponse

func (DeleteServiceResponse) String

func (s DeleteServiceResponse) String() string

type DeleteServiceResponseBody

type DeleteServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Service [foo] in region [cn-shanghai] is terminating
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteServiceResponseBody) GoString

func (s DeleteServiceResponseBody) GoString() string

func (*DeleteServiceResponseBody) SetMessage

func (*DeleteServiceResponseBody) SetRequestId

func (DeleteServiceResponseBody) String

func (s DeleteServiceResponseBody) String() string

type DescribeBenchmarkTaskReportRequest

type DescribeBenchmarkTaskReportRequest struct {
	// The report type of the stress testing task. Valid values: RAW and Report.
	//
	// example:
	//
	// report
	ReportType *string `json:"ReportType,omitempty" xml:"ReportType,omitempty"`
}

func (DescribeBenchmarkTaskReportRequest) GoString

func (*DescribeBenchmarkTaskReportRequest) SetReportType

func (DescribeBenchmarkTaskReportRequest) String

type DescribeBenchmarkTaskReportResponse

type DescribeBenchmarkTaskReportResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeBenchmarkTaskReportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeBenchmarkTaskReportResponse) GoString

func (*DescribeBenchmarkTaskReportResponse) SetHeaders

func (*DescribeBenchmarkTaskReportResponse) SetStatusCode

func (DescribeBenchmarkTaskReportResponse) String

type DescribeBenchmarkTaskReportResponseBody

type DescribeBenchmarkTaskReportResponseBody struct {
	// If the value of ReportType is set to RAW, the details about the stress testing report are returned.
	//
	// example:
	//
	// {
	//
	//     "TimestampList": ["int64"],
	//
	//     "QPSList": ["float32"],
	//
	//     "RTList": [
	//
	//       {
	//
	//         "AVG": "float32",
	//
	//         "TP100": "float32",
	//
	//         "TP99": "float32",
	//
	//         "TP90": "float32",
	//
	//         "TP50": "float32",
	//
	//         "TP10": "float32"
	//
	//       }
	//
	//     ],
	//
	//     "TrafficList": [
	//
	//       {
	//
	//         "Send": "float64",
	//
	//         "Receive": "float64"
	//
	//       }
	//
	//     ],
	//
	//     "StatusCode": {
	//
	//       "200": "uint64",
	//
	//       "450": "uint64",
	//
	//       "500": "uint64"
	//
	//     },
	//
	//     "Count": "uint64",
	//
	//     "Total": "float64",
	//
	//     "MinRT": "float32",
	//
	//     "AvgRT": "float32",
	//
	//     "MaxRT": "float32",
	//
	//     "QPS": "float32",
	//
	//     "TotalSend": "float64",
	//
	//     "TotalReceive": "float64",
	//
	//     "RTDistribution": [
	//
	//       {
	//
	//         "Latency": "float32",
	//
	//         "Percentage": "int"
	//
	//       }
	//
	//     ],
	//
	//     "RTHistogram": [
	//
	//       {
	//
	//         "Count": "int",
	//
	//         "Mark": "float32",
	//
	//         "Frequency": "float32"
	//
	//       }
	//
	//     ]
	//
	//   }
	Data interface{} `json:"Data,omitempty" xml:"Data,omitempty"`
	// If the value of ReportType is set to Report, the URL of the stress testing report is returned.
	//
	// example:
	//
	// http://eas-benchmark.oss-cn-chengdu.aliyuncs.com/summary/benchmark-larec-test-015d-10007.html
	ReportUrl *string `json:"ReportUrl,omitempty" xml:"ReportUrl,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82********
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeBenchmarkTaskReportResponseBody) GoString

func (*DescribeBenchmarkTaskReportResponseBody) SetData

func (*DescribeBenchmarkTaskReportResponseBody) SetReportUrl

func (*DescribeBenchmarkTaskReportResponseBody) SetRequestId

func (DescribeBenchmarkTaskReportResponseBody) String

type DescribeBenchmarkTaskResponse

type DescribeBenchmarkTaskResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeBenchmarkTaskResponse) GoString

func (*DescribeBenchmarkTaskResponse) SetBody

func (*DescribeBenchmarkTaskResponse) SetHeaders

func (*DescribeBenchmarkTaskResponse) SetStatusCode

func (DescribeBenchmarkTaskResponse) String

type DescribeBenchmarkTaskResponseBody

type DescribeBenchmarkTaskResponseBody struct {
	// The number of instances that you can test.
	//
	// example:
	//
	// 4
	AvailableAgent *int64 `json:"AvailableAgent,omitempty" xml:"AvailableAgent,omitempty"`
	// The ID of the operation caller.
	//
	// example:
	//
	// 1640133467****
	CallerUid *string `json:"CallerUid,omitempty" xml:"CallerUid,omitempty"`
	// The number of instances that you want to test.
	//
	// example:
	//
	// 4
	DesiredAgent *int64 `json:"DesiredAgent,omitempty" xml:"DesiredAgent,omitempty"`
	// The endpoint of the service gateway.
	//
	// example:
	//
	// 192342311234.pai-eas.cn-chengdu.aliyuncs.com
	Endpoint *string `json:"Endpoint,omitempty" xml:"Endpoint,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Benchmar task is Running
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the Alibaba Cloud account that is used to call the operation.
	//
	// example:
	//
	// 1029728669****
	ParentUid *string `json:"ParentUid,omitempty" xml:"ParentUid,omitempty"`
	// The event or reason that causes the current state of the stress testing task.
	//
	// example:
	//
	// RUNNING
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The name of the service that you want to test.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The state of the stress testing task.
	//
	// Valid values:
	//
	// 	- Creating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Starting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- DeleteFailed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Running
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopping
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Error
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Updating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Deleting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- CreateFailed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the stress testing task.
	//
	// example:
	//
	// eas-b-gv4y86u****
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The name of the stress testing task.
	//
	// example:
	//
	// benchmark-larec-test-ae70
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// The token for authentication when a stress testing task is created.
	//
	// example:
	//
	// 6062787a-9301****
	Token *string `json:"Token,omitempty" xml:"Token,omitempty"`
}

func (DescribeBenchmarkTaskResponseBody) GoString

func (*DescribeBenchmarkTaskResponseBody) SetAvailableAgent

func (*DescribeBenchmarkTaskResponseBody) SetCallerUid

func (*DescribeBenchmarkTaskResponseBody) SetDesiredAgent

func (*DescribeBenchmarkTaskResponseBody) SetEndpoint

func (*DescribeBenchmarkTaskResponseBody) SetMessage

func (*DescribeBenchmarkTaskResponseBody) SetParentUid

func (*DescribeBenchmarkTaskResponseBody) SetReason

func (*DescribeBenchmarkTaskResponseBody) SetRequestId

func (*DescribeBenchmarkTaskResponseBody) SetServiceName

func (*DescribeBenchmarkTaskResponseBody) SetStatus

func (*DescribeBenchmarkTaskResponseBody) SetTaskId

func (*DescribeBenchmarkTaskResponseBody) SetTaskName

func (*DescribeBenchmarkTaskResponseBody) SetToken

func (DescribeBenchmarkTaskResponseBody) String

type DescribeGatewayResponse

type DescribeGatewayResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeGatewayResponse) GoString

func (s DescribeGatewayResponse) GoString() string

func (*DescribeGatewayResponse) SetBody

func (*DescribeGatewayResponse) SetHeaders

func (*DescribeGatewayResponse) SetStatusCode

func (DescribeGatewayResponse) String

func (s DescribeGatewayResponse) String() string

type DescribeGatewayResponseBody

type DescribeGatewayResponseBody struct {
	// The UID of the account that is used to create the private gateway.
	//
	// example:
	//
	// 20123*******
	CallerUid *string `json:"CallerUid,omitempty" xml:"CallerUid,omitempty"`
	// The time when the private gateway was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2020-05-19T14:19:42Z
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the self-managed cluster.
	//
	// example:
	//
	// c935eadf284c14c2da57a2a13ad6******
	ExternalClusterId *string `json:"ExternalClusterId,omitempty" xml:"ExternalClusterId,omitempty"`
	// The ID of the private gateway.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The private gateway alias.
	//
	// example:
	//
	// mygateway1
	GatewayName *string `json:"GatewayName,omitempty" xml:"GatewayName,omitempty"`
	// The instance type used for the private gateway.
	//
	// example:
	//
	// ecs.c6.4xlarge
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The Internet access control policies.
	InternetAclPolicyList []*DescribeGatewayResponseBodyInternetAclPolicyList `json:"InternetAclPolicyList,omitempty" xml:"InternetAclPolicyList,omitempty" type:"Repeated"`
	// The public endpoint.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******-1801786532******.cn-hangzhou.pai-eas.aliyuncs.com
	InternetDomain *string `json:"InternetDomain,omitempty" xml:"InternetDomain,omitempty"`
	// Indicates whether Internet access is enabled.
	//
	// example:
	//
	// true
	InternetEnabled *bool `json:"InternetEnabled,omitempty" xml:"InternetEnabled,omitempty"`
	// The internal endpoint.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******-1801786532******-vpc.cn-hangzhou.pai-eas.aliyuncs.com
	IntranetDomain *string `json:"IntranetDomain,omitempty" xml:"IntranetDomain,omitempty"`
	// Indicates whether internal network access is enabled.
	//
	// example:
	//
	// true
	IntranetEnabled *bool `json:"IntranetEnabled,omitempty" xml:"IntranetEnabled,omitempty"`
	// The internal endpoints.
	IntranetLinkedVpcList []*DescribeGatewayResponseBodyIntranetLinkedVpcList `json:"IntranetLinkedVpcList,omitempty" xml:"IntranetLinkedVpcList,omitempty" type:"Repeated"`
	// The user ID (UID) of the Alibaba Cloud account that is used to create the private gateway.
	//
	// example:
	//
	// 11234*******
	ParentUid *string `json:"ParentUid,omitempty" xml:"ParentUid,omitempty"`
	// The region ID of the private gateway.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The state of the private gateway.
	//
	// example:
	//
	// PrivateGatewayRunning
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the private gateway was updated. The time is displayed in UTC.
	//
	// example:
	//
	// 2021-02-24T11:52:17Z
	UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (DescribeGatewayResponseBody) GoString

func (s DescribeGatewayResponseBody) GoString() string

func (*DescribeGatewayResponseBody) SetCallerUid

func (*DescribeGatewayResponseBody) SetCreateTime

func (*DescribeGatewayResponseBody) SetExternalClusterId

func (*DescribeGatewayResponseBody) SetGatewayId

func (*DescribeGatewayResponseBody) SetGatewayName

func (*DescribeGatewayResponseBody) SetInstanceType

func (*DescribeGatewayResponseBody) SetInternetDomain

func (*DescribeGatewayResponseBody) SetInternetEnabled

func (*DescribeGatewayResponseBody) SetIntranetDomain

func (*DescribeGatewayResponseBody) SetIntranetEnabled

func (*DescribeGatewayResponseBody) SetParentUid

func (*DescribeGatewayResponseBody) SetRegion

func (*DescribeGatewayResponseBody) SetRequestId

func (*DescribeGatewayResponseBody) SetStatus

func (*DescribeGatewayResponseBody) SetUpdateTime

func (DescribeGatewayResponseBody) String

type DescribeGatewayResponseBodyInternetAclPolicyList

type DescribeGatewayResponseBodyInternetAclPolicyList struct {
	// The description.
	//
	// example:
	//
	// test
	Comment *string `json:"Comment,omitempty" xml:"Comment,omitempty"`
	// The Classless Inter-Domain Routing (CIDR) block that is allowed to access the private gateway.
	//
	// example:
	//
	// 192.168.1.1/32
	Entry *string `json:"Entry,omitempty" xml:"Entry,omitempty"`
	// The state of the private gateway.
	//
	// Valid values:
	//
	// 	- Creating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Running
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeGatewayResponseBodyInternetAclPolicyList) GoString

func (*DescribeGatewayResponseBodyInternetAclPolicyList) SetComment

func (*DescribeGatewayResponseBodyInternetAclPolicyList) SetEntry

func (*DescribeGatewayResponseBodyInternetAclPolicyList) SetStatus

func (DescribeGatewayResponseBodyInternetAclPolicyList) String

type DescribeGatewayResponseBodyIntranetLinkedVpcList

type DescribeGatewayResponseBodyIntranetLinkedVpcList struct {
	// The IP address.
	//
	// example:
	//
	// 192.168.10.11
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The security group ID.
	//
	// example:
	//
	// sg-2ze4pgstgszvgq******
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// The state of the private gateway. Valid values:
	//
	// 	- Creating
	//
	// 	- Running
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The vSwitch ID.
	//
	// example:
	//
	// vsw-bp1txzxsdck43pp******
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the virtual private cloud (VPC).
	//
	// example:
	//
	// vpc-bp1g11zvka6zr3i******
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (DescribeGatewayResponseBodyIntranetLinkedVpcList) GoString

func (*DescribeGatewayResponseBodyIntranetLinkedVpcList) SetIp

func (*DescribeGatewayResponseBodyIntranetLinkedVpcList) SetSecurityGroupId

func (*DescribeGatewayResponseBodyIntranetLinkedVpcList) SetStatus

func (*DescribeGatewayResponseBodyIntranetLinkedVpcList) SetVSwitchId

func (*DescribeGatewayResponseBodyIntranetLinkedVpcList) SetVpcId

func (DescribeGatewayResponseBodyIntranetLinkedVpcList) String

type DescribeGroupResponse

type DescribeGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *Group             `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeGroupResponse) GoString

func (s DescribeGroupResponse) GoString() string

func (*DescribeGroupResponse) SetBody

func (*DescribeGroupResponse) SetHeaders

func (*DescribeGroupResponse) SetStatusCode

func (s *DescribeGroupResponse) SetStatusCode(v int32) *DescribeGroupResponse

func (DescribeGroupResponse) String

func (s DescribeGroupResponse) String() string

type DescribeResourceDLinkResponse

type DescribeResourceDLinkResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeResourceDLinkResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeResourceDLinkResponse) GoString

func (*DescribeResourceDLinkResponse) SetBody

func (*DescribeResourceDLinkResponse) SetHeaders

func (*DescribeResourceDLinkResponse) SetStatusCode

func (DescribeResourceDLinkResponse) String

type DescribeResourceDLinkResponseBody

type DescribeResourceDLinkResponseBody struct {
	// The IDs of the secondary vSwitches that are directly connected.
	AuxVSwitchList []*string `json:"AuxVSwitchList,omitempty" xml:"AuxVSwitchList,omitempty" type:"Repeated"`
	// The CIDR blocks of the clients that you want to connect to. After this parameter is specified, the CIDR blocks are added to the back-to-origin route of the server. Either this parameter or the VSwitchIdList parameter can be used to determine CIDR blocks.
	//
	// example:
	//
	// 72.16.0.0/16
	DestinationCIDRs *string `json:"DestinationCIDRs,omitempty" xml:"DestinationCIDRs,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the security group that is directly connected.
	//
	// example:
	//
	// sg-bp1j1z7297hcink9d****
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// The ID of the primary vSwitch that is directly connected.
	//
	// example:
	//
	// vsw-8vbqn2at0kljjxxxx****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The ID of the VPC that is directly connected.
	//
	// example:
	//
	// vpc-uf66uio7md****
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (DescribeResourceDLinkResponseBody) GoString

func (*DescribeResourceDLinkResponseBody) SetAuxVSwitchList

func (*DescribeResourceDLinkResponseBody) SetDestinationCIDRs

func (*DescribeResourceDLinkResponseBody) SetRequestId

func (*DescribeResourceDLinkResponseBody) SetSecurityGroupId

func (*DescribeResourceDLinkResponseBody) SetVSwitchId

func (*DescribeResourceDLinkResponseBody) SetVpcId

func (DescribeResourceDLinkResponseBody) String

type DescribeResourceLogResponse

type DescribeResourceLogResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeResourceLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeResourceLogResponse) GoString

func (s DescribeResourceLogResponse) GoString() string

func (*DescribeResourceLogResponse) SetBody

func (*DescribeResourceLogResponse) SetHeaders

func (*DescribeResourceLogResponse) SetStatusCode

func (DescribeResourceLogResponse) String

type DescribeResourceLogResponseBody

type DescribeResourceLogResponseBody struct {
	// The Logstore of Log Service.
	//
	// example:
	//
	// access_log
	LogStore *string `json:"LogStore,omitempty" xml:"LogStore,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Network interfaces are updating
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The Log Service project that is associated with the resource group.
	//
	// example:
	//
	// eas-r-asdasdasd-sls
	ProjectName *string `json:"ProjectName,omitempty" xml:"ProjectName,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The state of the resource group.
	//
	// example:
	//
	// ResourceReady
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeResourceLogResponseBody) GoString

func (*DescribeResourceLogResponseBody) SetLogStore

func (*DescribeResourceLogResponseBody) SetMessage

func (*DescribeResourceLogResponseBody) SetProjectName

func (*DescribeResourceLogResponseBody) SetRequestId

func (*DescribeResourceLogResponseBody) SetStatus

func (DescribeResourceLogResponseBody) String

type DescribeResourceResponse

type DescribeResourceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeResourceResponse) GoString

func (s DescribeResourceResponse) GoString() string

func (*DescribeResourceResponse) SetBody

func (*DescribeResourceResponse) SetHeaders

func (*DescribeResourceResponse) SetStatusCode

func (DescribeResourceResponse) String

func (s DescribeResourceResponse) String() string

type DescribeResourceResponseBody

type DescribeResourceResponseBody struct {
	// The ID of the cluster to which the resource group belongs.
	//
	// example:
	//
	// cn-beijing
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The total number of CPU cores.
	//
	// example:
	//
	// 16
	CpuCount *int32 `json:"CpuCount,omitempty" xml:"CpuCount,omitempty"`
	// The time when the resource group was created.
	//
	// example:
	//
	// 2020-05-19T14:19:42Z
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The additional information, such as the connection status of a virtual private cloud (VPC) and the log status of Log Service.
	//
	// example:
	//
	// {"vswitch_id":"vsw-bp17uo6xebcusy****","gpu_share":true,"aux_vswitch_id_list":["vsw-bp13b3pvjap3vxn****","vsw-bp1nls8o5hk8mt8*****"],"security_group_id":"sg-bp1j1z7297hcink*****","vpc_id":"vpc-bp1kjr3rfyhx01*****","destination_cidr":"172.16.0.12/28","role_arn":"acs:ram::1157703270*****:role/AliyunServiceRoleForPaiEas","sls_project":"","sls_logstore":"","sls_status":"ResourceReady","sls_message":"","update_time":""}
	ExtraData *string `json:"ExtraData,omitempty" xml:"ExtraData,omitempty"`
	// The total number of GPUs.
	//
	// example:
	//
	// 1
	GpuCount *int32 `json:"GpuCount,omitempty" xml:"GpuCount,omitempty"`
	// The total number of instances in the resource group.
	//
	// example:
	//
	// 4
	InstanceCount *int32 `json:"InstanceCount,omitempty" xml:"InstanceCount,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Resource is ready
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the resource group owner.
	//
	// example:
	//
	// 14401087478****
	OwnerUid *string `json:"OwnerUid,omitempty" xml:"OwnerUid,omitempty"`
	// The total number of pay-as-you-go instances in the resource group.
	//
	// example:
	//
	// 3
	PostPaidInstanceCount *int32 `json:"PostPaidInstanceCount,omitempty" xml:"PostPaidInstanceCount,omitempty"`
	// The total number of subscription instances in the resource group.
	//
	// example:
	//
	// 1
	PrePaidInstanceCount *int32 `json:"PrePaidInstanceCount,omitempty" xml:"PrePaidInstanceCount,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 902976F2-6FAF-5404-8A4D-6CC223***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the Elastic Algorithm Service (EAS) resource.
	//
	// example:
	//
	// eas-r-glkfpsxuw57x1h*****
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The name of the EAS resource.
	//
	// example:
	//
	// my-resouce****
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The type of the resource group. Valid values:
	//
	// 	- Dedicated: the dedicated resource group.
	//
	// 	- SelfManaged: the self-managed resource group.
	//
	// example:
	//
	// Dedicated
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The state of the resource group.
	//
	// example:
	//
	// ResourceReady
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the resource group was last updated.
	//
	// example:
	//
	// 2021-02-24T11:52:17Z
	UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (DescribeResourceResponseBody) GoString

func (s DescribeResourceResponseBody) GoString() string

func (*DescribeResourceResponseBody) SetClusterId

func (*DescribeResourceResponseBody) SetCpuCount

func (*DescribeResourceResponseBody) SetCreateTime

func (*DescribeResourceResponseBody) SetExtraData

func (*DescribeResourceResponseBody) SetGpuCount

func (*DescribeResourceResponseBody) SetInstanceCount

func (*DescribeResourceResponseBody) SetMessage

func (*DescribeResourceResponseBody) SetOwnerUid

func (*DescribeResourceResponseBody) SetPostPaidInstanceCount

func (s *DescribeResourceResponseBody) SetPostPaidInstanceCount(v int32) *DescribeResourceResponseBody

func (*DescribeResourceResponseBody) SetPrePaidInstanceCount

func (s *DescribeResourceResponseBody) SetPrePaidInstanceCount(v int32) *DescribeResourceResponseBody

func (*DescribeResourceResponseBody) SetRequestId

func (*DescribeResourceResponseBody) SetResourceId

func (*DescribeResourceResponseBody) SetResourceName

func (*DescribeResourceResponseBody) SetResourceType

func (*DescribeResourceResponseBody) SetStatus

func (*DescribeResourceResponseBody) SetUpdateTime

func (DescribeResourceResponseBody) String

type DescribeServiceAutoScalerResponse

type DescribeServiceAutoScalerResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceAutoScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceAutoScalerResponse) GoString

func (*DescribeServiceAutoScalerResponse) SetHeaders

func (*DescribeServiceAutoScalerResponse) SetStatusCode

func (DescribeServiceAutoScalerResponse) String

type DescribeServiceAutoScalerResponseBody

type DescribeServiceAutoScalerResponseBody struct {
	// The additional information about the Autoscaler policy, such as the interval of triggering Autoscaler.
	//
	// example:
	//
	// {
	//
	//   "behavior": {
	//
	//     "scaleDown": {
	//
	//       "stabilizationWindowSeconds": 150
	//
	//     }
	//
	//   }
	//
	// }
	Behavior map[string]interface{} `json:"Behavior,omitempty" xml:"Behavior,omitempty"`
	// The metrics.
	CurrentMetrics []*DescribeServiceAutoScalerResponseBodyCurrentMetrics `json:"CurrentMetrics,omitempty" xml:"CurrentMetrics,omitempty" type:"Repeated"`
	// The maximum number of instances in the service.
	//
	// example:
	//
	// 8
	MaxReplica *int32 `json:"MaxReplica,omitempty" xml:"MaxReplica,omitempty"`
	// The minimum number of instances in the service.
	//
	// example:
	//
	// 3
	MinReplica *int32 `json:"MinReplica,omitempty" xml:"MinReplica,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The auto scaling policies.
	ScaleStrategies []*DescribeServiceAutoScalerResponseBodyScaleStrategies `json:"ScaleStrategies,omitempty" xml:"ScaleStrategies,omitempty" type:"Repeated"`
	// The service name.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
}

func (DescribeServiceAutoScalerResponseBody) GoString

func (*DescribeServiceAutoScalerResponseBody) SetBehavior

func (*DescribeServiceAutoScalerResponseBody) SetMaxReplica

func (*DescribeServiceAutoScalerResponseBody) SetMinReplica

func (*DescribeServiceAutoScalerResponseBody) SetRequestId

func (*DescribeServiceAutoScalerResponseBody) SetServiceName

func (DescribeServiceAutoScalerResponseBody) String

type DescribeServiceAutoScalerResponseBodyCurrentMetrics

type DescribeServiceAutoScalerResponseBodyCurrentMetrics struct {
	// The metric name. Valid values:
	//
	// 	- QPS
	//
	// 	- CPU
	//
	// example:
	//
	// qps
	MetricName *string `json:"metricName,omitempty" xml:"metricName,omitempty"`
	// The service for which the metric is specified.
	//
	// example:
	//
	// demo_svc
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// The metric value.
	//
	// example:
	//
	// 10
	Value *float32 `json:"value,omitempty" xml:"value,omitempty"`
}

func (DescribeServiceAutoScalerResponseBodyCurrentMetrics) GoString

func (*DescribeServiceAutoScalerResponseBodyCurrentMetrics) SetMetricName

func (*DescribeServiceAutoScalerResponseBodyCurrentMetrics) SetService

func (*DescribeServiceAutoScalerResponseBodyCurrentMetrics) SetValue

func (DescribeServiceAutoScalerResponseBodyCurrentMetrics) String

type DescribeServiceAutoScalerResponseBodyScaleStrategies

type DescribeServiceAutoScalerResponseBodyScaleStrategies struct {
	// The metric name. Valid values:
	//
	// 	- QPS: the queries per second (QPS) for an individual instance.
	//
	// 	- CPU: the CPU utilization.
	//
	// example:
	//
	// QPS
	MetricName *string `json:"metricName,omitempty" xml:"metricName,omitempty"`
	// The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.
	//
	// example:
	//
	// demo_svc
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// The threshold of the metric that triggers auto scaling.
	//
	// 	- If you set metricName to QPS, scale-out is triggered when the average QPS for a single instance is greater than this threshold.
	//
	// 	- If you set metricName to CPU, scale-out is triggered when the average CPU utilization for a single instance is greater than this threshold.
	//
	// example:
	//
	// 10
	Threshold *float32 `json:"threshold,omitempty" xml:"threshold,omitempty"`
}

func (DescribeServiceAutoScalerResponseBodyScaleStrategies) GoString

func (*DescribeServiceAutoScalerResponseBodyScaleStrategies) SetMetricName

func (*DescribeServiceAutoScalerResponseBodyScaleStrategies) SetService

func (*DescribeServiceAutoScalerResponseBodyScaleStrategies) SetThreshold

func (DescribeServiceAutoScalerResponseBodyScaleStrategies) String

type DescribeServiceCronScalerResponse

type DescribeServiceCronScalerResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceCronScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceCronScalerResponse) GoString

func (*DescribeServiceCronScalerResponse) SetHeaders

func (*DescribeServiceCronScalerResponse) SetStatusCode

func (DescribeServiceCronScalerResponse) String

type DescribeServiceCronScalerResponseBody

type DescribeServiceCronScalerResponseBody struct {
	// The points in time that are excluded when you schedule a CronHPA job. The points in time must be specified by using a cron expression.
	ExcludeDates []*string `json:"ExcludeDates,omitempty" xml:"ExcludeDates,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The CronHPA jobs.
	ScaleJobs []*DescribeServiceCronScalerResponseBodyScaleJobs `json:"ScaleJobs,omitempty" xml:"ScaleJobs,omitempty" type:"Repeated"`
	// The service name.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
}

func (DescribeServiceCronScalerResponseBody) GoString

func (*DescribeServiceCronScalerResponseBody) SetExcludeDates

func (*DescribeServiceCronScalerResponseBody) SetRequestId

func (*DescribeServiceCronScalerResponseBody) SetServiceName

func (DescribeServiceCronScalerResponseBody) String

type DescribeServiceCronScalerResponseBodyScaleJobs

type DescribeServiceCronScalerResponseBodyScaleJobs struct {
	// The time when the most recent CronHPA job was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2020-06-24T02:11:30Z
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The time when the most recent CronHPA job ran. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-02-24T06:31:00Z
	LastProbeTime *string `json:"LastProbeTime,omitempty" xml:"LastProbeTime,omitempty"`
	// The returned message.
	//
	// example:
	//
	// "cron hpa job scale-jobs-0 executed successfully. current replicas:3, desired replicas:2."
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The name of the CronHPA job.
	//
	// example:
	//
	// scale-job-1
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The cron expression that is used to configure the execution time of the CronHPA job.
	//
	// example:
	//
	// 0 18 	- 	- 	- *
	Schedule *string `json:"Schedule,omitempty" xml:"Schedule,omitempty"`
	// The status of the most recent CronHPA job.
	//
	// example:
	//
	// Succeed
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// The number of instances that you expect to configure for the CronHPA job.
	//
	// example:
	//
	// 1
	TargetSize *int32 `json:"TargetSize,omitempty" xml:"TargetSize,omitempty"`
}

func (DescribeServiceCronScalerResponseBodyScaleJobs) GoString

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetCreateTime

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetLastProbeTime

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetMessage

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetName

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetSchedule

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetState

func (*DescribeServiceCronScalerResponseBodyScaleJobs) SetTargetSize

func (DescribeServiceCronScalerResponseBodyScaleJobs) String

type DescribeServiceDiagnosisResponse

type DescribeServiceDiagnosisResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceDiagnosisResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceDiagnosisResponse) GoString

func (*DescribeServiceDiagnosisResponse) SetHeaders

func (*DescribeServiceDiagnosisResponse) SetStatusCode

func (DescribeServiceDiagnosisResponse) String

type DescribeServiceDiagnosisResponseBody

type DescribeServiceDiagnosisResponseBody struct {
	// The diagnostics list.
	DiagnosisList []*DescribeServiceDiagnosisResponseBodyDiagnosisList `json:"DiagnosisList,omitempty" xml:"DiagnosisList,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeServiceDiagnosisResponseBody) GoString

func (*DescribeServiceDiagnosisResponseBody) SetRequestId

func (DescribeServiceDiagnosisResponseBody) String

type DescribeServiceDiagnosisResponseBodyDiagnosisList

type DescribeServiceDiagnosisResponseBodyDiagnosisList struct {
	// The suggestions about how to handle the errors.
	Advices []*string `json:"Advices,omitempty" xml:"Advices,omitempty" type:"Repeated"`
	// The causes of the errors.
	Causes []*string `json:"Causes,omitempty" xml:"Causes,omitempty" type:"Repeated"`
	// The error message.
	//
	// example:
	//
	// Container worker0 failed to pull image.
	Error *string `json:"Error,omitempty" xml:"Error,omitempty"`
}

func (DescribeServiceDiagnosisResponseBodyDiagnosisList) GoString

func (*DescribeServiceDiagnosisResponseBodyDiagnosisList) SetAdvices

func (*DescribeServiceDiagnosisResponseBodyDiagnosisList) SetCauses

func (*DescribeServiceDiagnosisResponseBodyDiagnosisList) SetError

func (DescribeServiceDiagnosisResponseBodyDiagnosisList) String

type DescribeServiceEventRequest

type DescribeServiceEventRequest struct {
	// The end of the time range to query. By default, the current point in time is the end of the time range to query.
	//
	// example:
	//
	// 2006-01-02 15:04:05
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The event type. Valid values:
	//
	// 	- Normal
	//
	// 	- Warning
	//
	// example:
	//
	// Normal
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
	// The instance name. For more information about how to obtain the instance name, see [ListServiceInstances](https://help.aliyun.com/document_detail/412108.html).
	//
	// example:
	//
	// echo-test-784xxxx85d-hhnd8
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNum *string `json:"PageNum,omitempty" xml:"PageNum,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The beginning of the time range to query. The time must be in UTC. The default value is seven days ago.
	//
	// example:
	//
	// 2006-01-02 15:04:05
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeServiceEventRequest) GoString

func (s DescribeServiceEventRequest) GoString() string

func (*DescribeServiceEventRequest) SetEndTime

func (*DescribeServiceEventRequest) SetEventType

func (*DescribeServiceEventRequest) SetInstanceName

func (*DescribeServiceEventRequest) SetPageNum

func (*DescribeServiceEventRequest) SetPageSize

func (*DescribeServiceEventRequest) SetStartTime

func (DescribeServiceEventRequest) String

type DescribeServiceEventResponse

type DescribeServiceEventResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceEventResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceEventResponse) GoString

func (s DescribeServiceEventResponse) GoString() string

func (*DescribeServiceEventResponse) SetBody

func (*DescribeServiceEventResponse) SetHeaders

func (*DescribeServiceEventResponse) SetStatusCode

func (DescribeServiceEventResponse) String

type DescribeServiceEventResponseBody

type DescribeServiceEventResponseBody struct {
	// The events.
	Events []*DescribeServiceEventResponseBodyEvents `json:"Events,omitempty" xml:"Events,omitempty" type:"Repeated"`
	// The page number.
	//
	// example:
	//
	// 1
	PageNum *int64 `json:"PageNum,omitempty" xml:"PageNum,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 3D491C94-6239-5318-B4B4-799D859***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 29
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	// The total number of pages returned.
	//
	// example:
	//
	// 12
	TotalPageNum *int64 `json:"TotalPageNum,omitempty" xml:"TotalPageNum,omitempty"`
}

func (DescribeServiceEventResponseBody) GoString

func (*DescribeServiceEventResponseBody) SetPageNum

func (*DescribeServiceEventResponseBody) SetRequestId

func (*DescribeServiceEventResponseBody) SetTotalCount

func (*DescribeServiceEventResponseBody) SetTotalPageNum

func (DescribeServiceEventResponseBody) String

type DescribeServiceEventResponseBodyEvents

type DescribeServiceEventResponseBodyEvents struct {
	// The returned message. The message is formatted and returned in the JSON format.
	//
	// example:
	//
	// {\\"versionId\\":1,\\"message\\":\\"Stage scale complete\\",\\"availableInstance\\":1,\\"unavailableInstance\\":0}
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The cause of the event. The information about the change in the service status is returned.
	//
	// example:
	//
	// Updating
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The time when the event occurred. The time must be in UTC.
	//
	// example:
	//
	// 2022-04-09 06:30:00
	Time *string `json:"Time,omitempty" xml:"Time,omitempty"`
	// The event type. Valid values:
	//
	// 	- Normal
	//
	// 	- Warning
	//
	// example:
	//
	// Normal
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeServiceEventResponseBodyEvents) GoString

func (*DescribeServiceEventResponseBodyEvents) SetMessage

func (*DescribeServiceEventResponseBodyEvents) SetReason

func (*DescribeServiceEventResponseBodyEvents) SetTime

func (*DescribeServiceEventResponseBodyEvents) SetType

func (DescribeServiceEventResponseBodyEvents) String

type DescribeServiceInstanceDiagnosisResponse

type DescribeServiceInstanceDiagnosisResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceInstanceDiagnosisResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceInstanceDiagnosisResponse) GoString

func (*DescribeServiceInstanceDiagnosisResponse) SetHeaders

func (*DescribeServiceInstanceDiagnosisResponse) SetStatusCode

func (DescribeServiceInstanceDiagnosisResponse) String

type DescribeServiceInstanceDiagnosisResponseBody

type DescribeServiceInstanceDiagnosisResponseBody struct {
	// The diagnostics information.
	Diagnosis *DescribeServiceInstanceDiagnosisResponseBodyDiagnosis `json:"Diagnosis,omitempty" xml:"Diagnosis,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeServiceInstanceDiagnosisResponseBody) GoString

func (*DescribeServiceInstanceDiagnosisResponseBody) SetRequestId

func (DescribeServiceInstanceDiagnosisResponseBody) String

type DescribeServiceInstanceDiagnosisResponseBodyDiagnosis

type DescribeServiceInstanceDiagnosisResponseBodyDiagnosis struct {
	// The solutions to the errors.
	Advices []*string `json:"Advices,omitempty" xml:"Advices,omitempty" type:"Repeated"`
	// The causes of the errors.
	Causes []*string `json:"Causes,omitempty" xml:"Causes,omitempty" type:"Repeated"`
	// The error message.
	//
	// example:
	//
	// Container worker0 failed to pull image.
	Error *string `json:"Error,omitempty" xml:"Error,omitempty"`
}

func (DescribeServiceInstanceDiagnosisResponseBodyDiagnosis) GoString

func (*DescribeServiceInstanceDiagnosisResponseBodyDiagnosis) SetAdvices

func (*DescribeServiceInstanceDiagnosisResponseBodyDiagnosis) SetCauses

func (*DescribeServiceInstanceDiagnosisResponseBodyDiagnosis) SetError

func (DescribeServiceInstanceDiagnosisResponseBodyDiagnosis) String

type DescribeServiceLogRequest

type DescribeServiceLogRequest struct {
	// The name of the container that runs the service.
	//
	// example:
	//
	// worker0
	ContainerName *string `json:"ContainerName,omitempty" xml:"ContainerName,omitempty"`
	// The end of the time range to query. The time must be in UTC.
	//
	// example:
	//
	// 2006-01-02 15:04:05
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The name of the instance that runs the service. For more information about how to query the instance name, see [ListServiceInstances](https://help.aliyun.com/document_detail/412108.html).
	//
	// example:
	//
	// echo-da290ac8-7fckm
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The IP address of the instance whose logs you want to query. For more information about how to query the IP address of an instance, see [ListServiceInstances](https://help.aliyun.com/document_detail/412108.html).
	//
	// example:
	//
	// 10.0.0.1
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The keyword that you use to query the logs of the service.
	//
	// example:
	//
	// key
	Keyword *string `json:"Keyword,omitempty" xml:"Keyword,omitempty"`
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNum *int64 `json:"PageNum,omitempty" xml:"PageNum,omitempty"`
	// The number of entries per page. Default value: 500.
	//
	// example:
	//
	// 500
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Specifies whether to query the logs that are generated before the instance last restarts. This parameter is available only if the instance restarts.
	//
	// Valid values:
	//
	// 	- true
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- false
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// true
	Previous *bool `json:"Previous,omitempty" xml:"Previous,omitempty"`
	// The beginning of the time range to query. The time must be in Coordinated Universal Time (UTC).
	//
	// example:
	//
	// 2006-01-02 15:04:05
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeServiceLogRequest) GoString

func (s DescribeServiceLogRequest) GoString() string

func (*DescribeServiceLogRequest) SetContainerName

func (*DescribeServiceLogRequest) SetEndTime

func (*DescribeServiceLogRequest) SetInstanceName

func (*DescribeServiceLogRequest) SetIp

func (*DescribeServiceLogRequest) SetKeyword

func (*DescribeServiceLogRequest) SetPageNum

func (*DescribeServiceLogRequest) SetPageSize

func (*DescribeServiceLogRequest) SetPrevious

func (*DescribeServiceLogRequest) SetStartTime

func (DescribeServiceLogRequest) String

func (s DescribeServiceLogRequest) String() string

type DescribeServiceLogResponse

type DescribeServiceLogResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceLogResponse) GoString

func (s DescribeServiceLogResponse) GoString() string

func (*DescribeServiceLogResponse) SetBody

func (*DescribeServiceLogResponse) SetHeaders

func (*DescribeServiceLogResponse) SetStatusCode

func (DescribeServiceLogResponse) String

type DescribeServiceLogResponseBody

type DescribeServiceLogResponseBody struct {
	// The returned logs.
	Logs []*string `json:"Logs,omitempty" xml:"Logs,omitempty" type:"Repeated"`
	// The page number.
	//
	// example:
	//
	// 1
	PageNum *int64 `json:"PageNum,omitempty" xml:"PageNum,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82********
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 1
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	// The total number of pages returned.
	//
	// example:
	//
	// 500
	TotalPageNum *int64 `json:"TotalPageNum,omitempty" xml:"TotalPageNum,omitempty"`
}

func (DescribeServiceLogResponseBody) GoString

func (*DescribeServiceLogResponseBody) SetLogs

func (*DescribeServiceLogResponseBody) SetPageNum

func (*DescribeServiceLogResponseBody) SetRequestId

func (*DescribeServiceLogResponseBody) SetTotalCount

func (*DescribeServiceLogResponseBody) SetTotalPageNum

func (DescribeServiceLogResponseBody) String

type DescribeServiceMirrorResponse

type DescribeServiceMirrorResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeServiceMirrorResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceMirrorResponse) GoString

func (*DescribeServiceMirrorResponse) SetBody

func (*DescribeServiceMirrorResponse) SetHeaders

func (*DescribeServiceMirrorResponse) SetStatusCode

func (DescribeServiceMirrorResponse) String

type DescribeServiceMirrorResponseBody

type DescribeServiceMirrorResponseBody struct {
	// The percentage of traffic that you want to mirror. Valid values: 0 to 100.
	//
	// example:
	//
	// 50
	Ratio *string `json:"Ratio,omitempty" xml:"Ratio,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The service name.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The destination services to which you want to mirror traffic.
	//
	// example:
	//
	// foo2,foo3
	Target *string `json:"Target,omitempty" xml:"Target,omitempty"`
}

func (DescribeServiceMirrorResponseBody) GoString

func (*DescribeServiceMirrorResponseBody) SetRatio

func (*DescribeServiceMirrorResponseBody) SetRequestId

func (*DescribeServiceMirrorResponseBody) SetServiceName

func (*DescribeServiceMirrorResponseBody) SetTarget

func (DescribeServiceMirrorResponseBody) String

type DescribeServiceResponse

type DescribeServiceResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *Service           `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeServiceResponse) GoString

func (s DescribeServiceResponse) GoString() string

func (*DescribeServiceResponse) SetBody

func (*DescribeServiceResponse) SetHeaders

func (*DescribeServiceResponse) SetStatusCode

func (DescribeServiceResponse) String

func (s DescribeServiceResponse) String() string

type DescribeSpotDiscountHistoryRequest added in v4.2.0

type DescribeSpotDiscountHistoryRequest struct {
	// The type of the Elastic Compute Service (ECS) instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// ecs.c6.4xlarge
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// Specifies whether the preemptible instance has a protection period. During the 1-hour protection period of the preemptible instance, the preemptible instance will not be released.
	//
	// example:
	//
	// false
	IsProtect *bool `json:"IsProtect,omitempty" xml:"IsProtect,omitempty"`
}

func (DescribeSpotDiscountHistoryRequest) GoString added in v4.2.0

func (*DescribeSpotDiscountHistoryRequest) SetInstanceType added in v4.2.0

func (*DescribeSpotDiscountHistoryRequest) SetIsProtect added in v4.2.0

func (DescribeSpotDiscountHistoryRequest) String added in v4.2.0

type DescribeSpotDiscountHistoryResponse added in v4.2.0

type DescribeSpotDiscountHistoryResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeSpotDiscountHistoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeSpotDiscountHistoryResponse) GoString added in v4.2.0

func (*DescribeSpotDiscountHistoryResponse) SetBody added in v4.2.0

func (*DescribeSpotDiscountHistoryResponse) SetHeaders added in v4.2.0

func (*DescribeSpotDiscountHistoryResponse) SetStatusCode added in v4.2.0

func (DescribeSpotDiscountHistoryResponse) String added in v4.2.0

type DescribeSpotDiscountHistoryResponseBody added in v4.2.0

type DescribeSpotDiscountHistoryResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The discount for the preemptible instance.
	SpotDiscounts []*DescribeSpotDiscountHistoryResponseBodySpotDiscounts `json:"SpotDiscounts,omitempty" xml:"SpotDiscounts,omitempty" type:"Repeated"`
}

func (DescribeSpotDiscountHistoryResponseBody) GoString added in v4.2.0

func (*DescribeSpotDiscountHistoryResponseBody) SetRequestId added in v4.2.0

func (*DescribeSpotDiscountHistoryResponseBody) SetSpotDiscounts added in v4.2.0

func (DescribeSpotDiscountHistoryResponseBody) String added in v4.2.0

type DescribeSpotDiscountHistoryResponseBodySpotDiscounts added in v4.2.0

type DescribeSpotDiscountHistoryResponseBodySpotDiscounts struct {
	// The type of the ECS instance.
	//
	// example:
	//
	// ecs.c7.large
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The discount for the preemptible instance. For example, 0.1 represents a 90% discount.
	//
	// example:
	//
	// 0.1
	SpotDiscount *string `json:"SpotDiscount,omitempty" xml:"SpotDiscount,omitempty"`
	// The time when the discount is available. The time must be in UTC.
	//
	// example:
	//
	// 2024-04-10T10:00:00Z
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	// The zone ID.
	//
	// example:
	//
	// cn-hangzhou-i
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeSpotDiscountHistoryResponseBodySpotDiscounts) GoString added in v4.2.0

func (*DescribeSpotDiscountHistoryResponseBodySpotDiscounts) SetInstanceType added in v4.2.0

func (*DescribeSpotDiscountHistoryResponseBodySpotDiscounts) SetSpotDiscount added in v4.2.0

func (*DescribeSpotDiscountHistoryResponseBodySpotDiscounts) SetTimestamp added in v4.2.0

func (*DescribeSpotDiscountHistoryResponseBodySpotDiscounts) SetZoneId added in v4.2.0

func (DescribeSpotDiscountHistoryResponseBodySpotDiscounts) String added in v4.2.0

type DevelopServiceRequest

type DevelopServiceRequest struct {
	// Specifies whether to exit development mode. Valid values:
	//
	// 	- true: exits development mode.
	//
	// 	- false (default): enters development mode.
	//
	// example:
	//
	// true
	Exit *string `json:"Exit,omitempty" xml:"Exit,omitempty"`
}

func (DevelopServiceRequest) GoString

func (s DevelopServiceRequest) GoString() string

func (*DevelopServiceRequest) SetExit

func (DevelopServiceRequest) String

func (s DevelopServiceRequest) String() string

type DevelopServiceResponse

type DevelopServiceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DevelopServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DevelopServiceResponse) GoString

func (s DevelopServiceResponse) GoString() string

func (*DevelopServiceResponse) SetBody

func (*DevelopServiceResponse) SetHeaders

func (*DevelopServiceResponse) SetStatusCode

func (DevelopServiceResponse) String

func (s DevelopServiceResponse) String() string

type DevelopServiceResponseBody

type DevelopServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DevelopServiceResponseBody) GoString

func (s DevelopServiceResponseBody) GoString() string

func (*DevelopServiceResponseBody) SetMessage

func (*DevelopServiceResponseBody) SetRequestId

func (DevelopServiceResponseBody) String

type Group

type Group struct {
	AccessToken      *string `json:"AccessToken,omitempty" xml:"AccessToken,omitempty"`
	ClusterId        *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	CreateTime       *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	InternetEndpoint *string `json:"InternetEndpoint,omitempty" xml:"InternetEndpoint,omitempty"`
	IntranetEndpoint *string `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"`
	Name             *string `json:"Name,omitempty" xml:"Name,omitempty"`
	QueueService     *string `json:"QueueService,omitempty" xml:"QueueService,omitempty"`
	UpdateTime       *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (Group) GoString

func (s Group) GoString() string

func (*Group) SetAccessToken

func (s *Group) SetAccessToken(v string) *Group

func (*Group) SetClusterId

func (s *Group) SetClusterId(v string) *Group

func (*Group) SetCreateTime

func (s *Group) SetCreateTime(v string) *Group

func (*Group) SetInternetEndpoint

func (s *Group) SetInternetEndpoint(v string) *Group

func (*Group) SetIntranetEndpoint

func (s *Group) SetIntranetEndpoint(v string) *Group

func (*Group) SetName

func (s *Group) SetName(v string) *Group

func (*Group) SetQueueService

func (s *Group) SetQueueService(v string) *Group

func (*Group) SetUpdateTime

func (s *Group) SetUpdateTime(v string) *Group

func (Group) String

func (s Group) String() string

type Instance

type Instance struct {
	// example:
	//
	// 0.444
	CurrentAmount *float32 `json:"CurrentAmount,omitempty" xml:"CurrentAmount,omitempty"`
	// example:
	//
	// 192.168.1.100
	ExternalIP *string `json:"ExternalIP,omitempty" xml:"ExternalIP,omitempty"`
	// example:
	//
	// 8080
	ExternalInstancePort *int32  `json:"ExternalInstancePort,omitempty" xml:"ExternalInstancePort,omitempty"`
	HostIP               *string `json:"HostIP,omitempty" xml:"HostIP,omitempty"`
	HostName             *string `json:"HostName,omitempty" xml:"HostName,omitempty"`
	InnerIP              *string `json:"InnerIP,omitempty" xml:"InnerIP,omitempty"`
	InstanceName         *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	InstancePort         *int32  `json:"InstancePort,omitempty" xml:"InstancePort,omitempty"`
	// example:
	//
	// false
	IsSpot *bool `json:"IsSpot,omitempty" xml:"IsSpot,omitempty"`
	// example:
	//
	// false
	Isolated  *bool                    `json:"Isolated,omitempty" xml:"Isolated,omitempty"`
	LastState []map[string]interface{} `json:"LastState,omitempty" xml:"LastState,omitempty" type:"Repeated"`
	Namespace *string                  `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	// example:
	//
	// 2.2
	OriginalAmount *float32 `json:"OriginalAmount,omitempty" xml:"OriginalAmount,omitempty"`
	ReadyProcesses *int32   `json:"ReadyProcesses,omitempty" xml:"ReadyProcesses,omitempty"`
	Reason         *string  `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// example:
	//
	// PublicResource
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	RestartCount *int32  `json:"RestartCount,omitempty" xml:"RestartCount,omitempty"`
	// example:
	//
	// Standard
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// Deprecated
	StartAt   *string `json:"StartAt,omitempty" xml:"StartAt,omitempty"`
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	Status    *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// example:
	//
	// 192.168.0.39
	TenantHostIP *string `json:"TenantHostIP,omitempty" xml:"TenantHostIP,omitempty"`
	// example:
	//
	// 192.168.0.39
	TenantInstanceIP *string `json:"TenantInstanceIP,omitempty" xml:"TenantInstanceIP,omitempty"`
	TotalProcesses   *int32  `json:"TotalProcesses,omitempty" xml:"TotalProcesses,omitempty"`
	// example:
	//
	// cn-shanghai-a
	Zone *string `json:"Zone,omitempty" xml:"Zone,omitempty"`
}

func (Instance) GoString

func (s Instance) GoString() string

func (*Instance) SetCurrentAmount

func (s *Instance) SetCurrentAmount(v float32) *Instance

func (*Instance) SetExternalIP added in v4.2.1

func (s *Instance) SetExternalIP(v string) *Instance

func (*Instance) SetExternalInstancePort added in v4.2.1

func (s *Instance) SetExternalInstancePort(v int32) *Instance

func (*Instance) SetHostIP

func (s *Instance) SetHostIP(v string) *Instance

func (*Instance) SetHostName

func (s *Instance) SetHostName(v string) *Instance

func (*Instance) SetInnerIP

func (s *Instance) SetInnerIP(v string) *Instance

func (*Instance) SetInstanceName

func (s *Instance) SetInstanceName(v string) *Instance

func (*Instance) SetInstancePort

func (s *Instance) SetInstancePort(v int32) *Instance

func (*Instance) SetIsSpot

func (s *Instance) SetIsSpot(v bool) *Instance

func (*Instance) SetIsolated

func (s *Instance) SetIsolated(v bool) *Instance

func (*Instance) SetLastState

func (s *Instance) SetLastState(v []map[string]interface{}) *Instance

func (*Instance) SetNamespace

func (s *Instance) SetNamespace(v string) *Instance

func (*Instance) SetOriginalAmount

func (s *Instance) SetOriginalAmount(v float32) *Instance

func (*Instance) SetReadyProcesses

func (s *Instance) SetReadyProcesses(v int32) *Instance

func (*Instance) SetReason

func (s *Instance) SetReason(v string) *Instance

func (*Instance) SetResourceType

func (s *Instance) SetResourceType(v string) *Instance

func (*Instance) SetRestartCount

func (s *Instance) SetRestartCount(v int32) *Instance

func (*Instance) SetRole

func (s *Instance) SetRole(v string) *Instance

func (*Instance) SetStartAt

func (s *Instance) SetStartAt(v string) *Instance

func (*Instance) SetStartTime added in v4.2.1

func (s *Instance) SetStartTime(v string) *Instance

func (*Instance) SetStatus

func (s *Instance) SetStatus(v string) *Instance

func (*Instance) SetTenantHostIP

func (s *Instance) SetTenantHostIP(v string) *Instance

func (*Instance) SetTenantInstanceIP

func (s *Instance) SetTenantInstanceIP(v string) *Instance

func (*Instance) SetTotalProcesses

func (s *Instance) SetTotalProcesses(v int32) *Instance

func (*Instance) SetZone added in v4.2.1

func (s *Instance) SetZone(v string) *Instance

func (Instance) String

func (s Instance) String() string

type ListBenchmarkTaskRequest

type ListBenchmarkTaskRequest struct {
	// The keyword used to query required stress testing tasks. If this parameter is specified, the system returns stress testing tasks based on the names of the stress testing tasks in the matched Elastic Algorithm Service (EAS).
	//
	// example:
	//
	// test_bench
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The page number. Pages start from page 1. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 10
	PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The name of the EAS service that corresponds to the stress testing task. For more information about how to query the service name, see [ListServices](https://help.aliyun.com/document_detail/412109.html).
	//
	// example:
	//
	// test_bench_srv
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
}

func (ListBenchmarkTaskRequest) GoString

func (s ListBenchmarkTaskRequest) GoString() string

func (*ListBenchmarkTaskRequest) SetFilter

func (*ListBenchmarkTaskRequest) SetPageNumber

func (*ListBenchmarkTaskRequest) SetPageSize

func (*ListBenchmarkTaskRequest) SetServiceName

func (ListBenchmarkTaskRequest) String

func (s ListBenchmarkTaskRequest) String() string

type ListBenchmarkTaskResponse

type ListBenchmarkTaskResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListBenchmarkTaskResponse) GoString

func (s ListBenchmarkTaskResponse) GoString() string

func (*ListBenchmarkTaskResponse) SetBody

func (*ListBenchmarkTaskResponse) SetHeaders

func (*ListBenchmarkTaskResponse) SetStatusCode

func (ListBenchmarkTaskResponse) String

func (s ListBenchmarkTaskResponse) String() string

type ListBenchmarkTaskResponseBody

type ListBenchmarkTaskResponseBody struct {
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The stress testing tasks.
	Tasks []*ListBenchmarkTaskResponseBodyTasks `json:"Tasks,omitempty" xml:"Tasks,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 2
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListBenchmarkTaskResponseBody) GoString

func (*ListBenchmarkTaskResponseBody) SetPageNumber

func (*ListBenchmarkTaskResponseBody) SetPageSize

func (*ListBenchmarkTaskResponseBody) SetRequestId

func (*ListBenchmarkTaskResponseBody) SetTasks

func (*ListBenchmarkTaskResponseBody) SetTotalCount

func (ListBenchmarkTaskResponseBody) String

type ListBenchmarkTaskResponseBodyTasks

type ListBenchmarkTaskResponseBodyTasks struct {
	// The number of instances that are available for stress testing.
	//
	// example:
	//
	// 2
	AvailableAgent *int64 `json:"AvailableAgent,omitempty" xml:"AvailableAgent,omitempty"`
	// The time when the stress testing task was created.
	//
	// example:
	//
	// 2020-12-04T02:43:15Z
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Benchmark task [benchmark-larec-test-1076] is Running
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The region ID of the stress testing task.
	//
	// example:
	//
	// cn-shanghai
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The name of the service on which you want to perform a stress testing.
	//
	// example:
	//
	// test_quota
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The state of the stress testing task.
	//
	// Valid values:
	//
	// 	- Creating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Starting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- DeleteFailed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Running
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopping
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Error
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Updating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Deleting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- CreateFailed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the stress testing task.
	//
	// example:
	//
	// eas-b-gv4y86uvgt****i
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The name of the stress testing task.
	//
	// example:
	//
	// benchmark-larec-test-1076
	TaskName *string `json:"TaskName,omitempty" xml:"TaskName,omitempty"`
	// The time when the stress testing task was updated.
	//
	// example:
	//
	// 2020-06-24T03:11:30Z
	UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (ListBenchmarkTaskResponseBodyTasks) GoString

func (*ListBenchmarkTaskResponseBodyTasks) SetAvailableAgent

func (*ListBenchmarkTaskResponseBodyTasks) SetCreateTime

func (*ListBenchmarkTaskResponseBodyTasks) SetMessage

func (*ListBenchmarkTaskResponseBodyTasks) SetRegion

func (*ListBenchmarkTaskResponseBodyTasks) SetServiceName

func (*ListBenchmarkTaskResponseBodyTasks) SetStatus

func (*ListBenchmarkTaskResponseBodyTasks) SetTaskId

func (*ListBenchmarkTaskResponseBodyTasks) SetTaskName

func (*ListBenchmarkTaskResponseBodyTasks) SetUpdateTime

func (ListBenchmarkTaskResponseBodyTasks) String

type ListGatewayIntranetLinkedVpcResponse

type ListGatewayIntranetLinkedVpcResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListGatewayIntranetLinkedVpcResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListGatewayIntranetLinkedVpcResponse) GoString

func (*ListGatewayIntranetLinkedVpcResponse) SetHeaders

func (*ListGatewayIntranetLinkedVpcResponse) SetStatusCode

func (ListGatewayIntranetLinkedVpcResponse) String

type ListGatewayIntranetLinkedVpcResponseBody

type ListGatewayIntranetLinkedVpcResponseBody struct {
	// The private gateway ID.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The internal endpoints.
	IntranetLinkedVpcList []*ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList `json:"IntranetLinkedVpcList,omitempty" xml:"IntranetLinkedVpcList,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListGatewayIntranetLinkedVpcResponseBody) GoString

func (*ListGatewayIntranetLinkedVpcResponseBody) SetGatewayId

func (*ListGatewayIntranetLinkedVpcResponseBody) SetRequestId

func (ListGatewayIntranetLinkedVpcResponseBody) String

type ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList

type ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList struct {
	// The IP address.
	//
	// example:
	//
	// 192.168.10.11
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The security group ID.
	//
	// example:
	//
	// sg-2ze4pgstgszvgq******
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// The state of the private gateway.
	//
	// Valid values:
	//
	// 	- Creating
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     The private gateway is being created.
	//
	//     <!-- -->
	//
	// 	- Running
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     The private gateway is running.
	//
	//     <!-- -->
	//
	// example:
	//
	// Running
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The vSwitch ID.
	//
	// example:
	//
	// vsw-8vb2qjoiio6m9pg******
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The virtual private cloud (VPC) ID.
	//
	// example:
	//
	// vpc-2zetuli9ws0qgjd******
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) GoString

func (*ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) SetIp

func (*ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) SetSecurityGroupId

func (*ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) SetStatus

func (*ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) SetVSwitchId

func (*ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) SetVpcId

func (ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList) String

type ListGroupsRequest

type ListGroupsRequest struct {
	// The name of the filter that is used to filter out unwanted service groups. Fuzzy match is supported.
	//
	// example:
	//
	// foo
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123***
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (ListGroupsRequest) GoString

func (s ListGroupsRequest) GoString() string

func (*ListGroupsRequest) SetFilter

func (s *ListGroupsRequest) SetFilter(v string) *ListGroupsRequest

func (*ListGroupsRequest) SetPageNumber

func (s *ListGroupsRequest) SetPageNumber(v string) *ListGroupsRequest

func (*ListGroupsRequest) SetPageSize

func (s *ListGroupsRequest) SetPageSize(v string) *ListGroupsRequest

func (*ListGroupsRequest) SetWorkspaceId

func (s *ListGroupsRequest) SetWorkspaceId(v string) *ListGroupsRequest

func (ListGroupsRequest) String

func (s ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListGroupsResponse) GoString

func (s ListGroupsResponse) GoString() string

func (*ListGroupsResponse) SetBody

func (*ListGroupsResponse) SetHeaders

func (s *ListGroupsResponse) SetHeaders(v map[string]*string) *ListGroupsResponse

func (*ListGroupsResponse) SetStatusCode

func (s *ListGroupsResponse) SetStatusCode(v int32) *ListGroupsResponse

func (ListGroupsResponse) String

func (s ListGroupsResponse) String() string

type ListGroupsResponseBody

type ListGroupsResponseBody struct {
	// The service groups.
	Groups []*Group `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Repeated"`
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 5
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListGroupsResponseBody) GoString

func (s ListGroupsResponseBody) GoString() string

func (*ListGroupsResponseBody) SetGroups

func (*ListGroupsResponseBody) SetPageNumber

func (*ListGroupsResponseBody) SetPageSize

func (*ListGroupsResponseBody) SetRequestId

func (*ListGroupsResponseBody) SetTotalCount

func (ListGroupsResponseBody) String

func (s ListGroupsResponseBody) String() string

type ListResourceInstanceWorkerRequest

type ListResourceInstanceWorkerRequest struct {
	// The page number. Pages start from page 1. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListResourceInstanceWorkerRequest) GoString

func (*ListResourceInstanceWorkerRequest) SetPageNumber

func (*ListResourceInstanceWorkerRequest) SetPageSize

func (ListResourceInstanceWorkerRequest) String

type ListResourceInstanceWorkerResponse

type ListResourceInstanceWorkerResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourceInstanceWorkerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourceInstanceWorkerResponse) GoString

func (*ListResourceInstanceWorkerResponse) SetHeaders

func (*ListResourceInstanceWorkerResponse) SetStatusCode

func (ListResourceInstanceWorkerResponse) String

type ListResourceInstanceWorkerResponseBody

type ListResourceInstanceWorkerResponseBody struct {
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The workers.
	Pods []*ResourceInstanceWorker `json:"Pods,omitempty" xml:"Pods,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 1
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListResourceInstanceWorkerResponseBody) GoString

func (*ListResourceInstanceWorkerResponseBody) SetPageNumber

func (*ListResourceInstanceWorkerResponseBody) SetPageSize

func (*ListResourceInstanceWorkerResponseBody) SetPods

func (*ListResourceInstanceWorkerResponseBody) SetRequestId

func (*ListResourceInstanceWorkerResponseBody) SetTotalCount

func (ListResourceInstanceWorkerResponseBody) String

type ListResourceInstancesRequest

type ListResourceInstancesRequest struct {
	// The billing method of the instance. Valid values:
	//
	// 	- PrePaid: subscription.
	//
	// 	- PostPaid: pay-as-you-go.
	//
	// example:
	//
	// PrePaid
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The keyword used to query instances. Instances can be queried by instance ID or instance IP address.
	//
	// example:
	//
	// 10.224.xx.xx
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The IP address of the instance.
	//
	// example:
	//
	// 10.224.xx.xx
	InstanceIP *string `json:"InstanceIP,omitempty" xml:"InstanceIP,omitempty"`
	// The instance ID. For more information about how to query the instance ID, see [ListResourceInstances](https://help.aliyun.com/document_detail/412129.html).
	//
	// example:
	//
	// i-bp1jd6x3uotsv****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The instance name.
	//
	// example:
	//
	// e-xxxx***
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The instance state.
	//
	// Valid values:
	//
	// 	- Ready-SchedulingDisabled
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     The instance is available but unschedulable
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- Ready
	//
	//     <!-- -->
	//
	//     : The instance
	//
	//     <!-- -->
	//
	//     is running
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- NotReady
	//
	//     <!-- -->
	//
	//     : The instance is unready.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopped
	//
	//     <!-- -->
	//
	//     : The instance has stopped.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- NotReady-SchedulingDisabled
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     The instance is unavailable and unschedulable
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- Attaching
	//
	//     <!-- -->
	//
	//     : The instance
	//
	//     <!-- -->
	//
	//     is starting
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- Deleting
	//
	//     <!-- -->
	//
	//     : The instance is being deleted.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- CreateFailed: The instance failed to be created.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Ready
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The sorting order.
	//
	// Valid values:
	//
	// 	- asc: The instances are sorted in ascending order.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- desc
	//
	//     <!-- -->
	//
	//     : The instances are sorted in descending order.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// desc
	Order *string `json:"Order,omitempty" xml:"Order,omitempty"`
	// The page number. Pages start from page 1. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The field that you use to sort the query results.
	//
	// Valid values:
	//
	// 	- CreateTime
	//
	//     <!-- -->
	//
	//     : The instances are sorted based on the time when the instances were created.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- MemoryUsed
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     The instances are sorted based on the memory usage of the instances
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- GpuUsed
	//
	//     <!-- -->
	//
	//     : The instances are sorted based on the
	//
	//     <!-- -->
	//
	//     GPU usage of the instances.
	//
	//     <!-- -->
	//
	// 	- ExpireTime: The instances are sorted based on the time when the instances expired.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- CpuUsed
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     The instances are sorted based on the CPU utilization of the instances.
	//
	//     <!-- -->
	//
	// example:
	//
	// CreateTime
	Sort *string `json:"Sort,omitempty" xml:"Sort,omitempty"`
}

func (ListResourceInstancesRequest) GoString

func (s ListResourceInstancesRequest) GoString() string

func (*ListResourceInstancesRequest) SetChargeType

func (*ListResourceInstancesRequest) SetFilter

func (*ListResourceInstancesRequest) SetInstanceIP

func (*ListResourceInstancesRequest) SetInstanceId

func (*ListResourceInstancesRequest) SetInstanceName

func (*ListResourceInstancesRequest) SetInstanceStatus

func (*ListResourceInstancesRequest) SetOrder

func (*ListResourceInstancesRequest) SetPageNumber

func (*ListResourceInstancesRequest) SetPageSize

func (*ListResourceInstancesRequest) SetSort

func (ListResourceInstancesRequest) String

type ListResourceInstancesResponse

type ListResourceInstancesResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourceInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourceInstancesResponse) GoString

func (*ListResourceInstancesResponse) SetBody

func (*ListResourceInstancesResponse) SetHeaders

func (*ListResourceInstancesResponse) SetStatusCode

func (ListResourceInstancesResponse) String

type ListResourceInstancesResponseBody

type ListResourceInstancesResponseBody struct {
	// The instances.
	Instances []*ResourceInstance `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Repeated"`
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 2
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListResourceInstancesResponseBody) GoString

func (*ListResourceInstancesResponseBody) SetInstances

func (*ListResourceInstancesResponseBody) SetPageNumber

func (*ListResourceInstancesResponseBody) SetPageSize

func (*ListResourceInstancesResponseBody) SetRequestId

func (*ListResourceInstancesResponseBody) SetTotalCount

func (ListResourceInstancesResponseBody) String

type ListResourceServicesRequest

type ListResourceServicesRequest struct {
	// The page number. Pages start from page 1. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListResourceServicesRequest) GoString

func (s ListResourceServicesRequest) GoString() string

func (*ListResourceServicesRequest) SetPageNumber

func (*ListResourceServicesRequest) SetPageSize

func (ListResourceServicesRequest) String

type ListResourceServicesResponse

type ListResourceServicesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourceServicesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourceServicesResponse) GoString

func (s ListResourceServicesResponse) GoString() string

func (*ListResourceServicesResponse) SetBody

func (*ListResourceServicesResponse) SetHeaders

func (*ListResourceServicesResponse) SetStatusCode

func (ListResourceServicesResponse) String

type ListResourceServicesResponseBody

type ListResourceServicesResponseBody struct {
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The services.
	Services []*Service `json:"Services,omitempty" xml:"Services,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 2
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListResourceServicesResponseBody) GoString

func (*ListResourceServicesResponseBody) SetPageNumber

func (*ListResourceServicesResponseBody) SetPageSize

func (*ListResourceServicesResponseBody) SetRequestId

func (*ListResourceServicesResponseBody) SetServices

func (*ListResourceServicesResponseBody) SetTotalCount

func (ListResourceServicesResponseBody) String

type ListResourcesRequest

type ListResourcesRequest struct {
	// The page number. Pages start from page 1. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the resource group. You can call the [CreateResource](https://help.aliyun.com/document_detail/412111.html) operation to query the ID of the resource group.
	//
	// example:
	//
	// eas-r-h7lcw24dyqztwxxxxxx
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The name of the resource group. You can call the [CreateResource](https://help.aliyun.com/document_detail/412111.html) operation to query the name of the resource group.
	//
	// example:
	//
	// MyResource
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The type of the resource group. Valid values:
	//
	// 	- Dedicated: the dedicated resource group.
	//
	// 	- SelfManaged: the self-managed resource group.
	//
	// example:
	//
	// Dedicated
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListResourcesRequest) GoString

func (s ListResourcesRequest) GoString() string

func (*ListResourcesRequest) SetPageNumber

func (s *ListResourcesRequest) SetPageNumber(v int32) *ListResourcesRequest

func (*ListResourcesRequest) SetPageSize

func (s *ListResourcesRequest) SetPageSize(v int32) *ListResourcesRequest

func (*ListResourcesRequest) SetResourceId

func (s *ListResourcesRequest) SetResourceId(v string) *ListResourcesRequest

func (*ListResourcesRequest) SetResourceName

func (s *ListResourcesRequest) SetResourceName(v string) *ListResourcesRequest

func (*ListResourcesRequest) SetResourceType

func (s *ListResourcesRequest) SetResourceType(v string) *ListResourcesRequest

func (ListResourcesRequest) String

func (s ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourcesResponse) GoString

func (s ListResourcesResponse) GoString() string

func (*ListResourcesResponse) SetBody

func (*ListResourcesResponse) SetHeaders

func (*ListResourcesResponse) SetStatusCode

func (s *ListResourcesResponse) SetStatusCode(v int32) *ListResourcesResponse

func (ListResourcesResponse) String

func (s ListResourcesResponse) String() string

type ListResourcesResponseBody

type ListResourcesResponseBody struct {
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The resource groups.
	Resources []*Resource `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 1
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListResourcesResponseBody) GoString

func (s ListResourcesResponseBody) GoString() string

func (*ListResourcesResponseBody) SetPageNumber

func (*ListResourcesResponseBody) SetPageSize

func (*ListResourcesResponseBody) SetRequestId

func (*ListResourcesResponseBody) SetResources

func (*ListResourcesResponseBody) SetTotalCount

func (ListResourcesResponseBody) String

func (s ListResourcesResponseBody) String() string

type ListServiceContainersResponse

type ListServiceContainersResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListServiceContainersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListServiceContainersResponse) GoString

func (*ListServiceContainersResponse) SetBody

func (*ListServiceContainersResponse) SetHeaders

func (*ListServiceContainersResponse) SetStatusCode

func (ListServiceContainersResponse) String

type ListServiceContainersResponseBody

type ListServiceContainersResponseBody struct {
	// The containers of the service.
	Containers []*ContainerInfo `json:"Containers,omitempty" xml:"Containers,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The service name.
	//
	// example:
	//
	// foo
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
}

func (ListServiceContainersResponseBody) GoString

func (*ListServiceContainersResponseBody) SetContainers

func (*ListServiceContainersResponseBody) SetRequestId

func (*ListServiceContainersResponseBody) SetServiceName

func (ListServiceContainersResponseBody) String

type ListServiceInstancesRequest

type ListServiceInstancesRequest struct {
	// The keyword used to query instances. Instances can be queried based on instance name, instance IP address, IP address of the server where the instance resides, and instance type.
	//
	// example:
	//
	// 10.118.xx.xx
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The IP address of the server where the instance resides.
	//
	// example:
	//
	// 10.224.xx.xx
	HostIP *string `json:"HostIP,omitempty" xml:"HostIP,omitempty"`
	// The IP address of the instance.
	//
	// example:
	//
	// 10.224.xx.xx
	InstanceIP *string `json:"InstanceIP,omitempty" xml:"InstanceIP,omitempty"`
	// The instance name.
	//
	// example:
	//
	// foo-bdc5xxxx-8l7rk
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The instance state.
	//
	// example:
	//
	// Running
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The instance type.
	//
	// example:
	//
	// ecs.c7.large
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// Specifies whether the instance is a preemptible instance.
	//
	// example:
	//
	// false
	IsSpot *bool `json:"IsSpot,omitempty" xml:"IsSpot,omitempty"`
	// The sorting order.
	//
	// Valid values:
	//
	// 	- asc
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     The instances are sorted in ascending order.
	//
	// 	- desc
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     The instances are sorted in descending order.
	//
	// example:
	//
	// desc
	Order *string `json:"Order,omitempty" xml:"Order,omitempty"`
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The type of the resource group to which the instance belongs.
	//
	// Valid values:
	//
	// 	- PublicResource
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- DedicatedResource
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// PublicResource
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The service role.
	//
	// Valid values:
	//
	// 	- DataSet
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     dataset service
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- SDProxy
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     Stable-Diffusion proxy service
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- Standard
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     standard service
	//
	//     <!-- -->
	//
	//     .
	//
	// 	- Queue
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     queue service
	//
	//     <!-- -->
	//
	//     .
	//
	// example:
	//
	// Queue
	Role *string `json:"Role,omitempty" xml:"Role,omitempty"`
	// The field that you use to sort the query results.
	//
	// 	- Set the value to StartTime.
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     The value specifies that the query results are sorted based on the time when the instances were created
	//
	//     <!-- -->
	//
	//     .
	//
	// example:
	//
	// StartTime
	Sort *string `json:"Sort,omitempty" xml:"Sort,omitempty"`
}

func (ListServiceInstancesRequest) GoString

func (s ListServiceInstancesRequest) GoString() string

func (*ListServiceInstancesRequest) SetFilter

func (*ListServiceInstancesRequest) SetHostIP

func (*ListServiceInstancesRequest) SetInstanceIP

func (*ListServiceInstancesRequest) SetInstanceName

func (*ListServiceInstancesRequest) SetInstanceStatus

func (*ListServiceInstancesRequest) SetInstanceType

func (*ListServiceInstancesRequest) SetIsSpot

func (*ListServiceInstancesRequest) SetOrder

func (*ListServiceInstancesRequest) SetPageNumber

func (*ListServiceInstancesRequest) SetPageSize

func (*ListServiceInstancesRequest) SetResourceType

func (*ListServiceInstancesRequest) SetRole

func (*ListServiceInstancesRequest) SetSort

func (ListServiceInstancesRequest) String

type ListServiceInstancesResponse

type ListServiceInstancesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListServiceInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListServiceInstancesResponse) GoString

func (s ListServiceInstancesResponse) GoString() string

func (*ListServiceInstancesResponse) SetBody

func (*ListServiceInstancesResponse) SetHeaders

func (*ListServiceInstancesResponse) SetStatusCode

func (ListServiceInstancesResponse) String

type ListServiceInstancesResponseBody

type ListServiceInstancesResponseBody struct {
	// The instances.
	Instances []*Instance `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Repeated"`
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 1
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListServiceInstancesResponseBody) GoString

func (*ListServiceInstancesResponseBody) SetInstances

func (*ListServiceInstancesResponseBody) SetPageNumber

func (*ListServiceInstancesResponseBody) SetPageSize

func (*ListServiceInstancesResponseBody) SetRequestId

func (*ListServiceInstancesResponseBody) SetTotalCount

func (ListServiceInstancesResponseBody) String

type ListServiceVersionsRequest

type ListServiceVersionsRequest struct {
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (ListServiceVersionsRequest) GoString

func (s ListServiceVersionsRequest) GoString() string

func (*ListServiceVersionsRequest) SetPageNumber

func (*ListServiceVersionsRequest) SetPageSize

func (ListServiceVersionsRequest) String

type ListServiceVersionsResponse

type ListServiceVersionsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListServiceVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListServiceVersionsResponse) GoString

func (s ListServiceVersionsResponse) GoString() string

func (*ListServiceVersionsResponse) SetBody

func (*ListServiceVersionsResponse) SetHeaders

func (*ListServiceVersionsResponse) SetStatusCode

func (ListServiceVersionsResponse) String

type ListServiceVersionsResponseBody

type ListServiceVersionsResponseBody struct {
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// E089D584-B6F4-50C4-9902-DA2295B7****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 166
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	// The historical versions of the service.
	Versions []*ListServiceVersionsResponseBodyVersions `json:"Versions,omitempty" xml:"Versions,omitempty" type:"Repeated"`
}

func (ListServiceVersionsResponseBody) GoString

func (*ListServiceVersionsResponseBody) SetPageNumber

func (*ListServiceVersionsResponseBody) SetPageSize

func (*ListServiceVersionsResponseBody) SetRequestId

func (*ListServiceVersionsResponseBody) SetTotalCount

func (ListServiceVersionsResponseBody) String

type ListServiceVersionsResponseBodyVersions

type ListServiceVersionsResponseBodyVersions struct {
	// The time when the service version was created. The time is displayed in UTC.
	//
	// example:
	//
	// 2022-08-29T22:02:14Z
	BuildTime *string `json:"BuildTime,omitempty" xml:"BuildTime,omitempty"`
	// Indicates whether the image is available. Valid values:
	//
	// 	- true: The image is available.
	//
	// 	- false: The image is unavailable.
	//
	// 	- unknown: The availability of the image is unknown.
	//
	// example:
	//
	// true
	ImageAvailable *string `json:"ImageAvailable,omitempty" xml:"ImageAvailable,omitempty"`
	// The image ID.
	//
	// example:
	//
	// 4
	ImageId *int32 `json:"ImageId,omitempty" xml:"ImageId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Service is Running
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The service deployment configurations. This parameter is returned only if the service is deployed by using a custom image.
	//
	// example:
	//
	// {
	//
	//     "metadata": {
	//
	//         "cpu": 1,
	//
	//         "instance": 1,
	//
	//         "memory": 1024
	//
	//     },
	//
	//     "name": "echo"
	//
	// }
	ServiceConfig *string `json:"ServiceConfig,omitempty" xml:"ServiceConfig,omitempty"`
	// Indicates whether Elastic Algorithm service (EAS) is activated. Valid values:
	//
	// 	- true: EAS is activated.
	//
	// 	- false: EAS is not activated.
	//
	// 	- unknown: The activation of EAS is unknown.
	//
	// example:
	//
	// true
	ServiceRunnable *string `json:"ServiceRunnable,omitempty" xml:"ServiceRunnable,omitempty"`
}

func (ListServiceVersionsResponseBodyVersions) GoString

func (*ListServiceVersionsResponseBodyVersions) SetBuildTime

func (*ListServiceVersionsResponseBodyVersions) SetImageAvailable

func (*ListServiceVersionsResponseBodyVersions) SetImageId

func (*ListServiceVersionsResponseBodyVersions) SetMessage

func (*ListServiceVersionsResponseBodyVersions) SetServiceConfig added in v4.0.1

func (*ListServiceVersionsResponseBodyVersions) SetServiceRunnable

func (ListServiceVersionsResponseBodyVersions) String

type ListServicesRequest

type ListServicesRequest struct {
	// The field that is used for fuzzy matches. The system performs fuzzy matches only by service name.
	//
	// example:
	//
	// foo
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The name of the service group. For more information about how to query the name of a service group, see [ListServices](https://help.aliyun.com/document_detail/412109.html).
	//
	// example:
	//
	// foo
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The tag that is used to filter services.
	Label map[string]*string `json:"Label,omitempty" xml:"Label,omitempty"`
	// The sorting order. Valid values:
	//
	// 	- desc (default): The query results are sorted in descending order.
	//
	// 	- asc: The query results are sorted in ascending order.
	//
	// example:
	//
	// asc
	Order *string `json:"Order,omitempty" xml:"Order,omitempty"`
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 100
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the primary service that corresponds to the Band member service.
	//
	// example:
	//
	// eas-m-ijafy3c8cxxxx
	ParentServiceUid *string `json:"ParentServiceUid,omitempty" xml:"ParentServiceUid,omitempty"`
	// The quota ID.
	//
	// example:
	//
	// quota12345
	QuotaId *string `json:"QuotaId,omitempty" xml:"QuotaId,omitempty"`
	// The name or ID of the resource group to which the service belongs.
	//
	// example:
	//
	// eas-r-hd0qwy8cxxxx
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The service name.
	//
	// example:
	//
	// echo_test
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The service state.
	//
	// Valid values:
	//
	// 	- Creating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopped
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Failed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Complete
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Cloning
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopping
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Updating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Waiting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- HotUpdate
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Committing
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Starting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- DeleteFailed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Running
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Developing
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Scaling
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Deleted
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Pending
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Deleting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Running
	ServiceStatus *string `json:"ServiceStatus,omitempty" xml:"ServiceStatus,omitempty"`
	// The service type. Valid values:
	//
	// 	- Async
	//
	// 	- Standard
	//
	// 	- Offline Task
	//
	// 	- Proxima
	//
	// Valid values:
	//
	// 	- Async
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Standard
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- OfflineTask
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Proxima
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Standard
	ServiceType *string `json:"ServiceType,omitempty" xml:"ServiceType,omitempty"`
	// The user ID (UID) of the service.
	//
	// example:
	//
	// eas-m-c9iw3yitxxxx
	ServiceUid *string `json:"ServiceUid,omitempty" xml:"ServiceUid,omitempty"`
	// The sort field. By default, the query results are sorted by the timestamp type in descending order.
	//
	// example:
	//
	// CreateTime
	Sort *string `json:"Sort,omitempty" xml:"Sort,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123456
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (ListServicesRequest) GoString

func (s ListServicesRequest) GoString() string

func (*ListServicesRequest) SetFilter

func (*ListServicesRequest) SetGroupName

func (s *ListServicesRequest) SetGroupName(v string) *ListServicesRequest

func (*ListServicesRequest) SetLabel

func (*ListServicesRequest) SetOrder

func (*ListServicesRequest) SetPageNumber

func (s *ListServicesRequest) SetPageNumber(v int32) *ListServicesRequest

func (*ListServicesRequest) SetPageSize

func (s *ListServicesRequest) SetPageSize(v int32) *ListServicesRequest

func (*ListServicesRequest) SetParentServiceUid

func (s *ListServicesRequest) SetParentServiceUid(v string) *ListServicesRequest

func (*ListServicesRequest) SetQuotaId added in v4.0.1

func (*ListServicesRequest) SetResourceName

func (s *ListServicesRequest) SetResourceName(v string) *ListServicesRequest

func (*ListServicesRequest) SetServiceName

func (s *ListServicesRequest) SetServiceName(v string) *ListServicesRequest

func (*ListServicesRequest) SetServiceStatus

func (s *ListServicesRequest) SetServiceStatus(v string) *ListServicesRequest

func (*ListServicesRequest) SetServiceType

func (s *ListServicesRequest) SetServiceType(v string) *ListServicesRequest

func (*ListServicesRequest) SetServiceUid

func (s *ListServicesRequest) SetServiceUid(v string) *ListServicesRequest

func (*ListServicesRequest) SetSort

func (*ListServicesRequest) SetWorkspaceId

func (s *ListServicesRequest) SetWorkspaceId(v string) *ListServicesRequest

func (ListServicesRequest) String

func (s ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListServicesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListServicesResponse) GoString

func (s ListServicesResponse) GoString() string

func (*ListServicesResponse) SetBody

func (*ListServicesResponse) SetHeaders

func (s *ListServicesResponse) SetHeaders(v map[string]*string) *ListServicesResponse

func (*ListServicesResponse) SetStatusCode

func (s *ListServicesResponse) SetStatusCode(v int32) *ListServicesResponse

func (ListServicesResponse) String

func (s ListServicesResponse) String() string

type ListServicesResponseBody

type ListServicesResponseBody struct {
	// The page number.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 100
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The services.
	Services []*Service `json:"Services,omitempty" xml:"Services,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 2
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListServicesResponseBody) GoString

func (s ListServicesResponseBody) GoString() string

func (*ListServicesResponseBody) SetPageNumber

func (*ListServicesResponseBody) SetPageSize

func (*ListServicesResponseBody) SetRequestId

func (*ListServicesResponseBody) SetServices

func (*ListServicesResponseBody) SetTotalCount

func (ListServicesResponseBody) String

func (s ListServicesResponseBody) String() string

type ListServicesShrinkRequest

type ListServicesShrinkRequest struct {
	// The field that is used for fuzzy matches. The system performs fuzzy matches only by service name.
	//
	// example:
	//
	// foo
	Filter *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	// The name of the service group. For more information about how to query the name of a service group, see [ListServices](https://help.aliyun.com/document_detail/412109.html).
	//
	// example:
	//
	// foo
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The tag that is used to filter services.
	LabelShrink *string `json:"Label,omitempty" xml:"Label,omitempty"`
	// The sorting order. Valid values:
	//
	// 	- desc (default): The query results are sorted in descending order.
	//
	// 	- asc: The query results are sorted in ascending order.
	//
	// example:
	//
	// asc
	Order *string `json:"Order,omitempty" xml:"Order,omitempty"`
	// The page number. Default value: 1.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 100.
	//
	// example:
	//
	// 100
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the primary service that corresponds to the Band member service.
	//
	// example:
	//
	// eas-m-ijafy3c8cxxxx
	ParentServiceUid *string `json:"ParentServiceUid,omitempty" xml:"ParentServiceUid,omitempty"`
	// The quota ID.
	//
	// example:
	//
	// quota12345
	QuotaId *string `json:"QuotaId,omitempty" xml:"QuotaId,omitempty"`
	// The name or ID of the resource group to which the service belongs.
	//
	// example:
	//
	// eas-r-hd0qwy8cxxxx
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The service name.
	//
	// example:
	//
	// echo_test
	ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	// The service state.
	//
	// Valid values:
	//
	// 	- Creating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopped
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Failed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Complete
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Cloning
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Stopping
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Updating
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Waiting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- HotUpdate
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Committing
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Starting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- DeleteFailed
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Running
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Developing
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Scaling
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Deleted
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Pending
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Deleting
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Running
	ServiceStatus *string `json:"ServiceStatus,omitempty" xml:"ServiceStatus,omitempty"`
	// The service type. Valid values:
	//
	// 	- Async
	//
	// 	- Standard
	//
	// 	- Offline Task
	//
	// 	- Proxima
	//
	// Valid values:
	//
	// 	- Async
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Standard
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- OfflineTask
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- Proxima
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// Standard
	ServiceType *string `json:"ServiceType,omitempty" xml:"ServiceType,omitempty"`
	// The user ID (UID) of the service.
	//
	// example:
	//
	// eas-m-c9iw3yitxxxx
	ServiceUid *string `json:"ServiceUid,omitempty" xml:"ServiceUid,omitempty"`
	// The sort field. By default, the query results are sorted by the timestamp type in descending order.
	//
	// example:
	//
	// CreateTime
	Sort *string `json:"Sort,omitempty" xml:"Sort,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123456
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (ListServicesShrinkRequest) GoString

func (s ListServicesShrinkRequest) GoString() string

func (*ListServicesShrinkRequest) SetFilter

func (*ListServicesShrinkRequest) SetGroupName

func (*ListServicesShrinkRequest) SetLabelShrink

func (*ListServicesShrinkRequest) SetOrder

func (*ListServicesShrinkRequest) SetPageNumber

func (*ListServicesShrinkRequest) SetPageSize

func (*ListServicesShrinkRequest) SetParentServiceUid

func (s *ListServicesShrinkRequest) SetParentServiceUid(v string) *ListServicesShrinkRequest

func (*ListServicesShrinkRequest) SetQuotaId added in v4.0.1

func (*ListServicesShrinkRequest) SetResourceName

func (*ListServicesShrinkRequest) SetServiceName

func (*ListServicesShrinkRequest) SetServiceStatus

func (*ListServicesShrinkRequest) SetServiceType

func (*ListServicesShrinkRequest) SetServiceUid

func (*ListServicesShrinkRequest) SetSort

func (*ListServicesShrinkRequest) SetWorkspaceId

func (ListServicesShrinkRequest) String

func (s ListServicesShrinkRequest) String() string

type ReleaseServiceRequest

type ReleaseServiceRequest struct {
	// The traffic state. Valid values:
	//
	// 	- standalone: independent traffic.
	//
	// 	- grouping: grouped traffic.
	//
	// example:
	//
	// grouping
	TrafficState *string `json:"TrafficState,omitempty" xml:"TrafficState,omitempty"`
	// The weight of the canary release. Valid values: 0 to 100.
	//
	// example:
	//
	// 100
	Weight *int32 `json:"Weight,omitempty" xml:"Weight,omitempty"`
}

func (ReleaseServiceRequest) GoString

func (s ReleaseServiceRequest) GoString() string

func (*ReleaseServiceRequest) SetTrafficState

func (s *ReleaseServiceRequest) SetTrafficState(v string) *ReleaseServiceRequest

func (*ReleaseServiceRequest) SetWeight

func (ReleaseServiceRequest) String

func (s ReleaseServiceRequest) String() string

type ReleaseServiceResponse

type ReleaseServiceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReleaseServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReleaseServiceResponse) GoString

func (s ReleaseServiceResponse) GoString() string

func (*ReleaseServiceResponse) SetBody

func (*ReleaseServiceResponse) SetHeaders

func (*ReleaseServiceResponse) SetStatusCode

func (ReleaseServiceResponse) String

func (s ReleaseServiceResponse) String() string

type ReleaseServiceResponseBody

type ReleaseServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Releasing service [foo] in region [cn-shanghai] with weight [40], service status: [Running]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseServiceResponseBody) GoString

func (s ReleaseServiceResponseBody) GoString() string

func (*ReleaseServiceResponseBody) SetMessage

func (*ReleaseServiceResponseBody) SetRequestId

func (ReleaseServiceResponseBody) String

type Resource

type Resource struct {
	ClusterId             *string                `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	CpuCount              *int32                 `json:"CpuCount,omitempty" xml:"CpuCount,omitempty"`
	CreateTime            *string                `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	ExtraData             map[string]interface{} `json:"ExtraData,omitempty" xml:"ExtraData,omitempty"`
	GpuCount              *int32                 `json:"GpuCount,omitempty" xml:"GpuCount,omitempty"`
	InstanceCount         *int32                 `json:"InstanceCount,omitempty" xml:"InstanceCount,omitempty"`
	Message               *string                `json:"Message,omitempty" xml:"Message,omitempty"`
	PostPaidInstanceCount *int32                 `json:"PostPaidInstanceCount,omitempty" xml:"PostPaidInstanceCount,omitempty"`
	PrePaidInstanceCount  *int32                 `json:"PrePaidInstanceCount,omitempty" xml:"PrePaidInstanceCount,omitempty"`
	ResourceId            *string                `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	ResourceName          *string                `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	ResourceType          *string                `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	Status                *string                `json:"Status,omitempty" xml:"Status,omitempty"`
	UpdateTime            *string                `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
	Vendor                *string                `json:"Vendor,omitempty" xml:"Vendor,omitempty"`
}

func (Resource) GoString

func (s Resource) GoString() string

func (*Resource) SetClusterId

func (s *Resource) SetClusterId(v string) *Resource

func (*Resource) SetCpuCount

func (s *Resource) SetCpuCount(v int32) *Resource

func (*Resource) SetCreateTime

func (s *Resource) SetCreateTime(v string) *Resource

func (*Resource) SetExtraData

func (s *Resource) SetExtraData(v map[string]interface{}) *Resource

func (*Resource) SetGpuCount

func (s *Resource) SetGpuCount(v int32) *Resource

func (*Resource) SetInstanceCount

func (s *Resource) SetInstanceCount(v int32) *Resource

func (*Resource) SetMessage

func (s *Resource) SetMessage(v string) *Resource

func (*Resource) SetPostPaidInstanceCount

func (s *Resource) SetPostPaidInstanceCount(v int32) *Resource

func (*Resource) SetPrePaidInstanceCount

func (s *Resource) SetPrePaidInstanceCount(v int32) *Resource

func (*Resource) SetResourceId

func (s *Resource) SetResourceId(v string) *Resource

func (*Resource) SetResourceName

func (s *Resource) SetResourceName(v string) *Resource

func (*Resource) SetResourceType

func (s *Resource) SetResourceType(v string) *Resource

func (*Resource) SetStatus

func (s *Resource) SetStatus(v string) *Resource

func (*Resource) SetUpdateTime

func (s *Resource) SetUpdateTime(v string) *Resource

func (*Resource) SetVendor added in v4.2.1

func (s *Resource) SetVendor(v string) *Resource

func (Resource) String

func (s Resource) String() string

type ResourceInstance

type ResourceInstance struct {
	Arch                   *string  `json:"Arch,omitempty" xml:"Arch,omitempty"`
	AutoRenewal            *bool    `json:"AutoRenewal,omitempty" xml:"AutoRenewal,omitempty"`
	ChargeType             *string  `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	CreateTime             *string  `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	ExpiredTime            *string  `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	InstanceCpuCount       *int32   `json:"InstanceCpuCount,omitempty" xml:"InstanceCpuCount,omitempty"`
	InstanceGpuCount       *int32   `json:"InstanceGpuCount,omitempty" xml:"InstanceGpuCount,omitempty"`
	InstanceGpuMemory      *string  `json:"InstanceGpuMemory,omitempty" xml:"InstanceGpuMemory,omitempty"`
	InstanceId             *string  `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	InstanceIp             *string  `json:"InstanceIp,omitempty" xml:"InstanceIp,omitempty"`
	InstanceMemory         *string  `json:"InstanceMemory,omitempty" xml:"InstanceMemory,omitempty"`
	InstanceName           *string  `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	InstanceStatus         *string  `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	InstanceSystemDiskSize *int32   `json:"InstanceSystemDiskSize,omitempty" xml:"InstanceSystemDiskSize,omitempty"`
	InstanceTenantIp       *string  `json:"InstanceTenantIp,omitempty" xml:"InstanceTenantIp,omitempty"`
	InstanceType           *string  `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	InstanceUsedCpu        *float32 `json:"InstanceUsedCpu,omitempty" xml:"InstanceUsedCpu,omitempty"`
	InstanceUsedGpu        *float32 `json:"InstanceUsedGpu,omitempty" xml:"InstanceUsedGpu,omitempty"`
	InstanceUsedGpuMemory  *string  `json:"InstanceUsedGpuMemory,omitempty" xml:"InstanceUsedGpuMemory,omitempty"`
	InstanceUsedMemory     *string  `json:"InstanceUsedMemory,omitempty" xml:"InstanceUsedMemory,omitempty"`
	Region                 *string  `json:"Region,omitempty" xml:"Region,omitempty"`
	ResourceId             *string  `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	Zone                   *string  `json:"Zone,omitempty" xml:"Zone,omitempty"`
}

func (ResourceInstance) GoString

func (s ResourceInstance) GoString() string

func (*ResourceInstance) SetArch

func (s *ResourceInstance) SetArch(v string) *ResourceInstance

func (*ResourceInstance) SetAutoRenewal

func (s *ResourceInstance) SetAutoRenewal(v bool) *ResourceInstance

func (*ResourceInstance) SetChargeType

func (s *ResourceInstance) SetChargeType(v string) *ResourceInstance

func (*ResourceInstance) SetCreateTime

func (s *ResourceInstance) SetCreateTime(v string) *ResourceInstance

func (*ResourceInstance) SetExpiredTime

func (s *ResourceInstance) SetExpiredTime(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceCpuCount

func (s *ResourceInstance) SetInstanceCpuCount(v int32) *ResourceInstance

func (*ResourceInstance) SetInstanceGpuCount

func (s *ResourceInstance) SetInstanceGpuCount(v int32) *ResourceInstance

func (*ResourceInstance) SetInstanceGpuMemory

func (s *ResourceInstance) SetInstanceGpuMemory(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceId

func (s *ResourceInstance) SetInstanceId(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceIp

func (s *ResourceInstance) SetInstanceIp(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceMemory

func (s *ResourceInstance) SetInstanceMemory(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceName

func (s *ResourceInstance) SetInstanceName(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceStatus

func (s *ResourceInstance) SetInstanceStatus(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceSystemDiskSize

func (s *ResourceInstance) SetInstanceSystemDiskSize(v int32) *ResourceInstance

func (*ResourceInstance) SetInstanceTenantIp

func (s *ResourceInstance) SetInstanceTenantIp(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceType

func (s *ResourceInstance) SetInstanceType(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceUsedCpu

func (s *ResourceInstance) SetInstanceUsedCpu(v float32) *ResourceInstance

func (*ResourceInstance) SetInstanceUsedGpu

func (s *ResourceInstance) SetInstanceUsedGpu(v float32) *ResourceInstance

func (*ResourceInstance) SetInstanceUsedGpuMemory

func (s *ResourceInstance) SetInstanceUsedGpuMemory(v string) *ResourceInstance

func (*ResourceInstance) SetInstanceUsedMemory

func (s *ResourceInstance) SetInstanceUsedMemory(v string) *ResourceInstance

func (*ResourceInstance) SetRegion

func (s *ResourceInstance) SetRegion(v string) *ResourceInstance

func (*ResourceInstance) SetResourceId

func (s *ResourceInstance) SetResourceId(v string) *ResourceInstance

func (*ResourceInstance) SetZone

func (s *ResourceInstance) SetZone(v string) *ResourceInstance

func (ResourceInstance) String

func (s ResourceInstance) String() string

type ResourceInstanceWorker

type ResourceInstanceWorker struct {
	CpuLimit     *int32  `json:"CpuLimit,omitempty" xml:"CpuLimit,omitempty"`
	CpuRequest   *int32  `json:"CpuRequest,omitempty" xml:"CpuRequest,omitempty"`
	GpuLimit     *int32  `json:"GpuLimit,omitempty" xml:"GpuLimit,omitempty"`
	GpuRequest   *int32  `json:"GpuRequest,omitempty" xml:"GpuRequest,omitempty"`
	MemoryLimit  *int32  `json:"MemoryLimit,omitempty" xml:"MemoryLimit,omitempty"`
	MemoryRquest *int32  `json:"MemoryRquest,omitempty" xml:"MemoryRquest,omitempty"`
	Name         *string `json:"Name,omitempty" xml:"Name,omitempty"`
	Ready        *bool   `json:"Ready,omitempty" xml:"Ready,omitempty"`
	RestartCount *int32  `json:"RestartCount,omitempty" xml:"RestartCount,omitempty"`
	ServiceName  *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	StartTime    *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	Status       *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ResourceInstanceWorker) GoString

func (s ResourceInstanceWorker) GoString() string

func (*ResourceInstanceWorker) SetCpuLimit

func (*ResourceInstanceWorker) SetCpuRequest

func (*ResourceInstanceWorker) SetGpuLimit

func (*ResourceInstanceWorker) SetGpuRequest

func (*ResourceInstanceWorker) SetMemoryLimit

func (s *ResourceInstanceWorker) SetMemoryLimit(v int32) *ResourceInstanceWorker

func (*ResourceInstanceWorker) SetMemoryRquest

func (s *ResourceInstanceWorker) SetMemoryRquest(v int32) *ResourceInstanceWorker

func (*ResourceInstanceWorker) SetName

func (*ResourceInstanceWorker) SetReady

func (*ResourceInstanceWorker) SetRestartCount

func (s *ResourceInstanceWorker) SetRestartCount(v int32) *ResourceInstanceWorker

func (*ResourceInstanceWorker) SetServiceName

func (*ResourceInstanceWorker) SetStartTime

func (*ResourceInstanceWorker) SetStatus

func (ResourceInstanceWorker) String

func (s ResourceInstanceWorker) String() string

type RestartServiceResponse

type RestartServiceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RestartServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RestartServiceResponse) GoString

func (s RestartServiceResponse) GoString() string

func (*RestartServiceResponse) SetBody

func (*RestartServiceResponse) SetHeaders

func (*RestartServiceResponse) SetStatusCode

func (RestartServiceResponse) String

func (s RestartServiceResponse) String() string

type RestartServiceResponseBody

type RestartServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Service is restarting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RestartServiceResponseBody) GoString

func (s RestartServiceResponseBody) GoString() string

func (*RestartServiceResponseBody) SetMessage

func (*RestartServiceResponseBody) SetRequestId

func (RestartServiceResponseBody) String

type Service

type Service struct {
	AccessToken               *string          `json:"AccessToken,omitempty" xml:"AccessToken,omitempty"`
	AppConfig                 *string          `json:"AppConfig,omitempty" xml:"AppConfig,omitempty"`
	AppSpecName               *string          `json:"AppSpecName,omitempty" xml:"AppSpecName,omitempty"`
	AppType                   *string          `json:"AppType,omitempty" xml:"AppType,omitempty"`
	AppVersion                *string          `json:"AppVersion,omitempty" xml:"AppVersion,omitempty"`
	CallerUid                 *string          `json:"CallerUid,omitempty" xml:"CallerUid,omitempty"`
	Cpu                       *int32           `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	CreateTime                *string          `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	CurrentVersion            *int32           `json:"CurrentVersion,omitempty" xml:"CurrentVersion,omitempty"`
	ExtraData                 *string          `json:"ExtraData,omitempty" xml:"ExtraData,omitempty"`
	Gpu                       *int32           `json:"Gpu,omitempty" xml:"Gpu,omitempty"`
	Image                     *string          `json:"Image,omitempty" xml:"Image,omitempty"`
	InternetEndpoint          *string          `json:"InternetEndpoint,omitempty" xml:"InternetEndpoint,omitempty"`
	IntranetEndpoint          *string          `json:"IntranetEndpoint,omitempty" xml:"IntranetEndpoint,omitempty"`
	Labels                    []*ServiceLabels `json:"Labels,omitempty" xml:"Labels,omitempty" type:"Repeated"`
	LatestVersion             *int32           `json:"LatestVersion,omitempty" xml:"LatestVersion,omitempty"`
	Memory                    *int32           `json:"Memory,omitempty" xml:"Memory,omitempty"`
	Message                   *string          `json:"Message,omitempty" xml:"Message,omitempty"`
	Namespace                 *string          `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	ParentUid                 *string          `json:"ParentUid,omitempty" xml:"ParentUid,omitempty"`
	PendingInstance           *int32           `json:"PendingInstance,omitempty" xml:"PendingInstance,omitempty"`
	Reason                    *string          `json:"Reason,omitempty" xml:"Reason,omitempty"`
	Region                    *string          `json:"Region,omitempty" xml:"Region,omitempty"`
	RequestId                 *string          `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Resource                  *string          `json:"Resource,omitempty" xml:"Resource,omitempty"`
	ResourceAlias             *string          `json:"ResourceAlias,omitempty" xml:"ResourceAlias,omitempty"`
	Role                      *string          `json:"Role,omitempty" xml:"Role,omitempty"`
	RoleAttrs                 *string          `json:"RoleAttrs,omitempty" xml:"RoleAttrs,omitempty"`
	RunningInstance           *int32           `json:"RunningInstance,omitempty" xml:"RunningInstance,omitempty"`
	SafetyLock                *string          `json:"SafetyLock,omitempty" xml:"SafetyLock,omitempty"`
	SecondaryInternetEndpoint *string          `json:"SecondaryInternetEndpoint,omitempty" xml:"SecondaryInternetEndpoint,omitempty"`
	SecondaryIntranetEndpoint *string          `json:"SecondaryIntranetEndpoint,omitempty" xml:"SecondaryIntranetEndpoint,omitempty"`
	ServiceConfig             *string          `json:"ServiceConfig,omitempty" xml:"ServiceConfig,omitempty"`
	ServiceGroup              *string          `json:"ServiceGroup,omitempty" xml:"ServiceGroup,omitempty"`
	ServiceId                 *string          `json:"ServiceId,omitempty" xml:"ServiceId,omitempty"`
	ServiceName               *string          `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"`
	ServiceUid                *string          `json:"ServiceUid,omitempty" xml:"ServiceUid,omitempty"`
	Source                    *string          `json:"Source,omitempty" xml:"Source,omitempty"`
	Status                    *string          `json:"Status,omitempty" xml:"Status,omitempty"`
	TotalInstance             *int32           `json:"TotalInstance,omitempty" xml:"TotalInstance,omitempty"`
	UpdateTime                *string          `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
	Weight                    *int32           `json:"Weight,omitempty" xml:"Weight,omitempty"`
	WorkspaceId               *string          `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (Service) GoString

func (s Service) GoString() string

func (*Service) SetAccessToken

func (s *Service) SetAccessToken(v string) *Service

func (*Service) SetAppConfig

func (s *Service) SetAppConfig(v string) *Service

func (*Service) SetAppSpecName

func (s *Service) SetAppSpecName(v string) *Service

func (*Service) SetAppType

func (s *Service) SetAppType(v string) *Service

func (*Service) SetAppVersion

func (s *Service) SetAppVersion(v string) *Service

func (*Service) SetCallerUid

func (s *Service) SetCallerUid(v string) *Service

func (*Service) SetCpu

func (s *Service) SetCpu(v int32) *Service

func (*Service) SetCreateTime

func (s *Service) SetCreateTime(v string) *Service

func (*Service) SetCurrentVersion

func (s *Service) SetCurrentVersion(v int32) *Service

func (*Service) SetExtraData

func (s *Service) SetExtraData(v string) *Service

func (*Service) SetGpu

func (s *Service) SetGpu(v int32) *Service

func (*Service) SetImage

func (s *Service) SetImage(v string) *Service

func (*Service) SetInternetEndpoint

func (s *Service) SetInternetEndpoint(v string) *Service

func (*Service) SetIntranetEndpoint

func (s *Service) SetIntranetEndpoint(v string) *Service

func (*Service) SetLabels

func (s *Service) SetLabels(v []*ServiceLabels) *Service

func (*Service) SetLatestVersion

func (s *Service) SetLatestVersion(v int32) *Service

func (*Service) SetMemory

func (s *Service) SetMemory(v int32) *Service

func (*Service) SetMessage

func (s *Service) SetMessage(v string) *Service

func (*Service) SetNamespace

func (s *Service) SetNamespace(v string) *Service

func (*Service) SetParentUid

func (s *Service) SetParentUid(v string) *Service

func (*Service) SetPendingInstance

func (s *Service) SetPendingInstance(v int32) *Service

func (*Service) SetReason

func (s *Service) SetReason(v string) *Service

func (*Service) SetRegion

func (s *Service) SetRegion(v string) *Service

func (*Service) SetRequestId

func (s *Service) SetRequestId(v string) *Service

func (*Service) SetResource

func (s *Service) SetResource(v string) *Service

func (*Service) SetResourceAlias

func (s *Service) SetResourceAlias(v string) *Service

func (*Service) SetRole

func (s *Service) SetRole(v string) *Service

func (*Service) SetRoleAttrs

func (s *Service) SetRoleAttrs(v string) *Service

func (*Service) SetRunningInstance

func (s *Service) SetRunningInstance(v int32) *Service

func (*Service) SetSafetyLock

func (s *Service) SetSafetyLock(v string) *Service

func (*Service) SetSecondaryInternetEndpoint

func (s *Service) SetSecondaryInternetEndpoint(v string) *Service

func (*Service) SetSecondaryIntranetEndpoint

func (s *Service) SetSecondaryIntranetEndpoint(v string) *Service

func (*Service) SetServiceConfig

func (s *Service) SetServiceConfig(v string) *Service

func (*Service) SetServiceGroup

func (s *Service) SetServiceGroup(v string) *Service

func (*Service) SetServiceId

func (s *Service) SetServiceId(v string) *Service

func (*Service) SetServiceName

func (s *Service) SetServiceName(v string) *Service

func (*Service) SetServiceUid

func (s *Service) SetServiceUid(v string) *Service

func (*Service) SetSource

func (s *Service) SetSource(v string) *Service

func (*Service) SetStatus

func (s *Service) SetStatus(v string) *Service

func (*Service) SetTotalInstance

func (s *Service) SetTotalInstance(v int32) *Service

func (*Service) SetUpdateTime

func (s *Service) SetUpdateTime(v string) *Service

func (*Service) SetWeight

func (s *Service) SetWeight(v int32) *Service

func (*Service) SetWorkspaceId

func (s *Service) SetWorkspaceId(v string) *Service

func (Service) String

func (s Service) String() string

type ServiceLabels

type ServiceLabels struct {
	LabelKey   *string `json:"LabelKey,omitempty" xml:"LabelKey,omitempty"`
	LabelValue *string `json:"LabelValue,omitempty" xml:"LabelValue,omitempty"`
}

func (ServiceLabels) GoString

func (s ServiceLabels) GoString() string

func (*ServiceLabels) SetLabelKey

func (s *ServiceLabels) SetLabelKey(v string) *ServiceLabels

func (*ServiceLabels) SetLabelValue

func (s *ServiceLabels) SetLabelValue(v string) *ServiceLabels

func (ServiceLabels) String

func (s ServiceLabels) String() string

type StartBenchmarkTaskResponse

type StartBenchmarkTaskResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartBenchmarkTaskResponse) GoString

func (s StartBenchmarkTaskResponse) GoString() string

func (*StartBenchmarkTaskResponse) SetBody

func (*StartBenchmarkTaskResponse) SetHeaders

func (*StartBenchmarkTaskResponse) SetStatusCode

func (StartBenchmarkTaskResponse) String

type StartBenchmarkTaskResponseBody

type StartBenchmarkTaskResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Benchmark task [benchmark-larec-test-1076] is Starting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartBenchmarkTaskResponseBody) GoString

func (*StartBenchmarkTaskResponseBody) SetMessage

func (*StartBenchmarkTaskResponseBody) SetRequestId

func (StartBenchmarkTaskResponseBody) String

type StartServiceResponse

type StartServiceResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartServiceResponse) GoString

func (s StartServiceResponse) GoString() string

func (*StartServiceResponse) SetBody

func (*StartServiceResponse) SetHeaders

func (s *StartServiceResponse) SetHeaders(v map[string]*string) *StartServiceResponse

func (*StartServiceResponse) SetStatusCode

func (s *StartServiceResponse) SetStatusCode(v int32) *StartServiceResponse

func (StartServiceResponse) String

func (s StartServiceResponse) String() string

type StartServiceResponseBody

type StartServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Service [foo] in region [cn-shanghai] is starting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartServiceResponseBody) GoString

func (s StartServiceResponseBody) GoString() string

func (*StartServiceResponseBody) SetMessage

func (*StartServiceResponseBody) SetRequestId

func (StartServiceResponseBody) String

func (s StartServiceResponseBody) String() string

type StopBenchmarkTaskResponse

type StopBenchmarkTaskResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StopBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StopBenchmarkTaskResponse) GoString

func (s StopBenchmarkTaskResponse) GoString() string

func (*StopBenchmarkTaskResponse) SetBody

func (*StopBenchmarkTaskResponse) SetHeaders

func (*StopBenchmarkTaskResponse) SetStatusCode

func (StopBenchmarkTaskResponse) String

func (s StopBenchmarkTaskResponse) String() string

type StopBenchmarkTaskResponseBody

type StopBenchmarkTaskResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Benchmark task [benchmark-larec-test-1076] is Stopping
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopBenchmarkTaskResponseBody) GoString

func (*StopBenchmarkTaskResponseBody) SetMessage

func (*StopBenchmarkTaskResponseBody) SetRequestId

func (StopBenchmarkTaskResponseBody) String

type StopServiceResponse

type StopServiceResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StopServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StopServiceResponse) GoString

func (s StopServiceResponse) GoString() string

func (*StopServiceResponse) SetBody

func (*StopServiceResponse) SetHeaders

func (s *StopServiceResponse) SetHeaders(v map[string]*string) *StopServiceResponse

func (*StopServiceResponse) SetStatusCode

func (s *StopServiceResponse) SetStatusCode(v int32) *StopServiceResponse

func (StopServiceResponse) String

func (s StopServiceResponse) String() string

type StopServiceResponseBody

type StopServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Succeed to auto scale service [foo]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopServiceResponseBody) GoString

func (s StopServiceResponseBody) GoString() string

func (*StopServiceResponseBody) SetMessage

func (*StopServiceResponseBody) SetRequestId

func (StopServiceResponseBody) String

func (s StopServiceResponseBody) String() string

type UpdateAppServiceRequest

type UpdateAppServiceRequest struct {
	// The quota ID.
	//
	// example:
	//
	// abcdef
	QuotaId *string `json:"QuotaId,omitempty" xml:"QuotaId,omitempty"`
	// The workspace ID.
	//
	// example:
	//
	// 123456
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
	// The application type.
	//
	// Valid values:
	//
	// 	- LLM: the large language model (LLM) application
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// LLM
	AppType *string `json:"AppType,omitempty" xml:"AppType,omitempty"`
	// The application version.
	//
	// example:
	//
	// v1
	AppVersion *string `json:"AppVersion,omitempty" xml:"AppVersion,omitempty"`
	// The additional configurations that are required for service deployment.
	Config map[string]interface{} `json:"Config,omitempty" xml:"Config,omitempty"`
	// The number of instances. This value must be greater than 0.
	//
	// example:
	//
	// 1
	Replicas *int32 `json:"Replicas,omitempty" xml:"Replicas,omitempty"`
	// The service specifications. Valid values:
	//
	// 	- llama_7b_fp16
	//
	// 	- llama_7b_int8
	//
	// 	- llama_13b_fp16
	//
	// 	- llama_7b_int8
	//
	// 	- chatglm_6b_fp16
	//
	// 	- chatglm_6b_int8
	//
	// 	- chatglm2_6b_fp16
	//
	// 	- baichuan_7b_int8
	//
	// 	- baichuan_13b_fp16
	//
	// 	- baichuan_7b_fp16
	//
	// example:
	//
	// llama_7b_fp16
	ServiceSpec *string `json:"ServiceSpec,omitempty" xml:"ServiceSpec,omitempty"`
}

func (UpdateAppServiceRequest) GoString

func (s UpdateAppServiceRequest) GoString() string

func (*UpdateAppServiceRequest) SetAppType

func (*UpdateAppServiceRequest) SetAppVersion

func (*UpdateAppServiceRequest) SetConfig

func (s *UpdateAppServiceRequest) SetConfig(v map[string]interface{}) *UpdateAppServiceRequest

func (*UpdateAppServiceRequest) SetQuotaId

func (*UpdateAppServiceRequest) SetReplicas

func (*UpdateAppServiceRequest) SetServiceSpec

func (*UpdateAppServiceRequest) SetWorkspaceId

func (UpdateAppServiceRequest) String

func (s UpdateAppServiceRequest) String() string

type UpdateAppServiceResponse

type UpdateAppServiceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateAppServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAppServiceResponse) GoString

func (s UpdateAppServiceResponse) GoString() string

func (*UpdateAppServiceResponse) SetBody

func (*UpdateAppServiceResponse) SetHeaders

func (*UpdateAppServiceResponse) SetStatusCode

func (UpdateAppServiceResponse) String

func (s UpdateAppServiceResponse) String() string

type UpdateAppServiceResponseBody

type UpdateAppServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Succee
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateAppServiceResponseBody) GoString

func (s UpdateAppServiceResponseBody) GoString() string

func (*UpdateAppServiceResponseBody) SetMessage

func (*UpdateAppServiceResponseBody) SetRequestId

func (UpdateAppServiceResponseBody) String

type UpdateBenchmarkTaskRequest

type UpdateBenchmarkTaskRequest struct {
	// The request body. The body includes the parameters that are set to create a stress testing task. For more information, see **Table 1. Fields in the base parameter**.
	//
	// example:
	//
	// {
	//
	//     "base":  {
	//
	//          "qps": 200
	//
	//     }
	//
	// }
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateBenchmarkTaskRequest) GoString

func (s UpdateBenchmarkTaskRequest) GoString() string

func (*UpdateBenchmarkTaskRequest) SetBody

func (UpdateBenchmarkTaskRequest) String

type UpdateBenchmarkTaskResponse

type UpdateBenchmarkTaskResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateBenchmarkTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateBenchmarkTaskResponse) GoString

func (s UpdateBenchmarkTaskResponse) GoString() string

func (*UpdateBenchmarkTaskResponse) SetBody

func (*UpdateBenchmarkTaskResponse) SetHeaders

func (*UpdateBenchmarkTaskResponse) SetStatusCode

func (UpdateBenchmarkTaskResponse) String

type UpdateBenchmarkTaskResponseBody

type UpdateBenchmarkTaskResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Benchmark task [benchmark-larec-test-1076] is Updating
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateBenchmarkTaskResponseBody) GoString

func (*UpdateBenchmarkTaskResponseBody) SetMessage

func (*UpdateBenchmarkTaskResponseBody) SetRequestId

func (UpdateBenchmarkTaskResponseBody) String

type UpdateGatewayRequest

type UpdateGatewayRequest struct {
	// Specifies whether to enable Internet access. Default value: false.
	//
	// Valid values:
	//
	// 	- true
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// 	- false
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// example:
	//
	// false
	EnableInternet *bool `json:"EnableInternet,omitempty" xml:"EnableInternet,omitempty"`
	// Specifies whether to enable internal network access. Default value: true.
	//
	// example:
	//
	// true
	EnableIntranet *bool `json:"EnableIntranet,omitempty" xml:"EnableIntranet,omitempty"`
	// The instance type used for the private gateway.
	//
	// example:
	//
	// ecs.c6.4xlarge
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The private gateway alias.
	//
	// example:
	//
	// mygateway1
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (UpdateGatewayRequest) GoString

func (s UpdateGatewayRequest) GoString() string

func (*UpdateGatewayRequest) SetEnableInternet

func (s *UpdateGatewayRequest) SetEnableInternet(v bool) *UpdateGatewayRequest

func (*UpdateGatewayRequest) SetEnableIntranet

func (s *UpdateGatewayRequest) SetEnableIntranet(v bool) *UpdateGatewayRequest

func (*UpdateGatewayRequest) SetInstanceType

func (s *UpdateGatewayRequest) SetInstanceType(v string) *UpdateGatewayRequest

func (*UpdateGatewayRequest) SetName

func (UpdateGatewayRequest) String

func (s UpdateGatewayRequest) String() string

type UpdateGatewayResponse

type UpdateGatewayResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateGatewayResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateGatewayResponse) GoString

func (s UpdateGatewayResponse) GoString() string

func (*UpdateGatewayResponse) SetBody

func (*UpdateGatewayResponse) SetHeaders

func (*UpdateGatewayResponse) SetStatusCode

func (s *UpdateGatewayResponse) SetStatusCode(v int32) *UpdateGatewayResponse

func (UpdateGatewayResponse) String

func (s UpdateGatewayResponse) String() string

type UpdateGatewayResponseBody

type UpdateGatewayResponseBody struct {
	// The ID of the gateway.
	//
	// example:
	//
	// gw-1uhcqmsc7x22******
	GatewayId *string `json:"GatewayId,omitempty" xml:"GatewayId,omitempty"`
	// The returned message.
	//
	// example:
	//
	// Gateway is updated
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateGatewayResponseBody) GoString

func (s UpdateGatewayResponseBody) GoString() string

func (*UpdateGatewayResponseBody) SetGatewayId

func (*UpdateGatewayResponseBody) SetMessage

func (*UpdateGatewayResponseBody) SetRequestId

func (UpdateGatewayResponseBody) String

func (s UpdateGatewayResponseBody) String() string

type UpdateResourceDLinkRequest

type UpdateResourceDLinkRequest struct {
	// The CIDR blocks of the clients that you want to connect to. After this parameter is specified, the CIDR blocks are added to the back-to-origin route of the server. Either this parameter or the VSwitchIdList parameter can be used to determine CIDR blocks.
	//
	// example:
	//
	// 72.16.0.0/16
	DestinationCIDRs *string `json:"DestinationCIDRs,omitempty" xml:"DestinationCIDRs,omitempty"`
	// The ID of the security group to which the Elastic Compute Service (ECS) instance belongs.
	//
	// This parameter is required.
	//
	// example:
	//
	// sg-bp149cedsfx2rfspd2d
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// The ID of the peer primary vSwitch. After this parameter is specified, an elastic network interface (ENI) is created in the VSwitch.
	//
	// This parameter is required.
	//
	// example:
	//
	// vpc-uf66uio7md****
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// The vSwitches of the clients that you want to connect to. After this parameter is specified, the CIDR blocks of these vSwitches are added to the back-to-origin route of the server.
	VSwitchIdList []*string `json:"VSwitchIdList,omitempty" xml:"VSwitchIdList,omitempty" type:"Repeated"`
}

func (UpdateResourceDLinkRequest) GoString

func (s UpdateResourceDLinkRequest) GoString() string

func (*UpdateResourceDLinkRequest) SetDestinationCIDRs

func (*UpdateResourceDLinkRequest) SetSecurityGroupId

func (*UpdateResourceDLinkRequest) SetVSwitchId

func (*UpdateResourceDLinkRequest) SetVSwitchIdList

func (UpdateResourceDLinkRequest) String

type UpdateResourceDLinkResponse

type UpdateResourceDLinkResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateResourceDLinkResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateResourceDLinkResponse) GoString

func (s UpdateResourceDLinkResponse) GoString() string

func (*UpdateResourceDLinkResponse) SetBody

func (*UpdateResourceDLinkResponse) SetHeaders

func (*UpdateResourceDLinkResponse) SetStatusCode

func (UpdateResourceDLinkResponse) String

type UpdateResourceDLinkResponseBody

type UpdateResourceDLinkResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Network interfaces are updating
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateResourceDLinkResponseBody) GoString

func (*UpdateResourceDLinkResponseBody) SetMessage

func (*UpdateResourceDLinkResponseBody) SetRequestId

func (UpdateResourceDLinkResponseBody) String

type UpdateResourceInstanceRequest

type UpdateResourceInstanceRequest struct {
	// The operation that updates the scheduling state of the instance in a dedicated resource group. Valid values:
	//
	// 	- Uncordon: allows scheduling the service to this instance.
	//
	// 	- Cordon: prohibits scheduling the service to this instance.
	//
	// 	- Drain: evicts the service that has been scheduled to this instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// Cordon
	Action *string `json:"Action,omitempty" xml:"Action,omitempty"`
}

func (UpdateResourceInstanceRequest) GoString

func (*UpdateResourceInstanceRequest) SetAction

func (UpdateResourceInstanceRequest) String

type UpdateResourceInstanceResponse

type UpdateResourceInstanceResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateResourceInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateResourceInstanceResponse) GoString

func (*UpdateResourceInstanceResponse) SetHeaders

func (*UpdateResourceInstanceResponse) SetStatusCode

func (UpdateResourceInstanceResponse) String

type UpdateResourceInstanceResponseBody

type UpdateResourceInstanceResponseBody struct {
	// The instance ID.
	//
	// example:
	//
	// eas-i-asdasdasd
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// eas-r-asdasdasd
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
}

func (UpdateResourceInstanceResponseBody) GoString

func (*UpdateResourceInstanceResponseBody) SetInstanceId

func (*UpdateResourceInstanceResponseBody) SetRequestId

func (*UpdateResourceInstanceResponseBody) SetResourceId

func (UpdateResourceInstanceResponseBody) String

type UpdateResourceRequest

type UpdateResourceRequest struct {
	// The new name of the resource group after the update. The name can be up to 27 characters in length.
	//
	// example:
	//
	// iot
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The configuration items of the self-managed resource group.
	SelfManagedResourceOptions *UpdateResourceRequestSelfManagedResourceOptions `json:"SelfManagedResourceOptions,omitempty" xml:"SelfManagedResourceOptions,omitempty" type:"Struct"`
}

func (UpdateResourceRequest) GoString

func (s UpdateResourceRequest) GoString() string

func (*UpdateResourceRequest) SetResourceName

func (s *UpdateResourceRequest) SetResourceName(v string) *UpdateResourceRequest

func (*UpdateResourceRequest) SetSelfManagedResourceOptions

func (UpdateResourceRequest) String

func (s UpdateResourceRequest) String() string

type UpdateResourceRequestSelfManagedResourceOptions

type UpdateResourceRequestSelfManagedResourceOptions struct {
	// Tag tag key-value pairs for nodes.
	NodeMatchLabels map[string]*string `json:"NodeMatchLabels,omitempty" xml:"NodeMatchLabels,omitempty"`
	// Tolerations for nodes.
	NodeTolerations []*UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations `json:"NodeTolerations,omitempty" xml:"NodeTolerations,omitempty" type:"Repeated"`
}

func (UpdateResourceRequestSelfManagedResourceOptions) GoString

func (*UpdateResourceRequestSelfManagedResourceOptions) SetNodeMatchLabels

func (UpdateResourceRequestSelfManagedResourceOptions) String

type UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations

type UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations struct {
	// The effect.
	//
	// Valid values:
	//
	// - PreferNoSchedule
	//
	// - NoSchedule
	//
	// - NoExecute
	//
	// example:
	//
	// NoSchedule
	Effect *string `json:"effect,omitempty" xml:"effect,omitempty"`
	// The key name.
	//
	// example:
	//
	// key1
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// Relationship between key names and key values.
	//
	// Valid values:
	//
	// - Equal
	//
	// - Exists
	//
	// example:
	//
	// Equal
	Operator *string `json:"operator,omitempty" xml:"operator,omitempty"`
	// The key value.
	//
	// example:
	//
	// value1
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations) GoString

func (*UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetEffect

func (*UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetKey

func (*UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetOperator

func (*UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations) SetValue

func (UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations) String

type UpdateResourceResponse

type UpdateResourceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateResourceResponse) GoString

func (s UpdateResourceResponse) GoString() string

func (*UpdateResourceResponse) SetBody

func (*UpdateResourceResponse) SetHeaders

func (*UpdateResourceResponse) SetStatusCode

func (UpdateResourceResponse) String

func (s UpdateResourceResponse) String() string

type UpdateResourceResponseBody

type UpdateResourceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// eas-r-asdasdasd
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The name of the resource group.
	//
	// example:
	//
	// iot
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
}

func (UpdateResourceResponseBody) GoString

func (s UpdateResourceResponseBody) GoString() string

func (*UpdateResourceResponseBody) SetRequestId

func (*UpdateResourceResponseBody) SetResourceId

func (*UpdateResourceResponseBody) SetResourceName

func (UpdateResourceResponseBody) String

type UpdateServiceAutoScalerRequest

type UpdateServiceAutoScalerRequest struct {
	// The Autoscaler operation.
	Behavior *UpdateServiceAutoScalerRequestBehavior `json:"behavior,omitempty" xml:"behavior,omitempty" type:"Struct"`
	// The maximum number of instances. The value must be greater than that of the min parameter.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8
	Max *int32 `json:"max,omitempty" xml:"max,omitempty"`
	// The minimum number of instances. The value must be greater than 0.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2
	Min *int32 `json:"min,omitempty" xml:"min,omitempty"`
	// The auto scaling policies.
	//
	// This parameter is required.
	ScaleStrategies []*UpdateServiceAutoScalerRequestScaleStrategies `json:"scaleStrategies,omitempty" xml:"scaleStrategies,omitempty" type:"Repeated"`
}

func (UpdateServiceAutoScalerRequest) GoString

func (*UpdateServiceAutoScalerRequest) SetMax

func (*UpdateServiceAutoScalerRequest) SetMin

func (UpdateServiceAutoScalerRequest) String

type UpdateServiceAutoScalerRequestBehavior

type UpdateServiceAutoScalerRequestBehavior struct {
	// The operation that reduces the number of instances to 0.
	OnZero *UpdateServiceAutoScalerRequestBehaviorOnZero `json:"onZero,omitempty" xml:"onZero,omitempty" type:"Struct"`
	// The scale-in operation.
	ScaleDown *UpdateServiceAutoScalerRequestBehaviorScaleDown `json:"scaleDown,omitempty" xml:"scaleDown,omitempty" type:"Struct"`
	// The scale-out operation.
	ScaleUp *UpdateServiceAutoScalerRequestBehaviorScaleUp `json:"scaleUp,omitempty" xml:"scaleUp,omitempty" type:"Struct"`
}

func (UpdateServiceAutoScalerRequestBehavior) GoString

func (UpdateServiceAutoScalerRequestBehavior) String

type UpdateServiceAutoScalerRequestBehaviorOnZero

type UpdateServiceAutoScalerRequestBehaviorOnZero struct {
	// The time window that is required before the number of instances is reduced to 0. Default value: 600. The number of instances can be reduced to 0 only if no request is available or no traffic exists in the specified time window.
	//
	// example:
	//
	// 600
	ScaleDownGracePeriodSeconds *int32 `json:"scaleDownGracePeriodSeconds,omitempty" xml:"scaleDownGracePeriodSeconds,omitempty"`
	// The number of instances that you want to create at a time if the number of instances is scaled out from 0. Default value: 1.
	//
	// example:
	//
	// 1
	ScaleUpActivationReplicas *int32 `json:"scaleUpActivationReplicas,omitempty" xml:"scaleUpActivationReplicas,omitempty"`
}

func (UpdateServiceAutoScalerRequestBehaviorOnZero) GoString

func (*UpdateServiceAutoScalerRequestBehaviorOnZero) SetScaleDownGracePeriodSeconds

func (*UpdateServiceAutoScalerRequestBehaviorOnZero) SetScaleUpActivationReplicas

func (UpdateServiceAutoScalerRequestBehaviorOnZero) String

type UpdateServiceAutoScalerRequestBehaviorScaleDown

type UpdateServiceAutoScalerRequestBehaviorScaleDown struct {
	// The time window that is required before the scale-in operation is performed. Default value: 300. The scale-in operation can be performed only if the specified metric drops below the threshold in the specified time window.
	//
	// example:
	//
	// 300
	StabilizationWindowSeconds *int32 `json:"stabilizationWindowSeconds,omitempty" xml:"stabilizationWindowSeconds,omitempty"`
}

func (UpdateServiceAutoScalerRequestBehaviorScaleDown) GoString

func (*UpdateServiceAutoScalerRequestBehaviorScaleDown) SetStabilizationWindowSeconds

func (UpdateServiceAutoScalerRequestBehaviorScaleDown) String

type UpdateServiceAutoScalerRequestBehaviorScaleUp

type UpdateServiceAutoScalerRequestBehaviorScaleUp struct {
	// The time window that is required before the scale-out operation is performed. Default value: 0. The scale-out operation can be performed only if the specified metric exceeds the specified threshold in the specified time window.
	//
	// example:
	//
	// 0
	StabilizationWindowSeconds *int32 `json:"stabilizationWindowSeconds,omitempty" xml:"stabilizationWindowSeconds,omitempty"`
}

func (UpdateServiceAutoScalerRequestBehaviorScaleUp) GoString

func (*UpdateServiceAutoScalerRequestBehaviorScaleUp) SetStabilizationWindowSeconds

func (UpdateServiceAutoScalerRequestBehaviorScaleUp) String

type UpdateServiceAutoScalerRequestScaleStrategies

type UpdateServiceAutoScalerRequestScaleStrategies struct {
	// The name of the metric for triggering auto scaling. Valid values:
	//
	// 	- qps: the queries per second (QPS) for an individual instance.
	//
	// 	- cpu: the CPU utilization.
	//
	// This parameter is required.
	//
	// example:
	//
	// qps
	MetricName *string `json:"metricName,omitempty" xml:"metricName,omitempty"`
	// The service for which the metric is specified. If you do not set this parameter, the current service is specified by default.
	//
	// example:
	//
	// demo_svc
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// The threshold of the metric that triggers auto scaling.
	//
	// 	- If you set metricName to QPS, scale-out is triggered when the average QPS for a single instance is greater than this threshold.
	//
	// 	- If you set metricName to CPU, scale-out is triggered when the average CPU utilization for a single instance is greater than this threshold.
	//
	// This parameter is required.
	//
	// example:
	//
	// 100
	Threshold *float32 `json:"threshold,omitempty" xml:"threshold,omitempty"`
}

func (UpdateServiceAutoScalerRequestScaleStrategies) GoString

func (*UpdateServiceAutoScalerRequestScaleStrategies) SetMetricName

func (*UpdateServiceAutoScalerRequestScaleStrategies) SetService

func (*UpdateServiceAutoScalerRequestScaleStrategies) SetThreshold

func (UpdateServiceAutoScalerRequestScaleStrategies) String

type UpdateServiceAutoScalerResponse

type UpdateServiceAutoScalerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceAutoScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceAutoScalerResponse) GoString

func (*UpdateServiceAutoScalerResponse) SetHeaders

func (*UpdateServiceAutoScalerResponse) SetStatusCode

func (UpdateServiceAutoScalerResponse) String

type UpdateServiceAutoScalerResponseBody

type UpdateServiceAutoScalerResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Update auto scale for service [foo] successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceAutoScalerResponseBody) GoString

func (*UpdateServiceAutoScalerResponseBody) SetMessage

func (*UpdateServiceAutoScalerResponseBody) SetRequestId

func (UpdateServiceAutoScalerResponseBody) String

type UpdateServiceCronScalerRequest

type UpdateServiceCronScalerRequest struct {
	// The points in time that are excluded when you schedule a CronHPA job. The points in time must be specified by using a cron expression.
	ExcludeDates []*string `json:"ExcludeDates,omitempty" xml:"ExcludeDates,omitempty" type:"Repeated"`
	// The description of the CronHPA job.
	//
	// This parameter is required.
	ScaleJobs []*UpdateServiceCronScalerRequestScaleJobs `json:"ScaleJobs,omitempty" xml:"ScaleJobs,omitempty" type:"Repeated"`
}

func (UpdateServiceCronScalerRequest) GoString

func (*UpdateServiceCronScalerRequest) SetExcludeDates

func (UpdateServiceCronScalerRequest) String

type UpdateServiceCronScalerRequestScaleJobs

type UpdateServiceCronScalerRequestScaleJobs struct {
	// The name of the CronHPA job.
	//
	// example:
	//
	// scale-job-1
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The cron expression that is used to configure the execution time of the CronHPA job. For more information about how to configure cron expressions, see **Description of special characters*	- in this topic.
	//
	// This parameter is required.
	//
	// example:
	//
	// 0 18 	- 	- 	- *
	Schedule *string `json:"Schedule,omitempty" xml:"Schedule,omitempty"`
	// The number of instances that you want to configure for the CronHPA job.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2
	TargetSize *int32 `json:"TargetSize,omitempty" xml:"TargetSize,omitempty"`
}

func (UpdateServiceCronScalerRequestScaleJobs) GoString

func (*UpdateServiceCronScalerRequestScaleJobs) SetName

func (*UpdateServiceCronScalerRequestScaleJobs) SetSchedule

func (*UpdateServiceCronScalerRequestScaleJobs) SetTargetSize

func (UpdateServiceCronScalerRequestScaleJobs) String

type UpdateServiceCronScalerResponse

type UpdateServiceCronScalerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceCronScalerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceCronScalerResponse) GoString

func (*UpdateServiceCronScalerResponse) SetHeaders

func (*UpdateServiceCronScalerResponse) SetStatusCode

func (UpdateServiceCronScalerResponse) String

type UpdateServiceCronScalerResponseBody

type UpdateServiceCronScalerResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Update cron scaler for service [foo] successfully
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceCronScalerResponseBody) GoString

func (*UpdateServiceCronScalerResponseBody) SetMessage

func (*UpdateServiceCronScalerResponseBody) SetRequestId

func (UpdateServiceCronScalerResponseBody) String

type UpdateServiceInstanceRequest

type UpdateServiceInstanceRequest struct {
	// Specifies whether to isolate the service instance. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	Isolate *bool `json:"Isolate,omitempty" xml:"Isolate,omitempty"`
}

func (UpdateServiceInstanceRequest) GoString

func (s UpdateServiceInstanceRequest) GoString() string

func (*UpdateServiceInstanceRequest) SetIsolate

func (UpdateServiceInstanceRequest) String

type UpdateServiceInstanceResponse

type UpdateServiceInstanceResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceInstanceResponse) GoString

func (*UpdateServiceInstanceResponse) SetBody

func (*UpdateServiceInstanceResponse) SetHeaders

func (*UpdateServiceInstanceResponse) SetStatusCode

func (UpdateServiceInstanceResponse) String

type UpdateServiceInstanceResponseBody

type UpdateServiceInstanceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceInstanceResponseBody) GoString

func (*UpdateServiceInstanceResponseBody) SetMessage

func (*UpdateServiceInstanceResponseBody) SetRequestId

func (UpdateServiceInstanceResponseBody) String

type UpdateServiceLabelRequest

type UpdateServiceLabelRequest struct {
	// The custom service tags.
	//
	// This parameter is required.
	Labels map[string]*string `json:"Labels,omitempty" xml:"Labels,omitempty"`
}

func (UpdateServiceLabelRequest) GoString

func (s UpdateServiceLabelRequest) GoString() string

func (*UpdateServiceLabelRequest) SetLabels

func (UpdateServiceLabelRequest) String

func (s UpdateServiceLabelRequest) String() string

type UpdateServiceLabelResponse

type UpdateServiceLabelResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceLabelResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceLabelResponse) GoString

func (s UpdateServiceLabelResponse) GoString() string

func (*UpdateServiceLabelResponse) SetBody

func (*UpdateServiceLabelResponse) SetHeaders

func (*UpdateServiceLabelResponse) SetStatusCode

func (UpdateServiceLabelResponse) String

type UpdateServiceLabelResponseBody

type UpdateServiceLabelResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Succeed to update service [service_from_XXXX] labels.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceLabelResponseBody) GoString

func (*UpdateServiceLabelResponseBody) SetMessage

func (*UpdateServiceLabelResponseBody) SetRequestId

func (UpdateServiceLabelResponseBody) String

type UpdateServiceMirrorRequest

type UpdateServiceMirrorRequest struct {
	// The percentage of traffic that you want to mirror. Valid values: 0 to 100.
	//
	// example:
	//
	// 30
	Ratio *int32 `json:"Ratio,omitempty" xml:"Ratio,omitempty"`
	// The service instances.
	Target []*string `json:"Target,omitempty" xml:"Target,omitempty" type:"Repeated"`
}

func (UpdateServiceMirrorRequest) GoString

func (s UpdateServiceMirrorRequest) GoString() string

func (*UpdateServiceMirrorRequest) SetRatio

func (*UpdateServiceMirrorRequest) SetTarget

func (UpdateServiceMirrorRequest) String

type UpdateServiceMirrorResponse

type UpdateServiceMirrorResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceMirrorResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceMirrorResponse) GoString

func (s UpdateServiceMirrorResponse) GoString() string

func (*UpdateServiceMirrorResponse) SetBody

func (*UpdateServiceMirrorResponse) SetHeaders

func (*UpdateServiceMirrorResponse) SetStatusCode

func (UpdateServiceMirrorResponse) String

type UpdateServiceMirrorResponseBody

type UpdateServiceMirrorResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Traffic mirroring is updating for service [foo] in region [cn-shanghia], ratio [70%]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceMirrorResponseBody) GoString

func (*UpdateServiceMirrorResponseBody) SetMessage

func (*UpdateServiceMirrorResponseBody) SetRequestId

func (UpdateServiceMirrorResponseBody) String

type UpdateServiceRequest

type UpdateServiceRequest struct {
	// The type of the service update. Valid values: merge and replace. By default, merge is used if you do not specify this parameter.
	//
	// 	- merge: If the JSON string configured for the existing service is `{"a":"b"}` and the JSON string specified in the body parameter is `{"c":"d"}`, the JSON string is `{"a":"b","c":"d"}` after the service update.
	//
	// 	- replace: If the JSON string configured for the existing service is `{"a":"b"}` and the JSON string specified in the body parameter is `{"c":"d"}`, the JSON string is `{"c":"d"}` after the service update.
	//
	// example:
	//
	// merge
	UpdateType *string `json:"UpdateType,omitempty" xml:"UpdateType,omitempty"`
	// The request body. The body includes the request parameters that you want to update. For more information about the request parameters, see [CreateService](https://help.aliyun.com/document_detail/412086.html).
	//
	// example:
	//
	// {   "name": "foo",   "model_path": "http://path/to/model.tar.gz",   "processor": "tensorflow_cpu",   "metadata": {     "instance": 2,     "memory": 7000,     "cpu": 4   } }
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceRequest) GoString

func (s UpdateServiceRequest) GoString() string

func (*UpdateServiceRequest) SetBody

func (*UpdateServiceRequest) SetUpdateType added in v4.0.1

func (s *UpdateServiceRequest) SetUpdateType(v string) *UpdateServiceRequest

func (UpdateServiceRequest) String

func (s UpdateServiceRequest) String() string

type UpdateServiceResponse

type UpdateServiceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceResponse) GoString

func (s UpdateServiceResponse) GoString() string

func (*UpdateServiceResponse) SetBody

func (*UpdateServiceResponse) SetHeaders

func (*UpdateServiceResponse) SetStatusCode

func (s *UpdateServiceResponse) SetStatusCode(v int32) *UpdateServiceResponse

func (UpdateServiceResponse) String

func (s UpdateServiceResponse) String() string

type UpdateServiceResponseBody

type UpdateServiceResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Succeed to update service [foo] in region [cn-shanghai]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceResponseBody) GoString

func (s UpdateServiceResponseBody) GoString() string

func (*UpdateServiceResponseBody) SetMessage

func (*UpdateServiceResponseBody) SetRequestId

func (UpdateServiceResponseBody) String

func (s UpdateServiceResponseBody) String() string

type UpdateServiceSafetyLockRequest

type UpdateServiceSafetyLockRequest struct {
	// The lock scope. Valid values:
	//
	// 	- all: locks all operations.
	//
	// 	- dangerous: locks dangerous operations such as delete and stop operations.
	//
	// 	- none: locks no operations.
	//
	// This parameter is required.
	//
	// example:
	//
	// dangerous
	Lock *string `json:"Lock,omitempty" xml:"Lock,omitempty"`
}

func (UpdateServiceSafetyLockRequest) GoString

func (*UpdateServiceSafetyLockRequest) SetLock

func (UpdateServiceSafetyLockRequest) String

type UpdateServiceSafetyLockResponse

type UpdateServiceSafetyLockResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceSafetyLockResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceSafetyLockResponse) GoString

func (*UpdateServiceSafetyLockResponse) SetHeaders

func (*UpdateServiceSafetyLockResponse) SetStatusCode

func (UpdateServiceSafetyLockResponse) String

type UpdateServiceSafetyLockResponseBody

type UpdateServiceSafetyLockResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// service safety lock updated to dangerous
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// E089D584-B6F4-50C4-9902-DA2295B7****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceSafetyLockResponseBody) GoString

func (*UpdateServiceSafetyLockResponseBody) SetMessage

func (*UpdateServiceSafetyLockResponseBody) SetRequestId

func (UpdateServiceSafetyLockResponseBody) String

type UpdateServiceVersionRequest

type UpdateServiceVersionRequest struct {
	// The destination version of the service. The value must be of the INT type. The value must be greater than 0 and smaller than the current version of the service.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	Version *int32 `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (UpdateServiceVersionRequest) GoString

func (s UpdateServiceVersionRequest) GoString() string

func (*UpdateServiceVersionRequest) SetVersion

func (UpdateServiceVersionRequest) String

type UpdateServiceVersionResponse

type UpdateServiceVersionResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateServiceVersionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateServiceVersionResponse) GoString

func (s UpdateServiceVersionResponse) GoString() string

func (*UpdateServiceVersionResponse) SetBody

func (*UpdateServiceVersionResponse) SetHeaders

func (*UpdateServiceVersionResponse) SetStatusCode

func (UpdateServiceVersionResponse) String

type UpdateServiceVersionResponseBody

type UpdateServiceVersionResponseBody struct {
	// The returned message.
	//
	// example:
	//
	// Service [foo] in region [cn-shanghai] is starting
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 40325405-579C-4D82****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateServiceVersionResponseBody) GoString

func (*UpdateServiceVersionResponseBody) SetMessage

func (*UpdateServiceVersionResponseBody) SetRequestId

func (UpdateServiceVersionResponseBody) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL