storageebs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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 CreateTagsInput

type CreateTagsInput struct {
	ResourceIds []*string `type:"list"`

	ResourceType *string `type:"string"`

	Tags []*TagForCreateTagsInput `type:"list"`
	// contains filtered or unexported fields
}

func (CreateTagsInput) GoString

func (s CreateTagsInput) GoString() string

GoString returns the string representation

func (*CreateTagsInput) SetResourceIds

func (s *CreateTagsInput) SetResourceIds(v []*string) *CreateTagsInput

SetResourceIds sets the ResourceIds field's value.

func (*CreateTagsInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*CreateTagsInput) SetTags

SetTags sets the Tags field's value.

func (CreateTagsInput) String

func (s CreateTagsInput) String() string

String returns the string representation

type CreateTagsOutput

type CreateTagsOutput struct {
	Metadata *response.ResponseMetadata

	OperationDetails []*OperationDetailForCreateTagsOutput `type:"list"`
	// contains filtered or unexported fields
}

func (CreateTagsOutput) GoString

func (s CreateTagsOutput) GoString() string

GoString returns the string representation

func (*CreateTagsOutput) SetOperationDetails

SetOperationDetails sets the OperationDetails field's value.

func (CreateTagsOutput) String

func (s CreateTagsOutput) 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

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

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

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

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 DeleteTagsInput

type DeleteTagsInput struct {
	ResourceIds []*string `type:"list"`

	ResourceType *string `type:"string"`

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

func (DeleteTagsInput) GoString

func (s DeleteTagsInput) GoString() string

GoString returns the string representation

func (*DeleteTagsInput) SetResourceIds

func (s *DeleteTagsInput) SetResourceIds(v []*string) *DeleteTagsInput

SetResourceIds sets the ResourceIds field's value.

func (*DeleteTagsInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*DeleteTagsInput) SetTagKeys

func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput

SetTagKeys sets the TagKeys field's value.

func (DeleteTagsInput) String

func (s DeleteTagsInput) String() string

String returns the string representation

type DeleteTagsOutput

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

func (DeleteTagsOutput) GoString

func (s DeleteTagsOutput) GoString() string

GoString returns the string representation

func (DeleteTagsOutput) String

func (s DeleteTagsOutput) 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

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 DescribeTagsInput

type DescribeTagsInput struct {
	PageNumber *int32 `type:"int32"`

	PageSize *int32 `type:"int32"`

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

	ResourceType *string `type:"string"`

	SysTagVisible *bool `type:"boolean"`

	TagFilters []*TagFilterForDescribeTagsInput `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTagsInput) GoString

func (s DescribeTagsInput) GoString() string

GoString returns the string representation

func (*DescribeTagsInput) SetPageNumber

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

SetPageNumber sets the PageNumber field's value.

func (*DescribeTagsInput) SetPageSize

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

SetPageSize sets the PageSize field's value.

func (*DescribeTagsInput) SetResourceIds

func (s *DescribeTagsInput) SetResourceIds(v []*string) *DescribeTagsInput

SetResourceIds sets the ResourceIds field's value.

func (*DescribeTagsInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*DescribeTagsInput) SetSysTagVisible

func (s *DescribeTagsInput) SetSysTagVisible(v bool) *DescribeTagsInput

SetSysTagVisible sets the SysTagVisible field's value.

func (*DescribeTagsInput) SetTagFilters

SetTagFilters sets the TagFilters field's value.

func (DescribeTagsInput) String

func (s DescribeTagsInput) String() string

String returns the string representation

type DescribeTagsOutput

type DescribeTagsOutput struct {
	Metadata *response.ResponseMetadata

	PageNumber *int32 `type:"int32"`

	PageSize *int32 `type:"int32"`

	TagResources []*TagResourceForDescribeTagsOutput `type:"list"`

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

func (DescribeTagsOutput) GoString

func (s DescribeTagsOutput) GoString() string

GoString returns the string representation

func (*DescribeTagsOutput) SetPageNumber

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

SetPageNumber sets the PageNumber field's value.

func (*DescribeTagsOutput) SetPageSize

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

SetPageSize sets the PageSize field's value.

func (*DescribeTagsOutput) SetTagResources

SetTagResources sets the TagResources field's value.

func (*DescribeTagsOutput) SetTotalCount

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

SetTotalCount sets the TotalCount field's value.

func (DescribeTagsOutput) String

func (s DescribeTagsOutput) 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

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

SetProjectName sets the ProjectName field's value.

func (*DescribeVolumesInput) SetTagFilters

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 ErrorForCreateTagsOutput

type ErrorForCreateTagsOutput struct {
	Code *string `type:"string"`

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

func (ErrorForCreateTagsOutput) GoString

func (s ErrorForCreateTagsOutput) GoString() string

GoString returns the string representation

func (*ErrorForCreateTagsOutput) SetCode

SetCode sets the Code field's value.

func (*ErrorForCreateTagsOutput) SetMessage

SetMessage sets the Message field's value.

func (ErrorForCreateTagsOutput) String

func (s ErrorForCreateTagsOutput) 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

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

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

func (s ModifyVolumeChargeTypeInput) GoString() string

GoString returns the string representation

func (*ModifyVolumeChargeTypeInput) SetAutoPay

SetAutoPay sets the AutoPay field's value.

func (*ModifyVolumeChargeTypeInput) SetDiskChargeType

SetDiskChargeType sets the DiskChargeType field's value.

func (*ModifyVolumeChargeTypeInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*ModifyVolumeChargeTypeInput) SetVolumeIds

SetVolumeIds sets the VolumeIds field's value.

func (ModifyVolumeChargeTypeInput) String

String returns the string representation

type ModifyVolumeChargeTypeOutput

type ModifyVolumeChargeTypeOutput struct {
	Metadata *response.ResponseMetadata

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

func (ModifyVolumeChargeTypeOutput) GoString

func (s ModifyVolumeChargeTypeOutput) GoString() string

GoString returns the string representation

func (*ModifyVolumeChargeTypeOutput) SetNumber

SetNumber sets the Number field's value.

func (ModifyVolumeChargeTypeOutput) String

String returns the string representation

type OperationDetailForCreateTagsOutput

type OperationDetailForCreateTagsOutput struct {
	Error *ErrorForCreateTagsOutput `type:"structure"`

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

func (OperationDetailForCreateTagsOutput) GoString

GoString returns the string representation

func (*OperationDetailForCreateTagsOutput) SetError

SetError sets the Error field's value.

func (*OperationDetailForCreateTagsOutput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (OperationDetailForCreateTagsOutput) String

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) CreateTags

func (c *STORAGEEBS) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error)

CreateTags 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 CreateTags for usage and error information.

func (*STORAGEEBS) CreateTagsCommon

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

CreateTagsCommon 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 CreateTagsCommon for usage and error information.

func (*STORAGEEBS) CreateTagsCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) CreateTagsCommonWithContext

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

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

See CreateTagsCommon 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) CreateTagsRequest

func (c *STORAGEEBS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput)

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

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

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

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

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

func (*STORAGEEBS) CreateTagsWithContext

func (c *STORAGEEBS) CreateTagsWithContext(ctx volcengine.Context, input *CreateTagsInput, opts ...request.Option) (*CreateTagsOutput, error)

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

See CreateTags 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) DeleteTags

func (c *STORAGEEBS) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error)

DeleteTags 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 DeleteTags for usage and error information.

func (*STORAGEEBS) DeleteTagsCommon

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

DeleteTagsCommon 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 DeleteTagsCommon for usage and error information.

func (*STORAGEEBS) DeleteTagsCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) DeleteTagsCommonWithContext

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

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

See DeleteTagsCommon 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) DeleteTagsRequest

func (c *STORAGEEBS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput)

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

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

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

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

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

func (*STORAGEEBS) DeleteTagsWithContext

func (c *STORAGEEBS) DeleteTagsWithContext(ctx volcengine.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error)

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

See DeleteTags 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) DescribeTags

func (c *STORAGEEBS) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error)

DescribeTags 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 DescribeTags for usage and error information.

func (*STORAGEEBS) DescribeTagsCommon

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

DescribeTagsCommon 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 DescribeTagsCommon for usage and error information.

func (*STORAGEEBS) DescribeTagsCommonRequest

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

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

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

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

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

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

func (*STORAGEEBS) DescribeTagsCommonWithContext

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

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

See DescribeTagsCommon 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) DescribeTagsRequest

func (c *STORAGEEBS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput)

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

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

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

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

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

func (*STORAGEEBS) DescribeTagsWithContext

func (c *STORAGEEBS) DescribeTagsWithContext(ctx volcengine.Context, input *DescribeTagsInput, opts ...request.Option) (*DescribeTagsOutput, error)

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

See DescribeTags 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

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

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

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

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

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

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

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

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

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

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

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

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)

	CreateTagsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateTagsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateTagsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateTags(*CreateTagsInput) (*CreateTagsOutput, error)
	CreateTagsWithContext(volcengine.Context, *CreateTagsInput, ...request.Option) (*CreateTagsOutput, error)
	CreateTagsRequest(*CreateTagsInput) (*request.Request, *CreateTagsOutput)

	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)

	DeleteTagsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DeleteTagsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DeleteTagsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DeleteTags(*DeleteTagsInput) (*DeleteTagsOutput, error)
	DeleteTagsWithContext(volcengine.Context, *DeleteTagsInput, ...request.Option) (*DeleteTagsOutput, error)
	DeleteTagsRequest(*DeleteTagsInput) (*request.Request, *DeleteTagsOutput)

	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)

	DescribeTagsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeTagsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeTagsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeTags(*DescribeTagsInput) (*DescribeTagsOutput, error)
	DescribeTagsWithContext(volcengine.Context, *DescribeTagsInput, ...request.Option) (*DescribeTagsOutput, error)
	DescribeTagsRequest(*DescribeTagsInput) (*request.Request, *DescribeTagsOutput)

	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 TagFilterForDescribeTagsInput

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

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

func (TagFilterForDescribeTagsInput) GoString

GoString returns the string representation

func (*TagFilterForDescribeTagsInput) SetKey

SetKey sets the Key field's value.

func (*TagFilterForDescribeTagsInput) SetValues

SetValues sets the Values field's value.

func (TagFilterForDescribeTagsInput) String

String returns the string representation

type TagFilterForDescribeVolumesInput

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

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

func (TagFilterForDescribeVolumesInput) GoString

GoString returns the string representation

func (*TagFilterForDescribeVolumesInput) SetKey

SetKey sets the Key field's value.

func (*TagFilterForDescribeVolumesInput) SetValues

SetValues sets the Values field's value.

func (TagFilterForDescribeVolumesInput) String

String returns the string representation

type TagForCreateTagsInput

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

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

func (TagForCreateTagsInput) GoString

func (s TagForCreateTagsInput) GoString() string

GoString returns the string representation

func (*TagForCreateTagsInput) SetKey

SetKey sets the Key field's value.

func (*TagForCreateTagsInput) SetValue

SetValue sets the Value field's value.

func (TagForCreateTagsInput) String

func (s TagForCreateTagsInput) String() string

String returns the string representation

type TagForCreateVolumeInput

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

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

func (TagForCreateVolumeInput) GoString

func (s TagForCreateVolumeInput) GoString() string

GoString returns the string representation

func (*TagForCreateVolumeInput) SetKey

SetKey sets the Key field's value.

func (*TagForCreateVolumeInput) SetValue

SetValue sets the Value field's value.

func (TagForCreateVolumeInput) String

func (s TagForCreateVolumeInput) String() string

String returns the string representation

type TagForDescribeVolumesOutput

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

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

func (TagForDescribeVolumesOutput) GoString

func (s TagForDescribeVolumesOutput) GoString() string

GoString returns the string representation

func (*TagForDescribeVolumesOutput) SetKey

SetKey sets the Key field's value.

func (*TagForDescribeVolumesOutput) SetValue

SetValue sets the Value field's value.

func (TagForDescribeVolumesOutput) String

String returns the string representation

type TagResourceForDescribeTagsOutput

type TagResourceForDescribeTagsOutput struct {
	ResourceId *string `type:"string"`

	ResourceType *string `type:"string"`

	TagKey *string `type:"string"`

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

func (TagResourceForDescribeTagsOutput) GoString

GoString returns the string representation

func (*TagResourceForDescribeTagsOutput) SetResourceId

SetResourceId sets the ResourceId field's value.

func (*TagResourceForDescribeTagsOutput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*TagResourceForDescribeTagsOutput) SetTagKey

SetTagKey sets the TagKey field's value.

func (*TagResourceForDescribeTagsOutput) SetTagValue

SetTagValue sets the TagValue field's value.

func (TagResourceForDescribeTagsOutput) String

String returns the string representation

type TerminateVolumesInput

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

func (TerminateVolumesInput) GoString

func (s TerminateVolumesInput) GoString() string

GoString returns the string representation

func (*TerminateVolumesInput) SetVolumeIds

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

SetVolumeIds sets the VolumeIds field's value.

func (TerminateVolumesInput) String

func (s TerminateVolumesInput) String() string

String returns the string representation

type TerminateVolumesOutput

type TerminateVolumesOutput struct {
	Metadata *response.ResponseMetadata

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

func (TerminateVolumesOutput) GoString

func (s TerminateVolumesOutput) GoString() string

GoString returns the string representation

func (*TerminateVolumesOutput) SetNumber

SetNumber sets the Number field's value.

func (TerminateVolumesOutput) String

func (s TerminateVolumesOutput) String() string

String returns the string representation

type VolumeForDescribeVolumesOutput

type VolumeForDescribeVolumesOutput struct {
	AutoSnapshotPolicyId *string `type:"string"`

	AutoSnapshotPolicyName *string `type:"string"`

	BillingType *int32 `type:"int32"`

	CreatedAt *string `type:"string"`

	DeleteWithInstance *bool `type:"boolean"`

	Description *string `type:"string"`

	DeviceName *string `type:"string"`

	ErrorDetail *string `type:"string"`

	ExpiredTime *string `type:"string"`

	ImageId *string `type:"string"`

	InstanceId *string `type:"string"`

	Kind *string `type:"string"`

	OverdueReclaimTime *string `type:"string"`

	OverdueTime *string `type:"string"`

	PayType *string `type:"string"`

	ProjectName *string `type:"string"`

	RenewType *int32 `type:"int32"`

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

	SnapshotCount *int32 `type:"int32"`

	SourceSnapshotId *string `type:"string"`

	Status *string `type:"string"`

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

	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) SetAutoSnapshotPolicyId

SetAutoSnapshotPolicyId sets the AutoSnapshotPolicyId field's value.

func (*VolumeForDescribeVolumesOutput) SetAutoSnapshotPolicyName

func (s *VolumeForDescribeVolumesOutput) SetAutoSnapshotPolicyName(v string) *VolumeForDescribeVolumesOutput

SetAutoSnapshotPolicyName sets the AutoSnapshotPolicyName field's value.

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) SetErrorDetail

SetErrorDetail sets the ErrorDetail 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) SetOverdueReclaimTime

SetOverdueReclaimTime sets the OverdueReclaimTime field's value.

func (*VolumeForDescribeVolumesOutput) SetOverdueTime

SetOverdueTime sets the OverdueTime field's value.

func (*VolumeForDescribeVolumesOutput) SetPayType

SetPayType sets the PayType field's value.

func (*VolumeForDescribeVolumesOutput) SetProjectName

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) SetSnapshotCount

SetSnapshotCount sets the SnapshotCount field's value.

func (*VolumeForDescribeVolumesOutput) SetSourceSnapshotId

SetSourceSnapshotId sets the SourceSnapshotId field's value.

func (*VolumeForDescribeVolumesOutput) SetStatus

SetStatus sets the Status field's value.

func (*VolumeForDescribeVolumesOutput) SetTags

SetTags sets the Tags 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