ecs

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 12

Documentation

Overview

Package ecsiface provides an interface to enable mocking the ECS service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	ServiceName = "ecs"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "ecs"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableResourceForDescribeAvailableResourceOutput

type AvailableResourceForDescribeAvailableResourceOutput struct {
	SupportedResources []*SupportedResourceForDescribeAvailableResourceOutput `type:"list"`

	Type *string `type:"string"`
	// contains filtered or unexported fields
}

func (AvailableResourceForDescribeAvailableResourceOutput) GoString

GoString returns the string representation

func (*AvailableResourceForDescribeAvailableResourceOutput) SetSupportedResources

SetSupportedResources sets the SupportedResources field's value.

func (*AvailableResourceForDescribeAvailableResourceOutput) SetType

SetType sets the Type field's value.

func (AvailableResourceForDescribeAvailableResourceOutput) String

String returns the string representation

type AvailableZoneForDescribeAvailableResourceOutput

type AvailableZoneForDescribeAvailableResourceOutput struct {
	AvailableResources []*AvailableResourceForDescribeAvailableResourceOutput `type:"list"`

	RegionId *string `type:"string"`

	Status *string `type:"string"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (AvailableZoneForDescribeAvailableResourceOutput) GoString

GoString returns the string representation

func (*AvailableZoneForDescribeAvailableResourceOutput) SetAvailableResources

SetAvailableResources sets the AvailableResources field's value.

func (*AvailableZoneForDescribeAvailableResourceOutput) SetRegionId

SetRegionId sets the RegionId field's value.

func (*AvailableZoneForDescribeAvailableResourceOutput) SetStatus

SetStatus sets the Status field's value.

func (*AvailableZoneForDescribeAvailableResourceOutput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (AvailableZoneForDescribeAvailableResourceOutput) String

String returns the string representation

type CreateImageInput

type CreateImageInput struct {
	Description *string `type:"string"`

	ImageName *string `type:"string"`

	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateImageInput) GoString

func (s CreateImageInput) GoString() string

GoString returns the string representation

func (*CreateImageInput) SetDescription

func (s *CreateImageInput) SetDescription(v string) *CreateImageInput

SetDescription sets the Description field's value.

func (*CreateImageInput) SetImageName

func (s *CreateImageInput) SetImageName(v string) *CreateImageInput

SetImageName sets the ImageName field's value.

func (*CreateImageInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (CreateImageInput) String

func (s CreateImageInput) String() string

String returns the string representation

type CreateImageOutput

type CreateImageOutput struct {
	Metadata *response.ResponseMetadata

	ImageId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateImageOutput) GoString

func (s CreateImageOutput) GoString() string

GoString returns the string representation

func (*CreateImageOutput) SetImageId

func (s *CreateImageOutput) SetImageId(v string) *CreateImageOutput

SetImageId sets the ImageId field's value.

func (CreateImageOutput) String

func (s CreateImageOutput) String() string

String returns the string representation

type DeleteInstanceInput

type DeleteInstanceInput struct {
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteInstanceInput) GoString

func (s DeleteInstanceInput) GoString() string

GoString returns the string representation

func (*DeleteInstanceInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (DeleteInstanceInput) String

func (s DeleteInstanceInput) String() string

String returns the string representation

type DeleteInstanceOutput

type DeleteInstanceOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (DeleteInstanceOutput) GoString

func (s DeleteInstanceOutput) GoString() string

GoString returns the string representation

func (DeleteInstanceOutput) String

func (s DeleteInstanceOutput) String() string

String returns the string representation

type DescribeAvailableResourceInput

type DescribeAvailableResourceInput struct {
	DestinationResource *string `type:"string"`

	InstanceType *string `type:"string"`

	InstanceTypeId *string `type:"string"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAvailableResourceInput) GoString

GoString returns the string representation

func (*DescribeAvailableResourceInput) SetDestinationResource

SetDestinationResource sets the DestinationResource field's value.

func (*DescribeAvailableResourceInput) SetInstanceType

SetInstanceType sets the InstanceType field's value.

func (*DescribeAvailableResourceInput) SetInstanceTypeId

SetInstanceTypeId sets the InstanceTypeId field's value.

func (*DescribeAvailableResourceInput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (DescribeAvailableResourceInput) String

String returns the string representation

type DescribeAvailableResourceOutput

type DescribeAvailableResourceOutput struct {
	Metadata *response.ResponseMetadata

	AvailableZones []*AvailableZoneForDescribeAvailableResourceOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeAvailableResourceOutput) GoString

GoString returns the string representation

func (*DescribeAvailableResourceOutput) SetAvailableZones

SetAvailableZones sets the AvailableZones field's value.

func (DescribeAvailableResourceOutput) String

String returns the string representation

type DescribeImagesInput

type DescribeImagesInput struct {
	ImageIds []*string `type:"list"`

	ImageStatus *string `type:"string"`

	InstanceTypeId *string `type:"string"`

	IsSupportCloudInit *bool `type:"boolean"`

	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`

	OsType *string `type:"string"`

	Status []*string `type:"list"`

	Visibility *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeImagesInput) GoString

func (s DescribeImagesInput) GoString() string

GoString returns the string representation

func (*DescribeImagesInput) SetImageIds

func (s *DescribeImagesInput) SetImageIds(v []*string) *DescribeImagesInput

SetImageIds sets the ImageIds field's value.

func (*DescribeImagesInput) SetImageStatus

func (s *DescribeImagesInput) SetImageStatus(v string) *DescribeImagesInput

SetImageStatus sets the ImageStatus field's value.

func (*DescribeImagesInput) SetInstanceTypeId

func (s *DescribeImagesInput) SetInstanceTypeId(v string) *DescribeImagesInput

SetInstanceTypeId sets the InstanceTypeId field's value.

func (*DescribeImagesInput) SetIsSupportCloudInit

func (s *DescribeImagesInput) SetIsSupportCloudInit(v bool) *DescribeImagesInput

SetIsSupportCloudInit sets the IsSupportCloudInit field's value.

func (*DescribeImagesInput) SetMaxResults

func (s *DescribeImagesInput) SetMaxResults(v int32) *DescribeImagesInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeImagesInput) SetNextToken

func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput

SetNextToken sets the NextToken field's value.

func (*DescribeImagesInput) SetOsType

SetOsType sets the OsType field's value.

func (*DescribeImagesInput) SetStatus

func (s *DescribeImagesInput) SetStatus(v []*string) *DescribeImagesInput

SetStatus sets the Status field's value.

func (*DescribeImagesInput) SetVisibility

func (s *DescribeImagesInput) SetVisibility(v string) *DescribeImagesInput

SetVisibility sets the Visibility field's value.

func (DescribeImagesInput) String

func (s DescribeImagesInput) String() string

String returns the string representation

type DescribeImagesOutput

type DescribeImagesOutput struct {
	Metadata *response.ResponseMetadata

	Images []*ImageForDescribeImagesOutput `type:"list"`

	NextToken *string `type:"string"`

	TotalCount *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (DescribeImagesOutput) GoString

func (s DescribeImagesOutput) GoString() string

GoString returns the string representation

func (*DescribeImagesOutput) SetImages

SetImages sets the Images field's value.

func (*DescribeImagesOutput) SetNextToken

func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput

SetNextToken sets the NextToken field's value.

func (*DescribeImagesOutput) SetTotalCount

func (s *DescribeImagesOutput) SetTotalCount(v int32) *DescribeImagesOutput

SetTotalCount sets the TotalCount field's value.

func (DescribeImagesOutput) String

func (s DescribeImagesOutput) String() string

String returns the string representation

type DescribeInstanceTypesInput

type DescribeInstanceTypesInput struct {
	InstanceTypeIds []*string `type:"list"`

	InstanceTypes []*string `type:"list"`

	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeInstanceTypesInput) GoString

func (s DescribeInstanceTypesInput) GoString() string

GoString returns the string representation

func (*DescribeInstanceTypesInput) SetInstanceTypeIds

func (s *DescribeInstanceTypesInput) SetInstanceTypeIds(v []*string) *DescribeInstanceTypesInput

SetInstanceTypeIds sets the InstanceTypeIds field's value.

func (*DescribeInstanceTypesInput) SetInstanceTypes

SetInstanceTypes sets the InstanceTypes field's value.

func (*DescribeInstanceTypesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeInstanceTypesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeInstanceTypesInput) String

String returns the string representation

type DescribeInstanceTypesOutput

type DescribeInstanceTypesOutput struct {
	Metadata *response.ResponseMetadata

	InstanceTypes []*InstanceTypeForDescribeInstanceTypesOutput `type:"list"`

	NextToken *string `type:"string"`

	TotalCount *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (DescribeInstanceTypesOutput) GoString

func (s DescribeInstanceTypesOutput) GoString() string

GoString returns the string representation

func (*DescribeInstanceTypesOutput) SetInstanceTypes

SetInstanceTypes sets the InstanceTypes field's value.

func (*DescribeInstanceTypesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeInstanceTypesOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeInstanceTypesOutput) String

String returns the string representation

type DescribeInstanceVncUrlInput

type DescribeInstanceVncUrlInput struct {
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeInstanceVncUrlInput) GoString

func (s DescribeInstanceVncUrlInput) GoString() string

GoString returns the string representation

func (*DescribeInstanceVncUrlInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (DescribeInstanceVncUrlInput) String

String returns the string representation

type DescribeInstanceVncUrlOutput

type DescribeInstanceVncUrlOutput struct {
	Metadata *response.ResponseMetadata

	VncUrl *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeInstanceVncUrlOutput) GoString

func (s DescribeInstanceVncUrlOutput) GoString() string

GoString returns the string representation

func (*DescribeInstanceVncUrlOutput) SetVncUrl

SetVncUrl sets the VncUrl field's value.

func (DescribeInstanceVncUrlOutput) String

String returns the string representation

type DescribeInstancesInput

type DescribeInstancesInput struct {
	HpcClusterId *string `type:"string"`

	InstanceChargeType *string `type:"string"`

	InstanceIds []*string `type:"list"`

	InstanceName *string `type:"string"`

	InstanceTypeFamilies []*string `type:"list"`

	InstanceTypeIds []*string `type:"list"`

	InstanceTypes []*string `type:"list"`

	KeyPairName *string `type:"string"`

	MaxResults *int32 `type:"int32"`

	NextToken *string `type:"string"`

	PrimaryIpAddress *string `type:"string"`

	Status *string `type:"string"`

	VpcId *string `type:"string"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeInstancesInput) GoString

func (s DescribeInstancesInput) GoString() string

GoString returns the string representation

func (*DescribeInstancesInput) SetHpcClusterId

func (s *DescribeInstancesInput) SetHpcClusterId(v string) *DescribeInstancesInput

SetHpcClusterId sets the HpcClusterId field's value.

func (*DescribeInstancesInput) SetInstanceChargeType

func (s *DescribeInstancesInput) SetInstanceChargeType(v string) *DescribeInstancesInput

SetInstanceChargeType sets the InstanceChargeType field's value.

func (*DescribeInstancesInput) SetInstanceIds

func (s *DescribeInstancesInput) SetInstanceIds(v []*string) *DescribeInstancesInput

SetInstanceIds sets the InstanceIds field's value.

func (*DescribeInstancesInput) SetInstanceName

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

SetInstanceName sets the InstanceName field's value.

func (*DescribeInstancesInput) SetInstanceTypeFamilies

func (s *DescribeInstancesInput) SetInstanceTypeFamilies(v []*string) *DescribeInstancesInput

SetInstanceTypeFamilies sets the InstanceTypeFamilies field's value.

func (*DescribeInstancesInput) SetInstanceTypeIds

func (s *DescribeInstancesInput) SetInstanceTypeIds(v []*string) *DescribeInstancesInput

SetInstanceTypeIds sets the InstanceTypeIds field's value.

func (*DescribeInstancesInput) SetInstanceTypes

func (s *DescribeInstancesInput) SetInstanceTypes(v []*string) *DescribeInstancesInput

SetInstanceTypes sets the InstanceTypes field's value.

func (*DescribeInstancesInput) SetKeyPairName

SetKeyPairName sets the KeyPairName field's value.

func (*DescribeInstancesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeInstancesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeInstancesInput) SetPrimaryIpAddress

func (s *DescribeInstancesInput) SetPrimaryIpAddress(v string) *DescribeInstancesInput

SetPrimaryIpAddress sets the PrimaryIpAddress field's value.

func (*DescribeInstancesInput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeInstancesInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*DescribeInstancesInput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (DescribeInstancesInput) String

func (s DescribeInstancesInput) String() string

String returns the string representation

type DescribeInstancesOutput

type DescribeInstancesOutput struct {
	Metadata *response.ResponseMetadata

	Instances []*InstanceForDescribeInstancesOutput `type:"list"`

	NextToken *string `type:"string"`

	TotalCount *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (DescribeInstancesOutput) GoString

func (s DescribeInstancesOutput) GoString() string

GoString returns the string representation

func (*DescribeInstancesOutput) SetInstances

SetInstances sets the Instances field's value.

func (*DescribeInstancesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeInstancesOutput) SetTotalCount

SetTotalCount sets the TotalCount field's value.

func (DescribeInstancesOutput) String

func (s DescribeInstancesOutput) String() string

String returns the string representation

type DescribeUserDataInput

type DescribeUserDataInput struct {
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeUserDataInput) GoString

func (s DescribeUserDataInput) GoString() string

GoString returns the string representation

func (*DescribeUserDataInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (DescribeUserDataInput) String

func (s DescribeUserDataInput) String() string

String returns the string representation

type DescribeUserDataOutput

type DescribeUserDataOutput struct {
	Metadata *response.ResponseMetadata

	InstanceId *string `type:"string"`

	UserData *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeUserDataOutput) GoString

func (s DescribeUserDataOutput) GoString() string

GoString returns the string representation

func (*DescribeUserDataOutput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*DescribeUserDataOutput) SetUserData

SetUserData sets the UserData field's value.

func (DescribeUserDataOutput) String

func (s DescribeUserDataOutput) String() string

String returns the string representation

type DescribeZonesInput

type DescribeZonesInput struct {
	ZoneIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeZonesInput) GoString

func (s DescribeZonesInput) GoString() string

GoString returns the string representation

func (*DescribeZonesInput) SetZoneIds

func (s *DescribeZonesInput) SetZoneIds(v []*string) *DescribeZonesInput

SetZoneIds sets the ZoneIds field's value.

func (DescribeZonesInput) String

func (s DescribeZonesInput) String() string

String returns the string representation

type DescribeZonesOutput

type DescribeZonesOutput struct {
	Metadata *response.ResponseMetadata

	Zones []*ZoneForDescribeZonesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeZonesOutput) GoString

func (s DescribeZonesOutput) GoString() string

GoString returns the string representation

func (*DescribeZonesOutput) SetZones

SetZones sets the Zones field's value.

func (DescribeZonesOutput) String

func (s DescribeZonesOutput) String() string

String returns the string representation

type ECS

type ECS struct {
	*client.Client
}

ECS provides the API operation methods for making requests to ECS. See this package's package overview docs for details on the service.

ECS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *ECS

New create int can support ssl or region locate set

func (*ECS) CreateImage

func (c *ECS) CreateImage(input *CreateImageInput) (*CreateImageOutput, error)

CreateImage API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation CreateImage for usage and error information.

func (*ECS) CreateImageCommon

func (c *ECS) CreateImageCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateImageCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation CreateImageCommon for usage and error information.

func (*ECS) CreateImageCommonRequest

func (c *ECS) CreateImageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateImageCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateImageCommon operation. The "output" return value will be populated with the CreateImageCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateImageCommon Request to send the API call to the service. the "output" return value is not valid until after CreateImageCommon Send returns without error.

See CreateImageCommon for more information on using the CreateImageCommon API call, and error handling.

// Example sending a request using the CreateImageCommonRequest method.
req, resp := client.CreateImageCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) CreateImageCommonWithContext

func (c *ECS) CreateImageCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateImageCommonWithContext is the same as CreateImageCommon with the addition of the ability to pass a context and additional request options.

See CreateImageCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) CreateImageRequest

func (c *ECS) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput)

CreateImageRequest generates a "volcengine/request.Request" representing the client's request for the CreateImage operation. The "output" return value will be populated with the CreateImageCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateImageCommon Request to send the API call to the service. the "output" return value is not valid until after CreateImageCommon Send returns without error.

See CreateImage for more information on using the CreateImage API call, and error handling.

// Example sending a request using the CreateImageRequest method.
req, resp := client.CreateImageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) CreateImageWithContext

func (c *ECS) CreateImageWithContext(ctx volcengine.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error)

CreateImageWithContext is the same as CreateImage with the addition of the ability to pass a context and additional request options.

See CreateImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DeleteInstance

func (c *ECS) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error)

DeleteInstance API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DeleteInstance for usage and error information.

func (*ECS) DeleteInstanceCommon

func (c *ECS) DeleteInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteInstanceCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DeleteInstanceCommon for usage and error information.

func (*ECS) DeleteInstanceCommonRequest

func (c *ECS) DeleteInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DeleteInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteInstanceCommon operation. The "output" return value will be populated with the DeleteInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteInstanceCommon Send returns without error.

See DeleteInstanceCommon for more information on using the DeleteInstanceCommon API call, and error handling.

// Example sending a request using the DeleteInstanceCommonRequest method.
req, resp := client.DeleteInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DeleteInstanceCommonWithContext

func (c *ECS) DeleteInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DeleteInstanceCommonWithContext is the same as DeleteInstanceCommon with the addition of the ability to pass a context and additional request options.

See DeleteInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DeleteInstanceRequest

func (c *ECS) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput)

DeleteInstanceRequest generates a "volcengine/request.Request" representing the client's request for the DeleteInstance operation. The "output" return value will be populated with the DeleteInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned DeleteInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteInstanceCommon Send returns without error.

See DeleteInstance for more information on using the DeleteInstance API call, and error handling.

// Example sending a request using the DeleteInstanceRequest method.
req, resp := client.DeleteInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DeleteInstanceWithContext

func (c *ECS) DeleteInstanceWithContext(ctx volcengine.Context, input *DeleteInstanceInput, opts ...request.Option) (*DeleteInstanceOutput, error)

DeleteInstanceWithContext is the same as DeleteInstance with the addition of the ability to pass a context and additional request options.

See DeleteInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeAvailableResource

func (c *ECS) DescribeAvailableResource(input *DescribeAvailableResourceInput) (*DescribeAvailableResourceOutput, error)

DescribeAvailableResource API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeAvailableResource for usage and error information.

func (*ECS) DescribeAvailableResourceCommon

func (c *ECS) DescribeAvailableResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeAvailableResourceCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeAvailableResourceCommon for usage and error information.

func (*ECS) DescribeAvailableResourceCommonRequest

func (c *ECS) DescribeAvailableResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeAvailableResourceCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAvailableResourceCommon operation. The "output" return value will be populated with the DescribeAvailableResourceCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAvailableResourceCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAvailableResourceCommon Send returns without error.

See DescribeAvailableResourceCommon for more information on using the DescribeAvailableResourceCommon API call, and error handling.

// Example sending a request using the DescribeAvailableResourceCommonRequest method.
req, resp := client.DescribeAvailableResourceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeAvailableResourceCommonWithContext

func (c *ECS) DescribeAvailableResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeAvailableResourceCommonWithContext is the same as DescribeAvailableResourceCommon with the addition of the ability to pass a context and additional request options.

See DescribeAvailableResourceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeAvailableResourceRequest

func (c *ECS) DescribeAvailableResourceRequest(input *DescribeAvailableResourceInput) (req *request.Request, output *DescribeAvailableResourceOutput)

DescribeAvailableResourceRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAvailableResource operation. The "output" return value will be populated with the DescribeAvailableResourceCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAvailableResourceCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAvailableResourceCommon Send returns without error.

See DescribeAvailableResource for more information on using the DescribeAvailableResource API call, and error handling.

// Example sending a request using the DescribeAvailableResourceRequest method.
req, resp := client.DescribeAvailableResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeAvailableResourceWithContext

func (c *ECS) DescribeAvailableResourceWithContext(ctx volcengine.Context, input *DescribeAvailableResourceInput, opts ...request.Option) (*DescribeAvailableResourceOutput, error)

DescribeAvailableResourceWithContext is the same as DescribeAvailableResource with the addition of the ability to pass a context and additional request options.

See DescribeAvailableResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeImages

func (c *ECS) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)

DescribeImages API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeImages for usage and error information.

func (*ECS) DescribeImagesCommon

func (c *ECS) DescribeImagesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeImagesCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeImagesCommon for usage and error information.

func (*ECS) DescribeImagesCommonRequest

func (c *ECS) DescribeImagesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeImagesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeImagesCommon operation. The "output" return value will be populated with the DescribeImagesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeImagesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeImagesCommon Send returns without error.

See DescribeImagesCommon for more information on using the DescribeImagesCommon API call, and error handling.

// Example sending a request using the DescribeImagesCommonRequest method.
req, resp := client.DescribeImagesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeImagesCommonWithContext

func (c *ECS) DescribeImagesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeImagesCommonWithContext is the same as DescribeImagesCommon with the addition of the ability to pass a context and additional request options.

See DescribeImagesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeImagesRequest

func (c *ECS) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)

DescribeImagesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeImages operation. The "output" return value will be populated with the DescribeImagesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeImagesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeImagesCommon Send returns without error.

See DescribeImages for more information on using the DescribeImages API call, and error handling.

// Example sending a request using the DescribeImagesRequest method.
req, resp := client.DescribeImagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeImagesWithContext

func (c *ECS) DescribeImagesWithContext(ctx volcengine.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)

DescribeImagesWithContext is the same as DescribeImages with the addition of the ability to pass a context and additional request options.

See DescribeImages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeInstanceTypes

func (c *ECS) DescribeInstanceTypes(input *DescribeInstanceTypesInput) (*DescribeInstanceTypesOutput, error)

DescribeInstanceTypes API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeInstanceTypes for usage and error information.

func (*ECS) DescribeInstanceTypesCommon

func (c *ECS) DescribeInstanceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstanceTypesCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeInstanceTypesCommon for usage and error information.

func (*ECS) DescribeInstanceTypesCommonRequest

func (c *ECS) DescribeInstanceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeInstanceTypesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeInstanceTypesCommon operation. The "output" return value will be populated with the DescribeInstanceTypesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeInstanceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeInstanceTypesCommon Send returns without error.

See DescribeInstanceTypesCommon for more information on using the DescribeInstanceTypesCommon API call, and error handling.

// Example sending a request using the DescribeInstanceTypesCommonRequest method.
req, resp := client.DescribeInstanceTypesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeInstanceTypesCommonWithContext

func (c *ECS) DescribeInstanceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeInstanceTypesCommonWithContext is the same as DescribeInstanceTypesCommon with the addition of the ability to pass a context and additional request options.

See DescribeInstanceTypesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeInstanceTypesRequest

func (c *ECS) DescribeInstanceTypesRequest(input *DescribeInstanceTypesInput) (req *request.Request, output *DescribeInstanceTypesOutput)

DescribeInstanceTypesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeInstanceTypes operation. The "output" return value will be populated with the DescribeInstanceTypesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeInstanceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeInstanceTypesCommon Send returns without error.

See DescribeInstanceTypes for more information on using the DescribeInstanceTypes API call, and error handling.

// Example sending a request using the DescribeInstanceTypesRequest method.
req, resp := client.DescribeInstanceTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeInstanceTypesWithContext

func (c *ECS) DescribeInstanceTypesWithContext(ctx volcengine.Context, input *DescribeInstanceTypesInput, opts ...request.Option) (*DescribeInstanceTypesOutput, error)

DescribeInstanceTypesWithContext is the same as DescribeInstanceTypes with the addition of the ability to pass a context and additional request options.

See DescribeInstanceTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeInstanceVncUrl

func (c *ECS) DescribeInstanceVncUrl(input *DescribeInstanceVncUrlInput) (*DescribeInstanceVncUrlOutput, error)

DescribeInstanceVncUrl API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeInstanceVncUrl for usage and error information.

func (*ECS) DescribeInstanceVncUrlCommon

func (c *ECS) DescribeInstanceVncUrlCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstanceVncUrlCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeInstanceVncUrlCommon for usage and error information.

func (*ECS) DescribeInstanceVncUrlCommonRequest

func (c *ECS) DescribeInstanceVncUrlCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeInstanceVncUrlCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeInstanceVncUrlCommon operation. The "output" return value will be populated with the DescribeInstanceVncUrlCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeInstanceVncUrlCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeInstanceVncUrlCommon Send returns without error.

See DescribeInstanceVncUrlCommon for more information on using the DescribeInstanceVncUrlCommon API call, and error handling.

// Example sending a request using the DescribeInstanceVncUrlCommonRequest method.
req, resp := client.DescribeInstanceVncUrlCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeInstanceVncUrlCommonWithContext

func (c *ECS) DescribeInstanceVncUrlCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeInstanceVncUrlCommonWithContext is the same as DescribeInstanceVncUrlCommon with the addition of the ability to pass a context and additional request options.

See DescribeInstanceVncUrlCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeInstanceVncUrlRequest

func (c *ECS) DescribeInstanceVncUrlRequest(input *DescribeInstanceVncUrlInput) (req *request.Request, output *DescribeInstanceVncUrlOutput)

DescribeInstanceVncUrlRequest generates a "volcengine/request.Request" representing the client's request for the DescribeInstanceVncUrl operation. The "output" return value will be populated with the DescribeInstanceVncUrlCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeInstanceVncUrlCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeInstanceVncUrlCommon Send returns without error.

See DescribeInstanceVncUrl for more information on using the DescribeInstanceVncUrl API call, and error handling.

// Example sending a request using the DescribeInstanceVncUrlRequest method.
req, resp := client.DescribeInstanceVncUrlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeInstanceVncUrlWithContext

func (c *ECS) DescribeInstanceVncUrlWithContext(ctx volcengine.Context, input *DescribeInstanceVncUrlInput, opts ...request.Option) (*DescribeInstanceVncUrlOutput, error)

DescribeInstanceVncUrlWithContext is the same as DescribeInstanceVncUrl with the addition of the ability to pass a context and additional request options.

See DescribeInstanceVncUrl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeInstances

func (c *ECS) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error)

DescribeInstances API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeInstances for usage and error information.

func (*ECS) DescribeInstancesCommon

func (c *ECS) DescribeInstancesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeInstancesCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeInstancesCommon for usage and error information.

func (*ECS) DescribeInstancesCommonRequest

func (c *ECS) DescribeInstancesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeInstancesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeInstancesCommon operation. The "output" return value will be populated with the DescribeInstancesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeInstancesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeInstancesCommon Send returns without error.

See DescribeInstancesCommon for more information on using the DescribeInstancesCommon API call, and error handling.

// Example sending a request using the DescribeInstancesCommonRequest method.
req, resp := client.DescribeInstancesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeInstancesCommonWithContext

func (c *ECS) DescribeInstancesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeInstancesCommonWithContext is the same as DescribeInstancesCommon with the addition of the ability to pass a context and additional request options.

See DescribeInstancesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeInstancesRequest

func (c *ECS) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput)

DescribeInstancesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeInstances operation. The "output" return value will be populated with the DescribeInstancesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeInstancesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeInstancesCommon Send returns without error.

See DescribeInstances for more information on using the DescribeInstances API call, and error handling.

// Example sending a request using the DescribeInstancesRequest method.
req, resp := client.DescribeInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeInstancesWithContext

func (c *ECS) DescribeInstancesWithContext(ctx volcengine.Context, input *DescribeInstancesInput, opts ...request.Option) (*DescribeInstancesOutput, error)

DescribeInstancesWithContext is the same as DescribeInstances with the addition of the ability to pass a context and additional request options.

See DescribeInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeUserData

func (c *ECS) DescribeUserData(input *DescribeUserDataInput) (*DescribeUserDataOutput, error)

DescribeUserData API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeUserData for usage and error information.

func (*ECS) DescribeUserDataCommon

func (c *ECS) DescribeUserDataCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeUserDataCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeUserDataCommon for usage and error information.

func (*ECS) DescribeUserDataCommonRequest

func (c *ECS) DescribeUserDataCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeUserDataCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeUserDataCommon operation. The "output" return value will be populated with the DescribeUserDataCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeUserDataCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeUserDataCommon Send returns without error.

See DescribeUserDataCommon for more information on using the DescribeUserDataCommon API call, and error handling.

// Example sending a request using the DescribeUserDataCommonRequest method.
req, resp := client.DescribeUserDataCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeUserDataCommonWithContext

func (c *ECS) DescribeUserDataCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeUserDataCommonWithContext is the same as DescribeUserDataCommon with the addition of the ability to pass a context and additional request options.

See DescribeUserDataCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeUserDataRequest

func (c *ECS) DescribeUserDataRequest(input *DescribeUserDataInput) (req *request.Request, output *DescribeUserDataOutput)

DescribeUserDataRequest generates a "volcengine/request.Request" representing the client's request for the DescribeUserData operation. The "output" return value will be populated with the DescribeUserDataCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeUserDataCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeUserDataCommon Send returns without error.

See DescribeUserData for more information on using the DescribeUserData API call, and error handling.

// Example sending a request using the DescribeUserDataRequest method.
req, resp := client.DescribeUserDataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeUserDataWithContext

func (c *ECS) DescribeUserDataWithContext(ctx volcengine.Context, input *DescribeUserDataInput, opts ...request.Option) (*DescribeUserDataOutput, error)

DescribeUserDataWithContext is the same as DescribeUserData with the addition of the ability to pass a context and additional request options.

See DescribeUserData for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeZones

func (c *ECS) DescribeZones(input *DescribeZonesInput) (*DescribeZonesOutput, error)

DescribeZones API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeZones for usage and error information.

func (*ECS) DescribeZonesCommon

func (c *ECS) DescribeZonesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeZonesCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation DescribeZonesCommon for usage and error information.

func (*ECS) DescribeZonesCommonRequest

func (c *ECS) DescribeZonesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeZonesCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeZonesCommon operation. The "output" return value will be populated with the DescribeZonesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeZonesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeZonesCommon Send returns without error.

See DescribeZonesCommon for more information on using the DescribeZonesCommon API call, and error handling.

// Example sending a request using the DescribeZonesCommonRequest method.
req, resp := client.DescribeZonesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeZonesCommonWithContext

func (c *ECS) DescribeZonesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeZonesCommonWithContext is the same as DescribeZonesCommon with the addition of the ability to pass a context and additional request options.

See DescribeZonesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) DescribeZonesRequest

func (c *ECS) DescribeZonesRequest(input *DescribeZonesInput) (req *request.Request, output *DescribeZonesOutput)

DescribeZonesRequest generates a "volcengine/request.Request" representing the client's request for the DescribeZones operation. The "output" return value will be populated with the DescribeZonesCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeZonesCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeZonesCommon Send returns without error.

See DescribeZones for more information on using the DescribeZones API call, and error handling.

// Example sending a request using the DescribeZonesRequest method.
req, resp := client.DescribeZonesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) DescribeZonesWithContext

func (c *ECS) DescribeZonesWithContext(ctx volcengine.Context, input *DescribeZonesInput, opts ...request.Option) (*DescribeZonesOutput, error)

DescribeZonesWithContext is the same as DescribeZones with the addition of the ability to pass a context and additional request options.

See DescribeZones for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ModifyInstanceAttribute

func (c *ECS) ModifyInstanceAttribute(input *ModifyInstanceAttributeInput) (*ModifyInstanceAttributeOutput, error)

ModifyInstanceAttribute API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ModifyInstanceAttribute for usage and error information.

func (*ECS) ModifyInstanceAttributeCommon

func (c *ECS) ModifyInstanceAttributeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyInstanceAttributeCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ModifyInstanceAttributeCommon for usage and error information.

func (*ECS) ModifyInstanceAttributeCommonRequest

func (c *ECS) ModifyInstanceAttributeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyInstanceAttributeCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyInstanceAttributeCommon operation. The "output" return value will be populated with the ModifyInstanceAttributeCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyInstanceAttributeCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyInstanceAttributeCommon Send returns without error.

See ModifyInstanceAttributeCommon for more information on using the ModifyInstanceAttributeCommon API call, and error handling.

// Example sending a request using the ModifyInstanceAttributeCommonRequest method.
req, resp := client.ModifyInstanceAttributeCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ModifyInstanceAttributeCommonWithContext

func (c *ECS) ModifyInstanceAttributeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyInstanceAttributeCommonWithContext is the same as ModifyInstanceAttributeCommon with the addition of the ability to pass a context and additional request options.

See ModifyInstanceAttributeCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ModifyInstanceAttributeRequest

func (c *ECS) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput) (req *request.Request, output *ModifyInstanceAttributeOutput)

ModifyInstanceAttributeRequest generates a "volcengine/request.Request" representing the client's request for the ModifyInstanceAttribute operation. The "output" return value will be populated with the ModifyInstanceAttributeCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyInstanceAttributeCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyInstanceAttributeCommon Send returns without error.

See ModifyInstanceAttribute for more information on using the ModifyInstanceAttribute API call, and error handling.

// Example sending a request using the ModifyInstanceAttributeRequest method.
req, resp := client.ModifyInstanceAttributeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ModifyInstanceAttributeWithContext

func (c *ECS) ModifyInstanceAttributeWithContext(ctx volcengine.Context, input *ModifyInstanceAttributeInput, opts ...request.Option) (*ModifyInstanceAttributeOutput, error)

ModifyInstanceAttributeWithContext is the same as ModifyInstanceAttribute with the addition of the ability to pass a context and additional request options.

See ModifyInstanceAttribute for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ModifyInstanceChargeType

func (c *ECS) ModifyInstanceChargeType(input *ModifyInstanceChargeTypeInput) (*ModifyInstanceChargeTypeOutput, error)

ModifyInstanceChargeType API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ModifyInstanceChargeType for usage and error information.

func (*ECS) ModifyInstanceChargeTypeCommon

func (c *ECS) ModifyInstanceChargeTypeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyInstanceChargeTypeCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ModifyInstanceChargeTypeCommon for usage and error information.

func (*ECS) ModifyInstanceChargeTypeCommonRequest

func (c *ECS) ModifyInstanceChargeTypeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyInstanceChargeTypeCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyInstanceChargeTypeCommon operation. The "output" return value will be populated with the ModifyInstanceChargeTypeCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyInstanceChargeTypeCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyInstanceChargeTypeCommon Send returns without error.

See ModifyInstanceChargeTypeCommon for more information on using the ModifyInstanceChargeTypeCommon API call, and error handling.

// Example sending a request using the ModifyInstanceChargeTypeCommonRequest method.
req, resp := client.ModifyInstanceChargeTypeCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ModifyInstanceChargeTypeCommonWithContext

func (c *ECS) ModifyInstanceChargeTypeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyInstanceChargeTypeCommonWithContext is the same as ModifyInstanceChargeTypeCommon with the addition of the ability to pass a context and additional request options.

See ModifyInstanceChargeTypeCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ModifyInstanceChargeTypeRequest

func (c *ECS) ModifyInstanceChargeTypeRequest(input *ModifyInstanceChargeTypeInput) (req *request.Request, output *ModifyInstanceChargeTypeOutput)

ModifyInstanceChargeTypeRequest generates a "volcengine/request.Request" representing the client's request for the ModifyInstanceChargeType operation. The "output" return value will be populated with the ModifyInstanceChargeTypeCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyInstanceChargeTypeCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyInstanceChargeTypeCommon Send returns without error.

See ModifyInstanceChargeType for more information on using the ModifyInstanceChargeType API call, and error handling.

// Example sending a request using the ModifyInstanceChargeTypeRequest method.
req, resp := client.ModifyInstanceChargeTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ModifyInstanceChargeTypeWithContext

func (c *ECS) ModifyInstanceChargeTypeWithContext(ctx volcengine.Context, input *ModifyInstanceChargeTypeInput, opts ...request.Option) (*ModifyInstanceChargeTypeOutput, error)

ModifyInstanceChargeTypeWithContext is the same as ModifyInstanceChargeType with the addition of the ability to pass a context and additional request options.

See ModifyInstanceChargeType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ModifyInstanceSpec

func (c *ECS) ModifyInstanceSpec(input *ModifyInstanceSpecInput) (*ModifyInstanceSpecOutput, error)

ModifyInstanceSpec API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ModifyInstanceSpec for usage and error information.

func (*ECS) ModifyInstanceSpecCommon

func (c *ECS) ModifyInstanceSpecCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyInstanceSpecCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ModifyInstanceSpecCommon for usage and error information.

func (*ECS) ModifyInstanceSpecCommonRequest

func (c *ECS) ModifyInstanceSpecCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyInstanceSpecCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyInstanceSpecCommon operation. The "output" return value will be populated with the ModifyInstanceSpecCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyInstanceSpecCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyInstanceSpecCommon Send returns without error.

See ModifyInstanceSpecCommon for more information on using the ModifyInstanceSpecCommon API call, and error handling.

// Example sending a request using the ModifyInstanceSpecCommonRequest method.
req, resp := client.ModifyInstanceSpecCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ModifyInstanceSpecCommonWithContext

func (c *ECS) ModifyInstanceSpecCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyInstanceSpecCommonWithContext is the same as ModifyInstanceSpecCommon with the addition of the ability to pass a context and additional request options.

See ModifyInstanceSpecCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ModifyInstanceSpecRequest

func (c *ECS) ModifyInstanceSpecRequest(input *ModifyInstanceSpecInput) (req *request.Request, output *ModifyInstanceSpecOutput)

ModifyInstanceSpecRequest generates a "volcengine/request.Request" representing the client's request for the ModifyInstanceSpec operation. The "output" return value will be populated with the ModifyInstanceSpecCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyInstanceSpecCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyInstanceSpecCommon Send returns without error.

See ModifyInstanceSpec for more information on using the ModifyInstanceSpec API call, and error handling.

// Example sending a request using the ModifyInstanceSpecRequest method.
req, resp := client.ModifyInstanceSpecRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ModifyInstanceSpecWithContext

func (c *ECS) ModifyInstanceSpecWithContext(ctx volcengine.Context, input *ModifyInstanceSpecInput, opts ...request.Option) (*ModifyInstanceSpecOutput, error)

ModifyInstanceSpecWithContext is the same as ModifyInstanceSpec with the addition of the ability to pass a context and additional request options.

See ModifyInstanceSpec for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) RebootInstance

func (c *ECS) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error)

RebootInstance API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation RebootInstance for usage and error information.

func (*ECS) RebootInstanceCommon

func (c *ECS) RebootInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

RebootInstanceCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation RebootInstanceCommon for usage and error information.

func (*ECS) RebootInstanceCommonRequest

func (c *ECS) RebootInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

RebootInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the RebootInstanceCommon operation. The "output" return value will be populated with the RebootInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned RebootInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after RebootInstanceCommon Send returns without error.

See RebootInstanceCommon for more information on using the RebootInstanceCommon API call, and error handling.

// Example sending a request using the RebootInstanceCommonRequest method.
req, resp := client.RebootInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) RebootInstanceCommonWithContext

func (c *ECS) RebootInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

RebootInstanceCommonWithContext is the same as RebootInstanceCommon with the addition of the ability to pass a context and additional request options.

See RebootInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) RebootInstanceRequest

func (c *ECS) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput)

RebootInstanceRequest generates a "volcengine/request.Request" representing the client's request for the RebootInstance operation. The "output" return value will be populated with the RebootInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned RebootInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after RebootInstanceCommon Send returns without error.

See RebootInstance for more information on using the RebootInstance API call, and error handling.

// Example sending a request using the RebootInstanceRequest method.
req, resp := client.RebootInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) RebootInstanceWithContext

func (c *ECS) RebootInstanceWithContext(ctx volcengine.Context, input *RebootInstanceInput, opts ...request.Option) (*RebootInstanceOutput, error)

RebootInstanceWithContext is the same as RebootInstance with the addition of the ability to pass a context and additional request options.

See RebootInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) RenewInstance

func (c *ECS) RenewInstance(input *RenewInstanceInput) (*RenewInstanceOutput, error)

RenewInstance API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation RenewInstance for usage and error information.

func (*ECS) RenewInstanceCommon

func (c *ECS) RenewInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

RenewInstanceCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation RenewInstanceCommon for usage and error information.

func (*ECS) RenewInstanceCommonRequest

func (c *ECS) RenewInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

RenewInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the RenewInstanceCommon operation. The "output" return value will be populated with the RenewInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned RenewInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after RenewInstanceCommon Send returns without error.

See RenewInstanceCommon for more information on using the RenewInstanceCommon API call, and error handling.

// Example sending a request using the RenewInstanceCommonRequest method.
req, resp := client.RenewInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) RenewInstanceCommonWithContext

func (c *ECS) RenewInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

RenewInstanceCommonWithContext is the same as RenewInstanceCommon with the addition of the ability to pass a context and additional request options.

See RenewInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) RenewInstanceRequest

func (c *ECS) RenewInstanceRequest(input *RenewInstanceInput) (req *request.Request, output *RenewInstanceOutput)

RenewInstanceRequest generates a "volcengine/request.Request" representing the client's request for the RenewInstance operation. The "output" return value will be populated with the RenewInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned RenewInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after RenewInstanceCommon Send returns without error.

See RenewInstance for more information on using the RenewInstance API call, and error handling.

// Example sending a request using the RenewInstanceRequest method.
req, resp := client.RenewInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) RenewInstanceWithContext

func (c *ECS) RenewInstanceWithContext(ctx volcengine.Context, input *RenewInstanceInput, opts ...request.Option) (*RenewInstanceOutput, error)

RenewInstanceWithContext is the same as RenewInstance with the addition of the ability to pass a context and additional request options.

See RenewInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ReplaceSystemVolume

func (c *ECS) ReplaceSystemVolume(input *ReplaceSystemVolumeInput) (*ReplaceSystemVolumeOutput, error)

ReplaceSystemVolume API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ReplaceSystemVolume for usage and error information.

func (*ECS) ReplaceSystemVolumeCommon

func (c *ECS) ReplaceSystemVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ReplaceSystemVolumeCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation ReplaceSystemVolumeCommon for usage and error information.

func (*ECS) ReplaceSystemVolumeCommonRequest

func (c *ECS) ReplaceSystemVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ReplaceSystemVolumeCommonRequest generates a "volcengine/request.Request" representing the client's request for the ReplaceSystemVolumeCommon operation. The "output" return value will be populated with the ReplaceSystemVolumeCommon request's response once the request completes successfully.

Use "Send" method on the returned ReplaceSystemVolumeCommon Request to send the API call to the service. the "output" return value is not valid until after ReplaceSystemVolumeCommon Send returns without error.

See ReplaceSystemVolumeCommon for more information on using the ReplaceSystemVolumeCommon API call, and error handling.

// Example sending a request using the ReplaceSystemVolumeCommonRequest method.
req, resp := client.ReplaceSystemVolumeCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ReplaceSystemVolumeCommonWithContext

func (c *ECS) ReplaceSystemVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ReplaceSystemVolumeCommonWithContext is the same as ReplaceSystemVolumeCommon with the addition of the ability to pass a context and additional request options.

See ReplaceSystemVolumeCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) ReplaceSystemVolumeRequest

func (c *ECS) ReplaceSystemVolumeRequest(input *ReplaceSystemVolumeInput) (req *request.Request, output *ReplaceSystemVolumeOutput)

ReplaceSystemVolumeRequest generates a "volcengine/request.Request" representing the client's request for the ReplaceSystemVolume operation. The "output" return value will be populated with the ReplaceSystemVolumeCommon request's response once the request completes successfully.

Use "Send" method on the returned ReplaceSystemVolumeCommon Request to send the API call to the service. the "output" return value is not valid until after ReplaceSystemVolumeCommon Send returns without error.

See ReplaceSystemVolume for more information on using the ReplaceSystemVolume API call, and error handling.

// Example sending a request using the ReplaceSystemVolumeRequest method.
req, resp := client.ReplaceSystemVolumeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) ReplaceSystemVolumeWithContext

func (c *ECS) ReplaceSystemVolumeWithContext(ctx volcengine.Context, input *ReplaceSystemVolumeInput, opts ...request.Option) (*ReplaceSystemVolumeOutput, error)

ReplaceSystemVolumeWithContext is the same as ReplaceSystemVolume with the addition of the ability to pass a context and additional request options.

See ReplaceSystemVolume for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) RunInstances

func (c *ECS) RunInstances(input *RunInstancesInput) (*RunInstancesOutput, error)

RunInstances API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation RunInstances for usage and error information.

func (*ECS) RunInstancesCommon

func (c *ECS) RunInstancesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

RunInstancesCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation RunInstancesCommon for usage and error information.

func (*ECS) RunInstancesCommonRequest

func (c *ECS) RunInstancesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

RunInstancesCommonRequest generates a "volcengine/request.Request" representing the client's request for the RunInstancesCommon operation. The "output" return value will be populated with the RunInstancesCommon request's response once the request completes successfully.

Use "Send" method on the returned RunInstancesCommon Request to send the API call to the service. the "output" return value is not valid until after RunInstancesCommon Send returns without error.

See RunInstancesCommon for more information on using the RunInstancesCommon API call, and error handling.

// Example sending a request using the RunInstancesCommonRequest method.
req, resp := client.RunInstancesCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) RunInstancesCommonWithContext

func (c *ECS) RunInstancesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

RunInstancesCommonWithContext is the same as RunInstancesCommon with the addition of the ability to pass a context and additional request options.

See RunInstancesCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) RunInstancesRequest

func (c *ECS) RunInstancesRequest(input *RunInstancesInput) (req *request.Request, output *RunInstancesOutput)

RunInstancesRequest generates a "volcengine/request.Request" representing the client's request for the RunInstances operation. The "output" return value will be populated with the RunInstancesCommon request's response once the request completes successfully.

Use "Send" method on the returned RunInstancesCommon Request to send the API call to the service. the "output" return value is not valid until after RunInstancesCommon Send returns without error.

See RunInstances for more information on using the RunInstances API call, and error handling.

// Example sending a request using the RunInstancesRequest method.
req, resp := client.RunInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) RunInstancesWithContext

func (c *ECS) RunInstancesWithContext(ctx volcengine.Context, input *RunInstancesInput, opts ...request.Option) (*RunInstancesOutput, error)

RunInstancesWithContext is the same as RunInstances with the addition of the ability to pass a context and additional request options.

See RunInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) StartInstance

func (c *ECS) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error)

StartInstance API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation StartInstance for usage and error information.

func (*ECS) StartInstanceCommon

func (c *ECS) StartInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

StartInstanceCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation StartInstanceCommon for usage and error information.

func (*ECS) StartInstanceCommonRequest

func (c *ECS) StartInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

StartInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the StartInstanceCommon operation. The "output" return value will be populated with the StartInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned StartInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after StartInstanceCommon Send returns without error.

See StartInstanceCommon for more information on using the StartInstanceCommon API call, and error handling.

// Example sending a request using the StartInstanceCommonRequest method.
req, resp := client.StartInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) StartInstanceCommonWithContext

func (c *ECS) StartInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

StartInstanceCommonWithContext is the same as StartInstanceCommon with the addition of the ability to pass a context and additional request options.

See StartInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) StartInstanceRequest

func (c *ECS) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput)

StartInstanceRequest generates a "volcengine/request.Request" representing the client's request for the StartInstance operation. The "output" return value will be populated with the StartInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned StartInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after StartInstanceCommon Send returns without error.

See StartInstance for more information on using the StartInstance API call, and error handling.

// Example sending a request using the StartInstanceRequest method.
req, resp := client.StartInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) StartInstanceWithContext

func (c *ECS) StartInstanceWithContext(ctx volcengine.Context, input *StartInstanceInput, opts ...request.Option) (*StartInstanceOutput, error)

StartInstanceWithContext is the same as StartInstance with the addition of the ability to pass a context and additional request options.

See StartInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) StopInstance

func (c *ECS) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error)

StopInstance API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation StopInstance for usage and error information.

func (*ECS) StopInstanceCommon

func (c *ECS) StopInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

StopInstanceCommon API operation for ECS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ECS's API operation StopInstanceCommon for usage and error information.

func (*ECS) StopInstanceCommonRequest

func (c *ECS) StopInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

StopInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the StopInstanceCommon operation. The "output" return value will be populated with the StopInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned StopInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after StopInstanceCommon Send returns without error.

See StopInstanceCommon for more information on using the StopInstanceCommon API call, and error handling.

// Example sending a request using the StopInstanceCommonRequest method.
req, resp := client.StopInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) StopInstanceCommonWithContext

func (c *ECS) StopInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

StopInstanceCommonWithContext is the same as StopInstanceCommon with the addition of the ability to pass a context and additional request options.

See StopInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECS) StopInstanceRequest

func (c *ECS) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput)

StopInstanceRequest generates a "volcengine/request.Request" representing the client's request for the StopInstance operation. The "output" return value will be populated with the StopInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned StopInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after StopInstanceCommon Send returns without error.

See StopInstance for more information on using the StopInstance API call, and error handling.

// Example sending a request using the StopInstanceRequest method.
req, resp := client.StopInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECS) StopInstanceWithContext

func (c *ECS) StopInstanceWithContext(ctx volcengine.Context, input *StopInstanceInput, opts ...request.Option) (*StopInstanceOutput, error)

StopInstanceWithContext is the same as StopInstance with the addition of the ability to pass a context and additional request options.

See StopInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ECSAPI

type ECSAPI interface {
	CreateImageCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateImageCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateImageCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateImage(*CreateImageInput) (*CreateImageOutput, error)
	CreateImageWithContext(volcengine.Context, *CreateImageInput, ...request.Option) (*CreateImageOutput, error)
	CreateImageRequest(*CreateImageInput) (*request.Request, *CreateImageOutput)

	DeleteInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteInstance(*DeleteInstanceInput) (*DeleteInstanceOutput, error)
	DeleteInstanceWithContext(volcengine.Context, *DeleteInstanceInput, ...request.Option) (*DeleteInstanceOutput, error)
	DeleteInstanceRequest(*DeleteInstanceInput) (*request.Request, *DeleteInstanceOutput)

	DescribeAvailableResourceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeAvailableResourceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeAvailableResourceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeAvailableResource(*DescribeAvailableResourceInput) (*DescribeAvailableResourceOutput, error)
	DescribeAvailableResourceWithContext(volcengine.Context, *DescribeAvailableResourceInput, ...request.Option) (*DescribeAvailableResourceOutput, error)
	DescribeAvailableResourceRequest(*DescribeAvailableResourceInput) (*request.Request, *DescribeAvailableResourceOutput)

	DescribeImagesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeImagesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeImagesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeImages(*DescribeImagesInput) (*DescribeImagesOutput, error)
	DescribeImagesWithContext(volcengine.Context, *DescribeImagesInput, ...request.Option) (*DescribeImagesOutput, error)
	DescribeImagesRequest(*DescribeImagesInput) (*request.Request, *DescribeImagesOutput)

	DescribeInstanceTypesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeInstanceTypesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeInstanceTypesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeInstanceTypes(*DescribeInstanceTypesInput) (*DescribeInstanceTypesOutput, error)
	DescribeInstanceTypesWithContext(volcengine.Context, *DescribeInstanceTypesInput, ...request.Option) (*DescribeInstanceTypesOutput, error)
	DescribeInstanceTypesRequest(*DescribeInstanceTypesInput) (*request.Request, *DescribeInstanceTypesOutput)

	DescribeInstanceVncUrlCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeInstanceVncUrlCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeInstanceVncUrlCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeInstanceVncUrl(*DescribeInstanceVncUrlInput) (*DescribeInstanceVncUrlOutput, error)
	DescribeInstanceVncUrlWithContext(volcengine.Context, *DescribeInstanceVncUrlInput, ...request.Option) (*DescribeInstanceVncUrlOutput, error)
	DescribeInstanceVncUrlRequest(*DescribeInstanceVncUrlInput) (*request.Request, *DescribeInstanceVncUrlOutput)

	DescribeInstancesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeInstancesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeInstancesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeInstances(*DescribeInstancesInput) (*DescribeInstancesOutput, error)
	DescribeInstancesWithContext(volcengine.Context, *DescribeInstancesInput, ...request.Option) (*DescribeInstancesOutput, error)
	DescribeInstancesRequest(*DescribeInstancesInput) (*request.Request, *DescribeInstancesOutput)

	DescribeUserDataCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeUserDataCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeUserDataCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeUserData(*DescribeUserDataInput) (*DescribeUserDataOutput, error)
	DescribeUserDataWithContext(volcengine.Context, *DescribeUserDataInput, ...request.Option) (*DescribeUserDataOutput, error)
	DescribeUserDataRequest(*DescribeUserDataInput) (*request.Request, *DescribeUserDataOutput)

	DescribeZonesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeZonesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeZonesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeZones(*DescribeZonesInput) (*DescribeZonesOutput, error)
	DescribeZonesWithContext(volcengine.Context, *DescribeZonesInput, ...request.Option) (*DescribeZonesOutput, error)
	DescribeZonesRequest(*DescribeZonesInput) (*request.Request, *DescribeZonesOutput)

	ModifyInstanceAttributeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyInstanceAttributeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyInstanceAttributeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyInstanceAttribute(*ModifyInstanceAttributeInput) (*ModifyInstanceAttributeOutput, error)
	ModifyInstanceAttributeWithContext(volcengine.Context, *ModifyInstanceAttributeInput, ...request.Option) (*ModifyInstanceAttributeOutput, error)
	ModifyInstanceAttributeRequest(*ModifyInstanceAttributeInput) (*request.Request, *ModifyInstanceAttributeOutput)

	ModifyInstanceChargeTypeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyInstanceChargeTypeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyInstanceChargeTypeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyInstanceChargeType(*ModifyInstanceChargeTypeInput) (*ModifyInstanceChargeTypeOutput, error)
	ModifyInstanceChargeTypeWithContext(volcengine.Context, *ModifyInstanceChargeTypeInput, ...request.Option) (*ModifyInstanceChargeTypeOutput, error)
	ModifyInstanceChargeTypeRequest(*ModifyInstanceChargeTypeInput) (*request.Request, *ModifyInstanceChargeTypeOutput)

	ModifyInstanceSpecCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyInstanceSpecCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyInstanceSpecCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyInstanceSpec(*ModifyInstanceSpecInput) (*ModifyInstanceSpecOutput, error)
	ModifyInstanceSpecWithContext(volcengine.Context, *ModifyInstanceSpecInput, ...request.Option) (*ModifyInstanceSpecOutput, error)
	ModifyInstanceSpecRequest(*ModifyInstanceSpecInput) (*request.Request, *ModifyInstanceSpecOutput)

	RebootInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	RebootInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	RebootInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	RebootInstance(*RebootInstanceInput) (*RebootInstanceOutput, error)
	RebootInstanceWithContext(volcengine.Context, *RebootInstanceInput, ...request.Option) (*RebootInstanceOutput, error)
	RebootInstanceRequest(*RebootInstanceInput) (*request.Request, *RebootInstanceOutput)

	RenewInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	RenewInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	RenewInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	RenewInstance(*RenewInstanceInput) (*RenewInstanceOutput, error)
	RenewInstanceWithContext(volcengine.Context, *RenewInstanceInput, ...request.Option) (*RenewInstanceOutput, error)
	RenewInstanceRequest(*RenewInstanceInput) (*request.Request, *RenewInstanceOutput)

	ReplaceSystemVolumeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ReplaceSystemVolumeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ReplaceSystemVolumeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ReplaceSystemVolume(*ReplaceSystemVolumeInput) (*ReplaceSystemVolumeOutput, error)
	ReplaceSystemVolumeWithContext(volcengine.Context, *ReplaceSystemVolumeInput, ...request.Option) (*ReplaceSystemVolumeOutput, error)
	ReplaceSystemVolumeRequest(*ReplaceSystemVolumeInput) (*request.Request, *ReplaceSystemVolumeOutput)

	RunInstancesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	RunInstancesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	RunInstancesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	RunInstances(*RunInstancesInput) (*RunInstancesOutput, error)
	RunInstancesWithContext(volcengine.Context, *RunInstancesInput, ...request.Option) (*RunInstancesOutput, error)
	RunInstancesRequest(*RunInstancesInput) (*request.Request, *RunInstancesOutput)

	StartInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	StartInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	StartInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	StartInstance(*StartInstanceInput) (*StartInstanceOutput, error)
	StartInstanceWithContext(volcengine.Context, *StartInstanceInput, ...request.Option) (*StartInstanceOutput, error)
	StartInstanceRequest(*StartInstanceInput) (*request.Request, *StartInstanceOutput)

	StopInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	StopInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	StopInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	StopInstance(*StopInstanceInput) (*StopInstanceOutput, error)
	StopInstanceWithContext(volcengine.Context, *StopInstanceInput, ...request.Option) (*StopInstanceOutput, error)
	StopInstanceRequest(*StopInstanceInput) (*request.Request, *StopInstanceOutput)
}

ECSAPI provides an interface to enable mocking the ecs.ECS service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// ECS.
func myFunc(svc ECSAPI) bool {
    // Make svc.CreateImage request
}

func main() {
    sess := session.New()
    svc := ecs.New(sess)

    myFunc(svc)
}

type GpuDeviceForDescribeInstanceTypesOutput

type GpuDeviceForDescribeInstanceTypesOutput struct {
	Count *int32 `type:"int32"`

	Memory *MemoryForDescribeInstanceTypesOutput `type:"structure"`

	ProductName *string `type:"string"`
	// contains filtered or unexported fields
}

func (GpuDeviceForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*GpuDeviceForDescribeInstanceTypesOutput) SetCount

SetCount sets the Count field's value.

func (*GpuDeviceForDescribeInstanceTypesOutput) SetMemory

SetMemory sets the Memory field's value.

func (*GpuDeviceForDescribeInstanceTypesOutput) SetProductName

SetProductName sets the ProductName field's value.

func (GpuDeviceForDescribeInstanceTypesOutput) String

String returns the string representation

type GpuForDescribeInstanceTypesOutput

type GpuForDescribeInstanceTypesOutput struct {
	GpuDevices []*GpuDeviceForDescribeInstanceTypesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (GpuForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*GpuForDescribeInstanceTypesOutput) SetGpuDevices

SetGpuDevices sets the GpuDevices field's value.

func (GpuForDescribeInstanceTypesOutput) String

String returns the string representation

type ImageForDescribeImagesOutput

type ImageForDescribeImagesOutput struct {
	Architecture *string `type:"string"`

	CreatedAt *string `type:"string"`

	Description *string `type:"string"`

	ImageId *string `type:"string"`

	ImageName *string `type:"string"`

	IsSupportCloudInit *bool `type:"boolean"`

	OsName *string `type:"string"`

	OsType *string `type:"string"`

	Platform *string `type:"string"`

	PlatformVersion *string `type:"string"`

	ShareStatus *string `type:"string"`

	Size *int32 `type:"int32"`

	Status *string `type:"string"`

	UpdatedAt *string `type:"string"`

	VirtualSize *json.Number `type:"json_number"`

	Visibility *string `type:"string"`
	// contains filtered or unexported fields
}

func (ImageForDescribeImagesOutput) GoString

func (s ImageForDescribeImagesOutput) GoString() string

GoString returns the string representation

func (*ImageForDescribeImagesOutput) SetArchitecture

SetArchitecture sets the Architecture field's value.

func (*ImageForDescribeImagesOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*ImageForDescribeImagesOutput) SetDescription

SetDescription sets the Description field's value.

func (*ImageForDescribeImagesOutput) SetImageId

SetImageId sets the ImageId field's value.

func (*ImageForDescribeImagesOutput) SetImageName

SetImageName sets the ImageName field's value.

func (*ImageForDescribeImagesOutput) SetIsSupportCloudInit

func (s *ImageForDescribeImagesOutput) SetIsSupportCloudInit(v bool) *ImageForDescribeImagesOutput

SetIsSupportCloudInit sets the IsSupportCloudInit field's value.

func (*ImageForDescribeImagesOutput) SetOsName

SetOsName sets the OsName field's value.

func (*ImageForDescribeImagesOutput) SetOsType

SetOsType sets the OsType field's value.

func (*ImageForDescribeImagesOutput) SetPlatform

SetPlatform sets the Platform field's value.

func (*ImageForDescribeImagesOutput) SetPlatformVersion

SetPlatformVersion sets the PlatformVersion field's value.

func (*ImageForDescribeImagesOutput) SetShareStatus

SetShareStatus sets the ShareStatus field's value.

func (*ImageForDescribeImagesOutput) SetSize

SetSize sets the Size field's value.

func (*ImageForDescribeImagesOutput) SetStatus

SetStatus sets the Status field's value.

func (*ImageForDescribeImagesOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*ImageForDescribeImagesOutput) SetVirtualSize

SetVirtualSize sets the VirtualSize field's value.

func (*ImageForDescribeImagesOutput) SetVisibility

SetVisibility sets the Visibility field's value.

func (ImageForDescribeImagesOutput) String

String returns the string representation

type InstanceForDescribeInstancesOutput

type InstanceForDescribeInstancesOutput struct {
	Cpus *int32 `type:"int32"`

	CreatedAt *string `type:"string"`

	Description *string `type:"string"`

	ExpiredAt *string `type:"string"`

	HostName *string `type:"string"`

	ImageId *string `type:"string"`

	InstanceChargeType *string `type:"string"`

	InstanceId *string `type:"string"`

	InstanceName *string `type:"string"`

	InstanceTypeId *string `type:"string"`

	KeyPairId *string `type:"string"`

	KeyPairName *string `type:"string"`

	MemorySize *int32 `type:"int32"`

	NetworkInterfaces []*NetworkInterfaceForDescribeInstancesOutput `type:"list"`

	OsName *string `type:"string"`

	OsType *string `type:"string"`

	RdmaIpAddresses []*string `type:"list"`

	Status *string `type:"string"`

	StoppedMode *string `type:"string"`

	UpdatedAt *string `type:"string"`

	VpcId *string `type:"string"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (InstanceForDescribeInstancesOutput) GoString

GoString returns the string representation

func (*InstanceForDescribeInstancesOutput) SetCpus

SetCpus sets the Cpus field's value.

func (*InstanceForDescribeInstancesOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*InstanceForDescribeInstancesOutput) SetDescription

SetDescription sets the Description field's value.

func (*InstanceForDescribeInstancesOutput) SetExpiredAt

SetExpiredAt sets the ExpiredAt field's value.

func (*InstanceForDescribeInstancesOutput) SetHostName

SetHostName sets the HostName field's value.

func (*InstanceForDescribeInstancesOutput) SetImageId

SetImageId sets the ImageId field's value.

func (*InstanceForDescribeInstancesOutput) SetInstanceChargeType

SetInstanceChargeType sets the InstanceChargeType field's value.

func (*InstanceForDescribeInstancesOutput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*InstanceForDescribeInstancesOutput) SetInstanceName

SetInstanceName sets the InstanceName field's value.

func (*InstanceForDescribeInstancesOutput) SetInstanceTypeId

SetInstanceTypeId sets the InstanceTypeId field's value.

func (*InstanceForDescribeInstancesOutput) SetKeyPairId

SetKeyPairId sets the KeyPairId field's value.

func (*InstanceForDescribeInstancesOutput) SetKeyPairName

SetKeyPairName sets the KeyPairName field's value.

func (*InstanceForDescribeInstancesOutput) SetMemorySize

SetMemorySize sets the MemorySize field's value.

func (*InstanceForDescribeInstancesOutput) SetNetworkInterfaces

SetNetworkInterfaces sets the NetworkInterfaces field's value.

func (*InstanceForDescribeInstancesOutput) SetOsName

SetOsName sets the OsName field's value.

func (*InstanceForDescribeInstancesOutput) SetOsType

SetOsType sets the OsType field's value.

func (*InstanceForDescribeInstancesOutput) SetRdmaIpAddresses

SetRdmaIpAddresses sets the RdmaIpAddresses field's value.

func (*InstanceForDescribeInstancesOutput) SetStatus

SetStatus sets the Status field's value.

func (*InstanceForDescribeInstancesOutput) SetStoppedMode

SetStoppedMode sets the StoppedMode field's value.

func (*InstanceForDescribeInstancesOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*InstanceForDescribeInstancesOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (*InstanceForDescribeInstancesOutput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (InstanceForDescribeInstancesOutput) String

String returns the string representation

type InstanceTypeForDescribeInstanceTypesOutput

type InstanceTypeForDescribeInstanceTypesOutput struct {
	Gpu *GpuForDescribeInstanceTypesOutput `type:"structure"`

	InstanceTypeFamily *string `type:"string"`

	InstanceTypeId *string `type:"string"`

	LocalVolumes []*LocalVolumeForDescribeInstanceTypesOutput `type:"list"`

	Memory *MemoryForDescribeInstanceTypesOutput `type:"structure"`

	Processor *ProcessorForDescribeInstanceTypesOutput `type:"structure"`

	Rdma *RdmaForDescribeInstanceTypesOutput `type:"structure"`

	Volume *VolumeForDescribeInstanceTypesOutput `type:"structure"`
	// contains filtered or unexported fields
}

func (InstanceTypeForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*InstanceTypeForDescribeInstanceTypesOutput) SetGpu

SetGpu sets the Gpu field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeFamily

SetInstanceTypeFamily sets the InstanceTypeFamily field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeId

SetInstanceTypeId sets the InstanceTypeId field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetLocalVolumes

SetLocalVolumes sets the LocalVolumes field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetMemory

SetMemory sets the Memory field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetProcessor

SetProcessor sets the Processor field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetRdma

SetRdma sets the Rdma field's value.

func (*InstanceTypeForDescribeInstanceTypesOutput) SetVolume

SetVolume sets the Volume field's value.

func (InstanceTypeForDescribeInstanceTypesOutput) String

String returns the string representation

type LocalVolumeForDescribeInstanceTypesOutput

type LocalVolumeForDescribeInstanceTypesOutput struct {
	Count *int32 `type:"int32"`

	Size *int32 `type:"int32"`

	VolumeType *string `type:"string"`
	// contains filtered or unexported fields
}

func (LocalVolumeForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*LocalVolumeForDescribeInstanceTypesOutput) SetCount

SetCount sets the Count field's value.

func (*LocalVolumeForDescribeInstanceTypesOutput) SetSize

SetSize sets the Size field's value.

func (*LocalVolumeForDescribeInstanceTypesOutput) SetVolumeType

SetVolumeType sets the VolumeType field's value.

func (LocalVolumeForDescribeInstanceTypesOutput) String

String returns the string representation

type MemoryForDescribeInstanceTypesOutput

type MemoryForDescribeInstanceTypesOutput struct {
	Size *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (MemoryForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*MemoryForDescribeInstanceTypesOutput) SetSize

SetSize sets the Size field's value.

func (MemoryForDescribeInstanceTypesOutput) String

String returns the string representation

type ModifyInstanceAttributeInput

type ModifyInstanceAttributeInput struct {
	Description *string `type:"string"`

	InstanceId *string `type:"string"`

	InstanceName *string `type:"string"`

	Password *string `type:"string"`

	UserData *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyInstanceAttributeInput) GoString

func (s ModifyInstanceAttributeInput) GoString() string

GoString returns the string representation

func (*ModifyInstanceAttributeInput) SetDescription

SetDescription sets the Description field's value.

func (*ModifyInstanceAttributeInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*ModifyInstanceAttributeInput) SetInstanceName

SetInstanceName sets the InstanceName field's value.

func (*ModifyInstanceAttributeInput) SetPassword

SetPassword sets the Password field's value.

func (*ModifyInstanceAttributeInput) SetUserData

SetUserData sets the UserData field's value.

func (ModifyInstanceAttributeInput) String

String returns the string representation

type ModifyInstanceAttributeOutput

type ModifyInstanceAttributeOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (ModifyInstanceAttributeOutput) GoString

GoString returns the string representation

func (ModifyInstanceAttributeOutput) String

String returns the string representation

type ModifyInstanceChargeTypeInput

type ModifyInstanceChargeTypeInput struct {
	AutoPay *bool `type:"boolean"`

	ClientToken *string `type:"string"`

	IncludeDataVolumes *bool `type:"boolean"`

	InstanceChargeType *string `type:"string"`

	InstanceIds []*string `type:"list"`

	Period *int32 `type:"int32"`

	PeriodUnit *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyInstanceChargeTypeInput) GoString

GoString returns the string representation

func (*ModifyInstanceChargeTypeInput) SetAutoPay

SetAutoPay sets the AutoPay field's value.

func (*ModifyInstanceChargeTypeInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*ModifyInstanceChargeTypeInput) SetIncludeDataVolumes

SetIncludeDataVolumes sets the IncludeDataVolumes field's value.

func (*ModifyInstanceChargeTypeInput) SetInstanceChargeType

SetInstanceChargeType sets the InstanceChargeType field's value.

func (*ModifyInstanceChargeTypeInput) SetInstanceIds

SetInstanceIds sets the InstanceIds field's value.

func (*ModifyInstanceChargeTypeInput) SetPeriod

SetPeriod sets the Period field's value.

func (*ModifyInstanceChargeTypeInput) SetPeriodUnit

SetPeriodUnit sets the PeriodUnit field's value.

func (ModifyInstanceChargeTypeInput) String

String returns the string representation

type ModifyInstanceChargeTypeOutput

type ModifyInstanceChargeTypeOutput struct {
	Metadata *response.ResponseMetadata

	OrderId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyInstanceChargeTypeOutput) GoString

GoString returns the string representation

func (*ModifyInstanceChargeTypeOutput) SetOrderId

SetOrderId sets the OrderId field's value.

func (ModifyInstanceChargeTypeOutput) String

String returns the string representation

type ModifyInstanceSpecInput

type ModifyInstanceSpecInput struct {
	ClientToken *string `type:"string"`

	InstanceId *string `type:"string"`

	InstanceType *string `type:"string"`
	// contains filtered or unexported fields
}

func (ModifyInstanceSpecInput) GoString

func (s ModifyInstanceSpecInput) GoString() string

GoString returns the string representation

func (*ModifyInstanceSpecInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*ModifyInstanceSpecInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*ModifyInstanceSpecInput) SetInstanceType

SetInstanceType sets the InstanceType field's value.

func (ModifyInstanceSpecInput) String

func (s ModifyInstanceSpecInput) String() string

String returns the string representation

type ModifyInstanceSpecOutput

type ModifyInstanceSpecOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (ModifyInstanceSpecOutput) GoString

func (s ModifyInstanceSpecOutput) GoString() string

GoString returns the string representation

func (ModifyInstanceSpecOutput) String

func (s ModifyInstanceSpecOutput) String() string

String returns the string representation

type NetworkInterfaceForDescribeInstancesOutput

type NetworkInterfaceForDescribeInstancesOutput struct {
	MacAddress *string `type:"string"`

	NetworkInterfaceId *string `type:"string"`

	PrimaryIpAddress *string `type:"string"`

	SubnetId *string `type:"string"`

	Type *string `type:"string"`

	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (NetworkInterfaceForDescribeInstancesOutput) GoString

GoString returns the string representation

func (*NetworkInterfaceForDescribeInstancesOutput) SetMacAddress

SetMacAddress sets the MacAddress field's value.

func (*NetworkInterfaceForDescribeInstancesOutput) SetNetworkInterfaceId

SetNetworkInterfaceId sets the NetworkInterfaceId field's value.

func (*NetworkInterfaceForDescribeInstancesOutput) SetPrimaryIpAddress

SetPrimaryIpAddress sets the PrimaryIpAddress field's value.

func (*NetworkInterfaceForDescribeInstancesOutput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (*NetworkInterfaceForDescribeInstancesOutput) SetType

SetType sets the Type field's value.

func (*NetworkInterfaceForDescribeInstancesOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (NetworkInterfaceForDescribeInstancesOutput) String

String returns the string representation

type NetworkInterfaceForRunInstancesInput

type NetworkInterfaceForRunInstancesInput struct {
	SecurityGroupIds []*string `type:"list"`

	SubnetId *string `type:"string"`
	// contains filtered or unexported fields
}

func (NetworkInterfaceForRunInstancesInput) GoString

GoString returns the string representation

func (*NetworkInterfaceForRunInstancesInput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*NetworkInterfaceForRunInstancesInput) SetSubnetId

SetSubnetId sets the SubnetId field's value.

func (NetworkInterfaceForRunInstancesInput) String

String returns the string representation

type ProcessorForDescribeInstanceTypesOutput

type ProcessorForDescribeInstanceTypesOutput struct {
	Cpus *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (ProcessorForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*ProcessorForDescribeInstanceTypesOutput) SetCpus

SetCpus sets the Cpus field's value.

func (ProcessorForDescribeInstanceTypesOutput) String

String returns the string representation

type RdmaForDescribeInstanceTypesOutput

type RdmaForDescribeInstanceTypesOutput struct {
	RdmaNetworkInterfaces *int32 `type:"int32"`
	// contains filtered or unexported fields
}

func (RdmaForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*RdmaForDescribeInstanceTypesOutput) SetRdmaNetworkInterfaces

SetRdmaNetworkInterfaces sets the RdmaNetworkInterfaces field's value.

func (RdmaForDescribeInstanceTypesOutput) String

String returns the string representation

type RebootInstanceInput

type RebootInstanceInput struct {
	ForceStop *bool `type:"boolean"`

	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (RebootInstanceInput) GoString

func (s RebootInstanceInput) GoString() string

GoString returns the string representation

func (*RebootInstanceInput) SetForceStop

func (s *RebootInstanceInput) SetForceStop(v bool) *RebootInstanceInput

SetForceStop sets the ForceStop field's value.

func (*RebootInstanceInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (RebootInstanceInput) String

func (s RebootInstanceInput) String() string

String returns the string representation

type RebootInstanceOutput

type RebootInstanceOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (RebootInstanceOutput) GoString

func (s RebootInstanceOutput) GoString() string

GoString returns the string representation

func (RebootInstanceOutput) String

func (s RebootInstanceOutput) String() string

String returns the string representation

type RenewInstanceInput

type RenewInstanceInput struct {
	ClientToken *string `type:"string"`

	InstanceId *string `type:"string"`

	Period *int32 `type:"int32"`

	PeriodUnit *string `type:"string"`
	// contains filtered or unexported fields
}

func (RenewInstanceInput) GoString

func (s RenewInstanceInput) GoString() string

GoString returns the string representation

func (*RenewInstanceInput) SetClientToken

func (s *RenewInstanceInput) SetClientToken(v string) *RenewInstanceInput

SetClientToken sets the ClientToken field's value.

func (*RenewInstanceInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (*RenewInstanceInput) SetPeriod

func (s *RenewInstanceInput) SetPeriod(v int32) *RenewInstanceInput

SetPeriod sets the Period field's value.

func (*RenewInstanceInput) SetPeriodUnit

func (s *RenewInstanceInput) SetPeriodUnit(v string) *RenewInstanceInput

SetPeriodUnit sets the PeriodUnit field's value.

func (RenewInstanceInput) String

func (s RenewInstanceInput) String() string

String returns the string representation

type RenewInstanceOutput

type RenewInstanceOutput struct {
	Metadata *response.ResponseMetadata

	OrderId *string `type:"string"`
	// contains filtered or unexported fields
}

func (RenewInstanceOutput) GoString

func (s RenewInstanceOutput) GoString() string

GoString returns the string representation

func (*RenewInstanceOutput) SetOrderId

SetOrderId sets the OrderId field's value.

func (RenewInstanceOutput) String

func (s RenewInstanceOutput) String() string

String returns the string representation

type ReplaceSystemVolumeInput

type ReplaceSystemVolumeInput struct {
	ClientToken *string `type:"string"`

	ImageId *string `type:"string"`

	InstanceId *string `type:"string"`

	KeyPairName *string `type:"string"`

	Password *string `type:"string"`

	Size *json.Number `type:"json_number"`

	UserData *string `type:"string"`
	// contains filtered or unexported fields
}

func (ReplaceSystemVolumeInput) GoString

func (s ReplaceSystemVolumeInput) GoString() string

GoString returns the string representation

func (*ReplaceSystemVolumeInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*ReplaceSystemVolumeInput) SetImageId

SetImageId sets the ImageId field's value.

func (*ReplaceSystemVolumeInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*ReplaceSystemVolumeInput) SetKeyPairName

SetKeyPairName sets the KeyPairName field's value.

func (*ReplaceSystemVolumeInput) SetPassword

SetPassword sets the Password field's value.

func (*ReplaceSystemVolumeInput) SetSize

SetSize sets the Size field's value.

func (*ReplaceSystemVolumeInput) SetUserData

SetUserData sets the UserData field's value.

func (ReplaceSystemVolumeInput) String

func (s ReplaceSystemVolumeInput) String() string

String returns the string representation

type ReplaceSystemVolumeOutput

type ReplaceSystemVolumeOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (ReplaceSystemVolumeOutput) GoString

func (s ReplaceSystemVolumeOutput) GoString() string

GoString returns the string representation

func (ReplaceSystemVolumeOutput) String

func (s ReplaceSystemVolumeOutput) String() string

String returns the string representation

type RunInstancesInput

type RunInstancesInput struct {
	AutoRenew *bool `type:"boolean"`

	AutoRenewPeriod *int32 `type:"int32"`

	ClientToken *string `type:"string"`

	Count *int32 `type:"int32"`

	Description *string `type:"string"`

	HostName *string `type:"string"`

	HpcClusterId *string `type:"string"`

	ImageId *string `type:"string"`

	InstanceChargeType *string `type:"string"`

	InstanceName *string `type:"string"`

	InstanceType *string `type:"string"`

	InstanceTypeId *string `type:"string"`

	KeyPairName *string `type:"string"`

	NetworkInterfaces []*NetworkInterfaceForRunInstancesInput `type:"list"`

	Password *string `type:"string"`

	Period *int32 `type:"int32"`

	PeriodUnit *string `type:"string"`

	SecurityEnhancementStrategy *string `type:"string"`

	SuffixIndex *int32 `type:"int32"`

	UniqueSuffix *bool `type:"boolean"`

	UserData *string `type:"string"`

	Volumes []*VolumeForRunInstancesInput `type:"list"`

	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (RunInstancesInput) GoString

func (s RunInstancesInput) GoString() string

GoString returns the string representation

func (*RunInstancesInput) SetAutoRenew

func (s *RunInstancesInput) SetAutoRenew(v bool) *RunInstancesInput

SetAutoRenew sets the AutoRenew field's value.

func (*RunInstancesInput) SetAutoRenewPeriod

func (s *RunInstancesInput) SetAutoRenewPeriod(v int32) *RunInstancesInput

SetAutoRenewPeriod sets the AutoRenewPeriod field's value.

func (*RunInstancesInput) SetClientToken

func (s *RunInstancesInput) SetClientToken(v string) *RunInstancesInput

SetClientToken sets the ClientToken field's value.

func (*RunInstancesInput) SetCount

func (s *RunInstancesInput) SetCount(v int32) *RunInstancesInput

SetCount sets the Count field's value.

func (*RunInstancesInput) SetDescription

func (s *RunInstancesInput) SetDescription(v string) *RunInstancesInput

SetDescription sets the Description field's value.

func (*RunInstancesInput) SetHostName

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

SetHostName sets the HostName field's value.

func (*RunInstancesInput) SetHpcClusterId

func (s *RunInstancesInput) SetHpcClusterId(v string) *RunInstancesInput

SetHpcClusterId sets the HpcClusterId field's value.

func (*RunInstancesInput) SetImageId

func (s *RunInstancesInput) SetImageId(v string) *RunInstancesInput

SetImageId sets the ImageId field's value.

func (*RunInstancesInput) SetInstanceChargeType

func (s *RunInstancesInput) SetInstanceChargeType(v string) *RunInstancesInput

SetInstanceChargeType sets the InstanceChargeType field's value.

func (*RunInstancesInput) SetInstanceName

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

SetInstanceName sets the InstanceName field's value.

func (*RunInstancesInput) SetInstanceType

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

SetInstanceType sets the InstanceType field's value.

func (*RunInstancesInput) SetInstanceTypeId

func (s *RunInstancesInput) SetInstanceTypeId(v string) *RunInstancesInput

SetInstanceTypeId sets the InstanceTypeId field's value.

func (*RunInstancesInput) SetKeyPairName

func (s *RunInstancesInput) SetKeyPairName(v string) *RunInstancesInput

SetKeyPairName sets the KeyPairName field's value.

func (*RunInstancesInput) SetNetworkInterfaces

SetNetworkInterfaces sets the NetworkInterfaces field's value.

func (*RunInstancesInput) SetPassword

func (s *RunInstancesInput) SetPassword(v string) *RunInstancesInput

SetPassword sets the Password field's value.

func (*RunInstancesInput) SetPeriod

func (s *RunInstancesInput) SetPeriod(v int32) *RunInstancesInput

SetPeriod sets the Period field's value.

func (*RunInstancesInput) SetPeriodUnit

func (s *RunInstancesInput) SetPeriodUnit(v string) *RunInstancesInput

SetPeriodUnit sets the PeriodUnit field's value.

func (*RunInstancesInput) SetSecurityEnhancementStrategy

func (s *RunInstancesInput) SetSecurityEnhancementStrategy(v string) *RunInstancesInput

SetSecurityEnhancementStrategy sets the SecurityEnhancementStrategy field's value.

func (*RunInstancesInput) SetSuffixIndex

func (s *RunInstancesInput) SetSuffixIndex(v int32) *RunInstancesInput

SetSuffixIndex sets the SuffixIndex field's value.

func (*RunInstancesInput) SetUniqueSuffix

func (s *RunInstancesInput) SetUniqueSuffix(v bool) *RunInstancesInput

SetUniqueSuffix sets the UniqueSuffix field's value.

func (*RunInstancesInput) SetUserData

func (s *RunInstancesInput) SetUserData(v string) *RunInstancesInput

SetUserData sets the UserData field's value.

func (*RunInstancesInput) SetVolumes

SetVolumes sets the Volumes field's value.

func (*RunInstancesInput) SetZoneId

func (s *RunInstancesInput) SetZoneId(v string) *RunInstancesInput

SetZoneId sets the ZoneId field's value.

func (RunInstancesInput) String

func (s RunInstancesInput) String() string

String returns the string representation

type RunInstancesOutput

type RunInstancesOutput struct {
	Metadata *response.ResponseMetadata

	InstanceIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (RunInstancesOutput) GoString

func (s RunInstancesOutput) GoString() string

GoString returns the string representation

func (*RunInstancesOutput) SetInstanceIds

func (s *RunInstancesOutput) SetInstanceIds(v []*string) *RunInstancesOutput

SetInstanceIds sets the InstanceIds field's value.

func (RunInstancesOutput) String

func (s RunInstancesOutput) String() string

String returns the string representation

type StartInstanceInput

type StartInstanceInput struct {
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (StartInstanceInput) GoString

func (s StartInstanceInput) GoString() string

GoString returns the string representation

func (*StartInstanceInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (StartInstanceInput) String

func (s StartInstanceInput) String() string

String returns the string representation

type StartInstanceOutput

type StartInstanceOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (StartInstanceOutput) GoString

func (s StartInstanceOutput) GoString() string

GoString returns the string representation

func (StartInstanceOutput) String

func (s StartInstanceOutput) String() string

String returns the string representation

type StopInstanceInput

type StopInstanceInput struct {
	ForceStop *bool `type:"boolean"`

	InstanceId *string `type:"string"`

	StoppedMode *string `type:"string"`
	// contains filtered or unexported fields
}

func (StopInstanceInput) GoString

func (s StopInstanceInput) GoString() string

GoString returns the string representation

func (*StopInstanceInput) SetForceStop

func (s *StopInstanceInput) SetForceStop(v bool) *StopInstanceInput

SetForceStop sets the ForceStop field's value.

func (*StopInstanceInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (*StopInstanceInput) SetStoppedMode

func (s *StopInstanceInput) SetStoppedMode(v string) *StopInstanceInput

SetStoppedMode sets the StoppedMode field's value.

func (StopInstanceInput) String

func (s StopInstanceInput) String() string

String returns the string representation

type StopInstanceOutput

type StopInstanceOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (StopInstanceOutput) GoString

func (s StopInstanceOutput) GoString() string

GoString returns the string representation

func (StopInstanceOutput) String

func (s StopInstanceOutput) String() string

String returns the string representation

type SupportedResourceForDescribeAvailableResourceOutput

type SupportedResourceForDescribeAvailableResourceOutput struct {
	Status *string `type:"string"`

	Value *string `type:"string"`
	// contains filtered or unexported fields
}

func (SupportedResourceForDescribeAvailableResourceOutput) GoString

GoString returns the string representation

func (*SupportedResourceForDescribeAvailableResourceOutput) SetStatus

SetStatus sets the Status field's value.

func (*SupportedResourceForDescribeAvailableResourceOutput) SetValue

SetValue sets the Value field's value.

func (SupportedResourceForDescribeAvailableResourceOutput) String

String returns the string representation

type VolumeForDescribeInstanceTypesOutput

type VolumeForDescribeInstanceTypesOutput struct {
	SupportedVolumeTypes []*string `type:"list"`
	// contains filtered or unexported fields
}

func (VolumeForDescribeInstanceTypesOutput) GoString

GoString returns the string representation

func (*VolumeForDescribeInstanceTypesOutput) SetSupportedVolumeTypes

SetSupportedVolumeTypes sets the SupportedVolumeTypes field's value.

func (VolumeForDescribeInstanceTypesOutput) String

String returns the string representation

type VolumeForRunInstancesInput

type VolumeForRunInstancesInput struct {
	DeleteWithInstance *string `type:"string"`

	Size *int32 `type:"int32"`

	VolumeType *string `type:"string"`
	// contains filtered or unexported fields
}

func (VolumeForRunInstancesInput) GoString

func (s VolumeForRunInstancesInput) GoString() string

GoString returns the string representation

func (*VolumeForRunInstancesInput) SetDeleteWithInstance

func (s *VolumeForRunInstancesInput) SetDeleteWithInstance(v string) *VolumeForRunInstancesInput

SetDeleteWithInstance sets the DeleteWithInstance field's value.

func (*VolumeForRunInstancesInput) SetSize

SetSize sets the Size field's value.

func (*VolumeForRunInstancesInput) SetVolumeType

SetVolumeType sets the VolumeType field's value.

func (VolumeForRunInstancesInput) String

String returns the string representation

type ZoneForDescribeZonesOutput

type ZoneForDescribeZonesOutput struct {
	ZoneId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ZoneForDescribeZonesOutput) GoString

func (s ZoneForDescribeZonesOutput) GoString() string

GoString returns the string representation

func (*ZoneForDescribeZonesOutput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (ZoneForDescribeZonesOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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