Documentation ¶
Index ¶
- func PossibleValuesForMirrorState() []string
- func PossibleValuesForRelationshipStatus() []string
- func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)
- type BackupsGetVolumeRestoreStatusOperationResponse
- type MirrorState
- type RelationshipStatus
- type RestoreClient
- type RestoreStatus
- type VolumeId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMirrorState ¶
func PossibleValuesForMirrorState() []string
func PossibleValuesForRelationshipStatus ¶
func PossibleValuesForRelationshipStatus() []string
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
Types ¶
type BackupsGetVolumeRestoreStatusOperationResponse ¶
type BackupsGetVolumeRestoreStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RestoreStatus }
type MirrorState ¶
type MirrorState string
const ( MirrorStateBroken MirrorState = "Broken" MirrorStateMirrored MirrorState = "Mirrored" MirrorStateUninitialized MirrorState = "Uninitialized" )
func (*MirrorState) UnmarshalJSON ¶
func (s *MirrorState) UnmarshalJSON(bytes []byte) error
type RelationshipStatus ¶
type RelationshipStatus string
const ( RelationshipStatusIdle RelationshipStatus = "Idle" RelationshipStatusTransferring RelationshipStatus = "Transferring" )
func (*RelationshipStatus) UnmarshalJSON ¶
func (s *RelationshipStatus) UnmarshalJSON(bytes []byte) error
type RestoreClient ¶
type RestoreClient struct {
Client *resourcemanager.Client
}
func NewRestoreClientWithBaseURI ¶
func NewRestoreClientWithBaseURI(sdkApi sdkEnv.Api) (*RestoreClient, error)
func (RestoreClient) BackupsGetVolumeRestoreStatus ¶
func (c RestoreClient) BackupsGetVolumeRestoreStatus(ctx context.Context, id VolumeId) (result BackupsGetVolumeRestoreStatusOperationResponse, err error)
BackupsGetVolumeRestoreStatus ...
type RestoreStatus ¶
type RestoreStatus struct { ErrorMessage *string `json:"errorMessage,omitempty"` Healthy *bool `json:"healthy,omitempty"` MirrorState *MirrorState `json:"mirrorState,omitempty"` RelationshipStatus *RelationshipStatus `json:"relationshipStatus,omitempty"` TotalTransferBytes *int64 `json:"totalTransferBytes,omitempty"` UnhealthyReason *string `json:"unhealthyReason,omitempty"` }
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 ¶
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) FromParseResult ¶
func (id *VolumeId) FromParseResult(input resourceids.ParseResult) error
func (VolumeId) Segments ¶
func (id VolumeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume ID
Click to show internal directories.
Click to hide internal directories.