storageebs

package
v1.0.70 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Overview

Package storageebsiface provides an interface to enable mocking the STORAGE_EBS service client for testing your code.

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

Index

Constants

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachVolumeInput

type AttachVolumeInput struct {
	DeleteWithInstance *bool `type:"boolean"`

	InstanceId *string `type:"string"`

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

func (AttachVolumeInput) GoString

func (s AttachVolumeInput) GoString() string

GoString returns the string representation

func (*AttachVolumeInput) SetDeleteWithInstance

func (s *AttachVolumeInput) SetDeleteWithInstance(v bool) *AttachVolumeInput

SetDeleteWithInstance sets the DeleteWithInstance field's value.

func (*AttachVolumeInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (*AttachVolumeInput) SetVolumeId

func (s *AttachVolumeInput) SetVolumeId(v string) *AttachVolumeInput

SetVolumeId sets the VolumeId field's value.

func (AttachVolumeInput) String

func (s AttachVolumeInput) String() string

String returns the string representation

type AttachVolumeOutput

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

func (AttachVolumeOutput) GoString

func (s AttachVolumeOutput) GoString() string

GoString returns the string representation

func (AttachVolumeOutput) String

func (s AttachVolumeOutput) String() string

String returns the string representation

type CreateVolumeInput

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

	Description *string `type:"string"`

	InstanceId *string `type:"string"`

	Kind *string `type:"string"`

	ProjectName *string `type:"string"`

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

	Tags []*TagForCreateVolumeInput `type:"list"`

	VolumeChargeType *string `type:"string"`

	VolumeName *string `type:"string"`

	VolumeType *string `type:"string"`

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

func (CreateVolumeInput) GoString

func (s CreateVolumeInput) GoString() string

GoString returns the string representation

func (*CreateVolumeInput) SetClientToken added in v1.0.7

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

SetClientToken sets the ClientToken field's value.

func (*CreateVolumeInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateVolumeInput) SetInstanceId added in v1.0.66

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

SetInstanceId sets the InstanceId field's value.

func (*CreateVolumeInput) SetKind

SetKind sets the Kind field's value.

func (*CreateVolumeInput) SetProjectName added in v1.0.12

func (s *CreateVolumeInput) SetProjectName(v string) *CreateVolumeInput

SetProjectName sets the ProjectName field's value.

func (*CreateVolumeInput) SetSize

SetSize sets the Size field's value.

func (*CreateVolumeInput) SetTags added in v1.0.58

SetTags sets the Tags field's value.

func (*CreateVolumeInput) SetVolumeChargeType

func (s *CreateVolumeInput) SetVolumeChargeType(v string) *CreateVolumeInput

SetVolumeChargeType sets the VolumeChargeType field's value.

func (*CreateVolumeInput) SetVolumeName

func (s *CreateVolumeInput) SetVolumeName(v string) *CreateVolumeInput

SetVolumeName sets the VolumeName field's value.

func (*CreateVolumeInput) SetVolumeType

func (s *CreateVolumeInput) SetVolumeType(v string) *CreateVolumeInput

SetVolumeType sets the VolumeType field's value.

func (*CreateVolumeInput) SetZoneId

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

SetZoneId sets the ZoneId field's value.

func (CreateVolumeInput) String

func (s CreateVolumeInput) String() string

String returns the string representation

type CreateVolumeOutput

type CreateVolumeOutput struct {
	Metadata *response.ResponseMetadata

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

func (CreateVolumeOutput) GoString

func (s CreateVolumeOutput) GoString() string

GoString returns the string representation

func (*CreateVolumeOutput) SetVolumeId

func (s *CreateVolumeOutput) SetVolumeId(v string) *CreateVolumeOutput

SetVolumeId sets the VolumeId field's value.

func (CreateVolumeOutput) String

func (s CreateVolumeOutput) String() string

String returns the string representation

type DeleteVolumeInput

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

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

func (DeleteVolumeInput) GoString

func (s DeleteVolumeInput) GoString() string

GoString returns the string representation

func (*DeleteVolumeInput) SetClientToken added in v1.0.58

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

SetClientToken sets the ClientToken field's value.

func (*DeleteVolumeInput) SetVolumeId

func (s *DeleteVolumeInput) SetVolumeId(v string) *DeleteVolumeInput

SetVolumeId sets the VolumeId field's value.

func (DeleteVolumeInput) String

func (s DeleteVolumeInput) String() string

String returns the string representation

type DeleteVolumeOutput

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

func (DeleteVolumeOutput) GoString

func (s DeleteVolumeOutput) GoString() string

GoString returns the string representation

func (DeleteVolumeOutput) String

func (s DeleteVolumeOutput) String() string

String returns the string representation

type DescribeVolumesInput

type DescribeVolumesInput struct {
	InstanceId *string `type:"string"`

	Kind *string `type:"string"`

	PageNumber *int32 `type:"int32"`

	PageSize *int32 `type:"int32"`

	ProjectName *string `type:"string"`

	TagFilters []*TagFilterForDescribeVolumesInput `type:"list"`

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

	VolumeName *string `type:"string"`

	VolumeStatus *string `type:"string"`

	VolumeType *string `type:"string"`

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

func (DescribeVolumesInput) GoString

func (s DescribeVolumesInput) GoString() string

GoString returns the string representation

func (*DescribeVolumesInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (*DescribeVolumesInput) SetKind

SetKind sets the Kind field's value.

func (*DescribeVolumesInput) SetPageNumber

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

SetPageNumber sets the PageNumber field's value.

func (*DescribeVolumesInput) SetPageSize

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

SetPageSize sets the PageSize field's value.

func (*DescribeVolumesInput) SetProjectName added in v1.0.12

func (s *DescribeVolumesInput) SetProjectName(v string) *DescribeVolumesInput

SetProjectName sets the ProjectName field's value.

func (*DescribeVolumesInput) SetTagFilters added in v1.0.58

SetTagFilters sets the TagFilters field's value.

func (*DescribeVolumesInput) SetVolumeIds

func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput

SetVolumeIds sets the VolumeIds field's value.

func (*DescribeVolumesInput) SetVolumeName

func (s *DescribeVolumesInput) SetVolumeName(v string) *DescribeVolumesInput

SetVolumeName sets the VolumeName field's value.

func (*DescribeVolumesInput) SetVolumeStatus

func (s *DescribeVolumesInput) SetVolumeStatus(v string) *DescribeVolumesInput

SetVolumeStatus sets the VolumeStatus field's value.

func (*DescribeVolumesInput) SetVolumeType

func (s *DescribeVolumesInput) SetVolumeType(v string) *DescribeVolumesInput

SetVolumeType sets the VolumeType field's value.

func (*DescribeVolumesInput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (DescribeVolumesInput) String

func (s DescribeVolumesInput) String() string

String returns the string representation

type DescribeVolumesOutput

type DescribeVolumesOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int32 `type:"int32"`

	PageSize *int32 `type:"int32"`

	TotalCount *int32 `type:"int32"`

	Volumes []*VolumeForDescribeVolumesOutput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVolumesOutput) GoString

func (s DescribeVolumesOutput) GoString() string

GoString returns the string representation

func (*DescribeVolumesOutput) SetPageNumber

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

SetPageNumber sets the PageNumber field's value.

func (*DescribeVolumesOutput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeVolumesOutput) SetTotalCount

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

SetTotalCount sets the TotalCount field's value.

func (*DescribeVolumesOutput) SetVolumes

SetVolumes sets the Volumes field's value.

func (DescribeVolumesOutput) String

func (s DescribeVolumesOutput) String() string

String returns the string representation

type DetachVolumeInput

type DetachVolumeInput struct {
	InstanceId *string `type:"string"`

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

func (DetachVolumeInput) GoString

func (s DetachVolumeInput) GoString() string

GoString returns the string representation

func (*DetachVolumeInput) SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

func (*DetachVolumeInput) SetVolumeId

func (s *DetachVolumeInput) SetVolumeId(v string) *DetachVolumeInput

SetVolumeId sets the VolumeId field's value.

func (DetachVolumeInput) String

func (s DetachVolumeInput) String() string

String returns the string representation

type DetachVolumeOutput

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

func (DetachVolumeOutput) GoString

func (s DetachVolumeOutput) GoString() string

GoString returns the string representation

func (DetachVolumeOutput) String

func (s DetachVolumeOutput) String() string

String returns the string representation

type ExtendVolumeInput

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

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

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

func (ExtendVolumeInput) GoString

func (s ExtendVolumeInput) GoString() string

GoString returns the string representation

func (*ExtendVolumeInput) SetClientToken added in v1.0.7

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

SetClientToken sets the ClientToken field's value.

func (*ExtendVolumeInput) SetNewSize

func (s *ExtendVolumeInput) SetNewSize(v json.Number) *ExtendVolumeInput

SetNewSize sets the NewSize field's value.

func (*ExtendVolumeInput) SetVolumeId

func (s *ExtendVolumeInput) SetVolumeId(v string) *ExtendVolumeInput

SetVolumeId sets the VolumeId field's value.

func (ExtendVolumeInput) String

func (s ExtendVolumeInput) String() string

String returns the string representation

type ExtendVolumeOutput

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

func (ExtendVolumeOutput) GoString

func (s ExtendVolumeOutput) GoString() string

GoString returns the string representation

func (ExtendVolumeOutput) String

func (s ExtendVolumeOutput) String() string

String returns the string representation

type ModifyVolumeAttributeInput

type ModifyVolumeAttributeInput struct {
	DeleteWithInstance *bool `type:"boolean"`

	Description *string `type:"string"`

	VolumeId *string `type:"string"`

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

func (ModifyVolumeAttributeInput) GoString

func (s ModifyVolumeAttributeInput) GoString() string

GoString returns the string representation

func (*ModifyVolumeAttributeInput) SetDeleteWithInstance

func (s *ModifyVolumeAttributeInput) SetDeleteWithInstance(v bool) *ModifyVolumeAttributeInput

SetDeleteWithInstance sets the DeleteWithInstance field's value.

func (*ModifyVolumeAttributeInput) SetDescription

SetDescription sets the Description field's value.

func (*ModifyVolumeAttributeInput) SetVolumeId

SetVolumeId sets the VolumeId field's value.

func (*ModifyVolumeAttributeInput) SetVolumeName

SetVolumeName sets the VolumeName field's value.

func (ModifyVolumeAttributeInput) String

String returns the string representation

type ModifyVolumeAttributeOutput

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

func (ModifyVolumeAttributeOutput) GoString

func (s ModifyVolumeAttributeOutput) GoString() string

GoString returns the string representation

func (ModifyVolumeAttributeOutput) String

String returns the string representation

type ModifyVolumeChargeTypeInput added in v1.0.58

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

	DiskChargeType *string `type:"string"`

	InstanceId *string `type:"string"`

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

func (ModifyVolumeChargeTypeInput) GoString added in v1.0.58

func (s ModifyVolumeChargeTypeInput) GoString() string

GoString returns the string representation

func (*ModifyVolumeChargeTypeInput) SetAutoPay added in v1.0.58

SetAutoPay sets the AutoPay field's value.

func (*ModifyVolumeChargeTypeInput) SetDiskChargeType added in v1.0.58

SetDiskChargeType sets the DiskChargeType field's value.

func (*ModifyVolumeChargeTypeInput) SetInstanceId added in v1.0.58

SetInstanceId sets the InstanceId field's value.

func (*ModifyVolumeChargeTypeInput) SetVolumeIds added in v1.0.58

SetVolumeIds sets the VolumeIds field's value.

func (ModifyVolumeChargeTypeInput) String added in v1.0.58

String returns the string representation

type ModifyVolumeChargeTypeOutput added in v1.0.58

type ModifyVolumeChargeTypeOutput struct {
	Metadata *response.ResponseMetadata

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

func (ModifyVolumeChargeTypeOutput) GoString added in v1.0.58

func (s ModifyVolumeChargeTypeOutput) GoString() string

GoString returns the string representation

func (*ModifyVolumeChargeTypeOutput) SetNumber added in v1.0.58

SetNumber sets the Number field's value.

func (ModifyVolumeChargeTypeOutput) String added in v1.0.58

String returns the string representation

type STORAGEEBS

type STORAGEEBS struct {
	*client.Client
}

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

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

func New

New create int can support ssl or region locate set

func (*STORAGEEBS) AttachVolume

func (c *STORAGEEBS) AttachVolume(input *AttachVolumeInput) (*AttachVolumeOutput, error)

AttachVolume API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation AttachVolume for usage and error information.

func (*STORAGEEBS) AttachVolumeCommon

func (c *STORAGEEBS) AttachVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

AttachVolumeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation AttachVolumeCommon for usage and error information.

func (*STORAGEEBS) AttachVolumeCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) AttachVolumeCommonWithContext

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

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

See AttachVolumeCommon 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 (*STORAGEEBS) AttachVolumeRequest

func (c *STORAGEEBS) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Request, output *AttachVolumeOutput)

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

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

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

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

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

func (*STORAGEEBS) AttachVolumeWithContext

func (c *STORAGEEBS) AttachVolumeWithContext(ctx volcengine.Context, input *AttachVolumeInput, opts ...request.Option) (*AttachVolumeOutput, error)

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

See AttachVolume 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 (*STORAGEEBS) CreateVolume

func (c *STORAGEEBS) CreateVolume(input *CreateVolumeInput) (*CreateVolumeOutput, error)

CreateVolume API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation CreateVolume for usage and error information.

func (*STORAGEEBS) CreateVolumeCommon

func (c *STORAGEEBS) CreateVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateVolumeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation CreateVolumeCommon for usage and error information.

func (*STORAGEEBS) CreateVolumeCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) CreateVolumeCommonWithContext

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

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

See CreateVolumeCommon 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 (*STORAGEEBS) CreateVolumeRequest

func (c *STORAGEEBS) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Request, output *CreateVolumeOutput)

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

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

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

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

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

func (*STORAGEEBS) CreateVolumeWithContext

func (c *STORAGEEBS) CreateVolumeWithContext(ctx volcengine.Context, input *CreateVolumeInput, opts ...request.Option) (*CreateVolumeOutput, error)

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

See CreateVolume 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 (*STORAGEEBS) DeleteVolume

func (c *STORAGEEBS) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error)

DeleteVolume API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation DeleteVolume for usage and error information.

func (*STORAGEEBS) DeleteVolumeCommon

func (c *STORAGEEBS) DeleteVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DeleteVolumeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation DeleteVolumeCommon for usage and error information.

func (*STORAGEEBS) DeleteVolumeCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) DeleteVolumeCommonWithContext

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

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

See DeleteVolumeCommon 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 (*STORAGEEBS) DeleteVolumeRequest

func (c *STORAGEEBS) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput)

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

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

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

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

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

func (*STORAGEEBS) DeleteVolumeWithContext

func (c *STORAGEEBS) DeleteVolumeWithContext(ctx volcengine.Context, input *DeleteVolumeInput, opts ...request.Option) (*DeleteVolumeOutput, error)

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

See DeleteVolume 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 (*STORAGEEBS) DescribeVolumes

func (c *STORAGEEBS) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error)

DescribeVolumes API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation DescribeVolumes for usage and error information.

func (*STORAGEEBS) DescribeVolumesCommon

func (c *STORAGEEBS) DescribeVolumesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeVolumesCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation DescribeVolumesCommon for usage and error information.

func (*STORAGEEBS) DescribeVolumesCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) DescribeVolumesCommonWithContext

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

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

See DescribeVolumesCommon 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 (*STORAGEEBS) DescribeVolumesRequest

func (c *STORAGEEBS) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput)

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

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

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

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

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

func (*STORAGEEBS) DescribeVolumesWithContext

func (c *STORAGEEBS) DescribeVolumesWithContext(ctx volcengine.Context, input *DescribeVolumesInput, opts ...request.Option) (*DescribeVolumesOutput, error)

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

See DescribeVolumes 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 (*STORAGEEBS) DetachVolume

func (c *STORAGEEBS) DetachVolume(input *DetachVolumeInput) (*DetachVolumeOutput, error)

DetachVolume API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation DetachVolume for usage and error information.

func (*STORAGEEBS) DetachVolumeCommon

func (c *STORAGEEBS) DetachVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DetachVolumeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation DetachVolumeCommon for usage and error information.

func (*STORAGEEBS) DetachVolumeCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) DetachVolumeCommonWithContext

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

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

See DetachVolumeCommon 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 (*STORAGEEBS) DetachVolumeRequest

func (c *STORAGEEBS) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Request, output *DetachVolumeOutput)

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

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

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

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

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

func (*STORAGEEBS) DetachVolumeWithContext

func (c *STORAGEEBS) DetachVolumeWithContext(ctx volcengine.Context, input *DetachVolumeInput, opts ...request.Option) (*DetachVolumeOutput, error)

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

See DetachVolume 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 (*STORAGEEBS) ExtendVolume

func (c *STORAGEEBS) ExtendVolume(input *ExtendVolumeInput) (*ExtendVolumeOutput, error)

ExtendVolume API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation ExtendVolume for usage and error information.

func (*STORAGEEBS) ExtendVolumeCommon

func (c *STORAGEEBS) ExtendVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ExtendVolumeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation ExtendVolumeCommon for usage and error information.

func (*STORAGEEBS) ExtendVolumeCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) ExtendVolumeCommonWithContext

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

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

See ExtendVolumeCommon 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 (*STORAGEEBS) ExtendVolumeRequest

func (c *STORAGEEBS) ExtendVolumeRequest(input *ExtendVolumeInput) (req *request.Request, output *ExtendVolumeOutput)

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

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

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

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

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

func (*STORAGEEBS) ExtendVolumeWithContext

func (c *STORAGEEBS) ExtendVolumeWithContext(ctx volcengine.Context, input *ExtendVolumeInput, opts ...request.Option) (*ExtendVolumeOutput, error)

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

See ExtendVolume 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 (*STORAGEEBS) ModifyVolumeAttribute

func (c *STORAGEEBS) ModifyVolumeAttribute(input *ModifyVolumeAttributeInput) (*ModifyVolumeAttributeOutput, error)

ModifyVolumeAttribute API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation ModifyVolumeAttribute for usage and error information.

func (*STORAGEEBS) ModifyVolumeAttributeCommon

func (c *STORAGEEBS) ModifyVolumeAttributeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyVolumeAttributeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation ModifyVolumeAttributeCommon for usage and error information.

func (*STORAGEEBS) ModifyVolumeAttributeCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) ModifyVolumeAttributeCommonWithContext

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

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

See ModifyVolumeAttributeCommon 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 (*STORAGEEBS) ModifyVolumeAttributeRequest

func (c *STORAGEEBS) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) (req *request.Request, output *ModifyVolumeAttributeOutput)

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

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

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

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

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

func (*STORAGEEBS) ModifyVolumeAttributeWithContext

func (c *STORAGEEBS) ModifyVolumeAttributeWithContext(ctx volcengine.Context, input *ModifyVolumeAttributeInput, opts ...request.Option) (*ModifyVolumeAttributeOutput, error)

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

See ModifyVolumeAttribute 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 (*STORAGEEBS) ModifyVolumeChargeType added in v1.0.58

func (c *STORAGEEBS) ModifyVolumeChargeType(input *ModifyVolumeChargeTypeInput) (*ModifyVolumeChargeTypeOutput, error)

ModifyVolumeChargeType API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation ModifyVolumeChargeType for usage and error information.

func (*STORAGEEBS) ModifyVolumeChargeTypeCommon added in v1.0.58

func (c *STORAGEEBS) ModifyVolumeChargeTypeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyVolumeChargeTypeCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation ModifyVolumeChargeTypeCommon for usage and error information.

func (*STORAGEEBS) ModifyVolumeChargeTypeCommonRequest added in v1.0.58

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

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

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

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

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

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

func (*STORAGEEBS) ModifyVolumeChargeTypeCommonWithContext added in v1.0.58

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

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

See ModifyVolumeChargeTypeCommon 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 (*STORAGEEBS) ModifyVolumeChargeTypeRequest added in v1.0.58

func (c *STORAGEEBS) ModifyVolumeChargeTypeRequest(input *ModifyVolumeChargeTypeInput) (req *request.Request, output *ModifyVolumeChargeTypeOutput)

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

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

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

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

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

func (*STORAGEEBS) ModifyVolumeChargeTypeWithContext added in v1.0.58

func (c *STORAGEEBS) ModifyVolumeChargeTypeWithContext(ctx volcengine.Context, input *ModifyVolumeChargeTypeInput, opts ...request.Option) (*ModifyVolumeChargeTypeOutput, error)

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

See ModifyVolumeChargeType 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 (*STORAGEEBS) TerminateVolumes added in v1.0.58

func (c *STORAGEEBS) TerminateVolumes(input *TerminateVolumesInput) (*TerminateVolumesOutput, error)

TerminateVolumes API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation TerminateVolumes for usage and error information.

func (*STORAGEEBS) TerminateVolumesCommon added in v1.0.58

func (c *STORAGEEBS) TerminateVolumesCommon(input *map[string]interface{}) (*map[string]interface{}, error)

TerminateVolumesCommon API operation for STORAGE_EBS.

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 STORAGE_EBS's API operation TerminateVolumesCommon for usage and error information.

func (*STORAGEEBS) TerminateVolumesCommonRequest added in v1.0.58

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

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

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

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

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

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

func (*STORAGEEBS) TerminateVolumesCommonWithContext added in v1.0.58

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

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

See TerminateVolumesCommon 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 (*STORAGEEBS) TerminateVolumesRequest added in v1.0.58

func (c *STORAGEEBS) TerminateVolumesRequest(input *TerminateVolumesInput) (req *request.Request, output *TerminateVolumesOutput)

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

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

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

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

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

func (*STORAGEEBS) TerminateVolumesWithContext added in v1.0.58

func (c *STORAGEEBS) TerminateVolumesWithContext(ctx volcengine.Context, input *TerminateVolumesInput, opts ...request.Option) (*TerminateVolumesOutput, error)

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

See TerminateVolumes 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 STORAGEEBSAPI

type STORAGEEBSAPI interface {
	AttachVolumeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	AttachVolumeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	AttachVolumeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	AttachVolume(*AttachVolumeInput) (*AttachVolumeOutput, error)
	AttachVolumeWithContext(volcengine.Context, *AttachVolumeInput, ...request.Option) (*AttachVolumeOutput, error)
	AttachVolumeRequest(*AttachVolumeInput) (*request.Request, *AttachVolumeOutput)

	CreateVolumeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateVolumeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateVolumeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateVolume(*CreateVolumeInput) (*CreateVolumeOutput, error)
	CreateVolumeWithContext(volcengine.Context, *CreateVolumeInput, ...request.Option) (*CreateVolumeOutput, error)
	CreateVolumeRequest(*CreateVolumeInput) (*request.Request, *CreateVolumeOutput)

	DeleteVolumeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteVolumeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteVolumeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteVolume(*DeleteVolumeInput) (*DeleteVolumeOutput, error)
	DeleteVolumeWithContext(volcengine.Context, *DeleteVolumeInput, ...request.Option) (*DeleteVolumeOutput, error)
	DeleteVolumeRequest(*DeleteVolumeInput) (*request.Request, *DeleteVolumeOutput)

	DescribeVolumesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeVolumesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeVolumesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeVolumes(*DescribeVolumesInput) (*DescribeVolumesOutput, error)
	DescribeVolumesWithContext(volcengine.Context, *DescribeVolumesInput, ...request.Option) (*DescribeVolumesOutput, error)
	DescribeVolumesRequest(*DescribeVolumesInput) (*request.Request, *DescribeVolumesOutput)

	DetachVolumeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DetachVolumeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DetachVolumeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DetachVolume(*DetachVolumeInput) (*DetachVolumeOutput, error)
	DetachVolumeWithContext(volcengine.Context, *DetachVolumeInput, ...request.Option) (*DetachVolumeOutput, error)
	DetachVolumeRequest(*DetachVolumeInput) (*request.Request, *DetachVolumeOutput)

	ExtendVolumeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ExtendVolumeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ExtendVolumeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ExtendVolume(*ExtendVolumeInput) (*ExtendVolumeOutput, error)
	ExtendVolumeWithContext(volcengine.Context, *ExtendVolumeInput, ...request.Option) (*ExtendVolumeOutput, error)
	ExtendVolumeRequest(*ExtendVolumeInput) (*request.Request, *ExtendVolumeOutput)

	ModifyVolumeAttributeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyVolumeAttributeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyVolumeAttributeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyVolumeAttribute(*ModifyVolumeAttributeInput) (*ModifyVolumeAttributeOutput, error)
	ModifyVolumeAttributeWithContext(volcengine.Context, *ModifyVolumeAttributeInput, ...request.Option) (*ModifyVolumeAttributeOutput, error)
	ModifyVolumeAttributeRequest(*ModifyVolumeAttributeInput) (*request.Request, *ModifyVolumeAttributeOutput)

	ModifyVolumeChargeTypeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyVolumeChargeTypeCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyVolumeChargeTypeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyVolumeChargeType(*ModifyVolumeChargeTypeInput) (*ModifyVolumeChargeTypeOutput, error)
	ModifyVolumeChargeTypeWithContext(volcengine.Context, *ModifyVolumeChargeTypeInput, ...request.Option) (*ModifyVolumeChargeTypeOutput, error)
	ModifyVolumeChargeTypeRequest(*ModifyVolumeChargeTypeInput) (*request.Request, *ModifyVolumeChargeTypeOutput)

	TerminateVolumesCommon(*map[string]interface{}) (*map[string]interface{}, error)
	TerminateVolumesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	TerminateVolumesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	TerminateVolumes(*TerminateVolumesInput) (*TerminateVolumesOutput, error)
	TerminateVolumesWithContext(volcengine.Context, *TerminateVolumesInput, ...request.Option) (*TerminateVolumesOutput, error)
	TerminateVolumesRequest(*TerminateVolumesInput) (*request.Request, *TerminateVolumesOutput)
}

STORAGEEBSAPI provides an interface to enable mocking the storageebs.STORAGEEBS service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// STORAGE_EBS.
func myFunc(svc STORAGEEBSAPI) bool {
    // Make svc.AttachVolume request
}

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

    myFunc(svc)
}

type TagFilterForDescribeVolumesInput added in v1.0.58

type TagFilterForDescribeVolumesInput struct {
	Key *string `type:"string"`

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

func (TagFilterForDescribeVolumesInput) GoString added in v1.0.58

GoString returns the string representation

func (*TagFilterForDescribeVolumesInput) SetKey added in v1.0.58

SetKey sets the Key field's value.

func (*TagFilterForDescribeVolumesInput) SetValues added in v1.0.58

SetValues sets the Values field's value.

func (TagFilterForDescribeVolumesInput) String added in v1.0.58

String returns the string representation

type TagForCreateVolumeInput added in v1.0.58

type TagForCreateVolumeInput struct {
	Key *string `type:"string"`

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

func (TagForCreateVolumeInput) GoString added in v1.0.58

func (s TagForCreateVolumeInput) GoString() string

GoString returns the string representation

func (*TagForCreateVolumeInput) SetKey added in v1.0.58

SetKey sets the Key field's value.

func (*TagForCreateVolumeInput) SetValue added in v1.0.58

SetValue sets the Value field's value.

func (TagForCreateVolumeInput) String added in v1.0.58

func (s TagForCreateVolumeInput) String() string

String returns the string representation

type TerminateVolumesInput added in v1.0.58

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

func (TerminateVolumesInput) GoString added in v1.0.58

func (s TerminateVolumesInput) GoString() string

GoString returns the string representation

func (*TerminateVolumesInput) SetVolumeIds added in v1.0.58

func (s *TerminateVolumesInput) SetVolumeIds(v []*string) *TerminateVolumesInput

SetVolumeIds sets the VolumeIds field's value.

func (TerminateVolumesInput) String added in v1.0.58

func (s TerminateVolumesInput) String() string

String returns the string representation

type TerminateVolumesOutput added in v1.0.58

type TerminateVolumesOutput struct {
	Metadata *response.ResponseMetadata

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

func (TerminateVolumesOutput) GoString added in v1.0.58

func (s TerminateVolumesOutput) GoString() string

GoString returns the string representation

func (*TerminateVolumesOutput) SetNumber added in v1.0.58

SetNumber sets the Number field's value.

func (TerminateVolumesOutput) String added in v1.0.58

func (s TerminateVolumesOutput) String() string

String returns the string representation

type VolumeForDescribeVolumesOutput

type VolumeForDescribeVolumesOutput struct {
	BillingType *int32 `type:"int32"`

	CreatedAt *string `type:"string"`

	DeleteWithInstance *bool `type:"boolean"`

	Description *string `type:"string"`

	DeviceName *string `type:"string"`

	ExpiredTime *string `type:"string"`

	ImageId *string `type:"string"`

	InstanceId *string `type:"string"`

	Kind *string `type:"string"`

	PayType *string `type:"string"`

	ProjectName *string `type:"string"`

	RenewType *int32 `type:"int32"`

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

	Status *string `type:"string"`

	TradeStatus *int32 `type:"int32"`

	UpdatedAt *string `type:"string"`

	VolumeId *string `type:"string"`

	VolumeName *string `type:"string"`

	VolumeType *string `type:"string"`

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

func (VolumeForDescribeVolumesOutput) GoString

GoString returns the string representation

func (*VolumeForDescribeVolumesOutput) SetBillingType

SetBillingType sets the BillingType field's value.

func (*VolumeForDescribeVolumesOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*VolumeForDescribeVolumesOutput) SetDeleteWithInstance

SetDeleteWithInstance sets the DeleteWithInstance field's value.

func (*VolumeForDescribeVolumesOutput) SetDescription

SetDescription sets the Description field's value.

func (*VolumeForDescribeVolumesOutput) SetDeviceName

SetDeviceName sets the DeviceName field's value.

func (*VolumeForDescribeVolumesOutput) SetExpiredTime

SetExpiredTime sets the ExpiredTime field's value.

func (*VolumeForDescribeVolumesOutput) SetImageId

SetImageId sets the ImageId field's value.

func (*VolumeForDescribeVolumesOutput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*VolumeForDescribeVolumesOutput) SetKind

SetKind sets the Kind field's value.

func (*VolumeForDescribeVolumesOutput) SetPayType

SetPayType sets the PayType field's value.

func (*VolumeForDescribeVolumesOutput) SetProjectName added in v1.0.12

SetProjectName sets the ProjectName field's value.

func (*VolumeForDescribeVolumesOutput) SetRenewType

SetRenewType sets the RenewType field's value.

func (*VolumeForDescribeVolumesOutput) SetSize

SetSize sets the Size field's value.

func (*VolumeForDescribeVolumesOutput) SetStatus

SetStatus sets the Status field's value.

func (*VolumeForDescribeVolumesOutput) SetTradeStatus

SetTradeStatus sets the TradeStatus field's value.

func (*VolumeForDescribeVolumesOutput) SetUpdatedAt

SetUpdatedAt sets the UpdatedAt field's value.

func (*VolumeForDescribeVolumesOutput) SetVolumeId

SetVolumeId sets the VolumeId field's value.

func (*VolumeForDescribeVolumesOutput) SetVolumeName

SetVolumeName sets the VolumeName field's value.

func (*VolumeForDescribeVolumesOutput) SetVolumeType

SetVolumeType sets the VolumeType field's value.

func (*VolumeForDescribeVolumesOutput) SetZoneId

SetZoneId sets the ZoneId field's value.

func (VolumeForDescribeVolumesOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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