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
- type AvailableResourceForDescribeAvailableResourceOutput
- func (s AvailableResourceForDescribeAvailableResourceOutput) GoString() string
- func (s *AvailableResourceForDescribeAvailableResourceOutput) SetSupportedResources(v []*SupportedResourceForDescribeAvailableResourceOutput) *AvailableResourceForDescribeAvailableResourceOutput
- func (s *AvailableResourceForDescribeAvailableResourceOutput) SetType(v string) *AvailableResourceForDescribeAvailableResourceOutput
- func (s AvailableResourceForDescribeAvailableResourceOutput) String() string
- type AvailableZoneForDescribeAvailableResourceOutput
- func (s AvailableZoneForDescribeAvailableResourceOutput) GoString() string
- func (s *AvailableZoneForDescribeAvailableResourceOutput) SetAvailableResources(v []*AvailableResourceForDescribeAvailableResourceOutput) *AvailableZoneForDescribeAvailableResourceOutput
- func (s *AvailableZoneForDescribeAvailableResourceOutput) SetRegionId(v string) *AvailableZoneForDescribeAvailableResourceOutput
- func (s *AvailableZoneForDescribeAvailableResourceOutput) SetStatus(v string) *AvailableZoneForDescribeAvailableResourceOutput
- func (s *AvailableZoneForDescribeAvailableResourceOutput) SetZoneId(v string) *AvailableZoneForDescribeAvailableResourceOutput
- func (s AvailableZoneForDescribeAvailableResourceOutput) String() string
- type CreateImageInput
- type CreateImageOutput
- type DeleteInstanceInput
- type DeleteInstanceOutput
- type DescribeAvailableResourceInput
- func (s DescribeAvailableResourceInput) GoString() string
- func (s *DescribeAvailableResourceInput) SetDestinationResource(v string) *DescribeAvailableResourceInput
- func (s *DescribeAvailableResourceInput) SetInstanceType(v string) *DescribeAvailableResourceInput
- func (s *DescribeAvailableResourceInput) SetInstanceTypeId(v string) *DescribeAvailableResourceInput
- func (s *DescribeAvailableResourceInput) SetZoneId(v string) *DescribeAvailableResourceInput
- func (s DescribeAvailableResourceInput) String() string
- type DescribeAvailableResourceOutput
- type DescribeImagesInput
- func (s DescribeImagesInput) GoString() string
- func (s *DescribeImagesInput) SetImageIds(v []*string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetImageStatus(v string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetInstanceTypeId(v string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetIsSupportCloudInit(v bool) *DescribeImagesInput
- func (s *DescribeImagesInput) SetMaxResults(v int32) *DescribeImagesInput
- func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetOsType(v string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetStatus(v []*string) *DescribeImagesInput
- func (s *DescribeImagesInput) SetVisibility(v string) *DescribeImagesInput
- func (s DescribeImagesInput) String() string
- type DescribeImagesOutput
- func (s DescribeImagesOutput) GoString() string
- func (s *DescribeImagesOutput) SetImages(v []*ImageForDescribeImagesOutput) *DescribeImagesOutput
- func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput
- func (s *DescribeImagesOutput) SetTotalCount(v int32) *DescribeImagesOutput
- func (s DescribeImagesOutput) String() string
- type DescribeInstanceTypesInput
- func (s DescribeInstanceTypesInput) GoString() string
- func (s *DescribeInstanceTypesInput) SetInstanceTypeIds(v []*string) *DescribeInstanceTypesInput
- func (s *DescribeInstanceTypesInput) SetInstanceTypes(v []*string) *DescribeInstanceTypesInput
- func (s *DescribeInstanceTypesInput) SetMaxResults(v int32) *DescribeInstanceTypesInput
- func (s *DescribeInstanceTypesInput) SetNextToken(v string) *DescribeInstanceTypesInput
- func (s DescribeInstanceTypesInput) String() string
- type DescribeInstanceTypesOutput
- func (s DescribeInstanceTypesOutput) GoString() string
- func (s *DescribeInstanceTypesOutput) SetInstanceTypes(v []*InstanceTypeForDescribeInstanceTypesOutput) *DescribeInstanceTypesOutput
- func (s *DescribeInstanceTypesOutput) SetNextToken(v string) *DescribeInstanceTypesOutput
- func (s *DescribeInstanceTypesOutput) SetTotalCount(v int32) *DescribeInstanceTypesOutput
- func (s DescribeInstanceTypesOutput) String() string
- type DescribeInstanceVncUrlInput
- type DescribeInstanceVncUrlOutput
- type DescribeInstancesInput
- func (s DescribeInstancesInput) GoString() string
- func (s *DescribeInstancesInput) SetHpcClusterId(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetInstanceChargeType(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetInstanceIds(v []*string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetInstanceName(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetInstanceTypeFamilies(v []*string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetInstanceTypeIds(v []*string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetInstanceTypes(v []*string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetKeyPairName(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetMaxResults(v int32) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetPrimaryIpAddress(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetStatus(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetVpcId(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetZoneId(v string) *DescribeInstancesInput
- func (s DescribeInstancesInput) String() string
- type DescribeInstancesOutput
- func (s DescribeInstancesOutput) GoString() string
- func (s *DescribeInstancesOutput) SetInstances(v []*InstanceForDescribeInstancesOutput) *DescribeInstancesOutput
- func (s *DescribeInstancesOutput) SetNextToken(v string) *DescribeInstancesOutput
- func (s *DescribeInstancesOutput) SetTotalCount(v int32) *DescribeInstancesOutput
- func (s DescribeInstancesOutput) String() string
- type DescribeUserDataInput
- type DescribeUserDataOutput
- type DescribeZonesInput
- type DescribeZonesOutput
- type ECS
- func (c *ECS) CreateImage(input *CreateImageInput) (*CreateImageOutput, error)
- func (c *ECS) CreateImageCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) CreateImageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) CreateImageCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput)
- func (c *ECS) CreateImageWithContext(ctx volcengine.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error)
- func (c *ECS) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error)
- func (c *ECS) DeleteInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DeleteInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DeleteInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput)
- func (c *ECS) DeleteInstanceWithContext(ctx volcengine.Context, input *DeleteInstanceInput, opts ...request.Option) (*DeleteInstanceOutput, error)
- func (c *ECS) DescribeAvailableResource(input *DescribeAvailableResourceInput) (*DescribeAvailableResourceOutput, error)
- func (c *ECS) DescribeAvailableResourceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeAvailableResourceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeAvailableResourceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeAvailableResourceRequest(input *DescribeAvailableResourceInput) (req *request.Request, output *DescribeAvailableResourceOutput)
- func (c *ECS) DescribeAvailableResourceWithContext(ctx volcengine.Context, input *DescribeAvailableResourceInput, ...) (*DescribeAvailableResourceOutput, error)
- func (c *ECS) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)
- func (c *ECS) DescribeImagesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeImagesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeImagesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)
- func (c *ECS) DescribeImagesWithContext(ctx volcengine.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)
- func (c *ECS) DescribeInstanceTypes(input *DescribeInstanceTypesInput) (*DescribeInstanceTypesOutput, error)
- func (c *ECS) DescribeInstanceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeInstanceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeInstanceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeInstanceTypesRequest(input *DescribeInstanceTypesInput) (req *request.Request, output *DescribeInstanceTypesOutput)
- func (c *ECS) DescribeInstanceTypesWithContext(ctx volcengine.Context, input *DescribeInstanceTypesInput, ...) (*DescribeInstanceTypesOutput, error)
- func (c *ECS) DescribeInstanceVncUrl(input *DescribeInstanceVncUrlInput) (*DescribeInstanceVncUrlOutput, error)
- func (c *ECS) DescribeInstanceVncUrlCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeInstanceVncUrlCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeInstanceVncUrlCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeInstanceVncUrlRequest(input *DescribeInstanceVncUrlInput) (req *request.Request, output *DescribeInstanceVncUrlOutput)
- func (c *ECS) DescribeInstanceVncUrlWithContext(ctx volcengine.Context, input *DescribeInstanceVncUrlInput, ...) (*DescribeInstanceVncUrlOutput, error)
- func (c *ECS) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error)
- func (c *ECS) DescribeInstancesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeInstancesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeInstancesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput)
- func (c *ECS) DescribeInstancesWithContext(ctx volcengine.Context, input *DescribeInstancesInput, opts ...request.Option) (*DescribeInstancesOutput, error)
- func (c *ECS) DescribeUserData(input *DescribeUserDataInput) (*DescribeUserDataOutput, error)
- func (c *ECS) DescribeUserDataCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeUserDataCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeUserDataCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeUserDataRequest(input *DescribeUserDataInput) (req *request.Request, output *DescribeUserDataOutput)
- func (c *ECS) DescribeUserDataWithContext(ctx volcengine.Context, input *DescribeUserDataInput, opts ...request.Option) (*DescribeUserDataOutput, error)
- func (c *ECS) DescribeZones(input *DescribeZonesInput) (*DescribeZonesOutput, error)
- func (c *ECS) DescribeZonesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) DescribeZonesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) DescribeZonesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) DescribeZonesRequest(input *DescribeZonesInput) (req *request.Request, output *DescribeZonesOutput)
- func (c *ECS) DescribeZonesWithContext(ctx volcengine.Context, input *DescribeZonesInput, opts ...request.Option) (*DescribeZonesOutput, error)
- func (c *ECS) ModifyInstanceAttribute(input *ModifyInstanceAttributeInput) (*ModifyInstanceAttributeOutput, error)
- func (c *ECS) ModifyInstanceAttributeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) ModifyInstanceAttributeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) ModifyInstanceAttributeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput) (req *request.Request, output *ModifyInstanceAttributeOutput)
- func (c *ECS) ModifyInstanceAttributeWithContext(ctx volcengine.Context, input *ModifyInstanceAttributeInput, ...) (*ModifyInstanceAttributeOutput, error)
- func (c *ECS) ModifyInstanceChargeType(input *ModifyInstanceChargeTypeInput) (*ModifyInstanceChargeTypeOutput, error)
- func (c *ECS) ModifyInstanceChargeTypeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) ModifyInstanceChargeTypeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) ModifyInstanceChargeTypeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) ModifyInstanceChargeTypeRequest(input *ModifyInstanceChargeTypeInput) (req *request.Request, output *ModifyInstanceChargeTypeOutput)
- func (c *ECS) ModifyInstanceChargeTypeWithContext(ctx volcengine.Context, input *ModifyInstanceChargeTypeInput, ...) (*ModifyInstanceChargeTypeOutput, error)
- func (c *ECS) ModifyInstanceSpec(input *ModifyInstanceSpecInput) (*ModifyInstanceSpecOutput, error)
- func (c *ECS) ModifyInstanceSpecCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) ModifyInstanceSpecCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) ModifyInstanceSpecCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) ModifyInstanceSpecRequest(input *ModifyInstanceSpecInput) (req *request.Request, output *ModifyInstanceSpecOutput)
- func (c *ECS) ModifyInstanceSpecWithContext(ctx volcengine.Context, input *ModifyInstanceSpecInput, opts ...request.Option) (*ModifyInstanceSpecOutput, error)
- func (c *ECS) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error)
- func (c *ECS) RebootInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) RebootInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) RebootInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput)
- func (c *ECS) RebootInstanceWithContext(ctx volcengine.Context, input *RebootInstanceInput, opts ...request.Option) (*RebootInstanceOutput, error)
- func (c *ECS) RenewInstance(input *RenewInstanceInput) (*RenewInstanceOutput, error)
- func (c *ECS) RenewInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) RenewInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) RenewInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) RenewInstanceRequest(input *RenewInstanceInput) (req *request.Request, output *RenewInstanceOutput)
- func (c *ECS) RenewInstanceWithContext(ctx volcengine.Context, input *RenewInstanceInput, opts ...request.Option) (*RenewInstanceOutput, error)
- func (c *ECS) ReplaceSystemVolume(input *ReplaceSystemVolumeInput) (*ReplaceSystemVolumeOutput, error)
- func (c *ECS) ReplaceSystemVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) ReplaceSystemVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) ReplaceSystemVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) ReplaceSystemVolumeRequest(input *ReplaceSystemVolumeInput) (req *request.Request, output *ReplaceSystemVolumeOutput)
- func (c *ECS) ReplaceSystemVolumeWithContext(ctx volcengine.Context, input *ReplaceSystemVolumeInput, ...) (*ReplaceSystemVolumeOutput, error)
- func (c *ECS) RunInstances(input *RunInstancesInput) (*RunInstancesOutput, error)
- func (c *ECS) RunInstancesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) RunInstancesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) RunInstancesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) RunInstancesRequest(input *RunInstancesInput) (req *request.Request, output *RunInstancesOutput)
- func (c *ECS) RunInstancesWithContext(ctx volcengine.Context, input *RunInstancesInput, opts ...request.Option) (*RunInstancesOutput, error)
- func (c *ECS) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error)
- func (c *ECS) StartInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) StartInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) StartInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput)
- func (c *ECS) StartInstanceWithContext(ctx volcengine.Context, input *StartInstanceInput, opts ...request.Option) (*StartInstanceOutput, error)
- func (c *ECS) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error)
- func (c *ECS) StopInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *ECS) StopInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *ECS) StopInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *ECS) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput)
- func (c *ECS) StopInstanceWithContext(ctx volcengine.Context, input *StopInstanceInput, opts ...request.Option) (*StopInstanceOutput, error)
- type ECSAPI
- type GpuDeviceForDescribeInstanceTypesOutput
- func (s GpuDeviceForDescribeInstanceTypesOutput) GoString() string
- func (s *GpuDeviceForDescribeInstanceTypesOutput) SetCount(v int32) *GpuDeviceForDescribeInstanceTypesOutput
- func (s *GpuDeviceForDescribeInstanceTypesOutput) SetMemory(v *MemoryForDescribeInstanceTypesOutput) *GpuDeviceForDescribeInstanceTypesOutput
- func (s *GpuDeviceForDescribeInstanceTypesOutput) SetProductName(v string) *GpuDeviceForDescribeInstanceTypesOutput
- func (s GpuDeviceForDescribeInstanceTypesOutput) String() string
- type GpuForDescribeInstanceTypesOutput
- type ImageForDescribeImagesOutput
- func (s ImageForDescribeImagesOutput) GoString() string
- func (s *ImageForDescribeImagesOutput) SetArchitecture(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetCreatedAt(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetDescription(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetImageId(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetImageName(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetIsSupportCloudInit(v bool) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetOsName(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetOsType(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetPlatform(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetPlatformVersion(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetShareStatus(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetSize(v int32) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetStatus(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetUpdatedAt(v string) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetVirtualSize(v json.Number) *ImageForDescribeImagesOutput
- func (s *ImageForDescribeImagesOutput) SetVisibility(v string) *ImageForDescribeImagesOutput
- func (s ImageForDescribeImagesOutput) String() string
- type InstanceForDescribeInstancesOutput
- func (s InstanceForDescribeInstancesOutput) GoString() string
- func (s *InstanceForDescribeInstancesOutput) SetCpus(v int32) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetCreatedAt(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetDescription(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetExpiredAt(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetHostName(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetImageId(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetInstanceChargeType(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetInstanceId(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetInstanceName(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetInstanceTypeId(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetKeyPairId(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetKeyPairName(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetMemorySize(v int32) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetNetworkInterfaces(v []*NetworkInterfaceForDescribeInstancesOutput) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetOsName(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetOsType(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetRdmaIpAddresses(v []*string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetStatus(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetStoppedMode(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetUpdatedAt(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetVpcId(v string) *InstanceForDescribeInstancesOutput
- func (s *InstanceForDescribeInstancesOutput) SetZoneId(v string) *InstanceForDescribeInstancesOutput
- func (s InstanceForDescribeInstancesOutput) String() string
- type InstanceTypeForDescribeInstanceTypesOutput
- func (s InstanceTypeForDescribeInstanceTypesOutput) GoString() string
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetGpu(v *GpuForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeFamily(v string) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeId(v string) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetLocalVolumes(v []*LocalVolumeForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetMemory(v *MemoryForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetProcessor(v *ProcessorForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetRdma(v *RdmaForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
- func (s *InstanceTypeForDescribeInstanceTypesOutput) SetVolume(v *VolumeForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
- func (s InstanceTypeForDescribeInstanceTypesOutput) String() string
- type LocalVolumeForDescribeInstanceTypesOutput
- func (s LocalVolumeForDescribeInstanceTypesOutput) GoString() string
- func (s *LocalVolumeForDescribeInstanceTypesOutput) SetCount(v int32) *LocalVolumeForDescribeInstanceTypesOutput
- func (s *LocalVolumeForDescribeInstanceTypesOutput) SetSize(v int32) *LocalVolumeForDescribeInstanceTypesOutput
- func (s *LocalVolumeForDescribeInstanceTypesOutput) SetVolumeType(v string) *LocalVolumeForDescribeInstanceTypesOutput
- func (s LocalVolumeForDescribeInstanceTypesOutput) String() string
- type MemoryForDescribeInstanceTypesOutput
- type ModifyInstanceAttributeInput
- func (s ModifyInstanceAttributeInput) GoString() string
- func (s *ModifyInstanceAttributeInput) SetDescription(v string) *ModifyInstanceAttributeInput
- func (s *ModifyInstanceAttributeInput) SetInstanceId(v string) *ModifyInstanceAttributeInput
- func (s *ModifyInstanceAttributeInput) SetInstanceName(v string) *ModifyInstanceAttributeInput
- func (s *ModifyInstanceAttributeInput) SetPassword(v string) *ModifyInstanceAttributeInput
- func (s *ModifyInstanceAttributeInput) SetUserData(v string) *ModifyInstanceAttributeInput
- func (s ModifyInstanceAttributeInput) String() string
- type ModifyInstanceAttributeOutput
- type ModifyInstanceChargeTypeInput
- func (s ModifyInstanceChargeTypeInput) GoString() string
- func (s *ModifyInstanceChargeTypeInput) SetAutoPay(v bool) *ModifyInstanceChargeTypeInput
- func (s *ModifyInstanceChargeTypeInput) SetClientToken(v string) *ModifyInstanceChargeTypeInput
- func (s *ModifyInstanceChargeTypeInput) SetIncludeDataVolumes(v bool) *ModifyInstanceChargeTypeInput
- func (s *ModifyInstanceChargeTypeInput) SetInstanceChargeType(v string) *ModifyInstanceChargeTypeInput
- func (s *ModifyInstanceChargeTypeInput) SetInstanceIds(v []*string) *ModifyInstanceChargeTypeInput
- func (s *ModifyInstanceChargeTypeInput) SetPeriod(v int32) *ModifyInstanceChargeTypeInput
- func (s *ModifyInstanceChargeTypeInput) SetPeriodUnit(v string) *ModifyInstanceChargeTypeInput
- func (s ModifyInstanceChargeTypeInput) String() string
- type ModifyInstanceChargeTypeOutput
- type ModifyInstanceSpecInput
- func (s ModifyInstanceSpecInput) GoString() string
- func (s *ModifyInstanceSpecInput) SetClientToken(v string) *ModifyInstanceSpecInput
- func (s *ModifyInstanceSpecInput) SetInstanceId(v string) *ModifyInstanceSpecInput
- func (s *ModifyInstanceSpecInput) SetInstanceType(v string) *ModifyInstanceSpecInput
- func (s ModifyInstanceSpecInput) String() string
- type ModifyInstanceSpecOutput
- type NetworkInterfaceForDescribeInstancesOutput
- func (s NetworkInterfaceForDescribeInstancesOutput) GoString() string
- func (s *NetworkInterfaceForDescribeInstancesOutput) SetMacAddress(v string) *NetworkInterfaceForDescribeInstancesOutput
- func (s *NetworkInterfaceForDescribeInstancesOutput) SetNetworkInterfaceId(v string) *NetworkInterfaceForDescribeInstancesOutput
- func (s *NetworkInterfaceForDescribeInstancesOutput) SetPrimaryIpAddress(v string) *NetworkInterfaceForDescribeInstancesOutput
- func (s *NetworkInterfaceForDescribeInstancesOutput) SetSubnetId(v string) *NetworkInterfaceForDescribeInstancesOutput
- func (s *NetworkInterfaceForDescribeInstancesOutput) SetType(v string) *NetworkInterfaceForDescribeInstancesOutput
- func (s *NetworkInterfaceForDescribeInstancesOutput) SetVpcId(v string) *NetworkInterfaceForDescribeInstancesOutput
- func (s NetworkInterfaceForDescribeInstancesOutput) String() string
- type NetworkInterfaceForRunInstancesInput
- func (s NetworkInterfaceForRunInstancesInput) GoString() string
- func (s *NetworkInterfaceForRunInstancesInput) SetSecurityGroupIds(v []*string) *NetworkInterfaceForRunInstancesInput
- func (s *NetworkInterfaceForRunInstancesInput) SetSubnetId(v string) *NetworkInterfaceForRunInstancesInput
- func (s NetworkInterfaceForRunInstancesInput) String() string
- type ProcessorForDescribeInstanceTypesOutput
- type RdmaForDescribeInstanceTypesOutput
- type RebootInstanceInput
- type RebootInstanceOutput
- type RenewInstanceInput
- func (s RenewInstanceInput) GoString() string
- func (s *RenewInstanceInput) SetClientToken(v string) *RenewInstanceInput
- func (s *RenewInstanceInput) SetInstanceId(v string) *RenewInstanceInput
- func (s *RenewInstanceInput) SetPeriod(v int32) *RenewInstanceInput
- func (s *RenewInstanceInput) SetPeriodUnit(v string) *RenewInstanceInput
- func (s RenewInstanceInput) String() string
- type RenewInstanceOutput
- type ReplaceSystemVolumeInput
- func (s ReplaceSystemVolumeInput) GoString() string
- func (s *ReplaceSystemVolumeInput) SetClientToken(v string) *ReplaceSystemVolumeInput
- func (s *ReplaceSystemVolumeInput) SetImageId(v string) *ReplaceSystemVolumeInput
- func (s *ReplaceSystemVolumeInput) SetInstanceId(v string) *ReplaceSystemVolumeInput
- func (s *ReplaceSystemVolumeInput) SetKeyPairName(v string) *ReplaceSystemVolumeInput
- func (s *ReplaceSystemVolumeInput) SetPassword(v string) *ReplaceSystemVolumeInput
- func (s *ReplaceSystemVolumeInput) SetSize(v json.Number) *ReplaceSystemVolumeInput
- func (s *ReplaceSystemVolumeInput) SetUserData(v string) *ReplaceSystemVolumeInput
- func (s ReplaceSystemVolumeInput) String() string
- type ReplaceSystemVolumeOutput
- type RunInstancesInput
- func (s RunInstancesInput) GoString() string
- func (s *RunInstancesInput) SetAutoRenew(v bool) *RunInstancesInput
- func (s *RunInstancesInput) SetAutoRenewPeriod(v int32) *RunInstancesInput
- func (s *RunInstancesInput) SetClientToken(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetCount(v int32) *RunInstancesInput
- func (s *RunInstancesInput) SetDescription(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetHostName(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetHpcClusterId(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetImageId(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetInstanceChargeType(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetInstanceName(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetInstanceType(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetInstanceTypeId(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetKeyPairName(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetNetworkInterfaces(v []*NetworkInterfaceForRunInstancesInput) *RunInstancesInput
- func (s *RunInstancesInput) SetPassword(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetPeriod(v int32) *RunInstancesInput
- func (s *RunInstancesInput) SetPeriodUnit(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetSecurityEnhancementStrategy(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetSuffixIndex(v int32) *RunInstancesInput
- func (s *RunInstancesInput) SetUniqueSuffix(v bool) *RunInstancesInput
- func (s *RunInstancesInput) SetUserData(v string) *RunInstancesInput
- func (s *RunInstancesInput) SetVolumes(v []*VolumeForRunInstancesInput) *RunInstancesInput
- func (s *RunInstancesInput) SetZoneId(v string) *RunInstancesInput
- func (s RunInstancesInput) String() string
- type RunInstancesOutput
- type StartInstanceInput
- type StartInstanceOutput
- type StopInstanceInput
- type StopInstanceOutput
- type SupportedResourceForDescribeAvailableResourceOutput
- func (s SupportedResourceForDescribeAvailableResourceOutput) GoString() string
- func (s *SupportedResourceForDescribeAvailableResourceOutput) SetStatus(v string) *SupportedResourceForDescribeAvailableResourceOutput
- func (s *SupportedResourceForDescribeAvailableResourceOutput) SetValue(v string) *SupportedResourceForDescribeAvailableResourceOutput
- func (s SupportedResourceForDescribeAvailableResourceOutput) String() string
- type VolumeForDescribeInstanceTypesOutput
- type VolumeForRunInstancesInput
- func (s VolumeForRunInstancesInput) GoString() string
- func (s *VolumeForRunInstancesInput) SetDeleteWithInstance(v string) *VolumeForRunInstancesInput
- func (s *VolumeForRunInstancesInput) SetSize(v int32) *VolumeForRunInstancesInput
- func (s *VolumeForRunInstancesInput) SetVolumeType(v string) *VolumeForRunInstancesInput
- func (s VolumeForRunInstancesInput) String() string
- type ZoneForDescribeZonesOutput
Constants ¶
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 ¶
func (s AvailableResourceForDescribeAvailableResourceOutput) GoString() string
GoString returns the string representation
func (*AvailableResourceForDescribeAvailableResourceOutput) SetSupportedResources ¶
func (s *AvailableResourceForDescribeAvailableResourceOutput) SetSupportedResources(v []*SupportedResourceForDescribeAvailableResourceOutput) *AvailableResourceForDescribeAvailableResourceOutput
SetSupportedResources sets the SupportedResources field's value.
func (*AvailableResourceForDescribeAvailableResourceOutput) SetType ¶
func (s *AvailableResourceForDescribeAvailableResourceOutput) SetType(v string) *AvailableResourceForDescribeAvailableResourceOutput
SetType sets the Type field's value.
func (AvailableResourceForDescribeAvailableResourceOutput) String ¶
func (s AvailableResourceForDescribeAvailableResourceOutput) String() 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 ¶
func (s AvailableZoneForDescribeAvailableResourceOutput) GoString() string
GoString returns the string representation
func (*AvailableZoneForDescribeAvailableResourceOutput) SetAvailableResources ¶
func (s *AvailableZoneForDescribeAvailableResourceOutput) SetAvailableResources(v []*AvailableResourceForDescribeAvailableResourceOutput) *AvailableZoneForDescribeAvailableResourceOutput
SetAvailableResources sets the AvailableResources field's value.
func (*AvailableZoneForDescribeAvailableResourceOutput) SetRegionId ¶
func (s *AvailableZoneForDescribeAvailableResourceOutput) SetRegionId(v string) *AvailableZoneForDescribeAvailableResourceOutput
SetRegionId sets the RegionId field's value.
func (*AvailableZoneForDescribeAvailableResourceOutput) SetStatus ¶
func (s *AvailableZoneForDescribeAvailableResourceOutput) SetStatus(v string) *AvailableZoneForDescribeAvailableResourceOutput
SetStatus sets the Status field's value.
func (*AvailableZoneForDescribeAvailableResourceOutput) SetZoneId ¶
func (s *AvailableZoneForDescribeAvailableResourceOutput) SetZoneId(v string) *AvailableZoneForDescribeAvailableResourceOutput
SetZoneId sets the ZoneId field's value.
func (AvailableZoneForDescribeAvailableResourceOutput) String ¶
func (s AvailableZoneForDescribeAvailableResourceOutput) String() 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 ¶
func (s DescribeAvailableResourceInput) GoString() string
GoString returns the string representation
func (*DescribeAvailableResourceInput) SetDestinationResource ¶
func (s *DescribeAvailableResourceInput) SetDestinationResource(v string) *DescribeAvailableResourceInput
SetDestinationResource sets the DestinationResource field's value.
func (*DescribeAvailableResourceInput) SetInstanceType ¶
func (s *DescribeAvailableResourceInput) SetInstanceType(v string) *DescribeAvailableResourceInput
SetInstanceType sets the InstanceType field's value.
func (*DescribeAvailableResourceInput) SetInstanceTypeId ¶
func (s *DescribeAvailableResourceInput) SetInstanceTypeId(v string) *DescribeAvailableResourceInput
SetInstanceTypeId sets the InstanceTypeId field's value.
func (*DescribeAvailableResourceInput) SetZoneId ¶
func (s *DescribeAvailableResourceInput) SetZoneId(v string) *DescribeAvailableResourceInput
SetZoneId sets the ZoneId field's value.
func (DescribeAvailableResourceInput) String ¶
func (s DescribeAvailableResourceInput) String() 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 ¶
func (s DescribeAvailableResourceOutput) GoString() string
GoString returns the string representation
func (*DescribeAvailableResourceOutput) SetAvailableZones ¶
func (s *DescribeAvailableResourceOutput) SetAvailableZones(v []*AvailableZoneForDescribeAvailableResourceOutput) *DescribeAvailableResourceOutput
SetAvailableZones sets the AvailableZones field's value.
func (DescribeAvailableResourceOutput) String ¶
func (s DescribeAvailableResourceOutput) String() 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 ¶
func (s *DescribeImagesInput) SetOsType(v string) *DescribeImagesInput
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 ¶
func (s *DescribeImagesOutput) SetImages(v []*ImageForDescribeImagesOutput) *DescribeImagesOutput
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 ¶
func (s *DescribeInstanceTypesInput) SetInstanceTypes(v []*string) *DescribeInstanceTypesInput
SetInstanceTypes sets the InstanceTypes field's value.
func (*DescribeInstanceTypesInput) SetMaxResults ¶
func (s *DescribeInstanceTypesInput) SetMaxResults(v int32) *DescribeInstanceTypesInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeInstanceTypesInput) SetNextToken ¶
func (s *DescribeInstanceTypesInput) SetNextToken(v string) *DescribeInstanceTypesInput
SetNextToken sets the NextToken field's value.
func (DescribeInstanceTypesInput) String ¶
func (s DescribeInstanceTypesInput) String() 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 ¶
func (s *DescribeInstanceTypesOutput) SetInstanceTypes(v []*InstanceTypeForDescribeInstanceTypesOutput) *DescribeInstanceTypesOutput
SetInstanceTypes sets the InstanceTypes field's value.
func (*DescribeInstanceTypesOutput) SetNextToken ¶
func (s *DescribeInstanceTypesOutput) SetNextToken(v string) *DescribeInstanceTypesOutput
SetNextToken sets the NextToken field's value.
func (*DescribeInstanceTypesOutput) SetTotalCount ¶
func (s *DescribeInstanceTypesOutput) SetTotalCount(v int32) *DescribeInstanceTypesOutput
SetTotalCount sets the TotalCount field's value.
func (DescribeInstanceTypesOutput) String ¶
func (s DescribeInstanceTypesOutput) String() 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 ¶
func (s *DescribeInstanceVncUrlInput) SetInstanceId(v string) *DescribeInstanceVncUrlInput
SetInstanceId sets the InstanceId field's value.
func (DescribeInstanceVncUrlInput) String ¶
func (s DescribeInstanceVncUrlInput) String() 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 ¶
func (s *DescribeInstanceVncUrlOutput) SetVncUrl(v string) *DescribeInstanceVncUrlOutput
SetVncUrl sets the VncUrl field's value.
func (DescribeInstanceVncUrlOutput) String ¶
func (s DescribeInstanceVncUrlOutput) String() 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 ¶
func (s *DescribeInstancesInput) SetKeyPairName(v string) *DescribeInstancesInput
SetKeyPairName sets the KeyPairName field's value.
func (*DescribeInstancesInput) SetMaxResults ¶
func (s *DescribeInstancesInput) SetMaxResults(v int32) *DescribeInstancesInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeInstancesInput) SetNextToken ¶
func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput
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 ¶
func (s *DescribeInstancesInput) SetStatus(v string) *DescribeInstancesInput
SetStatus sets the Status field's value.
func (*DescribeInstancesInput) SetVpcId ¶
func (s *DescribeInstancesInput) SetVpcId(v string) *DescribeInstancesInput
SetVpcId sets the VpcId field's value.
func (*DescribeInstancesInput) SetZoneId ¶
func (s *DescribeInstancesInput) SetZoneId(v string) *DescribeInstancesInput
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 ¶
func (s *DescribeInstancesOutput) SetInstances(v []*InstanceForDescribeInstancesOutput) *DescribeInstancesOutput
SetInstances sets the Instances field's value.
func (*DescribeInstancesOutput) SetNextToken ¶
func (s *DescribeInstancesOutput) SetNextToken(v string) *DescribeInstancesOutput
SetNextToken sets the NextToken field's value.
func (*DescribeInstancesOutput) SetTotalCount ¶
func (s *DescribeInstancesOutput) SetTotalCount(v int32) *DescribeInstancesOutput
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 ¶
func (s *DescribeUserDataOutput) SetInstanceId(v string) *DescribeUserDataOutput
SetInstanceId sets the InstanceId field's value.
func (*DescribeUserDataOutput) SetUserData ¶
func (s *DescribeUserDataOutput) SetUserData(v string) *DescribeUserDataOutput
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 ¶
func (s *DescribeZonesOutput) SetZones(v []*ZoneForDescribeZonesOutput) *DescribeZonesOutput
SetZones sets the Zones field's value.
func (DescribeZonesOutput) String ¶
func (s DescribeZonesOutput) String() string
String returns the string representation
type ECS ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (s GpuDeviceForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*GpuDeviceForDescribeInstanceTypesOutput) SetCount ¶
func (s *GpuDeviceForDescribeInstanceTypesOutput) SetCount(v int32) *GpuDeviceForDescribeInstanceTypesOutput
SetCount sets the Count field's value.
func (*GpuDeviceForDescribeInstanceTypesOutput) SetMemory ¶
func (s *GpuDeviceForDescribeInstanceTypesOutput) SetMemory(v *MemoryForDescribeInstanceTypesOutput) *GpuDeviceForDescribeInstanceTypesOutput
SetMemory sets the Memory field's value.
func (*GpuDeviceForDescribeInstanceTypesOutput) SetProductName ¶
func (s *GpuDeviceForDescribeInstanceTypesOutput) SetProductName(v string) *GpuDeviceForDescribeInstanceTypesOutput
SetProductName sets the ProductName field's value.
func (GpuDeviceForDescribeInstanceTypesOutput) String ¶
func (s GpuDeviceForDescribeInstanceTypesOutput) String() string
String returns the string representation
type GpuForDescribeInstanceTypesOutput ¶
type GpuForDescribeInstanceTypesOutput struct { GpuDevices []*GpuDeviceForDescribeInstanceTypesOutput `type:"list"` // contains filtered or unexported fields }
func (GpuForDescribeInstanceTypesOutput) GoString ¶
func (s GpuForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*GpuForDescribeInstanceTypesOutput) SetGpuDevices ¶
func (s *GpuForDescribeInstanceTypesOutput) SetGpuDevices(v []*GpuDeviceForDescribeInstanceTypesOutput) *GpuForDescribeInstanceTypesOutput
SetGpuDevices sets the GpuDevices field's value.
func (GpuForDescribeInstanceTypesOutput) String ¶
func (s GpuForDescribeInstanceTypesOutput) String() 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"` 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 ¶
func (s *ImageForDescribeImagesOutput) SetArchitecture(v string) *ImageForDescribeImagesOutput
SetArchitecture sets the Architecture field's value.
func (*ImageForDescribeImagesOutput) SetCreatedAt ¶
func (s *ImageForDescribeImagesOutput) SetCreatedAt(v string) *ImageForDescribeImagesOutput
SetCreatedAt sets the CreatedAt field's value.
func (*ImageForDescribeImagesOutput) SetDescription ¶
func (s *ImageForDescribeImagesOutput) SetDescription(v string) *ImageForDescribeImagesOutput
SetDescription sets the Description field's value.
func (*ImageForDescribeImagesOutput) SetImageId ¶
func (s *ImageForDescribeImagesOutput) SetImageId(v string) *ImageForDescribeImagesOutput
SetImageId sets the ImageId field's value.
func (*ImageForDescribeImagesOutput) SetImageName ¶
func (s *ImageForDescribeImagesOutput) SetImageName(v string) *ImageForDescribeImagesOutput
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 ¶
func (s *ImageForDescribeImagesOutput) SetOsName(v string) *ImageForDescribeImagesOutput
SetOsName sets the OsName field's value.
func (*ImageForDescribeImagesOutput) SetOsType ¶
func (s *ImageForDescribeImagesOutput) SetOsType(v string) *ImageForDescribeImagesOutput
SetOsType sets the OsType field's value.
func (*ImageForDescribeImagesOutput) SetPlatform ¶
func (s *ImageForDescribeImagesOutput) SetPlatform(v string) *ImageForDescribeImagesOutput
SetPlatform sets the Platform field's value.
func (*ImageForDescribeImagesOutput) SetPlatformVersion ¶
func (s *ImageForDescribeImagesOutput) SetPlatformVersion(v string) *ImageForDescribeImagesOutput
SetPlatformVersion sets the PlatformVersion field's value.
func (*ImageForDescribeImagesOutput) SetShareStatus ¶
func (s *ImageForDescribeImagesOutput) SetShareStatus(v string) *ImageForDescribeImagesOutput
SetShareStatus sets the ShareStatus field's value.
func (*ImageForDescribeImagesOutput) SetSize ¶
func (s *ImageForDescribeImagesOutput) SetSize(v int32) *ImageForDescribeImagesOutput
SetSize sets the Size field's value.
func (*ImageForDescribeImagesOutput) SetStatus ¶
func (s *ImageForDescribeImagesOutput) SetStatus(v string) *ImageForDescribeImagesOutput
SetStatus sets the Status field's value.
func (*ImageForDescribeImagesOutput) SetUpdatedAt ¶
func (s *ImageForDescribeImagesOutput) SetUpdatedAt(v string) *ImageForDescribeImagesOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (*ImageForDescribeImagesOutput) SetVirtualSize ¶
func (s *ImageForDescribeImagesOutput) SetVirtualSize(v json.Number) *ImageForDescribeImagesOutput
SetVirtualSize sets the VirtualSize field's value.
func (*ImageForDescribeImagesOutput) SetVisibility ¶
func (s *ImageForDescribeImagesOutput) SetVisibility(v string) *ImageForDescribeImagesOutput
SetVisibility sets the Visibility field's value.
func (ImageForDescribeImagesOutput) String ¶
func (s ImageForDescribeImagesOutput) String() 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 ¶
func (s InstanceForDescribeInstancesOutput) GoString() string
GoString returns the string representation
func (*InstanceForDescribeInstancesOutput) SetCpus ¶
func (s *InstanceForDescribeInstancesOutput) SetCpus(v int32) *InstanceForDescribeInstancesOutput
SetCpus sets the Cpus field's value.
func (*InstanceForDescribeInstancesOutput) SetCreatedAt ¶
func (s *InstanceForDescribeInstancesOutput) SetCreatedAt(v string) *InstanceForDescribeInstancesOutput
SetCreatedAt sets the CreatedAt field's value.
func (*InstanceForDescribeInstancesOutput) SetDescription ¶
func (s *InstanceForDescribeInstancesOutput) SetDescription(v string) *InstanceForDescribeInstancesOutput
SetDescription sets the Description field's value.
func (*InstanceForDescribeInstancesOutput) SetExpiredAt ¶
func (s *InstanceForDescribeInstancesOutput) SetExpiredAt(v string) *InstanceForDescribeInstancesOutput
SetExpiredAt sets the ExpiredAt field's value.
func (*InstanceForDescribeInstancesOutput) SetHostName ¶
func (s *InstanceForDescribeInstancesOutput) SetHostName(v string) *InstanceForDescribeInstancesOutput
SetHostName sets the HostName field's value.
func (*InstanceForDescribeInstancesOutput) SetImageId ¶
func (s *InstanceForDescribeInstancesOutput) SetImageId(v string) *InstanceForDescribeInstancesOutput
SetImageId sets the ImageId field's value.
func (*InstanceForDescribeInstancesOutput) SetInstanceChargeType ¶
func (s *InstanceForDescribeInstancesOutput) SetInstanceChargeType(v string) *InstanceForDescribeInstancesOutput
SetInstanceChargeType sets the InstanceChargeType field's value.
func (*InstanceForDescribeInstancesOutput) SetInstanceId ¶
func (s *InstanceForDescribeInstancesOutput) SetInstanceId(v string) *InstanceForDescribeInstancesOutput
SetInstanceId sets the InstanceId field's value.
func (*InstanceForDescribeInstancesOutput) SetInstanceName ¶
func (s *InstanceForDescribeInstancesOutput) SetInstanceName(v string) *InstanceForDescribeInstancesOutput
SetInstanceName sets the InstanceName field's value.
func (*InstanceForDescribeInstancesOutput) SetInstanceTypeId ¶
func (s *InstanceForDescribeInstancesOutput) SetInstanceTypeId(v string) *InstanceForDescribeInstancesOutput
SetInstanceTypeId sets the InstanceTypeId field's value.
func (*InstanceForDescribeInstancesOutput) SetKeyPairId ¶
func (s *InstanceForDescribeInstancesOutput) SetKeyPairId(v string) *InstanceForDescribeInstancesOutput
SetKeyPairId sets the KeyPairId field's value.
func (*InstanceForDescribeInstancesOutput) SetKeyPairName ¶
func (s *InstanceForDescribeInstancesOutput) SetKeyPairName(v string) *InstanceForDescribeInstancesOutput
SetKeyPairName sets the KeyPairName field's value.
func (*InstanceForDescribeInstancesOutput) SetMemorySize ¶
func (s *InstanceForDescribeInstancesOutput) SetMemorySize(v int32) *InstanceForDescribeInstancesOutput
SetMemorySize sets the MemorySize field's value.
func (*InstanceForDescribeInstancesOutput) SetNetworkInterfaces ¶
func (s *InstanceForDescribeInstancesOutput) SetNetworkInterfaces(v []*NetworkInterfaceForDescribeInstancesOutput) *InstanceForDescribeInstancesOutput
SetNetworkInterfaces sets the NetworkInterfaces field's value.
func (*InstanceForDescribeInstancesOutput) SetOsName ¶
func (s *InstanceForDescribeInstancesOutput) SetOsName(v string) *InstanceForDescribeInstancesOutput
SetOsName sets the OsName field's value.
func (*InstanceForDescribeInstancesOutput) SetOsType ¶
func (s *InstanceForDescribeInstancesOutput) SetOsType(v string) *InstanceForDescribeInstancesOutput
SetOsType sets the OsType field's value.
func (*InstanceForDescribeInstancesOutput) SetRdmaIpAddresses ¶
func (s *InstanceForDescribeInstancesOutput) SetRdmaIpAddresses(v []*string) *InstanceForDescribeInstancesOutput
SetRdmaIpAddresses sets the RdmaIpAddresses field's value.
func (*InstanceForDescribeInstancesOutput) SetStatus ¶
func (s *InstanceForDescribeInstancesOutput) SetStatus(v string) *InstanceForDescribeInstancesOutput
SetStatus sets the Status field's value.
func (*InstanceForDescribeInstancesOutput) SetStoppedMode ¶
func (s *InstanceForDescribeInstancesOutput) SetStoppedMode(v string) *InstanceForDescribeInstancesOutput
SetStoppedMode sets the StoppedMode field's value.
func (*InstanceForDescribeInstancesOutput) SetUpdatedAt ¶
func (s *InstanceForDescribeInstancesOutput) SetUpdatedAt(v string) *InstanceForDescribeInstancesOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (*InstanceForDescribeInstancesOutput) SetVpcId ¶
func (s *InstanceForDescribeInstancesOutput) SetVpcId(v string) *InstanceForDescribeInstancesOutput
SetVpcId sets the VpcId field's value.
func (*InstanceForDescribeInstancesOutput) SetZoneId ¶
func (s *InstanceForDescribeInstancesOutput) SetZoneId(v string) *InstanceForDescribeInstancesOutput
SetZoneId sets the ZoneId field's value.
func (InstanceForDescribeInstancesOutput) String ¶
func (s InstanceForDescribeInstancesOutput) String() 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 ¶
func (s InstanceTypeForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*InstanceTypeForDescribeInstanceTypesOutput) SetGpu ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetGpu(v *GpuForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
SetGpu sets the Gpu field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeFamily ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeFamily(v string) *InstanceTypeForDescribeInstanceTypesOutput
SetInstanceTypeFamily sets the InstanceTypeFamily field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeId ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetInstanceTypeId(v string) *InstanceTypeForDescribeInstanceTypesOutput
SetInstanceTypeId sets the InstanceTypeId field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetLocalVolumes ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetLocalVolumes(v []*LocalVolumeForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
SetLocalVolumes sets the LocalVolumes field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetMemory ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetMemory(v *MemoryForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
SetMemory sets the Memory field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetProcessor ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetProcessor(v *ProcessorForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
SetProcessor sets the Processor field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetRdma ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetRdma(v *RdmaForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
SetRdma sets the Rdma field's value.
func (*InstanceTypeForDescribeInstanceTypesOutput) SetVolume ¶
func (s *InstanceTypeForDescribeInstanceTypesOutput) SetVolume(v *VolumeForDescribeInstanceTypesOutput) *InstanceTypeForDescribeInstanceTypesOutput
SetVolume sets the Volume field's value.
func (InstanceTypeForDescribeInstanceTypesOutput) String ¶
func (s InstanceTypeForDescribeInstanceTypesOutput) String() 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 ¶
func (s LocalVolumeForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*LocalVolumeForDescribeInstanceTypesOutput) SetCount ¶
func (s *LocalVolumeForDescribeInstanceTypesOutput) SetCount(v int32) *LocalVolumeForDescribeInstanceTypesOutput
SetCount sets the Count field's value.
func (*LocalVolumeForDescribeInstanceTypesOutput) SetSize ¶
func (s *LocalVolumeForDescribeInstanceTypesOutput) SetSize(v int32) *LocalVolumeForDescribeInstanceTypesOutput
SetSize sets the Size field's value.
func (*LocalVolumeForDescribeInstanceTypesOutput) SetVolumeType ¶
func (s *LocalVolumeForDescribeInstanceTypesOutput) SetVolumeType(v string) *LocalVolumeForDescribeInstanceTypesOutput
SetVolumeType sets the VolumeType field's value.
func (LocalVolumeForDescribeInstanceTypesOutput) String ¶
func (s LocalVolumeForDescribeInstanceTypesOutput) String() string
String returns the string representation
type MemoryForDescribeInstanceTypesOutput ¶
type MemoryForDescribeInstanceTypesOutput struct { Size *int32 `type:"int32"` // contains filtered or unexported fields }
func (MemoryForDescribeInstanceTypesOutput) GoString ¶
func (s MemoryForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*MemoryForDescribeInstanceTypesOutput) SetSize ¶
func (s *MemoryForDescribeInstanceTypesOutput) SetSize(v int32) *MemoryForDescribeInstanceTypesOutput
SetSize sets the Size field's value.
func (MemoryForDescribeInstanceTypesOutput) String ¶
func (s MemoryForDescribeInstanceTypesOutput) String() 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 ¶
func (s *ModifyInstanceAttributeInput) SetDescription(v string) *ModifyInstanceAttributeInput
SetDescription sets the Description field's value.
func (*ModifyInstanceAttributeInput) SetInstanceId ¶
func (s *ModifyInstanceAttributeInput) SetInstanceId(v string) *ModifyInstanceAttributeInput
SetInstanceId sets the InstanceId field's value.
func (*ModifyInstanceAttributeInput) SetInstanceName ¶
func (s *ModifyInstanceAttributeInput) SetInstanceName(v string) *ModifyInstanceAttributeInput
SetInstanceName sets the InstanceName field's value.
func (*ModifyInstanceAttributeInput) SetPassword ¶
func (s *ModifyInstanceAttributeInput) SetPassword(v string) *ModifyInstanceAttributeInput
SetPassword sets the Password field's value.
func (*ModifyInstanceAttributeInput) SetUserData ¶
func (s *ModifyInstanceAttributeInput) SetUserData(v string) *ModifyInstanceAttributeInput
SetUserData sets the UserData field's value.
func (ModifyInstanceAttributeInput) String ¶
func (s ModifyInstanceAttributeInput) String() string
String returns the string representation
type ModifyInstanceAttributeOutput ¶
type ModifyInstanceAttributeOutput struct { Metadata *response.ResponseMetadata // contains filtered or unexported fields }
func (ModifyInstanceAttributeOutput) GoString ¶
func (s ModifyInstanceAttributeOutput) GoString() string
GoString returns the string representation
func (ModifyInstanceAttributeOutput) String ¶
func (s ModifyInstanceAttributeOutput) String() 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 ¶
func (s ModifyInstanceChargeTypeInput) GoString() string
GoString returns the string representation
func (*ModifyInstanceChargeTypeInput) SetAutoPay ¶
func (s *ModifyInstanceChargeTypeInput) SetAutoPay(v bool) *ModifyInstanceChargeTypeInput
SetAutoPay sets the AutoPay field's value.
func (*ModifyInstanceChargeTypeInput) SetClientToken ¶
func (s *ModifyInstanceChargeTypeInput) SetClientToken(v string) *ModifyInstanceChargeTypeInput
SetClientToken sets the ClientToken field's value.
func (*ModifyInstanceChargeTypeInput) SetIncludeDataVolumes ¶
func (s *ModifyInstanceChargeTypeInput) SetIncludeDataVolumes(v bool) *ModifyInstanceChargeTypeInput
SetIncludeDataVolumes sets the IncludeDataVolumes field's value.
func (*ModifyInstanceChargeTypeInput) SetInstanceChargeType ¶
func (s *ModifyInstanceChargeTypeInput) SetInstanceChargeType(v string) *ModifyInstanceChargeTypeInput
SetInstanceChargeType sets the InstanceChargeType field's value.
func (*ModifyInstanceChargeTypeInput) SetInstanceIds ¶
func (s *ModifyInstanceChargeTypeInput) SetInstanceIds(v []*string) *ModifyInstanceChargeTypeInput
SetInstanceIds sets the InstanceIds field's value.
func (*ModifyInstanceChargeTypeInput) SetPeriod ¶
func (s *ModifyInstanceChargeTypeInput) SetPeriod(v int32) *ModifyInstanceChargeTypeInput
SetPeriod sets the Period field's value.
func (*ModifyInstanceChargeTypeInput) SetPeriodUnit ¶
func (s *ModifyInstanceChargeTypeInput) SetPeriodUnit(v string) *ModifyInstanceChargeTypeInput
SetPeriodUnit sets the PeriodUnit field's value.
func (ModifyInstanceChargeTypeInput) String ¶
func (s ModifyInstanceChargeTypeInput) String() 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 ¶
func (s ModifyInstanceChargeTypeOutput) GoString() string
GoString returns the string representation
func (*ModifyInstanceChargeTypeOutput) SetOrderId ¶
func (s *ModifyInstanceChargeTypeOutput) SetOrderId(v string) *ModifyInstanceChargeTypeOutput
SetOrderId sets the OrderId field's value.
func (ModifyInstanceChargeTypeOutput) String ¶
func (s ModifyInstanceChargeTypeOutput) String() 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 ¶
func (s *ModifyInstanceSpecInput) SetClientToken(v string) *ModifyInstanceSpecInput
SetClientToken sets the ClientToken field's value.
func (*ModifyInstanceSpecInput) SetInstanceId ¶
func (s *ModifyInstanceSpecInput) SetInstanceId(v string) *ModifyInstanceSpecInput
SetInstanceId sets the InstanceId field's value.
func (*ModifyInstanceSpecInput) SetInstanceType ¶
func (s *ModifyInstanceSpecInput) SetInstanceType(v string) *ModifyInstanceSpecInput
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 ¶
func (s NetworkInterfaceForDescribeInstancesOutput) GoString() string
GoString returns the string representation
func (*NetworkInterfaceForDescribeInstancesOutput) SetMacAddress ¶
func (s *NetworkInterfaceForDescribeInstancesOutput) SetMacAddress(v string) *NetworkInterfaceForDescribeInstancesOutput
SetMacAddress sets the MacAddress field's value.
func (*NetworkInterfaceForDescribeInstancesOutput) SetNetworkInterfaceId ¶
func (s *NetworkInterfaceForDescribeInstancesOutput) SetNetworkInterfaceId(v string) *NetworkInterfaceForDescribeInstancesOutput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*NetworkInterfaceForDescribeInstancesOutput) SetPrimaryIpAddress ¶
func (s *NetworkInterfaceForDescribeInstancesOutput) SetPrimaryIpAddress(v string) *NetworkInterfaceForDescribeInstancesOutput
SetPrimaryIpAddress sets the PrimaryIpAddress field's value.
func (*NetworkInterfaceForDescribeInstancesOutput) SetSubnetId ¶
func (s *NetworkInterfaceForDescribeInstancesOutput) SetSubnetId(v string) *NetworkInterfaceForDescribeInstancesOutput
SetSubnetId sets the SubnetId field's value.
func (*NetworkInterfaceForDescribeInstancesOutput) SetType ¶
func (s *NetworkInterfaceForDescribeInstancesOutput) SetType(v string) *NetworkInterfaceForDescribeInstancesOutput
SetType sets the Type field's value.
func (*NetworkInterfaceForDescribeInstancesOutput) SetVpcId ¶
func (s *NetworkInterfaceForDescribeInstancesOutput) SetVpcId(v string) *NetworkInterfaceForDescribeInstancesOutput
SetVpcId sets the VpcId field's value.
func (NetworkInterfaceForDescribeInstancesOutput) String ¶
func (s NetworkInterfaceForDescribeInstancesOutput) String() 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 ¶
func (s NetworkInterfaceForRunInstancesInput) GoString() string
GoString returns the string representation
func (*NetworkInterfaceForRunInstancesInput) SetSecurityGroupIds ¶
func (s *NetworkInterfaceForRunInstancesInput) SetSecurityGroupIds(v []*string) *NetworkInterfaceForRunInstancesInput
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*NetworkInterfaceForRunInstancesInput) SetSubnetId ¶
func (s *NetworkInterfaceForRunInstancesInput) SetSubnetId(v string) *NetworkInterfaceForRunInstancesInput
SetSubnetId sets the SubnetId field's value.
func (NetworkInterfaceForRunInstancesInput) String ¶
func (s NetworkInterfaceForRunInstancesInput) String() string
String returns the string representation
type ProcessorForDescribeInstanceTypesOutput ¶
type ProcessorForDescribeInstanceTypesOutput struct { Cpus *int32 `type:"int32"` // contains filtered or unexported fields }
func (ProcessorForDescribeInstanceTypesOutput) GoString ¶
func (s ProcessorForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*ProcessorForDescribeInstanceTypesOutput) SetCpus ¶
func (s *ProcessorForDescribeInstanceTypesOutput) SetCpus(v int32) *ProcessorForDescribeInstanceTypesOutput
SetCpus sets the Cpus field's value.
func (ProcessorForDescribeInstanceTypesOutput) String ¶
func (s ProcessorForDescribeInstanceTypesOutput) String() string
String returns the string representation
type RdmaForDescribeInstanceTypesOutput ¶
type RdmaForDescribeInstanceTypesOutput struct { RdmaNetworkInterfaces *int32 `type:"int32"` // contains filtered or unexported fields }
func (RdmaForDescribeInstanceTypesOutput) GoString ¶
func (s RdmaForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*RdmaForDescribeInstanceTypesOutput) SetRdmaNetworkInterfaces ¶
func (s *RdmaForDescribeInstanceTypesOutput) SetRdmaNetworkInterfaces(v int32) *RdmaForDescribeInstanceTypesOutput
SetRdmaNetworkInterfaces sets the RdmaNetworkInterfaces field's value.
func (RdmaForDescribeInstanceTypesOutput) String ¶
func (s RdmaForDescribeInstanceTypesOutput) String() 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 ¶
func (s *RenewInstanceOutput) SetOrderId(v string) *RenewInstanceOutput
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 ¶
func (s *ReplaceSystemVolumeInput) SetClientToken(v string) *ReplaceSystemVolumeInput
SetClientToken sets the ClientToken field's value.
func (*ReplaceSystemVolumeInput) SetImageId ¶
func (s *ReplaceSystemVolumeInput) SetImageId(v string) *ReplaceSystemVolumeInput
SetImageId sets the ImageId field's value.
func (*ReplaceSystemVolumeInput) SetInstanceId ¶
func (s *ReplaceSystemVolumeInput) SetInstanceId(v string) *ReplaceSystemVolumeInput
SetInstanceId sets the InstanceId field's value.
func (*ReplaceSystemVolumeInput) SetKeyPairName ¶
func (s *ReplaceSystemVolumeInput) SetKeyPairName(v string) *ReplaceSystemVolumeInput
SetKeyPairName sets the KeyPairName field's value.
func (*ReplaceSystemVolumeInput) SetPassword ¶
func (s *ReplaceSystemVolumeInput) SetPassword(v string) *ReplaceSystemVolumeInput
SetPassword sets the Password field's value.
func (*ReplaceSystemVolumeInput) SetSize ¶
func (s *ReplaceSystemVolumeInput) SetSize(v json.Number) *ReplaceSystemVolumeInput
SetSize sets the Size field's value.
func (*ReplaceSystemVolumeInput) SetUserData ¶
func (s *ReplaceSystemVolumeInput) SetUserData(v string) *ReplaceSystemVolumeInput
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 ¶
func (s *RunInstancesInput) SetNetworkInterfaces(v []*NetworkInterfaceForRunInstancesInput) *RunInstancesInput
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 ¶
func (s *RunInstancesInput) SetVolumes(v []*VolumeForRunInstancesInput) *RunInstancesInput
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 ¶
func (s SupportedResourceForDescribeAvailableResourceOutput) GoString() string
GoString returns the string representation
func (*SupportedResourceForDescribeAvailableResourceOutput) SetStatus ¶
func (s *SupportedResourceForDescribeAvailableResourceOutput) SetStatus(v string) *SupportedResourceForDescribeAvailableResourceOutput
SetStatus sets the Status field's value.
func (*SupportedResourceForDescribeAvailableResourceOutput) SetValue ¶
func (s *SupportedResourceForDescribeAvailableResourceOutput) SetValue(v string) *SupportedResourceForDescribeAvailableResourceOutput
SetValue sets the Value field's value.
func (SupportedResourceForDescribeAvailableResourceOutput) String ¶
func (s SupportedResourceForDescribeAvailableResourceOutput) String() string
String returns the string representation
type VolumeForDescribeInstanceTypesOutput ¶
type VolumeForDescribeInstanceTypesOutput struct { SupportedVolumeTypes []*string `type:"list"` // contains filtered or unexported fields }
func (VolumeForDescribeInstanceTypesOutput) GoString ¶
func (s VolumeForDescribeInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*VolumeForDescribeInstanceTypesOutput) SetSupportedVolumeTypes ¶
func (s *VolumeForDescribeInstanceTypesOutput) SetSupportedVolumeTypes(v []*string) *VolumeForDescribeInstanceTypesOutput
SetSupportedVolumeTypes sets the SupportedVolumeTypes field's value.
func (VolumeForDescribeInstanceTypesOutput) String ¶
func (s VolumeForDescribeInstanceTypesOutput) String() 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 ¶
func (s *VolumeForRunInstancesInput) SetSize(v int32) *VolumeForRunInstancesInput
SetSize sets the Size field's value.
func (*VolumeForRunInstancesInput) SetVolumeType ¶
func (s *VolumeForRunInstancesInput) SetVolumeType(v string) *VolumeForRunInstancesInput
SetVolumeType sets the VolumeType field's value.
func (VolumeForRunInstancesInput) String ¶
func (s VolumeForRunInstancesInput) String() 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 ¶
func (s *ZoneForDescribeZonesOutput) SetZoneId(v string) *ZoneForDescribeZonesOutput
SetZoneId sets the ZoneId field's value.
func (ZoneForDescribeZonesOutput) String ¶
func (s ZoneForDescribeZonesOutput) String() string
String returns the string representation
Source Files ¶
- api_create_image.go
- api_delete_instance.go
- api_describe_available_resource.go
- api_describe_images.go
- api_describe_instance_types.go
- api_describe_instance_vnc_url.go
- api_describe_instances.go
- api_describe_user_data.go
- api_describe_zones.go
- api_modify_instance_attribute.go
- api_modify_instance_charge_type.go
- api_modify_instance_spec.go
- api_reboot_instance.go
- api_renew_instance.go
- api_replace_system_volume.go
- api_run_instances.go
- api_start_instance.go
- api_stop_instance.go
- interface_ecs.go
- service_ecs.go