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
- type AttachVolumeInput
- func (s AttachVolumeInput) GoString() string
- func (s *AttachVolumeInput) SetDeleteWithInstance(v bool) *AttachVolumeInput
- func (s *AttachVolumeInput) SetInstanceId(v string) *AttachVolumeInput
- func (s *AttachVolumeInput) SetVolumeId(v string) *AttachVolumeInput
- func (s AttachVolumeInput) String() string
- type AttachVolumeOutput
- type CreateVolumeInput
- func (s CreateVolumeInput) GoString() string
- func (s *CreateVolumeInput) SetClientToken(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetDescription(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetKind(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetProjectName(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetSize(v json.Number) *CreateVolumeInput
- func (s *CreateVolumeInput) SetVolumeChargeType(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetVolumeName(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetVolumeType(v string) *CreateVolumeInput
- func (s *CreateVolumeInput) SetZoneId(v string) *CreateVolumeInput
- func (s CreateVolumeInput) String() string
- type CreateVolumeOutput
- type DeleteVolumeInput
- type DeleteVolumeOutput
- type DescribeVolumesInput
- func (s DescribeVolumesInput) GoString() string
- func (s *DescribeVolumesInput) SetInstanceId(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetKind(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetPageNumber(v int32) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetPageSize(v int32) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetProjectName(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetVolumeName(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetVolumeStatus(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetVolumeType(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetZoneId(v string) *DescribeVolumesInput
- func (s DescribeVolumesInput) String() string
- type DescribeVolumesOutput
- func (s DescribeVolumesOutput) GoString() string
- func (s *DescribeVolumesOutput) SetPageNumber(v int32) *DescribeVolumesOutput
- func (s *DescribeVolumesOutput) SetPageSize(v int32) *DescribeVolumesOutput
- func (s *DescribeVolumesOutput) SetTotalCount(v int32) *DescribeVolumesOutput
- func (s *DescribeVolumesOutput) SetVolumes(v []*VolumeForDescribeVolumesOutput) *DescribeVolumesOutput
- func (s DescribeVolumesOutput) String() string
- type DetachVolumeInput
- type DetachVolumeOutput
- type ExtendVolumeInput
- func (s ExtendVolumeInput) GoString() string
- func (s *ExtendVolumeInput) SetClientToken(v string) *ExtendVolumeInput
- func (s *ExtendVolumeInput) SetNewSize(v json.Number) *ExtendVolumeInput
- func (s *ExtendVolumeInput) SetVolumeId(v string) *ExtendVolumeInput
- func (s ExtendVolumeInput) String() string
- type ExtendVolumeOutput
- type ModifyVolumeAttributeInput
- func (s ModifyVolumeAttributeInput) GoString() string
- func (s *ModifyVolumeAttributeInput) SetDeleteWithInstance(v bool) *ModifyVolumeAttributeInput
- func (s *ModifyVolumeAttributeInput) SetDescription(v string) *ModifyVolumeAttributeInput
- func (s *ModifyVolumeAttributeInput) SetVolumeId(v string) *ModifyVolumeAttributeInput
- func (s *ModifyVolumeAttributeInput) SetVolumeName(v string) *ModifyVolumeAttributeInput
- func (s ModifyVolumeAttributeInput) String() string
- type ModifyVolumeAttributeOutput
- type STORAGEEBS
- func (c *STORAGEEBS) AttachVolume(input *AttachVolumeInput) (*AttachVolumeOutput, error)
- func (c *STORAGEEBS) AttachVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) AttachVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) AttachVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Request, output *AttachVolumeOutput)
- func (c *STORAGEEBS) AttachVolumeWithContext(ctx volcengine.Context, input *AttachVolumeInput, opts ...request.Option) (*AttachVolumeOutput, error)
- func (c *STORAGEEBS) CreateVolume(input *CreateVolumeInput) (*CreateVolumeOutput, error)
- func (c *STORAGEEBS) CreateVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) CreateVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) CreateVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Request, output *CreateVolumeOutput)
- func (c *STORAGEEBS) CreateVolumeWithContext(ctx volcengine.Context, input *CreateVolumeInput, opts ...request.Option) (*CreateVolumeOutput, error)
- func (c *STORAGEEBS) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error)
- func (c *STORAGEEBS) DeleteVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) DeleteVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) DeleteVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput)
- func (c *STORAGEEBS) DeleteVolumeWithContext(ctx volcengine.Context, input *DeleteVolumeInput, opts ...request.Option) (*DeleteVolumeOutput, error)
- func (c *STORAGEEBS) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error)
- func (c *STORAGEEBS) DescribeVolumesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) DescribeVolumesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) DescribeVolumesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput)
- func (c *STORAGEEBS) DescribeVolumesWithContext(ctx volcengine.Context, input *DescribeVolumesInput, opts ...request.Option) (*DescribeVolumesOutput, error)
- func (c *STORAGEEBS) DetachVolume(input *DetachVolumeInput) (*DetachVolumeOutput, error)
- func (c *STORAGEEBS) DetachVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) DetachVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) DetachVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Request, output *DetachVolumeOutput)
- func (c *STORAGEEBS) DetachVolumeWithContext(ctx volcengine.Context, input *DetachVolumeInput, opts ...request.Option) (*DetachVolumeOutput, error)
- func (c *STORAGEEBS) ExtendVolume(input *ExtendVolumeInput) (*ExtendVolumeOutput, error)
- func (c *STORAGEEBS) ExtendVolumeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) ExtendVolumeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) ExtendVolumeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) ExtendVolumeRequest(input *ExtendVolumeInput) (req *request.Request, output *ExtendVolumeOutput)
- func (c *STORAGEEBS) ExtendVolumeWithContext(ctx volcengine.Context, input *ExtendVolumeInput, opts ...request.Option) (*ExtendVolumeOutput, error)
- func (c *STORAGEEBS) ModifyVolumeAttribute(input *ModifyVolumeAttributeInput) (*ModifyVolumeAttributeOutput, error)
- func (c *STORAGEEBS) ModifyVolumeAttributeCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *STORAGEEBS) ModifyVolumeAttributeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *STORAGEEBS) ModifyVolumeAttributeCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *STORAGEEBS) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) (req *request.Request, output *ModifyVolumeAttributeOutput)
- func (c *STORAGEEBS) ModifyVolumeAttributeWithContext(ctx volcengine.Context, input *ModifyVolumeAttributeInput, ...) (*ModifyVolumeAttributeOutput, error)
- type STORAGEEBSAPI
- type VolumeForDescribeVolumesOutput
- func (s VolumeForDescribeVolumesOutput) GoString() string
- func (s *VolumeForDescribeVolumesOutput) SetBillingType(v int32) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetCreatedAt(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetDeleteWithInstance(v bool) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetDescription(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetDeviceName(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetExpiredTime(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetImageId(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetInstanceId(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetKind(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetPayType(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetProjectName(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetRenewType(v int32) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetSize(v json.Number) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetStatus(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetTradeStatus(v int32) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetUpdatedAt(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetVolumeId(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetVolumeName(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetVolumeType(v string) *VolumeForDescribeVolumesOutput
- func (s *VolumeForDescribeVolumesOutput) SetZoneId(v string) *VolumeForDescribeVolumesOutput
- func (s VolumeForDescribeVolumesOutput) String() string
Constants ¶
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"` Kind *string `type:"string"` ProjectName *string `type:"string"` Size *json.Number `type:"json_number"` 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) SetKind ¶
func (s *CreateVolumeInput) SetKind(v string) *CreateVolumeInput
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 ¶
func (s *CreateVolumeInput) SetSize(v json.Number) *CreateVolumeInput
SetSize sets the Size 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 { VolumeId *string `type:"string"` // contains filtered or unexported fields }
func (DeleteVolumeInput) GoString ¶
func (s DeleteVolumeInput) GoString() string
GoString returns the string representation
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"` 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 ¶
func (s *DescribeVolumesInput) SetKind(v string) *DescribeVolumesInput
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) 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 ¶
func (s *DescribeVolumesInput) SetZoneId(v string) *DescribeVolumesInput
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 ¶
func (s *DescribeVolumesOutput) SetPageSize(v int32) *DescribeVolumesOutput
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 ¶
func (s *DescribeVolumesOutput) SetVolumes(v []*VolumeForDescribeVolumesOutput) *DescribeVolumesOutput
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 ¶
func (s *ModifyVolumeAttributeInput) SetDescription(v string) *ModifyVolumeAttributeInput
SetDescription sets the Description field's value.
func (*ModifyVolumeAttributeInput) SetVolumeId ¶
func (s *ModifyVolumeAttributeInput) SetVolumeId(v string) *ModifyVolumeAttributeInput
SetVolumeId sets the VolumeId field's value.
func (*ModifyVolumeAttributeInput) SetVolumeName ¶
func (s *ModifyVolumeAttributeInput) SetVolumeName(v string) *ModifyVolumeAttributeInput
SetVolumeName sets the VolumeName field's value.
func (ModifyVolumeAttributeInput) String ¶
func (s ModifyVolumeAttributeInput) String() 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 ¶
func (s ModifyVolumeAttributeOutput) String() string
String returns the string representation
type STORAGEEBS ¶
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 ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *STORAGEEBS
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.
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) }
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 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 ¶
func (s VolumeForDescribeVolumesOutput) GoString() string
GoString returns the string representation
func (*VolumeForDescribeVolumesOutput) SetBillingType ¶
func (s *VolumeForDescribeVolumesOutput) SetBillingType(v int32) *VolumeForDescribeVolumesOutput
SetBillingType sets the BillingType field's value.
func (*VolumeForDescribeVolumesOutput) SetCreatedAt ¶
func (s *VolumeForDescribeVolumesOutput) SetCreatedAt(v string) *VolumeForDescribeVolumesOutput
SetCreatedAt sets the CreatedAt field's value.
func (*VolumeForDescribeVolumesOutput) SetDeleteWithInstance ¶
func (s *VolumeForDescribeVolumesOutput) SetDeleteWithInstance(v bool) *VolumeForDescribeVolumesOutput
SetDeleteWithInstance sets the DeleteWithInstance field's value.
func (*VolumeForDescribeVolumesOutput) SetDescription ¶
func (s *VolumeForDescribeVolumesOutput) SetDescription(v string) *VolumeForDescribeVolumesOutput
SetDescription sets the Description field's value.
func (*VolumeForDescribeVolumesOutput) SetDeviceName ¶
func (s *VolumeForDescribeVolumesOutput) SetDeviceName(v string) *VolumeForDescribeVolumesOutput
SetDeviceName sets the DeviceName field's value.
func (*VolumeForDescribeVolumesOutput) SetExpiredTime ¶
func (s *VolumeForDescribeVolumesOutput) SetExpiredTime(v string) *VolumeForDescribeVolumesOutput
SetExpiredTime sets the ExpiredTime field's value.
func (*VolumeForDescribeVolumesOutput) SetImageId ¶
func (s *VolumeForDescribeVolumesOutput) SetImageId(v string) *VolumeForDescribeVolumesOutput
SetImageId sets the ImageId field's value.
func (*VolumeForDescribeVolumesOutput) SetInstanceId ¶
func (s *VolumeForDescribeVolumesOutput) SetInstanceId(v string) *VolumeForDescribeVolumesOutput
SetInstanceId sets the InstanceId field's value.
func (*VolumeForDescribeVolumesOutput) SetKind ¶
func (s *VolumeForDescribeVolumesOutput) SetKind(v string) *VolumeForDescribeVolumesOutput
SetKind sets the Kind field's value.
func (*VolumeForDescribeVolumesOutput) SetPayType ¶
func (s *VolumeForDescribeVolumesOutput) SetPayType(v string) *VolumeForDescribeVolumesOutput
SetPayType sets the PayType field's value.
func (*VolumeForDescribeVolumesOutput) SetProjectName ¶ added in v1.0.12
func (s *VolumeForDescribeVolumesOutput) SetProjectName(v string) *VolumeForDescribeVolumesOutput
SetProjectName sets the ProjectName field's value.
func (*VolumeForDescribeVolumesOutput) SetRenewType ¶
func (s *VolumeForDescribeVolumesOutput) SetRenewType(v int32) *VolumeForDescribeVolumesOutput
SetRenewType sets the RenewType field's value.
func (*VolumeForDescribeVolumesOutput) SetSize ¶
func (s *VolumeForDescribeVolumesOutput) SetSize(v json.Number) *VolumeForDescribeVolumesOutput
SetSize sets the Size field's value.
func (*VolumeForDescribeVolumesOutput) SetStatus ¶
func (s *VolumeForDescribeVolumesOutput) SetStatus(v string) *VolumeForDescribeVolumesOutput
SetStatus sets the Status field's value.
func (*VolumeForDescribeVolumesOutput) SetTradeStatus ¶
func (s *VolumeForDescribeVolumesOutput) SetTradeStatus(v int32) *VolumeForDescribeVolumesOutput
SetTradeStatus sets the TradeStatus field's value.
func (*VolumeForDescribeVolumesOutput) SetUpdatedAt ¶
func (s *VolumeForDescribeVolumesOutput) SetUpdatedAt(v string) *VolumeForDescribeVolumesOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (*VolumeForDescribeVolumesOutput) SetVolumeId ¶
func (s *VolumeForDescribeVolumesOutput) SetVolumeId(v string) *VolumeForDescribeVolumesOutput
SetVolumeId sets the VolumeId field's value.
func (*VolumeForDescribeVolumesOutput) SetVolumeName ¶
func (s *VolumeForDescribeVolumesOutput) SetVolumeName(v string) *VolumeForDescribeVolumesOutput
SetVolumeName sets the VolumeName field's value.
func (*VolumeForDescribeVolumesOutput) SetVolumeType ¶
func (s *VolumeForDescribeVolumesOutput) SetVolumeType(v string) *VolumeForDescribeVolumesOutput
SetVolumeType sets the VolumeType field's value.
func (*VolumeForDescribeVolumesOutput) SetZoneId ¶
func (s *VolumeForDescribeVolumesOutput) SetZoneId(v string) *VolumeForDescribeVolumesOutput
SetZoneId sets the ZoneId field's value.
func (VolumeForDescribeVolumesOutput) String ¶
func (s VolumeForDescribeVolumesOutput) String() string
String returns the string representation