volumesrelocation

package
v0.20230714.1170806 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateVolumeID

func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)

ValidateVolumeID checks that 'input' can be parsed as a Volume ID

Types

type VolumeId

type VolumeId struct {
	SubscriptionId    string
	ResourceGroupName string
	NetAppAccountName string
	CapacityPoolName  string
	VolumeName        string
}

VolumeId is a struct representing the Resource ID for a Volume

func NewVolumeID

func NewVolumeID(subscriptionId string, resourceGroupName string, netAppAccountName string, capacityPoolName string, volumeName string) VolumeId

NewVolumeID returns a new VolumeId struct

func ParseVolumeID

func ParseVolumeID(input string) (*VolumeId, error)

ParseVolumeID parses 'input' into a VolumeId

func ParseVolumeIDInsensitively

func ParseVolumeIDInsensitively(input string) (*VolumeId, error)

ParseVolumeIDInsensitively parses 'input' case-insensitively into a VolumeId note: this method should only be used for API response data and not user input

func (VolumeId) ID

func (id VolumeId) ID() string

ID returns the formatted Volume ID

func (VolumeId) Segments

func (id VolumeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Volume ID

func (VolumeId) String

func (id VolumeId) String() string

String returns a human-readable description of this Volume ID

type VolumesFinalizeRelocationOperationResponse

type VolumesFinalizeRelocationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type VolumesRelocateOperationResponse

type VolumesRelocateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type VolumesRelocationClient

type VolumesRelocationClient struct {
	Client *resourcemanager.Client
}

func NewVolumesRelocationClientWithBaseURI

func NewVolumesRelocationClientWithBaseURI(api environments.Api) (*VolumesRelocationClient, error)

func (VolumesRelocationClient) VolumesFinalizeRelocation

func (c VolumesRelocationClient) VolumesFinalizeRelocation(ctx context.Context, id VolumeId) (result VolumesFinalizeRelocationOperationResponse, err error)

VolumesFinalizeRelocation ...

func (VolumesRelocationClient) VolumesFinalizeRelocationThenPoll

func (c VolumesRelocationClient) VolumesFinalizeRelocationThenPoll(ctx context.Context, id VolumeId) error

VolumesFinalizeRelocationThenPoll performs VolumesFinalizeRelocation then polls until it's completed

func (VolumesRelocationClient) VolumesRelocate

func (c VolumesRelocationClient) VolumesRelocate(ctx context.Context, id VolumeId) (result VolumesRelocateOperationResponse, err error)

VolumesRelocate ...

func (VolumesRelocationClient) VolumesRelocateThenPoll

func (c VolumesRelocationClient) VolumesRelocateThenPoll(ctx context.Context, id VolumeId) error

VolumesRelocateThenPoll performs VolumesRelocate then polls until it's completed

func (VolumesRelocationClient) VolumesRevertRelocation

func (c VolumesRelocationClient) VolumesRevertRelocation(ctx context.Context, id VolumeId) (result VolumesRevertRelocationOperationResponse, err error)

VolumesRevertRelocation ...

func (VolumesRelocationClient) VolumesRevertRelocationThenPoll

func (c VolumesRelocationClient) VolumesRevertRelocationThenPoll(ctx context.Context, id VolumeId) error

VolumesRevertRelocationThenPoll performs VolumesRevertRelocation then polls until it's completed

type VolumesRevertRelocationOperationResponse

type VolumesRevertRelocationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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