Documentation ¶
Index ¶
- func PossibleValuesForBackupType() []string
- func PossibleValuesForMirrorState() []string
- func PossibleValuesForRelationshipStatus() []string
- func ValidateAccountBackupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBackupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBackupVaultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)
- type AccountBackupId
- type AccountBackupsDeleteOperationResponse
- type AccountBackupsGetOperationResponse
- type AccountBackupsListByNetAppAccountOperationOptions
- type AccountBackupsListByNetAppAccountOperationResponse
- type Backup
- type BackupId
- type BackupOperationPredicate
- type BackupPatch
- type BackupPatchProperties
- type BackupProperties
- type BackupRestoreFiles
- type BackupStatus
- type BackupType
- type BackupVaultId
- type BackupsClient
- func (c BackupsClient) AccountBackupsDelete(ctx context.Context, id AccountBackupId) (result AccountBackupsDeleteOperationResponse, err error)
- func (c BackupsClient) AccountBackupsDeleteThenPoll(ctx context.Context, id AccountBackupId) error
- func (c BackupsClient) AccountBackupsGet(ctx context.Context, id AccountBackupId) (result AccountBackupsGetOperationResponse, err error)
- func (c BackupsClient) AccountBackupsListByNetAppAccount(ctx context.Context, id NetAppAccountId, ...) (result AccountBackupsListByNetAppAccountOperationResponse, err error)
- func (c BackupsClient) Create(ctx context.Context, id BackupId, input Backup) (result CreateOperationResponse, err error)
- func (c BackupsClient) CreateThenPoll(ctx context.Context, id BackupId, input Backup) error
- func (c BackupsClient) Delete(ctx context.Context, id BackupId) (result DeleteOperationResponse, err error)
- func (c BackupsClient) DeleteThenPoll(ctx context.Context, id BackupId) error
- func (c BackupsClient) Get(ctx context.Context, id BackupId) (result GetOperationResponse, err error)
- func (c BackupsClient) GetLatestStatus(ctx context.Context, id VolumeId) (result GetLatestStatusOperationResponse, err error)
- func (c BackupsClient) ListByVault(ctx context.Context, id BackupVaultId, options ListByVaultOperationOptions) (result ListByVaultOperationResponse, err error)
- func (c BackupsClient) ListByVaultComplete(ctx context.Context, id BackupVaultId, options ListByVaultOperationOptions) (ListByVaultCompleteResult, error)
- func (c BackupsClient) ListByVaultCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, options ListByVaultOperationOptions, ...) (result ListByVaultCompleteResult, err error)
- func (c BackupsClient) UnderAccountMigrateBackups(ctx context.Context, id NetAppAccountId, input BackupsMigrationRequest) (result UnderAccountMigrateBackupsOperationResponse, err error)
- func (c BackupsClient) UnderAccountMigrateBackupsThenPoll(ctx context.Context, id NetAppAccountId, input BackupsMigrationRequest) error
- func (c BackupsClient) UnderBackupVaultRestoreFiles(ctx context.Context, id BackupId, input BackupRestoreFiles) (result UnderBackupVaultRestoreFilesOperationResponse, err error)
- func (c BackupsClient) UnderBackupVaultRestoreFilesThenPoll(ctx context.Context, id BackupId, input BackupRestoreFiles) error
- func (c BackupsClient) UnderVolumeMigrateBackups(ctx context.Context, id VolumeId, input BackupsMigrationRequest) (result UnderVolumeMigrateBackupsOperationResponse, err error)
- func (c BackupsClient) UnderVolumeMigrateBackupsThenPoll(ctx context.Context, id VolumeId, input BackupsMigrationRequest) error
- func (c BackupsClient) Update(ctx context.Context, id BackupId, input BackupPatch) (result UpdateOperationResponse, err error)
- func (c BackupsClient) UpdateThenPoll(ctx context.Context, id BackupId, input BackupPatch) error
- type BackupsList
- type BackupsMigrationRequest
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetLatestStatusOperationResponse
- type GetOperationResponse
- type ListByVaultCompleteResult
- type ListByVaultOperationOptions
- type ListByVaultOperationResponse
- type MirrorState
- type NetAppAccountId
- type RelationshipStatus
- type UnderAccountMigrateBackupsOperationResponse
- type UnderBackupVaultRestoreFilesOperationResponse
- type UnderVolumeMigrateBackupsOperationResponse
- type UpdateOperationResponse
- type VolumeId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBackupType ¶
func PossibleValuesForBackupType() []string
func PossibleValuesForMirrorState ¶
func PossibleValuesForMirrorState() []string
func PossibleValuesForRelationshipStatus ¶
func PossibleValuesForRelationshipStatus() []string
func ValidateAccountBackupID ¶
ValidateAccountBackupID checks that 'input' can be parsed as a Account Backup ID
func ValidateBackupID ¶
ValidateBackupID checks that 'input' can be parsed as a Backup ID
func ValidateBackupVaultID ¶
ValidateBackupVaultID checks that 'input' can be parsed as a Backup Vault ID
func ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
Types ¶
type AccountBackupId ¶
type AccountBackupId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string AccountBackupName string }
AccountBackupId is a struct representing the Resource ID for a Account Backup
func NewAccountBackupID ¶
func NewAccountBackupID(subscriptionId string, resourceGroupName string, netAppAccountName string, accountBackupName string) AccountBackupId
NewAccountBackupID returns a new AccountBackupId struct
func ParseAccountBackupID ¶
func ParseAccountBackupID(input string) (*AccountBackupId, error)
ParseAccountBackupID parses 'input' into a AccountBackupId
func ParseAccountBackupIDInsensitively ¶
func ParseAccountBackupIDInsensitively(input string) (*AccountBackupId, error)
ParseAccountBackupIDInsensitively parses 'input' case-insensitively into a AccountBackupId note: this method should only be used for API response data and not user input
func (*AccountBackupId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AccountBackupId) FromParseResult(input resourceids.ParseResult) error
func (AccountBackupId) ID ¶
func (id AccountBackupId) ID() string
ID returns the formatted Account Backup ID
func (AccountBackupId) Segments ¶
func (id AccountBackupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account Backup ID
func (AccountBackupId) String ¶
func (id AccountBackupId) String() string
String returns a human-readable description of this Account Backup ID
type AccountBackupsListByNetAppAccountOperationOptions ¶
type AccountBackupsListByNetAppAccountOperationOptions struct {
IncludeOnlyBackupsFromDeletedVolumes *string
}
func DefaultAccountBackupsListByNetAppAccountOperationOptions ¶
func DefaultAccountBackupsListByNetAppAccountOperationOptions() AccountBackupsListByNetAppAccountOperationOptions
func (AccountBackupsListByNetAppAccountOperationOptions) ToHeaders ¶
func (o AccountBackupsListByNetAppAccountOperationOptions) ToHeaders() *client.Headers
func (AccountBackupsListByNetAppAccountOperationOptions) ToOData ¶
func (o AccountBackupsListByNetAppAccountOperationOptions) ToOData() *odata.Query
func (AccountBackupsListByNetAppAccountOperationOptions) ToQuery ¶
func (o AccountBackupsListByNetAppAccountOperationOptions) ToQuery() *client.QueryParams
type AccountBackupsListByNetAppAccountOperationResponse ¶
type AccountBackupsListByNetAppAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackupsList }
type Backup ¶
type Backup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties BackupProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BackupId ¶
type BackupId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string BackupVaultName string BackupName string }
BackupId is a struct representing the Resource ID for a Backup
func NewBackupID ¶
func NewBackupID(subscriptionId string, resourceGroupName string, netAppAccountName string, backupVaultName string, backupName string) BackupId
NewBackupID returns a new BackupId struct
func ParseBackupID ¶
ParseBackupID parses 'input' into a BackupId
func ParseBackupIDInsensitively ¶
ParseBackupIDInsensitively parses 'input' case-insensitively into a BackupId note: this method should only be used for API response data and not user input
func (*BackupId) FromParseResult ¶ added in v0.20231127.1171502
func (id *BackupId) FromParseResult(input resourceids.ParseResult) error
func (BackupId) Segments ¶
func (id BackupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup ID
type BackupOperationPredicate ¶
func (BackupOperationPredicate) Matches ¶
func (p BackupOperationPredicate) Matches(input Backup) bool
type BackupPatch ¶
type BackupPatch struct {
Properties *BackupPatchProperties `json:"properties,omitempty"`
}
type BackupPatchProperties ¶
type BackupPatchProperties struct {
Label *string `json:"label,omitempty"`
}
type BackupProperties ¶
type BackupProperties struct { BackupId *string `json:"backupId,omitempty"` BackupType *BackupType `json:"backupType,omitempty"` CreationDate *string `json:"creationDate,omitempty"` FailureReason *string `json:"failureReason,omitempty"` Label *string `json:"label,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Size *int64 `json:"size,omitempty"` SnapshotName *string `json:"snapshotName,omitempty"` UseExistingSnapshot *bool `json:"useExistingSnapshot,omitempty"` VolumeResourceId string `json:"volumeResourceId"` }
func (*BackupProperties) GetCreationDateAsTime ¶
func (o *BackupProperties) GetCreationDateAsTime() (*time.Time, error)
func (*BackupProperties) SetCreationDateAsTime ¶
func (o *BackupProperties) SetCreationDateAsTime(input time.Time)
type BackupRestoreFiles ¶
type BackupStatus ¶
type BackupStatus struct { ErrorMessage *string `json:"errorMessage,omitempty"` Healthy *bool `json:"healthy,omitempty"` LastTransferSize *int64 `json:"lastTransferSize,omitempty"` LastTransferType *string `json:"lastTransferType,omitempty"` MirrorState *MirrorState `json:"mirrorState,omitempty"` RelationshipStatus *RelationshipStatus `json:"relationshipStatus,omitempty"` TotalTransferBytes *int64 `json:"totalTransferBytes,omitempty"` TransferProgressBytes *int64 `json:"transferProgressBytes,omitempty"` UnhealthyReason *string `json:"unhealthyReason,omitempty"` }
type BackupType ¶
type BackupType string
const ( BackupTypeManual BackupType = "Manual" BackupTypeScheduled BackupType = "Scheduled" )
func (*BackupType) UnmarshalJSON ¶
func (s *BackupType) UnmarshalJSON(bytes []byte) error
type BackupVaultId ¶
type BackupVaultId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string BackupVaultName string }
BackupVaultId is a struct representing the Resource ID for a Backup Vault
func NewBackupVaultID ¶
func NewBackupVaultID(subscriptionId string, resourceGroupName string, netAppAccountName string, backupVaultName string) BackupVaultId
NewBackupVaultID returns a new BackupVaultId struct
func ParseBackupVaultID ¶
func ParseBackupVaultID(input string) (*BackupVaultId, error)
ParseBackupVaultID parses 'input' into a BackupVaultId
func ParseBackupVaultIDInsensitively ¶
func ParseBackupVaultIDInsensitively(input string) (*BackupVaultId, error)
ParseBackupVaultIDInsensitively parses 'input' case-insensitively into a BackupVaultId note: this method should only be used for API response data and not user input
func (*BackupVaultId) FromParseResult ¶ added in v0.20231127.1171502
func (id *BackupVaultId) FromParseResult(input resourceids.ParseResult) error
func (BackupVaultId) ID ¶
func (id BackupVaultId) ID() string
ID returns the formatted Backup Vault ID
func (BackupVaultId) Segments ¶
func (id BackupVaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Vault ID
func (BackupVaultId) String ¶
func (id BackupVaultId) String() string
String returns a human-readable description of this Backup Vault ID
type BackupsClient ¶
type BackupsClient struct {
Client *resourcemanager.Client
}
func NewBackupsClientWithBaseURI ¶
func NewBackupsClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupsClient, error)
func (BackupsClient) AccountBackupsDelete ¶
func (c BackupsClient) AccountBackupsDelete(ctx context.Context, id AccountBackupId) (result AccountBackupsDeleteOperationResponse, err error)
AccountBackupsDelete ...
func (BackupsClient) AccountBackupsDeleteThenPoll ¶
func (c BackupsClient) AccountBackupsDeleteThenPoll(ctx context.Context, id AccountBackupId) error
AccountBackupsDeleteThenPoll performs AccountBackupsDelete then polls until it's completed
func (BackupsClient) AccountBackupsGet ¶
func (c BackupsClient) AccountBackupsGet(ctx context.Context, id AccountBackupId) (result AccountBackupsGetOperationResponse, err error)
AccountBackupsGet ...
func (BackupsClient) AccountBackupsListByNetAppAccount ¶
func (c BackupsClient) AccountBackupsListByNetAppAccount(ctx context.Context, id NetAppAccountId, options AccountBackupsListByNetAppAccountOperationOptions) (result AccountBackupsListByNetAppAccountOperationResponse, err error)
AccountBackupsListByNetAppAccount ...
func (BackupsClient) Create ¶
func (c BackupsClient) Create(ctx context.Context, id BackupId, input Backup) (result CreateOperationResponse, err error)
Create ...
func (BackupsClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (BackupsClient) Delete ¶
func (c BackupsClient) Delete(ctx context.Context, id BackupId) (result DeleteOperationResponse, err error)
Delete ...
func (BackupsClient) DeleteThenPoll ¶
func (c BackupsClient) DeleteThenPoll(ctx context.Context, id BackupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BackupsClient) Get ¶
func (c BackupsClient) Get(ctx context.Context, id BackupId) (result GetOperationResponse, err error)
Get ...
func (BackupsClient) GetLatestStatus ¶
func (c BackupsClient) GetLatestStatus(ctx context.Context, id VolumeId) (result GetLatestStatusOperationResponse, err error)
GetLatestStatus ...
func (BackupsClient) ListByVault ¶
func (c BackupsClient) ListByVault(ctx context.Context, id BackupVaultId, options ListByVaultOperationOptions) (result ListByVaultOperationResponse, err error)
ListByVault ...
func (BackupsClient) ListByVaultComplete ¶
func (c BackupsClient) ListByVaultComplete(ctx context.Context, id BackupVaultId, options ListByVaultOperationOptions) (ListByVaultCompleteResult, error)
ListByVaultComplete retrieves all the results into a single object
func (BackupsClient) ListByVaultCompleteMatchingPredicate ¶
func (c BackupsClient) ListByVaultCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, options ListByVaultOperationOptions, predicate BackupOperationPredicate) (result ListByVaultCompleteResult, err error)
ListByVaultCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BackupsClient) UnderAccountMigrateBackups ¶
func (c BackupsClient) UnderAccountMigrateBackups(ctx context.Context, id NetAppAccountId, input BackupsMigrationRequest) (result UnderAccountMigrateBackupsOperationResponse, err error)
UnderAccountMigrateBackups ...
func (BackupsClient) UnderAccountMigrateBackupsThenPoll ¶
func (c BackupsClient) UnderAccountMigrateBackupsThenPoll(ctx context.Context, id NetAppAccountId, input BackupsMigrationRequest) error
UnderAccountMigrateBackupsThenPoll performs UnderAccountMigrateBackups then polls until it's completed
func (BackupsClient) UnderBackupVaultRestoreFiles ¶
func (c BackupsClient) UnderBackupVaultRestoreFiles(ctx context.Context, id BackupId, input BackupRestoreFiles) (result UnderBackupVaultRestoreFilesOperationResponse, err error)
UnderBackupVaultRestoreFiles ...
func (BackupsClient) UnderBackupVaultRestoreFilesThenPoll ¶
func (c BackupsClient) UnderBackupVaultRestoreFilesThenPoll(ctx context.Context, id BackupId, input BackupRestoreFiles) error
UnderBackupVaultRestoreFilesThenPoll performs UnderBackupVaultRestoreFiles then polls until it's completed
func (BackupsClient) UnderVolumeMigrateBackups ¶
func (c BackupsClient) UnderVolumeMigrateBackups(ctx context.Context, id VolumeId, input BackupsMigrationRequest) (result UnderVolumeMigrateBackupsOperationResponse, err error)
UnderVolumeMigrateBackups ...
func (BackupsClient) UnderVolumeMigrateBackupsThenPoll ¶
func (c BackupsClient) UnderVolumeMigrateBackupsThenPoll(ctx context.Context, id VolumeId, input BackupsMigrationRequest) error
UnderVolumeMigrateBackupsThenPoll performs UnderVolumeMigrateBackups then polls until it's completed
func (BackupsClient) Update ¶
func (c BackupsClient) Update(ctx context.Context, id BackupId, input BackupPatch) (result UpdateOperationResponse, err error)
Update ...
func (BackupsClient) UpdateThenPoll ¶
func (c BackupsClient) UpdateThenPoll(ctx context.Context, id BackupId, input BackupPatch) error
UpdateThenPoll performs Update then polls until it's completed
type BackupsList ¶
type BackupsMigrationRequest ¶
type BackupsMigrationRequest struct {
BackupVaultId string `json:"backupVaultId"`
}
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetLatestStatusOperationResponse ¶
type GetLatestStatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackupStatus }
type GetOperationResponse ¶
type ListByVaultCompleteResult ¶
type ListByVaultCompleteResult struct {
Items []Backup
}
type ListByVaultOperationOptions ¶
type ListByVaultOperationOptions struct {
Filter *string
}
func DefaultListByVaultOperationOptions ¶
func DefaultListByVaultOperationOptions() ListByVaultOperationOptions
func (ListByVaultOperationOptions) ToHeaders ¶
func (o ListByVaultOperationOptions) ToHeaders() *client.Headers
func (ListByVaultOperationOptions) ToOData ¶
func (o ListByVaultOperationOptions) ToOData() *odata.Query
func (ListByVaultOperationOptions) ToQuery ¶
func (o ListByVaultOperationOptions) ToQuery() *client.QueryParams
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 NetAppAccountId ¶
type NetAppAccountId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string }
NetAppAccountId is a struct representing the Resource ID for a Net App Account
func NewNetAppAccountID ¶
func NewNetAppAccountID(subscriptionId string, resourceGroupName string, netAppAccountName string) NetAppAccountId
NewNetAppAccountID returns a new NetAppAccountId struct
func ParseNetAppAccountID ¶
func ParseNetAppAccountID(input string) (*NetAppAccountId, error)
ParseNetAppAccountID parses 'input' into a NetAppAccountId
func ParseNetAppAccountIDInsensitively ¶
func ParseNetAppAccountIDInsensitively(input string) (*NetAppAccountId, error)
ParseNetAppAccountIDInsensitively parses 'input' case-insensitively into a NetAppAccountId note: this method should only be used for API response data and not user input
func (*NetAppAccountId) FromParseResult ¶ added in v0.20231127.1171502
func (id *NetAppAccountId) FromParseResult(input resourceids.ParseResult) error
func (NetAppAccountId) ID ¶
func (id NetAppAccountId) ID() string
ID returns the formatted Net App Account ID
func (NetAppAccountId) Segments ¶
func (id NetAppAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Net App Account ID
func (NetAppAccountId) String ¶
func (id NetAppAccountId) String() string
String returns a human-readable description of this Net App Account ID
type RelationshipStatus ¶
type RelationshipStatus string
const ( RelationshipStatusIdle RelationshipStatus = "Idle" RelationshipStatusTransferring RelationshipStatus = "Transferring" )
func (*RelationshipStatus) UnmarshalJSON ¶
func (s *RelationshipStatus) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
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 ¶ added in v0.20231127.1171502
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
Source Files ¶
- client.go
- constants.go
- id_accountbackup.go
- id_backup.go
- id_backupvault.go
- id_netappaccount.go
- id_volume.go
- method_accountbackupsdelete.go
- method_accountbackupsget.go
- method_accountbackupslistbynetappaccount.go
- method_create.go
- method_delete.go
- method_get.go
- method_getlateststatus.go
- method_listbyvault.go
- method_underaccountmigratebackups.go
- method_underbackupvaultrestorefiles.go
- method_undervolumemigratebackups.go
- method_update.go
- model_backup.go
- model_backuppatch.go
- model_backuppatchproperties.go
- model_backupproperties.go
- model_backuprestorefiles.go
- model_backupslist.go
- model_backupsmigrationrequest.go
- model_backupstatus.go
- predicates.go
- version.go