Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
Types ¶
type PoolChangeClient ¶
func NewPoolChangeClientWithBaseURI ¶
func NewPoolChangeClientWithBaseURI(endpoint string) PoolChangeClient
func (PoolChangeClient) VolumesPoolChange ¶
func (c PoolChangeClient) VolumesPoolChange(ctx context.Context, id VolumeId, input PoolChangeRequest) (result VolumesPoolChangeOperationResponse, err error)
VolumesPoolChange ...
func (PoolChangeClient) VolumesPoolChangeThenPoll ¶
func (c PoolChangeClient) VolumesPoolChangeThenPoll(ctx context.Context, id VolumeId, input PoolChangeRequest) error
VolumesPoolChangeThenPoll performs VolumesPoolChange then polls until it's completed
type PoolChangeRequest ¶
type PoolChangeRequest struct {
NewPoolResourceId string `json:"newPoolResourceId"`
}
type VolumeId ¶
type VolumeId struct { SubscriptionId string ResourceGroupName string AccountName string PoolName string VolumeName string }
VolumeId is a struct representing the Resource ID for a Volume
func NewVolumeID ¶
func NewVolumeID(subscriptionId string, resourceGroupName string, accountName string, poolName string, volumeName string) VolumeId
NewVolumeID returns a new VolumeId struct
func ParseVolumeID ¶
ParseVolumeID parses 'input' into a VolumeId
func ParseVolumeIDInsensitively ¶
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) Segments ¶
func (id VolumeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume ID
type VolumesPoolChangeOperationResponse ¶
type VolumesPoolChangeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Click to show internal directories.
Click to hide internal directories.