dataprotection

package
v61.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package dataprotection implements the Azure ARM Dataprotection service API version 2021-01-01.

Open API 2.0 Specs for Azure Data Protection service

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Dataprotection
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AbsoluteDeleteOption

type AbsoluteDeleteOption struct {
	// Duration - Duration of deletion after given timespan
	Duration *string `json:"duration,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeDeleteOption', 'ObjectTypeAbsoluteDeleteOption'
	ObjectType ObjectTypeBasicDeleteOption `json:"objectType,omitempty"`
}

AbsoluteDeleteOption delete option with duration

func (AbsoluteDeleteOption) AsAbsoluteDeleteOption

func (ado AbsoluteDeleteOption) AsAbsoluteDeleteOption() (*AbsoluteDeleteOption, bool)

AsAbsoluteDeleteOption is the BasicDeleteOption implementation for AbsoluteDeleteOption.

func (AbsoluteDeleteOption) AsBasicDeleteOption

func (ado AbsoluteDeleteOption) AsBasicDeleteOption() (BasicDeleteOption, bool)

AsBasicDeleteOption is the BasicDeleteOption implementation for AbsoluteDeleteOption.

func (AbsoluteDeleteOption) AsDeleteOption

func (ado AbsoluteDeleteOption) AsDeleteOption() (*DeleteOption, bool)

AsDeleteOption is the BasicDeleteOption implementation for AbsoluteDeleteOption.

func (AbsoluteDeleteOption) MarshalJSON

func (ado AbsoluteDeleteOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AbsoluteDeleteOption.

type AbsoluteMarker

type AbsoluteMarker string

AbsoluteMarker enumerates the values for absolute marker.

const (
	// AllBackup ...
	AllBackup AbsoluteMarker = "AllBackup"
	// FirstOfDay ...
	FirstOfDay AbsoluteMarker = "FirstOfDay"
	// FirstOfMonth ...
	FirstOfMonth AbsoluteMarker = "FirstOfMonth"
	// FirstOfWeek ...
	FirstOfWeek AbsoluteMarker = "FirstOfWeek"
	// FirstOfYear ...
	FirstOfYear AbsoluteMarker = "FirstOfYear"
)

func PossibleAbsoluteMarkerValues

func PossibleAbsoluteMarkerValues() []AbsoluteMarker

PossibleAbsoluteMarkerValues returns an array of possible values for the AbsoluteMarker const type.

type AdHocBackupRuleOptions

type AdHocBackupRuleOptions struct {
	RuleName      *string                   `json:"ruleName,omitempty"`
	TriggerOption *AdhocBackupTriggerOption `json:"triggerOption,omitempty"`
}

AdHocBackupRuleOptions adhoc backup rules

type AdhocBackupTriggerOption

type AdhocBackupTriggerOption struct {
	RetentionTagOverride *string `json:"retentionTagOverride,omitempty"`
}

AdhocBackupTriggerOption adhoc backup trigger option

type AdhocBasedTaggingCriteria

type AdhocBasedTaggingCriteria struct {
	// TagInfo - Retention tag information
	TagInfo *RetentionTag `json:"tagInfo,omitempty"`
}

AdhocBasedTaggingCriteria adhoc backup tagging criteria

type AdhocBasedTriggerContext

type AdhocBasedTriggerContext struct {
	// TaggingCriteria - Tagging Criteria containing retention tag for adhoc backup.
	TaggingCriteria *AdhocBasedTaggingCriteria `json:"taggingCriteria,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeTriggerContext', 'ObjectTypeAdhocBasedTriggerContext', 'ObjectTypeScheduleBasedTriggerContext'
	ObjectType ObjectTypeBasicTriggerContext `json:"objectType,omitempty"`
}

AdhocBasedTriggerContext adhoc trigger context

func (AdhocBasedTriggerContext) AsAdhocBasedTriggerContext

func (abtc AdhocBasedTriggerContext) AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)

AsAdhocBasedTriggerContext is the BasicTriggerContext implementation for AdhocBasedTriggerContext.

func (AdhocBasedTriggerContext) AsBasicTriggerContext

func (abtc AdhocBasedTriggerContext) AsBasicTriggerContext() (BasicTriggerContext, bool)

AsBasicTriggerContext is the BasicTriggerContext implementation for AdhocBasedTriggerContext.

func (AdhocBasedTriggerContext) AsScheduleBasedTriggerContext

func (abtc AdhocBasedTriggerContext) AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)

AsScheduleBasedTriggerContext is the BasicTriggerContext implementation for AdhocBasedTriggerContext.

func (AdhocBasedTriggerContext) AsTriggerContext

func (abtc AdhocBasedTriggerContext) AsTriggerContext() (*TriggerContext, bool)

AsTriggerContext is the BasicTriggerContext implementation for AdhocBasedTriggerContext.

func (AdhocBasedTriggerContext) MarshalJSON

func (abtc AdhocBasedTriggerContext) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdhocBasedTriggerContext.

type AzureBackupDiscreteRecoveryPoint

type AzureBackupDiscreteRecoveryPoint struct {
	FriendlyName                   *string                          `json:"friendlyName,omitempty"`
	RecoveryPointDataStoresDetails *[]RecoveryPointDataStoreDetails `json:"recoveryPointDataStoresDetails,omitempty"`
	RecoveryPointTime              *date.Time                       `json:"recoveryPointTime,omitempty"`
	PolicyName                     *string                          `json:"policyName,omitempty"`
	PolicyVersion                  *string                          `json:"policyVersion,omitempty"`
	RecoveryPointID                *string                          `json:"recoveryPointId,omitempty"`
	RecoveryPointType              *string                          `json:"recoveryPointType,omitempty"`
	RetentionTagName               *string                          `json:"retentionTagName,omitempty"`
	RetentionTagVersion            *string                          `json:"retentionTagVersion,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeAzureBackupRecoveryPoint', 'ObjectTypeAzureBackupDiscreteRecoveryPoint'
	ObjectType ObjectType `json:"objectType,omitempty"`
}

AzureBackupDiscreteRecoveryPoint azure backup discrete RecoveryPoint

func (AzureBackupDiscreteRecoveryPoint) AsAzureBackupDiscreteRecoveryPoint

func (abdrp AzureBackupDiscreteRecoveryPoint) AsAzureBackupDiscreteRecoveryPoint() (*AzureBackupDiscreteRecoveryPoint, bool)

AsAzureBackupDiscreteRecoveryPoint is the BasicAzureBackupRecoveryPoint implementation for AzureBackupDiscreteRecoveryPoint.

func (AzureBackupDiscreteRecoveryPoint) AsAzureBackupRecoveryPoint

func (abdrp AzureBackupDiscreteRecoveryPoint) AsAzureBackupRecoveryPoint() (*AzureBackupRecoveryPoint, bool)

AsAzureBackupRecoveryPoint is the BasicAzureBackupRecoveryPoint implementation for AzureBackupDiscreteRecoveryPoint.

func (AzureBackupDiscreteRecoveryPoint) AsBasicAzureBackupRecoveryPoint

func (abdrp AzureBackupDiscreteRecoveryPoint) AsBasicAzureBackupRecoveryPoint() (BasicAzureBackupRecoveryPoint, bool)

AsBasicAzureBackupRecoveryPoint is the BasicAzureBackupRecoveryPoint implementation for AzureBackupDiscreteRecoveryPoint.

func (AzureBackupDiscreteRecoveryPoint) MarshalJSON

func (abdrp AzureBackupDiscreteRecoveryPoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupDiscreteRecoveryPoint.

type AzureBackupFindRestorableTimeRangesRequest

type AzureBackupFindRestorableTimeRangesRequest struct {
	// SourceDataStoreType - Gets or sets the type of the source data store. Possible values include: 'RestoreSourceDataStoreTypeOperationalStore', 'RestoreSourceDataStoreTypeVaultStore', 'RestoreSourceDataStoreTypeArchiveStore'
	SourceDataStoreType RestoreSourceDataStoreType `json:"sourceDataStoreType,omitempty"`
	// StartTime - Start time for the List Restore Ranges request
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - End time for the List Restore Ranges request
	EndTime *string `json:"endTime,omitempty"`
}

AzureBackupFindRestorableTimeRangesRequest list Restore Ranges Request

type AzureBackupFindRestorableTimeRangesRequestResource

type AzureBackupFindRestorableTimeRangesRequestResource struct {
	// Content - AzureBackupFindRestorableTimeRangesRequestResource content
	Content                *AzureBackupFindRestorableTimeRangesRequest `json:"content,omitempty"`
	SubscriptionID         *string                                     `json:"subscriptionId,omitempty"`
	URI                    *string                                     `json:"uri,omitempty"`
	Headers                map[string][]string                         `json:"headers"`
	SupportedGroupVersions *[]string                                   `json:"supportedGroupVersions,omitempty"`
	CultureInfo            *string                                     `json:"cultureInfo,omitempty"`
	Parameters             map[string]*string                          `json:"parameters"`
	HTTPMethod             *string                                     `json:"httpMethod,omitempty"`
}

AzureBackupFindRestorableTimeRangesRequestResource list Restore Ranges Request

func (AzureBackupFindRestorableTimeRangesRequestResource) MarshalJSON

MarshalJSON is the custom marshaler for AzureBackupFindRestorableTimeRangesRequestResource.

type AzureBackupFindRestorableTimeRangesResponse

type AzureBackupFindRestorableTimeRangesResponse struct {
	// RestorableTimeRanges - Returns the Restore Ranges available on the Backup Instance.
	RestorableTimeRanges *[]RestorableTimeRange `json:"restorableTimeRanges,omitempty"`
	ObjectType           *string                `json:"objectType,omitempty"`
}

AzureBackupFindRestorableTimeRangesResponse list Restore Ranges Response

type AzureBackupFindRestorableTimeRangesResponseResource

type AzureBackupFindRestorableTimeRangesResponseResource struct {
	autorest.Response `json:"-"`
	// Properties - AzureBackupFindRestorableTimeRangesResponseResource properties
	Properties *AzureBackupFindRestorableTimeRangesResponse `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

AzureBackupFindRestorableTimeRangesResponseResource list Restore Ranges Response

func (AzureBackupFindRestorableTimeRangesResponseResource) MarshalJSON

MarshalJSON is the custom marshaler for AzureBackupFindRestorableTimeRangesResponseResource.

type AzureBackupJob

type AzureBackupJob struct {
	// ActivityID - Job Activity Id
	ActivityID *string `json:"activityID,omitempty"`
	// BackupInstanceFriendlyName - Name of the Backup Instance
	BackupInstanceFriendlyName *string `json:"backupInstanceFriendlyName,omitempty"`
	// BackupInstanceID - READ-ONLY; ARM ID of the Backup Instance
	BackupInstanceID *string `json:"backupInstanceId,omitempty"`
	// DataSourceID - ARM ID of the DataSource
	DataSourceID *string `json:"dataSourceId,omitempty"`
	// DataSourceLocation - Location of the DataSource
	DataSourceLocation *string `json:"dataSourceLocation,omitempty"`
	// DataSourceName - User Friendly Name of the DataSource
	DataSourceName *string `json:"dataSourceName,omitempty"`
	// DataSourceSetName - Data Source Set Name of the DataSource
	DataSourceSetName *string `json:"dataSourceSetName,omitempty"`
	// DataSourceType - Type of DataSource
	DataSourceType *string `json:"dataSourceType,omitempty"`
	// Duration - Total run time of the job. ISO 8601 format.
	Duration *string `json:"duration,omitempty"`
	// EndTime - READ-ONLY; EndTime of the job(in UTC)
	EndTime *date.Time `json:"endTime,omitempty"`
	// ErrorDetails - READ-ONLY; A List, detailing the errors related to the job
	ErrorDetails *[]UserFacingError `json:"errorDetails,omitempty"`
	// ExtendedInfo - READ-ONLY; Extended Information about the job
	ExtendedInfo *JobExtendedInfo `json:"extendedInfo,omitempty"`
	// IsUserTriggered - Indicated that whether the job is adhoc(true) or scheduled(false)
	IsUserTriggered *bool `json:"isUserTriggered,omitempty"`
	// Operation - It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure
	Operation *string `json:"operation,omitempty"`
	// OperationCategory - It indicates the type of Job i.e. Backup/Restore/Tiering/Management
	OperationCategory *string `json:"operationCategory,omitempty"`
	// PolicyID - READ-ONLY; ARM ID of the policy
	PolicyID *string `json:"policyId,omitempty"`
	// PolicyName - READ-ONLY; Name of the policy
	PolicyName *string `json:"policyName,omitempty"`
	// ProgressEnabled - Indicated whether progress is enabled for the job
	ProgressEnabled *bool `json:"progressEnabled,omitempty"`
	// ProgressURL - READ-ONLY; Url which contains job's progress
	ProgressURL *string `json:"progressUrl,omitempty"`
	// RestoreType - READ-ONLY; It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR
	RestoreType *string `json:"restoreType,omitempty"`
	// SourceResourceGroup - Resource Group Name of the Datasource
	SourceResourceGroup *string `json:"sourceResourceGroup,omitempty"`
	// SourceSubscriptionID - SubscriptionId corresponding to the DataSource
	SourceSubscriptionID *string `json:"sourceSubscriptionID,omitempty"`
	// StartTime - StartTime of the job(in UTC)
	StartTime *date.Time `json:"startTime,omitempty"`
	// Status - Status of the job like InProgress/Success/Failed/Cancelled/SuccessWithWarning
	Status *string `json:"status,omitempty"`
	// SubscriptionID - Subscription Id of the corresponding backup vault
	SubscriptionID *string `json:"subscriptionId,omitempty"`
	// SupportedActions - List of supported actions
	SupportedActions *[]string `json:"supportedActions,omitempty"`
	// VaultName - Name of the vault
	VaultName                *string `json:"vaultName,omitempty"`
	Etag                     *string `json:"etag,omitempty"`
	SourceDataStoreName      *string `json:"sourceDataStoreName,omitempty"`
	DestinationDataStoreName *string `json:"destinationDataStoreName,omitempty"`
}

AzureBackupJob azureBackup Job Class

func (AzureBackupJob) MarshalJSON

func (abj AzureBackupJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupJob.

type AzureBackupJobResource

type AzureBackupJobResource struct {
	autorest.Response `json:"-"`
	// Properties - AzureBackupJobResource properties
	Properties *AzureBackupJob `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

AzureBackupJobResource azureBackup Job Resource Class

func (AzureBackupJobResource) MarshalJSON

func (abjr AzureBackupJobResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupJobResource.

type AzureBackupJobResourceList

type AzureBackupJobResourceList struct {
	autorest.Response `json:"-"`
	// Value - List of resources.
	Value *[]AzureBackupJobResource `json:"value,omitempty"`
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

AzureBackupJobResourceList list of AzureBackup Job resources

func (AzureBackupJobResourceList) IsEmpty

func (abjrl AzureBackupJobResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureBackupJobResourceListIterator

type AzureBackupJobResourceListIterator struct {
	// contains filtered or unexported fields
}

AzureBackupJobResourceListIterator provides access to a complete listing of AzureBackupJobResource values.

func NewAzureBackupJobResourceListIterator

func NewAzureBackupJobResourceListIterator(page AzureBackupJobResourceListPage) AzureBackupJobResourceListIterator

Creates a new instance of the AzureBackupJobResourceListIterator type.

func (*AzureBackupJobResourceListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureBackupJobResourceListIterator) NextWithContext

func (iter *AzureBackupJobResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AzureBackupJobResourceListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AzureBackupJobResourceListIterator) Response

Response returns the raw server response from the last page request.

func (AzureBackupJobResourceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AzureBackupJobResourceListPage

type AzureBackupJobResourceListPage struct {
	// contains filtered or unexported fields
}

AzureBackupJobResourceListPage contains a page of AzureBackupJobResource values.

func NewAzureBackupJobResourceListPage

Creates a new instance of the AzureBackupJobResourceListPage type.

func (*AzureBackupJobResourceListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureBackupJobResourceListPage) NextWithContext

func (page *AzureBackupJobResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AzureBackupJobResourceListPage) NotDone

func (page AzureBackupJobResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AzureBackupJobResourceListPage) Response

Response returns the raw server response from the last page request.

func (AzureBackupJobResourceListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AzureBackupParams

type AzureBackupParams struct {
	// BackupType - BackupType ; Full/Incremental etc
	BackupType *string `json:"backupType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBackupParameters', 'ObjectTypeAzureBackupParams'
	ObjectType ObjectTypeBasicBackupParameters `json:"objectType,omitempty"`
}

AzureBackupParams azure backup parameters

func (AzureBackupParams) AsAzureBackupParams

func (abp AzureBackupParams) AsAzureBackupParams() (*AzureBackupParams, bool)

AsAzureBackupParams is the BasicBackupParameters implementation for AzureBackupParams.

func (AzureBackupParams) AsBackupParameters

func (abp AzureBackupParams) AsBackupParameters() (*BackupParameters, bool)

AsBackupParameters is the BasicBackupParameters implementation for AzureBackupParams.

func (AzureBackupParams) AsBasicBackupParameters

func (abp AzureBackupParams) AsBasicBackupParameters() (BasicBackupParameters, bool)

AsBasicBackupParameters is the BasicBackupParameters implementation for AzureBackupParams.

func (AzureBackupParams) MarshalJSON

func (abp AzureBackupParams) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupParams.

type AzureBackupRecoveryPoint

type AzureBackupRecoveryPoint struct {
	// ObjectType - Possible values include: 'ObjectTypeAzureBackupRecoveryPoint', 'ObjectTypeAzureBackupDiscreteRecoveryPoint'
	ObjectType ObjectType `json:"objectType,omitempty"`
}

AzureBackupRecoveryPoint azure backup recoveryPoint

func (AzureBackupRecoveryPoint) AsAzureBackupDiscreteRecoveryPoint

func (abrp AzureBackupRecoveryPoint) AsAzureBackupDiscreteRecoveryPoint() (*AzureBackupDiscreteRecoveryPoint, bool)

AsAzureBackupDiscreteRecoveryPoint is the BasicAzureBackupRecoveryPoint implementation for AzureBackupRecoveryPoint.

func (AzureBackupRecoveryPoint) AsAzureBackupRecoveryPoint

func (abrp AzureBackupRecoveryPoint) AsAzureBackupRecoveryPoint() (*AzureBackupRecoveryPoint, bool)

AsAzureBackupRecoveryPoint is the BasicAzureBackupRecoveryPoint implementation for AzureBackupRecoveryPoint.

func (AzureBackupRecoveryPoint) AsBasicAzureBackupRecoveryPoint

func (abrp AzureBackupRecoveryPoint) AsBasicAzureBackupRecoveryPoint() (BasicAzureBackupRecoveryPoint, bool)

AsBasicAzureBackupRecoveryPoint is the BasicAzureBackupRecoveryPoint implementation for AzureBackupRecoveryPoint.

func (AzureBackupRecoveryPoint) MarshalJSON

func (abrp AzureBackupRecoveryPoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRecoveryPoint.

type AzureBackupRecoveryPointBasedRestoreRequest

type AzureBackupRecoveryPointBasedRestoreRequest struct {
	RecoveryPointID *string `json:"recoveryPointId,omitempty"`
	// RestoreTargetInfo - Gets or sets the restore target information.
	RestoreTargetInfo BasicRestoreTargetInfoBase `json:"restoreTargetInfo,omitempty"`
	// SourceDataStoreType - Gets or sets the type of the source data store. Possible values include: 'SourceDataStoreTypeArchiveStore', 'SourceDataStoreTypeSnapshotStore', 'SourceDataStoreTypeVaultStore'
	SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeAzureBackupRestoreRequest', 'ObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest'
	ObjectType ObjectTypeBasicAzureBackupRestoreRequest `json:"objectType,omitempty"`
}

AzureBackupRecoveryPointBasedRestoreRequest azure backup recoveryPoint based restore request

func (AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)

AsAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryPointBasedRestoreRequest.

func (AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)

AsAzureBackupRecoveryTimeBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryPointBasedRestoreRequest.

func (AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRestoreRequest

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)

AsAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryPointBasedRestoreRequest.

func (AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)

AsAzureBackupRestoreWithRehydrationRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryPointBasedRestoreRequest.

func (AzureBackupRecoveryPointBasedRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)

AsBasicAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryPointBasedRestoreRequest.

func (AzureBackupRecoveryPointBasedRestoreRequest) AsBasicAzureBackupRestoreRequest

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)

AsBasicAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryPointBasedRestoreRequest.

func (AzureBackupRecoveryPointBasedRestoreRequest) MarshalJSON

func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRecoveryPointBasedRestoreRequest.

func (*AzureBackupRecoveryPointBasedRestoreRequest) UnmarshalJSON

func (abrpbrr *AzureBackupRecoveryPointBasedRestoreRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureBackupRecoveryPointBasedRestoreRequest struct.

type AzureBackupRecoveryPointResource

type AzureBackupRecoveryPointResource struct {
	autorest.Response `json:"-"`
	// Properties - AzureBackupRecoveryPointResource properties
	Properties BasicAzureBackupRecoveryPoint `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

AzureBackupRecoveryPointResource azure backup recoveryPoint resource

func (AzureBackupRecoveryPointResource) MarshalJSON

func (abrpr AzureBackupRecoveryPointResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRecoveryPointResource.

func (*AzureBackupRecoveryPointResource) UnmarshalJSON

func (abrpr *AzureBackupRecoveryPointResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureBackupRecoveryPointResource struct.

type AzureBackupRecoveryPointResourceList

type AzureBackupRecoveryPointResourceList struct {
	autorest.Response `json:"-"`
	// Value - List of resources.
	Value *[]AzureBackupRecoveryPointResource `json:"value,omitempty"`
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

AzureBackupRecoveryPointResourceList azure backup recoveryPoint resource list

func (AzureBackupRecoveryPointResourceList) IsEmpty

func (abrprl AzureBackupRecoveryPointResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureBackupRecoveryPointResourceListIterator

type AzureBackupRecoveryPointResourceListIterator struct {
	// contains filtered or unexported fields
}

AzureBackupRecoveryPointResourceListIterator provides access to a complete listing of AzureBackupRecoveryPointResource values.

func NewAzureBackupRecoveryPointResourceListIterator

func NewAzureBackupRecoveryPointResourceListIterator(page AzureBackupRecoveryPointResourceListPage) AzureBackupRecoveryPointResourceListIterator

Creates a new instance of the AzureBackupRecoveryPointResourceListIterator type.

func (*AzureBackupRecoveryPointResourceListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureBackupRecoveryPointResourceListIterator) NextWithContext

func (iter *AzureBackupRecoveryPointResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AzureBackupRecoveryPointResourceListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AzureBackupRecoveryPointResourceListIterator) Response

Response returns the raw server response from the last page request.

func (AzureBackupRecoveryPointResourceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AzureBackupRecoveryPointResourceListPage

type AzureBackupRecoveryPointResourceListPage struct {
	// contains filtered or unexported fields
}

AzureBackupRecoveryPointResourceListPage contains a page of AzureBackupRecoveryPointResource values.

func NewAzureBackupRecoveryPointResourceListPage

Creates a new instance of the AzureBackupRecoveryPointResourceListPage type.

func (*AzureBackupRecoveryPointResourceListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureBackupRecoveryPointResourceListPage) NextWithContext

func (page *AzureBackupRecoveryPointResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AzureBackupRecoveryPointResourceListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AzureBackupRecoveryPointResourceListPage) Response

Response returns the raw server response from the last page request.

func (AzureBackupRecoveryPointResourceListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AzureBackupRecoveryTimeBasedRestoreRequest

type AzureBackupRecoveryTimeBasedRestoreRequest struct {
	// RecoveryPointTime - The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.
	RecoveryPointTime *string `json:"recoveryPointTime,omitempty"`
	// RestoreTargetInfo - Gets or sets the restore target information.
	RestoreTargetInfo BasicRestoreTargetInfoBase `json:"restoreTargetInfo,omitempty"`
	// SourceDataStoreType - Gets or sets the type of the source data store. Possible values include: 'SourceDataStoreTypeArchiveStore', 'SourceDataStoreTypeSnapshotStore', 'SourceDataStoreTypeVaultStore'
	SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeAzureBackupRestoreRequest', 'ObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest'
	ObjectType ObjectTypeBasicAzureBackupRestoreRequest `json:"objectType,omitempty"`
}

AzureBackupRecoveryTimeBasedRestoreRequest azureBackup RecoveryPointTime Based Restore Request

func (AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)

AsAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryTimeBasedRestoreRequest.

func (AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)

AsAzureBackupRecoveryTimeBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryTimeBasedRestoreRequest.

func (AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRestoreRequest

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)

AsAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryTimeBasedRestoreRequest.

func (AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)

AsAzureBackupRestoreWithRehydrationRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryTimeBasedRestoreRequest.

func (AzureBackupRecoveryTimeBasedRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)

AsBasicAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryTimeBasedRestoreRequest.

func (AzureBackupRecoveryTimeBasedRestoreRequest) AsBasicAzureBackupRestoreRequest

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)

AsBasicAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRecoveryTimeBasedRestoreRequest.

func (AzureBackupRecoveryTimeBasedRestoreRequest) MarshalJSON

func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRecoveryTimeBasedRestoreRequest.

func (*AzureBackupRecoveryTimeBasedRestoreRequest) UnmarshalJSON

func (abrtbrr *AzureBackupRecoveryTimeBasedRestoreRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureBackupRecoveryTimeBasedRestoreRequest struct.

type AzureBackupRehydrationRequest

type AzureBackupRehydrationRequest struct {
	// RecoveryPointID - Id of the recovery point to be recovered
	RecoveryPointID *string `json:"recoveryPointId,omitempty"`
	// RehydrationPriority - Priority to be used for rehydration. Values High or Standard. Possible values include: 'RehydrationPriorityInvalid', 'RehydrationPriorityHigh', 'RehydrationPriorityStandard'
	RehydrationPriority RehydrationPriority `json:"rehydrationPriority,omitempty"`
	// RehydrationRetentionDuration - Retention duration in ISO 8601 format i.e P10D .
	RehydrationRetentionDuration *string `json:"rehydrationRetentionDuration,omitempty"`
}

AzureBackupRehydrationRequest azure Backup Rehydrate Request

type AzureBackupRestoreRequest

type AzureBackupRestoreRequest struct {
	// RestoreTargetInfo - Gets or sets the restore target information.
	RestoreTargetInfo BasicRestoreTargetInfoBase `json:"restoreTargetInfo,omitempty"`
	// SourceDataStoreType - Gets or sets the type of the source data store. Possible values include: 'SourceDataStoreTypeArchiveStore', 'SourceDataStoreTypeSnapshotStore', 'SourceDataStoreTypeVaultStore'
	SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeAzureBackupRestoreRequest', 'ObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest'
	ObjectType ObjectTypeBasicAzureBackupRestoreRequest `json:"objectType,omitempty"`
}

AzureBackupRestoreRequest azure backup restore request

func (AzureBackupRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest

func (abrr AzureBackupRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)

AsAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreRequest.

func (AzureBackupRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest

func (abrr AzureBackupRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)

AsAzureBackupRecoveryTimeBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreRequest.

func (AzureBackupRestoreRequest) AsAzureBackupRestoreRequest

func (abrr AzureBackupRestoreRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)

AsAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreRequest.

func (AzureBackupRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest

func (abrr AzureBackupRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)

AsAzureBackupRestoreWithRehydrationRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreRequest.

func (AzureBackupRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest

func (abrr AzureBackupRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)

AsBasicAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreRequest.

func (AzureBackupRestoreRequest) AsBasicAzureBackupRestoreRequest

func (abrr AzureBackupRestoreRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)

AsBasicAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreRequest.

func (AzureBackupRestoreRequest) MarshalJSON

func (abrr AzureBackupRestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRestoreRequest.

func (*AzureBackupRestoreRequest) UnmarshalJSON

func (abrr *AzureBackupRestoreRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureBackupRestoreRequest struct.

type AzureBackupRestoreWithRehydrationRequest

type AzureBackupRestoreWithRehydrationRequest struct {
	// RehydrationPriority - Priority to be used for rehydration. Values High or Standard. Possible values include: 'RehydrationPriorityInvalid', 'RehydrationPriorityHigh', 'RehydrationPriorityStandard'
	RehydrationPriority RehydrationPriority `json:"rehydrationPriority,omitempty"`
	// RehydrationRetentionDuration - Retention duration in ISO 8601 format i.e P10D .
	RehydrationRetentionDuration *string `json:"rehydrationRetentionDuration,omitempty"`
	RecoveryPointID              *string `json:"recoveryPointId,omitempty"`
	// RestoreTargetInfo - Gets or sets the restore target information.
	RestoreTargetInfo BasicRestoreTargetInfoBase `json:"restoreTargetInfo,omitempty"`
	// SourceDataStoreType - Gets or sets the type of the source data store. Possible values include: 'SourceDataStoreTypeArchiveStore', 'SourceDataStoreTypeSnapshotStore', 'SourceDataStoreTypeVaultStore'
	SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeAzureBackupRestoreRequest', 'ObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest'
	ObjectType ObjectTypeBasicAzureBackupRestoreRequest `json:"objectType,omitempty"`
}

AzureBackupRestoreWithRehydrationRequest azureBackup Restore with Rehydration Request

func (AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRecoveryPointBasedRestoreRequest

func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)

AsAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreWithRehydrationRequest.

func (AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest

func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)

AsAzureBackupRecoveryTimeBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreWithRehydrationRequest.

func (AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRestoreRequest

func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)

AsAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreWithRehydrationRequest.

func (AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRestoreWithRehydrationRequest

func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)

AsAzureBackupRestoreWithRehydrationRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreWithRehydrationRequest.

func (AzureBackupRestoreWithRehydrationRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest

func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)

AsBasicAzureBackupRecoveryPointBasedRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreWithRehydrationRequest.

func (AzureBackupRestoreWithRehydrationRequest) AsBasicAzureBackupRestoreRequest

func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)

AsBasicAzureBackupRestoreRequest is the BasicAzureBackupRestoreRequest implementation for AzureBackupRestoreWithRehydrationRequest.

func (AzureBackupRestoreWithRehydrationRequest) MarshalJSON

func (abrwrr AzureBackupRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRestoreWithRehydrationRequest.

func (*AzureBackupRestoreWithRehydrationRequest) UnmarshalJSON

func (abrwrr *AzureBackupRestoreWithRehydrationRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureBackupRestoreWithRehydrationRequest struct.

type AzureBackupRule

type AzureBackupRule struct {
	BackupParameters BasicBackupParameters `json:"backupParameters,omitempty"`
	DataStore        *DataStoreInfoBase    `json:"dataStore,omitempty"`
	Trigger          BasicTriggerContext   `json:"trigger,omitempty"`
	Name             *string               `json:"name,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBasePolicyRule', 'ObjectTypeAzureBackupRule', 'ObjectTypeAzureRetentionRule'
	ObjectType ObjectTypeBasicBasePolicyRule `json:"objectType,omitempty"`
}

AzureBackupRule azure backup rule

func (AzureBackupRule) AsAzureBackupRule

func (abr AzureBackupRule) AsAzureBackupRule() (*AzureBackupRule, bool)

AsAzureBackupRule is the BasicBasePolicyRule implementation for AzureBackupRule.

func (AzureBackupRule) AsAzureRetentionRule

func (abr AzureBackupRule) AsAzureRetentionRule() (*AzureRetentionRule, bool)

AsAzureRetentionRule is the BasicBasePolicyRule implementation for AzureBackupRule.

func (AzureBackupRule) AsBasePolicyRule

func (abr AzureBackupRule) AsBasePolicyRule() (*BasePolicyRule, bool)

AsBasePolicyRule is the BasicBasePolicyRule implementation for AzureBackupRule.

func (AzureBackupRule) AsBasicBasePolicyRule

func (abr AzureBackupRule) AsBasicBasePolicyRule() (BasicBasePolicyRule, bool)

AsBasicBasePolicyRule is the BasicBasePolicyRule implementation for AzureBackupRule.

func (AzureBackupRule) MarshalJSON

func (abr AzureBackupRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupRule.

func (*AzureBackupRule) UnmarshalJSON

func (abr *AzureBackupRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureBackupRule struct.

type AzureOperationalStoreParameters

type AzureOperationalStoreParameters struct {
	// ResourceGroupID - Gets or sets the Snapshot Resource Group Uri.
	ResourceGroupID *string `json:"resourceGroupId,omitempty"`
	// DataStoreType - type of datastore; Operational/Vault/Archive. Possible values include: 'OperationalStore', 'VaultStore', 'ArchiveStore'
	DataStoreType DataStoreTypes `json:"dataStoreType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeDataStoreParameters', 'ObjectTypeAzureOperationalStoreParameters'
	ObjectType ObjectTypeBasicDataStoreParameters `json:"objectType,omitempty"`
}

AzureOperationalStoreParameters parameters for Operational-Tier DataStore

func (AzureOperationalStoreParameters) AsAzureOperationalStoreParameters

func (aosp AzureOperationalStoreParameters) AsAzureOperationalStoreParameters() (*AzureOperationalStoreParameters, bool)

AsAzureOperationalStoreParameters is the BasicDataStoreParameters implementation for AzureOperationalStoreParameters.

func (AzureOperationalStoreParameters) AsBasicDataStoreParameters

func (aosp AzureOperationalStoreParameters) AsBasicDataStoreParameters() (BasicDataStoreParameters, bool)

AsBasicDataStoreParameters is the BasicDataStoreParameters implementation for AzureOperationalStoreParameters.

func (AzureOperationalStoreParameters) AsDataStoreParameters

func (aosp AzureOperationalStoreParameters) AsDataStoreParameters() (*DataStoreParameters, bool)

AsDataStoreParameters is the BasicDataStoreParameters implementation for AzureOperationalStoreParameters.

func (AzureOperationalStoreParameters) MarshalJSON

func (aosp AzureOperationalStoreParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureOperationalStoreParameters.

type AzureRetentionRule

type AzureRetentionRule struct {
	IsDefault  *bool              `json:"isDefault,omitempty"`
	Lifecycles *[]SourceLifeCycle `json:"lifecycles,omitempty"`
	Name       *string            `json:"name,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBasePolicyRule', 'ObjectTypeAzureBackupRule', 'ObjectTypeAzureRetentionRule'
	ObjectType ObjectTypeBasicBasePolicyRule `json:"objectType,omitempty"`
}

AzureRetentionRule azure retention rule

func (AzureRetentionRule) AsAzureBackupRule

func (arr AzureRetentionRule) AsAzureBackupRule() (*AzureBackupRule, bool)

AsAzureBackupRule is the BasicBasePolicyRule implementation for AzureRetentionRule.

func (AzureRetentionRule) AsAzureRetentionRule

func (arr AzureRetentionRule) AsAzureRetentionRule() (*AzureRetentionRule, bool)

AsAzureRetentionRule is the BasicBasePolicyRule implementation for AzureRetentionRule.

func (AzureRetentionRule) AsBasePolicyRule

func (arr AzureRetentionRule) AsBasePolicyRule() (*BasePolicyRule, bool)

AsBasePolicyRule is the BasicBasePolicyRule implementation for AzureRetentionRule.

func (AzureRetentionRule) AsBasicBasePolicyRule

func (arr AzureRetentionRule) AsBasicBasePolicyRule() (BasicBasePolicyRule, bool)

AsBasicBasePolicyRule is the BasicBasePolicyRule implementation for AzureRetentionRule.

func (AzureRetentionRule) MarshalJSON

func (arr AzureRetentionRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureRetentionRule.

type BackupCriteria

type BackupCriteria struct {
	// ObjectType - Possible values include: 'ObjectTypeBackupCriteria', 'ObjectTypeScheduleBasedBackupCriteria'
	ObjectType ObjectTypeBasicBackupCriteria `json:"objectType,omitempty"`
}

BackupCriteria backupCriteria base class

func (BackupCriteria) AsBackupCriteria

func (bc BackupCriteria) AsBackupCriteria() (*BackupCriteria, bool)

AsBackupCriteria is the BasicBackupCriteria implementation for BackupCriteria.

func (BackupCriteria) AsBasicBackupCriteria

func (bc BackupCriteria) AsBasicBackupCriteria() (BasicBackupCriteria, bool)

AsBasicBackupCriteria is the BasicBackupCriteria implementation for BackupCriteria.

func (BackupCriteria) AsScheduleBasedBackupCriteria

func (bc BackupCriteria) AsScheduleBasedBackupCriteria() (*ScheduleBasedBackupCriteria, bool)

AsScheduleBasedBackupCriteria is the BasicBackupCriteria implementation for BackupCriteria.

func (BackupCriteria) MarshalJSON

func (bc BackupCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupCriteria.

type BackupInstance

type BackupInstance struct {
	// FriendlyName - Gets or sets the Backup Instance friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// DataSourceInfo - Gets or sets the data source information.
	DataSourceInfo *Datasource `json:"dataSourceInfo,omitempty"`
	// DataSourceSetInfo - Gets or sets the data source set information.
	DataSourceSetInfo *DatasourceSet `json:"dataSourceSetInfo,omitempty"`
	// PolicyInfo - Gets or sets the policy information.
	PolicyInfo *PolicyInfo `json:"policyInfo,omitempty"`
	// ProtectionStatus - READ-ONLY; Specifies the protection status of the resource
	ProtectionStatus *ProtectionStatusDetails `json:"protectionStatus,omitempty"`
	// CurrentProtectionState - READ-ONLY; Specifies the current protection state of the resource. Possible values include: 'Invalid', 'NotProtected', 'ConfiguringProtection', 'ProtectionConfigured', 'BackupSchedulesSuspended', 'RetentionSchedulesSuspended', 'ProtectionStopped', 'ProtectionError', 'ConfiguringProtectionFailed', 'SoftDeleting', 'SoftDeleted', 'UpdatingProtection'
	CurrentProtectionState CurrentProtectionState `json:"currentProtectionState,omitempty"`
	// ProtectionErrorDetails - READ-ONLY; Specifies the protection error of the resource
	ProtectionErrorDetails *UserFacingError `json:"protectionErrorDetails,omitempty"`
	// ProvisioningState - READ-ONLY; Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
	ProvisioningState *string `json:"provisioningState,omitempty"`
	ObjectType        *string `json:"objectType,omitempty"`
}

BackupInstance backup Instance

func (BackupInstance) MarshalJSON

func (bi BackupInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupInstance.

type BackupInstanceResource

type BackupInstanceResource struct {
	autorest.Response `json:"-"`
	// Properties - BackupInstanceResource properties
	Properties *BackupInstance `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BackupInstanceResource backupInstance Resource

func (BackupInstanceResource) MarshalJSON

func (bir BackupInstanceResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupInstanceResource.

type BackupInstanceResourceList

type BackupInstanceResourceList struct {
	autorest.Response `json:"-"`
	// Value - List of resources.
	Value *[]BackupInstanceResource `json:"value,omitempty"`
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

BackupInstanceResourceList backupInstance Resource list response

func (BackupInstanceResourceList) IsEmpty

func (birl BackupInstanceResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BackupInstanceResourceListIterator

type BackupInstanceResourceListIterator struct {
	// contains filtered or unexported fields
}

BackupInstanceResourceListIterator provides access to a complete listing of BackupInstanceResource values.

func NewBackupInstanceResourceListIterator

func NewBackupInstanceResourceListIterator(page BackupInstanceResourceListPage) BackupInstanceResourceListIterator

Creates a new instance of the BackupInstanceResourceListIterator type.

func (*BackupInstanceResourceListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BackupInstanceResourceListIterator) NextWithContext

func (iter *BackupInstanceResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BackupInstanceResourceListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (BackupInstanceResourceListIterator) Response

Response returns the raw server response from the last page request.

func (BackupInstanceResourceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BackupInstanceResourceListPage

type BackupInstanceResourceListPage struct {
	// contains filtered or unexported fields
}

BackupInstanceResourceListPage contains a page of BackupInstanceResource values.

func NewBackupInstanceResourceListPage

Creates a new instance of the BackupInstanceResourceListPage type.

func (*BackupInstanceResourceListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BackupInstanceResourceListPage) NextWithContext

func (page *BackupInstanceResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BackupInstanceResourceListPage) NotDone

func (page BackupInstanceResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BackupInstanceResourceListPage) Response

Response returns the raw server response from the last page request.

func (BackupInstanceResourceListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BackupInstancesAdhocBackupFuture

type BackupInstancesAdhocBackupFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (OperationJobExtendedInfo, error)
}

BackupInstancesAdhocBackupFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesAdhocBackupFuture) UnmarshalJSON

func (future *BackupInstancesAdhocBackupFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupInstancesClient

type BackupInstancesClient struct {
	BaseClient
}

BackupInstancesClient is the open API 2.0 Specs for Azure Data Protection service

func NewBackupInstancesClient

func NewBackupInstancesClient(subscriptionID string) BackupInstancesClient

NewBackupInstancesClient creates an instance of the BackupInstancesClient client.

func NewBackupInstancesClientWithBaseURI

func NewBackupInstancesClientWithBaseURI(baseURI string, subscriptionID string) BackupInstancesClient

NewBackupInstancesClientWithBaseURI creates an instance of the BackupInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BackupInstancesClient) AdhocBackup

func (client BackupInstancesClient) AdhocBackup(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters TriggerBackupRequest) (result BackupInstancesAdhocBackupFuture, err error)

AdhocBackup trigger adhoc backup Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance parameters - request body for operation

func (BackupInstancesClient) AdhocBackupPreparer

func (client BackupInstancesClient) AdhocBackupPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters TriggerBackupRequest) (*http.Request, error)

AdhocBackupPreparer prepares the AdhocBackup request.

func (BackupInstancesClient) AdhocBackupResponder

func (client BackupInstancesClient) AdhocBackupResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)

AdhocBackupResponder handles the response to the AdhocBackup request. The method always closes the http.Response Body.

func (BackupInstancesClient) AdhocBackupSender

func (client BackupInstancesClient) AdhocBackupSender(req *http.Request) (future BackupInstancesAdhocBackupFuture, err error)

AdhocBackupSender sends the AdhocBackup request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) CreateOrUpdate

func (client BackupInstancesClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters BackupInstanceResource) (result BackupInstancesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a backup instance in a backup vault Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance parameters - request body for operation

func (BackupInstancesClient) CreateOrUpdatePreparer

func (client BackupInstancesClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters BackupInstanceResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupInstancesClient) CreateOrUpdateResponder

func (client BackupInstancesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupInstanceResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BackupInstancesClient) CreateOrUpdateSender

func (client BackupInstancesClient) CreateOrUpdateSender(req *http.Request) (future BackupInstancesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) Delete

func (client BackupInstancesClient) Delete(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string) (result BackupInstancesDeleteFuture, err error)

Delete delete a backup instance in a backup vault Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance

func (BackupInstancesClient) DeletePreparer

func (client BackupInstancesClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupInstancesClient) DeleteResponder

func (client BackupInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BackupInstancesClient) DeleteSender

func (client BackupInstancesClient) DeleteSender(req *http.Request) (future BackupInstancesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) Get

func (client BackupInstancesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string) (result BackupInstanceResource, err error)

Get gets a backup instance with name in a backup vault Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance

func (BackupInstancesClient) GetPreparer

func (client BackupInstancesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupInstancesClient) GetResponder

func (client BackupInstancesClient) GetResponder(resp *http.Response) (result BackupInstanceResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BackupInstancesClient) GetSender

func (client BackupInstancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) List

func (client BackupInstancesClient) List(ctx context.Context, vaultName string, resourceGroupName string) (result BackupInstanceResourceListPage, err error)

List gets a backup instances belonging to a backup vault Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupInstancesClient) ListComplete

func (client BackupInstancesClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string) (result BackupInstanceResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BackupInstancesClient) ListPreparer

func (client BackupInstancesClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BackupInstancesClient) ListResponder

func (client BackupInstancesClient) ListResponder(resp *http.Response) (result BackupInstanceResourceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BackupInstancesClient) ListSender

func (client BackupInstancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) TriggerRehydrate

func (client BackupInstancesClient) TriggerRehydrate(ctx context.Context, resourceGroupName string, vaultName string, parameters AzureBackupRehydrationRequest, backupInstanceName string) (result BackupInstancesTriggerRehydrateFuture, err error)

TriggerRehydrate rehydrate recovery point for restore for a BackupInstance Parameters: resourceGroupName - the name of the resource group where the backup vault is present. vaultName - the name of the backup vault. parameters - request body for operation

func (BackupInstancesClient) TriggerRehydratePreparer

func (client BackupInstancesClient) TriggerRehydratePreparer(ctx context.Context, resourceGroupName string, vaultName string, parameters AzureBackupRehydrationRequest, backupInstanceName string) (*http.Request, error)

TriggerRehydratePreparer prepares the TriggerRehydrate request.

func (BackupInstancesClient) TriggerRehydrateResponder

func (client BackupInstancesClient) TriggerRehydrateResponder(resp *http.Response) (result autorest.Response, err error)

TriggerRehydrateResponder handles the response to the TriggerRehydrate request. The method always closes the http.Response Body.

func (BackupInstancesClient) TriggerRehydrateSender

func (client BackupInstancesClient) TriggerRehydrateSender(req *http.Request) (future BackupInstancesTriggerRehydrateFuture, err error)

TriggerRehydrateSender sends the TriggerRehydrate request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) TriggerRestore

func (client BackupInstancesClient) TriggerRestore(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters BasicAzureBackupRestoreRequest) (result BackupInstancesTriggerRestoreFuture, err error)

TriggerRestore triggers restore for a BackupInstance Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance parameters - request body for operation

func (BackupInstancesClient) TriggerRestorePreparer

func (client BackupInstancesClient) TriggerRestorePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters BasicAzureBackupRestoreRequest) (*http.Request, error)

TriggerRestorePreparer prepares the TriggerRestore request.

func (BackupInstancesClient) TriggerRestoreResponder

func (client BackupInstancesClient) TriggerRestoreResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)

TriggerRestoreResponder handles the response to the TriggerRestore request. The method always closes the http.Response Body.

func (BackupInstancesClient) TriggerRestoreSender

func (client BackupInstancesClient) TriggerRestoreSender(req *http.Request) (future BackupInstancesTriggerRestoreFuture, err error)

TriggerRestoreSender sends the TriggerRestore request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) ValidateForBackup

func (client BackupInstancesClient) ValidateForBackup(ctx context.Context, vaultName string, resourceGroupName string, parameters ValidateForBackupRequest) (result BackupInstancesValidateForBackupFuture, err error)

ValidateForBackup validate whether adhoc backup will be successful or not Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. parameters - request body for operation

func (BackupInstancesClient) ValidateForBackupPreparer

func (client BackupInstancesClient) ValidateForBackupPreparer(ctx context.Context, vaultName string, resourceGroupName string, parameters ValidateForBackupRequest) (*http.Request, error)

ValidateForBackupPreparer prepares the ValidateForBackup request.

func (BackupInstancesClient) ValidateForBackupResponder

func (client BackupInstancesClient) ValidateForBackupResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)

ValidateForBackupResponder handles the response to the ValidateForBackup request. The method always closes the http.Response Body.

func (BackupInstancesClient) ValidateForBackupSender

func (client BackupInstancesClient) ValidateForBackupSender(req *http.Request) (future BackupInstancesValidateForBackupFuture, err error)

ValidateForBackupSender sends the ValidateForBackup request. The method will close the http.Response Body if it receives an error.

func (BackupInstancesClient) ValidateRestore

func (client BackupInstancesClient) ValidateRestore(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters ValidateRestoreRequestObject) (result BackupInstancesValidateRestoreFuture, err error)

ValidateRestore validates if Restore can be triggered for a DataSource Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance parameters - request body for operation

func (BackupInstancesClient) ValidateRestorePreparer

func (client BackupInstancesClient) ValidateRestorePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters ValidateRestoreRequestObject) (*http.Request, error)

ValidateRestorePreparer prepares the ValidateRestore request.

func (BackupInstancesClient) ValidateRestoreResponder

func (client BackupInstancesClient) ValidateRestoreResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)

ValidateRestoreResponder handles the response to the ValidateRestore request. The method always closes the http.Response Body.

func (BackupInstancesClient) ValidateRestoreSender

func (client BackupInstancesClient) ValidateRestoreSender(req *http.Request) (future BackupInstancesValidateRestoreFuture, err error)

ValidateRestoreSender sends the ValidateRestore request. The method will close the http.Response Body if it receives an error.

type BackupInstancesCreateOrUpdateFuture

type BackupInstancesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (BackupInstanceResource, error)
}

BackupInstancesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesCreateOrUpdateFuture) UnmarshalJSON

func (future *BackupInstancesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupInstancesDeleteFuture

type BackupInstancesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (autorest.Response, error)
}

BackupInstancesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesDeleteFuture) UnmarshalJSON

func (future *BackupInstancesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupInstancesTriggerRehydrateFuture

type BackupInstancesTriggerRehydrateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (autorest.Response, error)
}

BackupInstancesTriggerRehydrateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesTriggerRehydrateFuture) UnmarshalJSON

func (future *BackupInstancesTriggerRehydrateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupInstancesTriggerRestoreFuture

type BackupInstancesTriggerRestoreFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (OperationJobExtendedInfo, error)
}

BackupInstancesTriggerRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesTriggerRestoreFuture) UnmarshalJSON

func (future *BackupInstancesTriggerRestoreFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupInstancesValidateForBackupFuture

type BackupInstancesValidateForBackupFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (OperationJobExtendedInfo, error)
}

BackupInstancesValidateForBackupFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesValidateForBackupFuture) UnmarshalJSON

func (future *BackupInstancesValidateForBackupFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupInstancesValidateRestoreFuture

type BackupInstancesValidateRestoreFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupInstancesClient) (OperationJobExtendedInfo, error)
}

BackupInstancesValidateRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupInstancesValidateRestoreFuture) UnmarshalJSON

func (future *BackupInstancesValidateRestoreFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupParameters

type BackupParameters struct {
	// ObjectType - Possible values include: 'ObjectTypeBackupParameters', 'ObjectTypeAzureBackupParams'
	ObjectType ObjectTypeBasicBackupParameters `json:"objectType,omitempty"`
}

BackupParameters backupParameters base

func (BackupParameters) AsAzureBackupParams

func (bp BackupParameters) AsAzureBackupParams() (*AzureBackupParams, bool)

AsAzureBackupParams is the BasicBackupParameters implementation for BackupParameters.

func (BackupParameters) AsBackupParameters

func (bp BackupParameters) AsBackupParameters() (*BackupParameters, bool)

AsBackupParameters is the BasicBackupParameters implementation for BackupParameters.

func (BackupParameters) AsBasicBackupParameters

func (bp BackupParameters) AsBasicBackupParameters() (BasicBackupParameters, bool)

AsBasicBackupParameters is the BasicBackupParameters implementation for BackupParameters.

func (BackupParameters) MarshalJSON

func (bp BackupParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupParameters.

type BackupPoliciesClient

type BackupPoliciesClient struct {
	BaseClient
}

BackupPoliciesClient is the open API 2.0 Specs for Azure Data Protection service

func NewBackupPoliciesClient

func NewBackupPoliciesClient(subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClient creates an instance of the BackupPoliciesClient client.

func NewBackupPoliciesClientWithBaseURI

func NewBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClientWithBaseURI creates an instance of the BackupPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BackupPoliciesClient) CreateOrUpdate

func (client BackupPoliciesClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string, parameters BaseBackupPolicyResource) (result BaseBackupPolicyResource, err error)

CreateOrUpdate sends the create or update request. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. parameters - request body for operation

func (BackupPoliciesClient) CreateOrUpdatePreparer

func (client BackupPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string, parameters BaseBackupPolicyResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupPoliciesClient) CreateOrUpdateResponder

func (client BackupPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BaseBackupPolicyResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BackupPoliciesClient) CreateOrUpdateSender

func (client BackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BackupPoliciesClient) Delete

func (client BackupPoliciesClient) Delete(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupPoliciesClient) DeletePreparer

func (client BackupPoliciesClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupPoliciesClient) DeleteResponder

func (client BackupPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BackupPoliciesClient) DeleteSender

func (client BackupPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BackupPoliciesClient) Get

func (client BackupPoliciesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string) (result BaseBackupPolicyResource, err error)

Get gets a backup policy belonging to a backup vault Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupPoliciesClient) GetPreparer

func (client BackupPoliciesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupPoliciesClient) GetResponder

func (client BackupPoliciesClient) GetResponder(resp *http.Response) (result BaseBackupPolicyResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BackupPoliciesClient) GetSender

func (client BackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BackupPoliciesClient) List

func (client BackupPoliciesClient) List(ctx context.Context, vaultName string, resourceGroupName string) (result BaseBackupPolicyResourceListPage, err error)

List returns list of backup policies belonging to a backup vault Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupPoliciesClient) ListComplete

func (client BackupPoliciesClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string) (result BaseBackupPolicyResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BackupPoliciesClient) ListPreparer

func (client BackupPoliciesClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (BackupPoliciesClient) ListResponder

func (client BackupPoliciesClient) ListResponder(resp *http.Response) (result BaseBackupPolicyResourceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BackupPoliciesClient) ListSender

func (client BackupPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BackupPolicy

type BackupPolicy struct {
	// PolicyRules - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
	PolicyRules *[]BasicBasePolicyRule `json:"policyRules,omitempty"`
	// DatasourceTypes - Type of datasource for the backup management
	DatasourceTypes *[]string `json:"datasourceTypes,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBaseBackupPolicy', 'ObjectTypeBackupPolicy'
	ObjectType ObjectTypeBasicBaseBackupPolicy `json:"objectType,omitempty"`
}

BackupPolicy rule based backup policy

func (BackupPolicy) AsBackupPolicy

func (bp BackupPolicy) AsBackupPolicy() (*BackupPolicy, bool)

AsBackupPolicy is the BasicBaseBackupPolicy implementation for BackupPolicy.

func (BackupPolicy) AsBaseBackupPolicy

func (bp BackupPolicy) AsBaseBackupPolicy() (*BaseBackupPolicy, bool)

AsBaseBackupPolicy is the BasicBaseBackupPolicy implementation for BackupPolicy.

func (BackupPolicy) AsBasicBaseBackupPolicy

func (bp BackupPolicy) AsBasicBaseBackupPolicy() (BasicBaseBackupPolicy, bool)

AsBasicBaseBackupPolicy is the BasicBaseBackupPolicy implementation for BackupPolicy.

func (BackupPolicy) MarshalJSON

func (bp BackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPolicy.

func (*BackupPolicy) UnmarshalJSON

func (bp *BackupPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupPolicy struct.

type BackupSchedule

type BackupSchedule struct {
	// RepeatingTimeIntervals - ISO 8601 repeating time interval format
	RepeatingTimeIntervals *[]string `json:"repeatingTimeIntervals,omitempty"`
}

BackupSchedule schedule for backup

type BackupVault

type BackupVault struct {
	// ProvisioningState - READ-ONLY; Provisioning state of the BackupVault resource. Possible values include: 'Failed', 'Provisioning', 'Succeeded', 'Unknown', 'Updating'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StorageSettings - Storage Settings
	StorageSettings *[]StorageSetting `json:"storageSettings,omitempty"`
}

BackupVault backup Vault

func (BackupVault) MarshalJSON

func (bv BackupVault) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupVault.

type BackupVaultResource

type BackupVaultResource struct {
	autorest.Response `json:"-"`
	// Properties - BackupVaultResource properties
	Properties *BackupVault `json:"properties,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Identity - Input Managed Identity Details
	Identity *DppIdentityDetails `json:"identity,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BackupVaultResource backup Vault Resource

func (BackupVaultResource) MarshalJSON

func (bvr BackupVaultResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupVaultResource.

type BackupVaultResourceList

type BackupVaultResourceList struct {
	autorest.Response `json:"-"`
	// Value - List of resources.
	Value *[]BackupVaultResource `json:"value,omitempty"`
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

BackupVaultResourceList list of BackupVault resources

func (BackupVaultResourceList) IsEmpty

func (bvrl BackupVaultResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BackupVaultResourceListIterator

type BackupVaultResourceListIterator struct {
	// contains filtered or unexported fields
}

BackupVaultResourceListIterator provides access to a complete listing of BackupVaultResource values.

func NewBackupVaultResourceListIterator

func NewBackupVaultResourceListIterator(page BackupVaultResourceListPage) BackupVaultResourceListIterator

Creates a new instance of the BackupVaultResourceListIterator type.

func (*BackupVaultResourceListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BackupVaultResourceListIterator) NextWithContext

func (iter *BackupVaultResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BackupVaultResourceListIterator) NotDone

func (iter BackupVaultResourceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BackupVaultResourceListIterator) Response

Response returns the raw server response from the last page request.

func (BackupVaultResourceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BackupVaultResourceListPage

type BackupVaultResourceListPage struct {
	// contains filtered or unexported fields
}

BackupVaultResourceListPage contains a page of BackupVaultResource values.

func NewBackupVaultResourceListPage

Creates a new instance of the BackupVaultResourceListPage type.

func (*BackupVaultResourceListPage) Next

func (page *BackupVaultResourceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BackupVaultResourceListPage) NextWithContext

func (page *BackupVaultResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BackupVaultResourceListPage) NotDone

func (page BackupVaultResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BackupVaultResourceListPage) Response

Response returns the raw server response from the last page request.

func (BackupVaultResourceListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BackupVaultsClient

type BackupVaultsClient struct {
	BaseClient
}

BackupVaultsClient is the open API 2.0 Specs for Azure Data Protection service

func NewBackupVaultsClient

func NewBackupVaultsClient(subscriptionID string) BackupVaultsClient

NewBackupVaultsClient creates an instance of the BackupVaultsClient client.

func NewBackupVaultsClientWithBaseURI

func NewBackupVaultsClientWithBaseURI(baseURI string, subscriptionID string) BackupVaultsClient

NewBackupVaultsClientWithBaseURI creates an instance of the BackupVaultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BackupVaultsClient) CheckNameAvailability

func (client BackupVaultsClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, location string, parameters CheckNameAvailabilityRequest) (result CheckNameAvailabilityResult, err error)

CheckNameAvailability sends the check name availability request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. location - the location in which uniqueness will be verified. parameters - check name availability request

func (BackupVaultsClient) CheckNameAvailabilityPreparer

func (client BackupVaultsClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, location string, parameters CheckNameAvailabilityRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (BackupVaultsClient) CheckNameAvailabilityResponder

func (client BackupVaultsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (BackupVaultsClient) CheckNameAvailabilitySender

func (client BackupVaultsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (BackupVaultsClient) CreateOrUpdate

func (client BackupVaultsClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, parameters BackupVaultResource) (result BackupVaultsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a BackupVault resource belonging to a resource group. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. parameters - request body for operation

func (BackupVaultsClient) CreateOrUpdatePreparer

func (client BackupVaultsClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, parameters BackupVaultResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupVaultsClient) CreateOrUpdateResponder

func (client BackupVaultsClient) CreateOrUpdateResponder(resp *http.Response) (result BackupVaultResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BackupVaultsClient) CreateOrUpdateSender

func (client BackupVaultsClient) CreateOrUpdateSender(req *http.Request) (future BackupVaultsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BackupVaultsClient) Delete

func (client BackupVaultsClient) Delete(ctx context.Context, vaultName string, resourceGroupName string) (result autorest.Response, err error)

Delete deletes a BackupVault resource from the resource group. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupVaultsClient) DeletePreparer

func (client BackupVaultsClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupVaultsClient) DeleteResponder

func (client BackupVaultsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BackupVaultsClient) DeleteSender

func (client BackupVaultsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BackupVaultsClient) Get

func (client BackupVaultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string) (result BackupVaultResource, err error)

Get returns a resource belonging to a resource group. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupVaultsClient) GetPreparer

func (client BackupVaultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupVaultsClient) GetResourcesInResourceGroup

func (client BackupVaultsClient) GetResourcesInResourceGroup(ctx context.Context, resourceGroupName string) (result BackupVaultResourceListPage, err error)

GetResourcesInResourceGroup returns resource collection belonging to a resource group. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.

func (BackupVaultsClient) GetResourcesInResourceGroupComplete

func (client BackupVaultsClient) GetResourcesInResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BackupVaultResourceListIterator, err error)

GetResourcesInResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (BackupVaultsClient) GetResourcesInResourceGroupPreparer

func (client BackupVaultsClient) GetResourcesInResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

GetResourcesInResourceGroupPreparer prepares the GetResourcesInResourceGroup request.

func (BackupVaultsClient) GetResourcesInResourceGroupResponder

func (client BackupVaultsClient) GetResourcesInResourceGroupResponder(resp *http.Response) (result BackupVaultResourceList, err error)

GetResourcesInResourceGroupResponder handles the response to the GetResourcesInResourceGroup request. The method always closes the http.Response Body.

func (BackupVaultsClient) GetResourcesInResourceGroupSender

func (client BackupVaultsClient) GetResourcesInResourceGroupSender(req *http.Request) (*http.Response, error)

GetResourcesInResourceGroupSender sends the GetResourcesInResourceGroup request. The method will close the http.Response Body if it receives an error.

func (BackupVaultsClient) GetResourcesInSubscription

func (client BackupVaultsClient) GetResourcesInSubscription(ctx context.Context) (result BackupVaultResourceListPage, err error)

GetResourcesInSubscription returns resource collection belonging to a subscription.

func (BackupVaultsClient) GetResourcesInSubscriptionComplete

func (client BackupVaultsClient) GetResourcesInSubscriptionComplete(ctx context.Context) (result BackupVaultResourceListIterator, err error)

GetResourcesInSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (BackupVaultsClient) GetResourcesInSubscriptionPreparer

func (client BackupVaultsClient) GetResourcesInSubscriptionPreparer(ctx context.Context) (*http.Request, error)

GetResourcesInSubscriptionPreparer prepares the GetResourcesInSubscription request.

func (BackupVaultsClient) GetResourcesInSubscriptionResponder

func (client BackupVaultsClient) GetResourcesInSubscriptionResponder(resp *http.Response) (result BackupVaultResourceList, err error)

GetResourcesInSubscriptionResponder handles the response to the GetResourcesInSubscription request. The method always closes the http.Response Body.

func (BackupVaultsClient) GetResourcesInSubscriptionSender

func (client BackupVaultsClient) GetResourcesInSubscriptionSender(req *http.Request) (*http.Response, error)

GetResourcesInSubscriptionSender sends the GetResourcesInSubscription request. The method will close the http.Response Body if it receives an error.

func (BackupVaultsClient) GetResponder

func (client BackupVaultsClient) GetResponder(resp *http.Response) (result BackupVaultResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BackupVaultsClient) GetSender

func (client BackupVaultsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BackupVaultsClient) Patch

func (client BackupVaultsClient) Patch(ctx context.Context, vaultName string, resourceGroupName string, parameters PatchResourceRequestInput) (result BackupVaultsPatchFuture, err error)

Patch updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. parameters - request body for operation

func (BackupVaultsClient) PatchPreparer

func (client BackupVaultsClient) PatchPreparer(ctx context.Context, vaultName string, resourceGroupName string, parameters PatchResourceRequestInput) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (BackupVaultsClient) PatchResponder

func (client BackupVaultsClient) PatchResponder(resp *http.Response) (result BackupVaultResource, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (BackupVaultsClient) PatchSender

func (client BackupVaultsClient) PatchSender(req *http.Request) (future BackupVaultsPatchFuture, err error)

PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.

type BackupVaultsCreateOrUpdateFuture

type BackupVaultsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupVaultsClient) (BackupVaultResource, error)
}

BackupVaultsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupVaultsCreateOrUpdateFuture) UnmarshalJSON

func (future *BackupVaultsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BackupVaultsPatchFuture

type BackupVaultsPatchFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BackupVaultsClient) (BackupVaultResource, error)
}

BackupVaultsPatchFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BackupVaultsPatchFuture) UnmarshalJSON

func (future *BackupVaultsPatchFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BaseBackupPolicy

type BaseBackupPolicy struct {
	// DatasourceTypes - Type of datasource for the backup management
	DatasourceTypes *[]string `json:"datasourceTypes,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBaseBackupPolicy', 'ObjectTypeBackupPolicy'
	ObjectType ObjectTypeBasicBaseBackupPolicy `json:"objectType,omitempty"`
}

BaseBackupPolicy backupPolicy base

func (BaseBackupPolicy) AsBackupPolicy

func (bbp BaseBackupPolicy) AsBackupPolicy() (*BackupPolicy, bool)

AsBackupPolicy is the BasicBaseBackupPolicy implementation for BaseBackupPolicy.

func (BaseBackupPolicy) AsBaseBackupPolicy

func (bbp BaseBackupPolicy) AsBaseBackupPolicy() (*BaseBackupPolicy, bool)

AsBaseBackupPolicy is the BasicBaseBackupPolicy implementation for BaseBackupPolicy.

func (BaseBackupPolicy) AsBasicBaseBackupPolicy

func (bbp BaseBackupPolicy) AsBasicBaseBackupPolicy() (BasicBaseBackupPolicy, bool)

AsBasicBaseBackupPolicy is the BasicBaseBackupPolicy implementation for BaseBackupPolicy.

func (BaseBackupPolicy) MarshalJSON

func (bbp BaseBackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BaseBackupPolicy.

type BaseBackupPolicyResource

type BaseBackupPolicyResource struct {
	autorest.Response `json:"-"`
	// Properties - BaseBackupPolicyResource properties
	Properties BasicBaseBackupPolicy `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

BaseBackupPolicyResource baseBackupPolicy resource

func (BaseBackupPolicyResource) MarshalJSON

func (bbpr BaseBackupPolicyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BaseBackupPolicyResource.

func (*BaseBackupPolicyResource) UnmarshalJSON

func (bbpr *BaseBackupPolicyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BaseBackupPolicyResource struct.

type BaseBackupPolicyResourceList

type BaseBackupPolicyResourceList struct {
	autorest.Response `json:"-"`
	// Value - List of resources.
	Value *[]BaseBackupPolicyResource `json:"value,omitempty"`
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

BaseBackupPolicyResourceList list of BaseBackupPolicy resources

func (BaseBackupPolicyResourceList) IsEmpty

func (bbprl BaseBackupPolicyResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BaseBackupPolicyResourceListIterator

type BaseBackupPolicyResourceListIterator struct {
	// contains filtered or unexported fields
}

BaseBackupPolicyResourceListIterator provides access to a complete listing of BaseBackupPolicyResource values.

func NewBaseBackupPolicyResourceListIterator

func NewBaseBackupPolicyResourceListIterator(page BaseBackupPolicyResourceListPage) BaseBackupPolicyResourceListIterator

Creates a new instance of the BaseBackupPolicyResourceListIterator type.

func (*BaseBackupPolicyResourceListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BaseBackupPolicyResourceListIterator) NextWithContext

func (iter *BaseBackupPolicyResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BaseBackupPolicyResourceListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (BaseBackupPolicyResourceListIterator) Response

Response returns the raw server response from the last page request.

func (BaseBackupPolicyResourceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BaseBackupPolicyResourceListPage

type BaseBackupPolicyResourceListPage struct {
	// contains filtered or unexported fields
}

BaseBackupPolicyResourceListPage contains a page of BaseBackupPolicyResource values.

func NewBaseBackupPolicyResourceListPage

Creates a new instance of the BaseBackupPolicyResourceListPage type.

func (*BaseBackupPolicyResourceListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BaseBackupPolicyResourceListPage) NextWithContext

func (page *BaseBackupPolicyResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BaseBackupPolicyResourceListPage) NotDone

func (page BaseBackupPolicyResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BaseBackupPolicyResourceListPage) Response

Response returns the raw server response from the last page request.

func (BaseBackupPolicyResourceListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Dataprotection.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) CheckFeatureSupport

func (client BaseClient) CheckFeatureSupport(ctx context.Context, location string, parameters BasicFeatureValidationRequestBase) (result FeatureValidationResponseBaseModel, err error)

CheckFeatureSupport sends the check feature support request. Parameters: parameters - feature support request object

func (BaseClient) CheckFeatureSupportPreparer

func (client BaseClient) CheckFeatureSupportPreparer(ctx context.Context, location string, parameters BasicFeatureValidationRequestBase) (*http.Request, error)

CheckFeatureSupportPreparer prepares the CheckFeatureSupport request.

func (BaseClient) CheckFeatureSupportResponder

func (client BaseClient) CheckFeatureSupportResponder(resp *http.Response) (result FeatureValidationResponseBaseModel, err error)

CheckFeatureSupportResponder handles the response to the CheckFeatureSupport request. The method always closes the http.Response Body.

func (BaseClient) CheckFeatureSupportSender

func (client BaseClient) CheckFeatureSupportSender(req *http.Request) (*http.Response, error)

CheckFeatureSupportSender sends the CheckFeatureSupport request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetOperationResultPatch

func (client BaseClient) GetOperationResultPatch(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result BackupVaultResource, err error)

GetOperationResultPatch sends the get operation result patch request. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.

func (BaseClient) GetOperationResultPatchPreparer

func (client BaseClient) GetOperationResultPatchPreparer(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (*http.Request, error)

GetOperationResultPatchPreparer prepares the GetOperationResultPatch request.

func (BaseClient) GetOperationResultPatchResponder

func (client BaseClient) GetOperationResultPatchResponder(resp *http.Response) (result BackupVaultResource, err error)

GetOperationResultPatchResponder handles the response to the GetOperationResultPatch request. The method always closes the http.Response Body.

func (BaseClient) GetOperationResultPatchSender

func (client BaseClient) GetOperationResultPatchSender(req *http.Request) (*http.Response, error)

GetOperationResultPatchSender sends the GetOperationResultPatch request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetOperationStatus

func (client BaseClient) GetOperationStatus(ctx context.Context, location string, operationID string) (result OperationResource, err error)

GetOperationStatus sends the get operation status request.

func (BaseClient) GetOperationStatusPreparer

func (client BaseClient) GetOperationStatusPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)

GetOperationStatusPreparer prepares the GetOperationStatus request.

func (BaseClient) GetOperationStatusResponder

func (client BaseClient) GetOperationStatusResponder(resp *http.Response) (result OperationResource, err error)

GetOperationStatusResponder handles the response to the GetOperationStatus request. The method always closes the http.Response Body.

func (BaseClient) GetOperationStatusSender

func (client BaseClient) GetOperationStatusSender(req *http.Request) (*http.Response, error)

GetOperationStatusSender sends the GetOperationStatus request. The method will close the http.Response Body if it receives an error.

type BasePolicyRule

type BasePolicyRule struct {
	Name *string `json:"name,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBasePolicyRule', 'ObjectTypeAzureBackupRule', 'ObjectTypeAzureRetentionRule'
	ObjectType ObjectTypeBasicBasePolicyRule `json:"objectType,omitempty"`
}

BasePolicyRule basePolicy Rule

func (BasePolicyRule) AsAzureBackupRule

func (bpr BasePolicyRule) AsAzureBackupRule() (*AzureBackupRule, bool)

AsAzureBackupRule is the BasicBasePolicyRule implementation for BasePolicyRule.

func (BasePolicyRule) AsAzureRetentionRule

func (bpr BasePolicyRule) AsAzureRetentionRule() (*AzureRetentionRule, bool)

AsAzureRetentionRule is the BasicBasePolicyRule implementation for BasePolicyRule.

func (BasePolicyRule) AsBasePolicyRule

func (bpr BasePolicyRule) AsBasePolicyRule() (*BasePolicyRule, bool)

AsBasePolicyRule is the BasicBasePolicyRule implementation for BasePolicyRule.

func (BasePolicyRule) AsBasicBasePolicyRule

func (bpr BasePolicyRule) AsBasicBasePolicyRule() (BasicBasePolicyRule, bool)

AsBasicBasePolicyRule is the BasicBasePolicyRule implementation for BasePolicyRule.

func (BasePolicyRule) MarshalJSON

func (bpr BasePolicyRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BasePolicyRule.

type BasicAzureBackupRecoveryPoint

type BasicAzureBackupRecoveryPoint interface {
	AsAzureBackupDiscreteRecoveryPoint() (*AzureBackupDiscreteRecoveryPoint, bool)
	AsAzureBackupRecoveryPoint() (*AzureBackupRecoveryPoint, bool)
}

BasicAzureBackupRecoveryPoint azure backup recoveryPoint

type BasicAzureBackupRecoveryPointBasedRestoreRequest

type BasicAzureBackupRecoveryPointBasedRestoreRequest interface {
	AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)
	AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)
}

BasicAzureBackupRecoveryPointBasedRestoreRequest azure backup recoveryPoint based restore request

type BasicAzureBackupRestoreRequest

type BasicAzureBackupRestoreRequest interface {
	AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)
	AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)
	AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)
	AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)
	AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)
}

BasicAzureBackupRestoreRequest azure backup restore request

type BasicBackupCriteria

type BasicBackupCriteria interface {
	AsScheduleBasedBackupCriteria() (*ScheduleBasedBackupCriteria, bool)
	AsBackupCriteria() (*BackupCriteria, bool)
}

BasicBackupCriteria backupCriteria base class

type BasicBackupParameters

type BasicBackupParameters interface {
	AsAzureBackupParams() (*AzureBackupParams, bool)
	AsBackupParameters() (*BackupParameters, bool)
}

BasicBackupParameters backupParameters base

type BasicBaseBackupPolicy

type BasicBaseBackupPolicy interface {
	AsBackupPolicy() (*BackupPolicy, bool)
	AsBaseBackupPolicy() (*BaseBackupPolicy, bool)
}

BasicBaseBackupPolicy backupPolicy base

type BasicBasePolicyRule

type BasicBasePolicyRule interface {
	AsAzureBackupRule() (*AzureBackupRule, bool)
	AsAzureRetentionRule() (*AzureRetentionRule, bool)
	AsBasePolicyRule() (*BasePolicyRule, bool)
}

BasicBasePolicyRule basePolicy Rule

type BasicCopyOption

type BasicCopyOption interface {
	AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)
	AsCustomCopyOption() (*CustomCopyOption, bool)
	AsImmediateCopyOption() (*ImmediateCopyOption, bool)
	AsCopyOption() (*CopyOption, bool)
}

BasicCopyOption options to copy

type BasicDataStoreParameters

type BasicDataStoreParameters interface {
	AsAzureOperationalStoreParameters() (*AzureOperationalStoreParameters, bool)
	AsDataStoreParameters() (*DataStoreParameters, bool)
}

BasicDataStoreParameters parameters for DataStore

type BasicDeleteOption

type BasicDeleteOption interface {
	AsAbsoluteDeleteOption() (*AbsoluteDeleteOption, bool)
	AsDeleteOption() (*DeleteOption, bool)
}

BasicDeleteOption delete Option

type BasicFeatureValidationRequestBase

type BasicFeatureValidationRequestBase interface {
	AsFeatureValidationRequest() (*FeatureValidationRequest, bool)
	AsFeatureValidationRequestBase() (*FeatureValidationRequestBase, bool)
}

BasicFeatureValidationRequestBase base class for Backup Feature support

type BasicFeatureValidationResponseBase

type BasicFeatureValidationResponseBase interface {
	AsFeatureValidationResponse() (*FeatureValidationResponse, bool)
	AsFeatureValidationResponseBase() (*FeatureValidationResponseBase, bool)
}

BasicFeatureValidationResponseBase base class for Backup Feature support

type BasicItemLevelRestoreCriteria

type BasicItemLevelRestoreCriteria interface {
	AsRangeBasedItemLevelRestoreCriteria() (*RangeBasedItemLevelRestoreCriteria, bool)
	AsItemLevelRestoreCriteria() (*ItemLevelRestoreCriteria, bool)
}

BasicItemLevelRestoreCriteria class to contain criteria for item level restore

type BasicRestoreTargetInfoBase

type BasicRestoreTargetInfoBase interface {
	AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)
	AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)
	AsRestoreTargetInfo() (*RestoreTargetInfo, bool)
	AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)
}

BasicRestoreTargetInfoBase base class common to RestoreTargetInfo and RestoreFilesTargetInfo

type BasicTriggerContext

type BasicTriggerContext interface {
	AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)
	AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)
	AsTriggerContext() (*TriggerContext, bool)
}

BasicTriggerContext trigger context

type CheckNameAvailabilityRequest

type CheckNameAvailabilityRequest struct {
	// Name - Resource name for which availability needs to be checked
	Name *string `json:"name,omitempty"`
	// Type - Describes the Resource type: Microsoft.DataProtection/BackupVaults
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityRequest checkNameAvailability Request

type CheckNameAvailabilityResult

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// Message - Gets or sets the message.
	Message *string `json:"message,omitempty"`
	// NameAvailable - Gets or sets a value indicating whether [name available].
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - Gets or sets the reason.
	Reason *string `json:"reason,omitempty"`
}

CheckNameAvailabilityResult checkNameAvailability Result

type ClientDiscoveryDisplay

type ClientDiscoveryDisplay struct {
	// Description - Description of the operation having details of what operation is about.
	Description *string `json:"description,omitempty"`
	// Operation - Operations Name itself.
	Operation *string `json:"operation,omitempty"`
	// Provider - Name of the provider for display purposes
	Provider *string `json:"provider,omitempty"`
	// Resource - ResourceType for which this Operation can be performed.
	Resource *string `json:"resource,omitempty"`
}

ClientDiscoveryDisplay localized display information of an operation.

type ClientDiscoveryForLogSpecification

type ClientDiscoveryForLogSpecification struct {
	// BlobDuration - blob duration of shoebox log specification
	BlobDuration *string `json:"blobDuration,omitempty"`
	// DisplayName - Localized display name
	DisplayName *string `json:"displayName,omitempty"`
	// Name - Name for shoebox log specification.
	Name *string `json:"name,omitempty"`
}

ClientDiscoveryForLogSpecification class to represent shoebox log specification in json client discovery.

type ClientDiscoveryForProperties

type ClientDiscoveryForProperties struct {
	// ServiceSpecification - Operation properties.
	ServiceSpecification *ClientDiscoveryForServiceSpecification `json:"serviceSpecification,omitempty"`
}

ClientDiscoveryForProperties class to represent shoebox properties in json client discovery.

type ClientDiscoveryForServiceSpecification

type ClientDiscoveryForServiceSpecification struct {
	// LogSpecifications - List of log specifications of this operation.
	LogSpecifications *[]ClientDiscoveryForLogSpecification `json:"logSpecifications,omitempty"`
}

ClientDiscoveryForServiceSpecification class to represent shoebox service specification in json client discovery.

type ClientDiscoveryResponse

type ClientDiscoveryResponse struct {
	autorest.Response `json:"-"`
	// NextLink - Link to the next chunk of Response.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - List of available operations.
	Value *[]ClientDiscoveryValueForSingleAPI `json:"value,omitempty"`
}

ClientDiscoveryResponse operations List response which contains list of available APIs.

func (ClientDiscoveryResponse) IsEmpty

func (cdr ClientDiscoveryResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClientDiscoveryResponseIterator

type ClientDiscoveryResponseIterator struct {
	// contains filtered or unexported fields
}

ClientDiscoveryResponseIterator provides access to a complete listing of ClientDiscoveryValueForSingleAPI values.

func NewClientDiscoveryResponseIterator

func NewClientDiscoveryResponseIterator(page ClientDiscoveryResponsePage) ClientDiscoveryResponseIterator

Creates a new instance of the ClientDiscoveryResponseIterator type.

func (*ClientDiscoveryResponseIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClientDiscoveryResponseIterator) NextWithContext

func (iter *ClientDiscoveryResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ClientDiscoveryResponseIterator) NotDone

func (iter ClientDiscoveryResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ClientDiscoveryResponseIterator) Response

Response returns the raw server response from the last page request.

func (ClientDiscoveryResponseIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ClientDiscoveryResponsePage

type ClientDiscoveryResponsePage struct {
	// contains filtered or unexported fields
}

ClientDiscoveryResponsePage contains a page of ClientDiscoveryValueForSingleAPI values.

func NewClientDiscoveryResponsePage

Creates a new instance of the ClientDiscoveryResponsePage type.

func (*ClientDiscoveryResponsePage) Next

func (page *ClientDiscoveryResponsePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClientDiscoveryResponsePage) NextWithContext

func (page *ClientDiscoveryResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ClientDiscoveryResponsePage) NotDone

func (page ClientDiscoveryResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ClientDiscoveryResponsePage) Response

Response returns the raw server response from the last page request.

func (ClientDiscoveryResponsePage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ClientDiscoveryValueForSingleAPI

type ClientDiscoveryValueForSingleAPI struct {
	// Display - Contains the localized display information for this particular operation
	Display *ClientDiscoveryDisplay `json:"display,omitempty"`
	// Name - Name of the Operation.
	Name *string `json:"name,omitempty"`
	// IsDataAction - Indicates whether the operation is a data action
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Origin - The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties for the given operation.
	Properties *ClientDiscoveryForProperties `json:"properties,omitempty"`
}

ClientDiscoveryValueForSingleAPI available operation details.

type CloudError

type CloudError struct {
	Error *Error `json:"error,omitempty"`
}

CloudError an error response from Azure Backup.

type CopyOnExpiryOption

type CopyOnExpiryOption struct {
	// ObjectType - Possible values include: 'ObjectTypeCopyOption', 'ObjectTypeCopyOnExpiryOption', 'ObjectTypeCustomCopyOption', 'ObjectTypeImmediateCopyOption'
	ObjectType ObjectTypeBasicCopyOption `json:"objectType,omitempty"`
}

CopyOnExpiryOption copy on Expiry Option

func (CopyOnExpiryOption) AsBasicCopyOption

func (coeo CopyOnExpiryOption) AsBasicCopyOption() (BasicCopyOption, bool)

AsBasicCopyOption is the BasicCopyOption implementation for CopyOnExpiryOption.

func (CopyOnExpiryOption) AsCopyOnExpiryOption

func (coeo CopyOnExpiryOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)

AsCopyOnExpiryOption is the BasicCopyOption implementation for CopyOnExpiryOption.

func (CopyOnExpiryOption) AsCopyOption

func (coeo CopyOnExpiryOption) AsCopyOption() (*CopyOption, bool)

AsCopyOption is the BasicCopyOption implementation for CopyOnExpiryOption.

func (CopyOnExpiryOption) AsCustomCopyOption

func (coeo CopyOnExpiryOption) AsCustomCopyOption() (*CustomCopyOption, bool)

AsCustomCopyOption is the BasicCopyOption implementation for CopyOnExpiryOption.

func (CopyOnExpiryOption) AsImmediateCopyOption

func (coeo CopyOnExpiryOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)

AsImmediateCopyOption is the BasicCopyOption implementation for CopyOnExpiryOption.

func (CopyOnExpiryOption) MarshalJSON

func (coeo CopyOnExpiryOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CopyOnExpiryOption.

type CopyOption

type CopyOption struct {
	// ObjectType - Possible values include: 'ObjectTypeCopyOption', 'ObjectTypeCopyOnExpiryOption', 'ObjectTypeCustomCopyOption', 'ObjectTypeImmediateCopyOption'
	ObjectType ObjectTypeBasicCopyOption `json:"objectType,omitempty"`
}

CopyOption options to copy

func (CopyOption) AsBasicCopyOption

func (co CopyOption) AsBasicCopyOption() (BasicCopyOption, bool)

AsBasicCopyOption is the BasicCopyOption implementation for CopyOption.

func (CopyOption) AsCopyOnExpiryOption

func (co CopyOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)

AsCopyOnExpiryOption is the BasicCopyOption implementation for CopyOption.

func (CopyOption) AsCopyOption

func (co CopyOption) AsCopyOption() (*CopyOption, bool)

AsCopyOption is the BasicCopyOption implementation for CopyOption.

func (CopyOption) AsCustomCopyOption

func (co CopyOption) AsCustomCopyOption() (*CustomCopyOption, bool)

AsCustomCopyOption is the BasicCopyOption implementation for CopyOption.

func (CopyOption) AsImmediateCopyOption

func (co CopyOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)

AsImmediateCopyOption is the BasicCopyOption implementation for CopyOption.

func (CopyOption) MarshalJSON

func (co CopyOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CopyOption.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// Application ...
	Application CreatedByType = "Application"
	// Key ...
	Key CreatedByType = "Key"
	// ManagedIdentity ...
	ManagedIdentity CreatedByType = "ManagedIdentity"
	// User ...
	User CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type CurrentProtectionState

type CurrentProtectionState string

CurrentProtectionState enumerates the values for current protection state.

const (
	// BackupSchedulesSuspended ...
	BackupSchedulesSuspended CurrentProtectionState = "BackupSchedulesSuspended"
	// ConfiguringProtection ...
	ConfiguringProtection CurrentProtectionState = "ConfiguringProtection"
	// ConfiguringProtectionFailed ...
	ConfiguringProtectionFailed CurrentProtectionState = "ConfiguringProtectionFailed"
	// Invalid ...
	Invalid CurrentProtectionState = "Invalid"
	// NotProtected ...
	NotProtected CurrentProtectionState = "NotProtected"
	// ProtectionConfigured ...
	ProtectionConfigured CurrentProtectionState = "ProtectionConfigured"
	// ProtectionError ...
	ProtectionError CurrentProtectionState = "ProtectionError"
	// ProtectionStopped ...
	ProtectionStopped CurrentProtectionState = "ProtectionStopped"
	// RetentionSchedulesSuspended ...
	RetentionSchedulesSuspended CurrentProtectionState = "RetentionSchedulesSuspended"
	// SoftDeleted ...
	SoftDeleted CurrentProtectionState = "SoftDeleted"
	// SoftDeleting ...
	SoftDeleting CurrentProtectionState = "SoftDeleting"
	// UpdatingProtection ...
	UpdatingProtection CurrentProtectionState = "UpdatingProtection"
)

func PossibleCurrentProtectionStateValues

func PossibleCurrentProtectionStateValues() []CurrentProtectionState

PossibleCurrentProtectionStateValues returns an array of possible values for the CurrentProtectionState const type.

type CustomCopyOption

type CustomCopyOption struct {
	// Duration - Data copied after given timespan
	Duration *string `json:"duration,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeCopyOption', 'ObjectTypeCopyOnExpiryOption', 'ObjectTypeCustomCopyOption', 'ObjectTypeImmediateCopyOption'
	ObjectType ObjectTypeBasicCopyOption `json:"objectType,omitempty"`
}

CustomCopyOption duration based custom options to copy

func (CustomCopyOption) AsBasicCopyOption

func (cco CustomCopyOption) AsBasicCopyOption() (BasicCopyOption, bool)

AsBasicCopyOption is the BasicCopyOption implementation for CustomCopyOption.

func (CustomCopyOption) AsCopyOnExpiryOption

func (cco CustomCopyOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)

AsCopyOnExpiryOption is the BasicCopyOption implementation for CustomCopyOption.

func (CustomCopyOption) AsCopyOption

func (cco CustomCopyOption) AsCopyOption() (*CopyOption, bool)

AsCopyOption is the BasicCopyOption implementation for CustomCopyOption.

func (CustomCopyOption) AsCustomCopyOption

func (cco CustomCopyOption) AsCustomCopyOption() (*CustomCopyOption, bool)

AsCustomCopyOption is the BasicCopyOption implementation for CustomCopyOption.

func (CustomCopyOption) AsImmediateCopyOption

func (cco CustomCopyOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)

AsImmediateCopyOption is the BasicCopyOption implementation for CustomCopyOption.

func (CustomCopyOption) MarshalJSON

func (cco CustomCopyOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomCopyOption.

type DataStoreInfoBase

type DataStoreInfoBase struct {
	// DataStoreType - type of datastore; Operational/Vault/Archive. Possible values include: 'OperationalStore', 'VaultStore', 'ArchiveStore'
	DataStoreType DataStoreTypes `json:"dataStoreType,omitempty"`
	// ObjectType - Type of Datasource object, used to initialize the right inherited type
	ObjectType *string `json:"objectType,omitempty"`
}

DataStoreInfoBase dataStoreInfo base

type DataStoreParameters

type DataStoreParameters struct {
	// DataStoreType - type of datastore; Operational/Vault/Archive. Possible values include: 'OperationalStore', 'VaultStore', 'ArchiveStore'
	DataStoreType DataStoreTypes `json:"dataStoreType,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeDataStoreParameters', 'ObjectTypeAzureOperationalStoreParameters'
	ObjectType ObjectTypeBasicDataStoreParameters `json:"objectType,omitempty"`
}

DataStoreParameters parameters for DataStore

func (DataStoreParameters) AsAzureOperationalStoreParameters

func (dsp DataStoreParameters) AsAzureOperationalStoreParameters() (*AzureOperationalStoreParameters, bool)

AsAzureOperationalStoreParameters is the BasicDataStoreParameters implementation for DataStoreParameters.

func (DataStoreParameters) AsBasicDataStoreParameters

func (dsp DataStoreParameters) AsBasicDataStoreParameters() (BasicDataStoreParameters, bool)

AsBasicDataStoreParameters is the BasicDataStoreParameters implementation for DataStoreParameters.

func (DataStoreParameters) AsDataStoreParameters

func (dsp DataStoreParameters) AsDataStoreParameters() (*DataStoreParameters, bool)

AsDataStoreParameters is the BasicDataStoreParameters implementation for DataStoreParameters.

func (DataStoreParameters) MarshalJSON

func (dsp DataStoreParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataStoreParameters.

type DataStoreTypes

type DataStoreTypes string

DataStoreTypes enumerates the values for data store types.

const (
	// ArchiveStore ...
	ArchiveStore DataStoreTypes = "ArchiveStore"
	// OperationalStore ...
	OperationalStore DataStoreTypes = "OperationalStore"
	// VaultStore ...
	VaultStore DataStoreTypes = "VaultStore"
)

func PossibleDataStoreTypesValues

func PossibleDataStoreTypesValues() []DataStoreTypes

PossibleDataStoreTypesValues returns an array of possible values for the DataStoreTypes const type.

type Datasource

type Datasource struct {
	// DatasourceType - DatasourceType of the resource.
	DatasourceType *string `json:"datasourceType,omitempty"`
	// ObjectType - Type of Datasource object, used to initialize the right inherited type
	ObjectType *string `json:"objectType,omitempty"`
	// ResourceID - Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
	ResourceID *string `json:"resourceID,omitempty"`
	// ResourceLocation - Location of datasource.
	ResourceLocation *string `json:"resourceLocation,omitempty"`
	// ResourceName - Unique identifier of the resource in the context of parent.
	ResourceName *string `json:"resourceName,omitempty"`
	// ResourceType - Resource Type of Datasource.
	ResourceType *string `json:"resourceType,omitempty"`
	// ResourceURI - Uri of the resource.
	ResourceURI *string `json:"resourceUri,omitempty"`
}

Datasource datasource to be backed up

type DatasourceSet

type DatasourceSet struct {
	// DatasourceType - DatasourceType of the resource.
	DatasourceType *string `json:"datasourceType,omitempty"`
	// ObjectType - Type of Datasource object, used to initialize the right inherited type
	ObjectType *string `json:"objectType,omitempty"`
	// ResourceID - Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
	ResourceID *string `json:"resourceID,omitempty"`
	// ResourceLocation - Location of datasource.
	ResourceLocation *string `json:"resourceLocation,omitempty"`
	// ResourceName - Unique identifier of the resource in the context of parent.
	ResourceName *string `json:"resourceName,omitempty"`
	// ResourceType - Resource Type of Datasource.
	ResourceType *string `json:"resourceType,omitempty"`
	// ResourceURI - Uri of the resource.
	ResourceURI *string `json:"resourceUri,omitempty"`
}

DatasourceSet datasourceSet details of datasource to be backed up

type Day

type Day struct {
	// Date - Date of the month
	Date *int32 `json:"date,omitempty"`
	// IsLast - Whether Date is last date of month
	IsLast *bool `json:"isLast,omitempty"`
}

Day day of the week

type DayOfWeek

type DayOfWeek string

DayOfWeek enumerates the values for day of week.

const (
	// Friday ...
	Friday DayOfWeek = "Friday"
	// Monday ...
	Monday DayOfWeek = "Monday"
	// Saturday ...
	Saturday DayOfWeek = "Saturday"
	// Sunday ...
	Sunday DayOfWeek = "Sunday"
	// Thursday ...
	Thursday DayOfWeek = "Thursday"
	// Tuesday ...
	Tuesday DayOfWeek = "Tuesday"
	// Wednesday ...
	Wednesday DayOfWeek = "Wednesday"
)

func PossibleDayOfWeekValues

func PossibleDayOfWeekValues() []DayOfWeek

PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.

type DeleteOption

type DeleteOption struct {
	// Duration - Duration of deletion after given timespan
	Duration *string `json:"duration,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeDeleteOption', 'ObjectTypeAbsoluteDeleteOption'
	ObjectType ObjectTypeBasicDeleteOption `json:"objectType,omitempty"`
}

DeleteOption delete Option

func (DeleteOption) AsAbsoluteDeleteOption

func (do DeleteOption) AsAbsoluteDeleteOption() (*AbsoluteDeleteOption, bool)

AsAbsoluteDeleteOption is the BasicDeleteOption implementation for DeleteOption.

func (DeleteOption) AsBasicDeleteOption

func (do DeleteOption) AsBasicDeleteOption() (BasicDeleteOption, bool)

AsBasicDeleteOption is the BasicDeleteOption implementation for DeleteOption.

func (DeleteOption) AsDeleteOption

func (do DeleteOption) AsDeleteOption() (*DeleteOption, bool)

AsDeleteOption is the BasicDeleteOption implementation for DeleteOption.

func (DeleteOption) MarshalJSON

func (do DeleteOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeleteOption.

type DppIdentityDetails

type DppIdentityDetails struct {
	// PrincipalID - READ-ONLY; The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identityType which can be either SystemAssigned or None
	Type *string `json:"type,omitempty"`
}

DppIdentityDetails identity details

func (DppIdentityDetails) MarshalJSON

func (did DppIdentityDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DppIdentityDetails.

type DppResource

type DppResource struct {
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

DppResource resource class

func (DppResource) MarshalJSON

func (dr DppResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DppResource.

type DppResourceList

type DppResourceList struct {
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

DppResourceList listResource

type DppTrackedResource

type DppTrackedResource struct {
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Identity - Input Managed Identity Details
	Identity *DppIdentityDetails `json:"identity,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type       *string     `json:"type,omitempty"`
	SystemData *SystemData `json:"systemData,omitempty"`
}

DppTrackedResource ...

func (DppTrackedResource) MarshalJSON

func (dtr DppTrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DppTrackedResource.

type DppTrackedResourceList

type DppTrackedResourceList struct {
	// NextLink - The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
	NextLink *string `json:"nextLink,omitempty"`
}

DppTrackedResourceList ...

type DppWorkerRequest

type DppWorkerRequest struct {
	SubscriptionID         *string             `json:"subscriptionId,omitempty"`
	URI                    *string             `json:"uri,omitempty"`
	Headers                map[string][]string `json:"headers"`
	SupportedGroupVersions *[]string           `json:"supportedGroupVersions,omitempty"`
	CultureInfo            *string             `json:"cultureInfo,omitempty"`
	Parameters             map[string]*string  `json:"parameters"`
	HTTPMethod             *string             `json:"httpMethod,omitempty"`
}

DppWorkerRequest ...

func (DppWorkerRequest) MarshalJSON

func (dwr DppWorkerRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DppWorkerRequest.

type Error

type Error struct {
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]Error `json:"details,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
}

Error the resource management error response.

func (Error) MarshalJSON

func (e Error) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Error.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ExportJobsClient

type ExportJobsClient struct {
	BaseClient
}

ExportJobsClient is the open API 2.0 Specs for Azure Data Protection service

func NewExportJobsClient

func NewExportJobsClient(subscriptionID string) ExportJobsClient

NewExportJobsClient creates an instance of the ExportJobsClient client.

func NewExportJobsClientWithBaseURI

func NewExportJobsClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsClient

NewExportJobsClientWithBaseURI creates an instance of the ExportJobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExportJobsClient) Trigger

func (client ExportJobsClient) Trigger(ctx context.Context, resourceGroupName string, vaultName string) (result ExportJobsTriggerFuture, err error)

Trigger triggers export of jobs and returns an OperationID to track. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. vaultName - the name of the backup vault.

func (ExportJobsClient) TriggerPreparer

func (client ExportJobsClient) TriggerPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

TriggerPreparer prepares the Trigger request.

func (ExportJobsClient) TriggerResponder

func (client ExportJobsClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)

TriggerResponder handles the response to the Trigger request. The method always closes the http.Response Body.

func (ExportJobsClient) TriggerSender

func (client ExportJobsClient) TriggerSender(req *http.Request) (future ExportJobsTriggerFuture, err error)

TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.

type ExportJobsOperationResultClient

type ExportJobsOperationResultClient struct {
	BaseClient
}

ExportJobsOperationResultClient is the open API 2.0 Specs for Azure Data Protection service

func NewExportJobsOperationResultClient

func NewExportJobsOperationResultClient(subscriptionID string) ExportJobsOperationResultClient

NewExportJobsOperationResultClient creates an instance of the ExportJobsOperationResultClient client.

func NewExportJobsOperationResultClientWithBaseURI

func NewExportJobsOperationResultClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsOperationResultClient

NewExportJobsOperationResultClientWithBaseURI creates an instance of the ExportJobsOperationResultClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExportJobsOperationResultClient) Get

func (client ExportJobsOperationResultClient) Get(ctx context.Context, resourceGroupName string, vaultName string, operationID string) (result ExportJobsResult, err error)

Get gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. vaultName - the name of the backup vault. operationID - operationID which represents the export job.

func (ExportJobsOperationResultClient) GetPreparer

func (client ExportJobsOperationResultClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExportJobsOperationResultClient) GetResponder

func (client ExportJobsOperationResultClient) GetResponder(resp *http.Response) (result ExportJobsResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExportJobsOperationResultClient) GetSender

func (client ExportJobsOperationResultClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ExportJobsResult

type ExportJobsResult struct {
	autorest.Response `json:"-"`
	// BlobURL - READ-ONLY; URL of the blob into which the serialized string of list of jobs is exported.
	BlobURL *string `json:"blobUrl,omitempty"`
	// BlobSasKey - READ-ONLY; SAS key to access the blob.
	BlobSasKey *string `json:"blobSasKey,omitempty"`
	// ExcelFileBlobURL - READ-ONLY; URL of the blob into which the ExcelFile is uploaded.
	ExcelFileBlobURL *string `json:"excelFileBlobUrl,omitempty"`
	// ExcelFileBlobSasKey - READ-ONLY; SAS key to access the ExcelFile blob.
	ExcelFileBlobSasKey *string `json:"excelFileBlobSasKey,omitempty"`
}

ExportJobsResult the result for export jobs containing blob details.

func (ExportJobsResult) MarshalJSON

func (ejr ExportJobsResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExportJobsResult.

type ExportJobsTriggerFuture

type ExportJobsTriggerFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExportJobsClient) (autorest.Response, error)
}

ExportJobsTriggerFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExportJobsTriggerFuture) UnmarshalJSON

func (future *ExportJobsTriggerFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FeatureSupportStatus

type FeatureSupportStatus string

FeatureSupportStatus enumerates the values for feature support status.

const (
	// FeatureSupportStatusAlphaPreview ...
	FeatureSupportStatusAlphaPreview FeatureSupportStatus = "AlphaPreview"
	// FeatureSupportStatusGenerallyAvailable ...
	FeatureSupportStatusGenerallyAvailable FeatureSupportStatus = "GenerallyAvailable"
	// FeatureSupportStatusInvalid ...
	FeatureSupportStatusInvalid FeatureSupportStatus = "Invalid"
	// FeatureSupportStatusNotSupported ...
	FeatureSupportStatusNotSupported FeatureSupportStatus = "NotSupported"
	// FeatureSupportStatusPrivatePreview ...
	FeatureSupportStatusPrivatePreview FeatureSupportStatus = "PrivatePreview"
	// FeatureSupportStatusPublicPreview ...
	FeatureSupportStatusPublicPreview FeatureSupportStatus = "PublicPreview"
)

func PossibleFeatureSupportStatusValues

func PossibleFeatureSupportStatusValues() []FeatureSupportStatus

PossibleFeatureSupportStatusValues returns an array of possible values for the FeatureSupportStatus const type.

type FeatureType

type FeatureType string

FeatureType enumerates the values for feature type.

const (
	// FeatureTypeDataSourceType ...
	FeatureTypeDataSourceType FeatureType = "DataSourceType"
	// FeatureTypeInvalid ...
	FeatureTypeInvalid FeatureType = "Invalid"
)

func PossibleFeatureTypeValues

func PossibleFeatureTypeValues() []FeatureType

PossibleFeatureTypeValues returns an array of possible values for the FeatureType const type.

type FeatureValidationRequest

type FeatureValidationRequest struct {
	// FeatureType - backup support feature type. Possible values include: 'FeatureTypeInvalid', 'FeatureTypeDataSourceType'
	FeatureType FeatureType `json:"featureType,omitempty"`
	// FeatureName - backup support feature name.
	FeatureName *string `json:"featureName,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeFeatureValidationRequestBase', 'ObjectTypeFeatureValidationRequest'
	ObjectType ObjectTypeBasicFeatureValidationRequestBase `json:"objectType,omitempty"`
}

FeatureValidationRequest base class for feature object

func (FeatureValidationRequest) AsBasicFeatureValidationRequestBase

func (fvr FeatureValidationRequest) AsBasicFeatureValidationRequestBase() (BasicFeatureValidationRequestBase, bool)

AsBasicFeatureValidationRequestBase is the BasicFeatureValidationRequestBase implementation for FeatureValidationRequest.

func (FeatureValidationRequest) AsFeatureValidationRequest

func (fvr FeatureValidationRequest) AsFeatureValidationRequest() (*FeatureValidationRequest, bool)

AsFeatureValidationRequest is the BasicFeatureValidationRequestBase implementation for FeatureValidationRequest.

func (FeatureValidationRequest) AsFeatureValidationRequestBase

func (fvr FeatureValidationRequest) AsFeatureValidationRequestBase() (*FeatureValidationRequestBase, bool)

AsFeatureValidationRequestBase is the BasicFeatureValidationRequestBase implementation for FeatureValidationRequest.

func (FeatureValidationRequest) MarshalJSON

func (fvr FeatureValidationRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FeatureValidationRequest.

type FeatureValidationRequestBase

type FeatureValidationRequestBase struct {
	// ObjectType - Possible values include: 'ObjectTypeFeatureValidationRequestBase', 'ObjectTypeFeatureValidationRequest'
	ObjectType ObjectTypeBasicFeatureValidationRequestBase `json:"objectType,omitempty"`
}

FeatureValidationRequestBase base class for Backup Feature support

func (FeatureValidationRequestBase) AsBasicFeatureValidationRequestBase

func (fvrb FeatureValidationRequestBase) AsBasicFeatureValidationRequestBase() (BasicFeatureValidationRequestBase, bool)

AsBasicFeatureValidationRequestBase is the BasicFeatureValidationRequestBase implementation for FeatureValidationRequestBase.

func (FeatureValidationRequestBase) AsFeatureValidationRequest

func (fvrb FeatureValidationRequestBase) AsFeatureValidationRequest() (*FeatureValidationRequest, bool)

AsFeatureValidationRequest is the BasicFeatureValidationRequestBase implementation for FeatureValidationRequestBase.

func (FeatureValidationRequestBase) AsFeatureValidationRequestBase

func (fvrb FeatureValidationRequestBase) AsFeatureValidationRequestBase() (*FeatureValidationRequestBase, bool)

AsFeatureValidationRequestBase is the BasicFeatureValidationRequestBase implementation for FeatureValidationRequestBase.

func (FeatureValidationRequestBase) MarshalJSON

func (fvrb FeatureValidationRequestBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FeatureValidationRequestBase.

type FeatureValidationResponse

type FeatureValidationResponse struct {
	// FeatureType - backup support feature type. Possible values include: 'FeatureTypeInvalid', 'FeatureTypeDataSourceType'
	FeatureType FeatureType `json:"featureType,omitempty"`
	// Features - Response features
	Features *[]SupportedFeature `json:"features,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeFeatureValidationResponseBase', 'ObjectTypeFeatureValidationResponse'
	ObjectType ObjectTypeBasicFeatureValidationResponseBase `json:"objectType,omitempty"`
}

FeatureValidationResponse feature Validation Response

func (FeatureValidationResponse) AsBasicFeatureValidationResponseBase

func (fvr FeatureValidationResponse) AsBasicFeatureValidationResponseBase() (BasicFeatureValidationResponseBase, bool)

AsBasicFeatureValidationResponseBase is the BasicFeatureValidationResponseBase implementation for FeatureValidationResponse.

func (FeatureValidationResponse) AsFeatureValidationResponse

func (fvr FeatureValidationResponse) AsFeatureValidationResponse() (*FeatureValidationResponse, bool)

AsFeatureValidationResponse is the BasicFeatureValidationResponseBase implementation for FeatureValidationResponse.

func (FeatureValidationResponse) AsFeatureValidationResponseBase

func (fvr FeatureValidationResponse) AsFeatureValidationResponseBase() (*FeatureValidationResponseBase, bool)

AsFeatureValidationResponseBase is the BasicFeatureValidationResponseBase implementation for FeatureValidationResponse.

func (FeatureValidationResponse) MarshalJSON

func (fvr FeatureValidationResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FeatureValidationResponse.

type FeatureValidationResponseBase

type FeatureValidationResponseBase struct {
	autorest.Response `json:"-"`
	// ObjectType - Possible values include: 'ObjectTypeFeatureValidationResponseBase', 'ObjectTypeFeatureValidationResponse'
	ObjectType ObjectTypeBasicFeatureValidationResponseBase `json:"objectType,omitempty"`
}

FeatureValidationResponseBase base class for Backup Feature support

func (FeatureValidationResponseBase) AsBasicFeatureValidationResponseBase

func (fvrb FeatureValidationResponseBase) AsBasicFeatureValidationResponseBase() (BasicFeatureValidationResponseBase, bool)

AsBasicFeatureValidationResponseBase is the BasicFeatureValidationResponseBase implementation for FeatureValidationResponseBase.

func (FeatureValidationResponseBase) AsFeatureValidationResponse

func (fvrb FeatureValidationResponseBase) AsFeatureValidationResponse() (*FeatureValidationResponse, bool)

AsFeatureValidationResponse is the BasicFeatureValidationResponseBase implementation for FeatureValidationResponseBase.

func (FeatureValidationResponseBase) AsFeatureValidationResponseBase

func (fvrb FeatureValidationResponseBase) AsFeatureValidationResponseBase() (*FeatureValidationResponseBase, bool)

AsFeatureValidationResponseBase is the BasicFeatureValidationResponseBase implementation for FeatureValidationResponseBase.

func (FeatureValidationResponseBase) MarshalJSON

func (fvrb FeatureValidationResponseBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FeatureValidationResponseBase.

type FeatureValidationResponseBaseModel

type FeatureValidationResponseBaseModel struct {
	autorest.Response `json:"-"`
	Value             BasicFeatureValidationResponseBase `json:"value,omitempty"`
}

FeatureValidationResponseBaseModel ...

func (*FeatureValidationResponseBaseModel) UnmarshalJSON

func (fvrbm *FeatureValidationResponseBaseModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FeatureValidationResponseBaseModel struct.

type FindRestorableTimeRangesClient

type FindRestorableTimeRangesClient struct {
	BaseClient
}

FindRestorableTimeRangesClient is the open API 2.0 Specs for Azure Data Protection service

func NewFindRestorableTimeRangesClient

func NewFindRestorableTimeRangesClient(subscriptionID string) FindRestorableTimeRangesClient

NewFindRestorableTimeRangesClient creates an instance of the FindRestorableTimeRangesClient client.

func NewFindRestorableTimeRangesClientWithBaseURI

func NewFindRestorableTimeRangesClientWithBaseURI(baseURI string, subscriptionID string) FindRestorableTimeRangesClient

NewFindRestorableTimeRangesClientWithBaseURI creates an instance of the FindRestorableTimeRangesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FindRestorableTimeRangesClient) Post

func (client FindRestorableTimeRangesClient) Post(ctx context.Context, vaultName string, resourceGroupName string, backupInstances string, parameters AzureBackupFindRestorableTimeRangesRequest) (result AzureBackupFindRestorableTimeRangesResponseResource, err error)

Post sends the post request. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. parameters - request body for operation

func (FindRestorableTimeRangesClient) PostPreparer

func (client FindRestorableTimeRangesClient) PostPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstances string, parameters AzureBackupFindRestorableTimeRangesRequest) (*http.Request, error)

PostPreparer prepares the Post request.

func (FindRestorableTimeRangesClient) PostResponder

PostResponder handles the response to the Post request. The method always closes the http.Response Body.

func (FindRestorableTimeRangesClient) PostSender

func (client FindRestorableTimeRangesClient) PostSender(req *http.Request) (*http.Response, error)

PostSender sends the Post request. The method will close the http.Response Body if it receives an error.

type ImmediateCopyOption

type ImmediateCopyOption struct {
	// ObjectType - Possible values include: 'ObjectTypeCopyOption', 'ObjectTypeCopyOnExpiryOption', 'ObjectTypeCustomCopyOption', 'ObjectTypeImmediateCopyOption'
	ObjectType ObjectTypeBasicCopyOption `json:"objectType,omitempty"`
}

ImmediateCopyOption immediate copy Option

func (ImmediateCopyOption) AsBasicCopyOption

func (ico ImmediateCopyOption) AsBasicCopyOption() (BasicCopyOption, bool)

AsBasicCopyOption is the BasicCopyOption implementation for ImmediateCopyOption.

func (ImmediateCopyOption) AsCopyOnExpiryOption

func (ico ImmediateCopyOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)

AsCopyOnExpiryOption is the BasicCopyOption implementation for ImmediateCopyOption.

func (ImmediateCopyOption) AsCopyOption

func (ico ImmediateCopyOption) AsCopyOption() (*CopyOption, bool)

AsCopyOption is the BasicCopyOption implementation for ImmediateCopyOption.

func (ImmediateCopyOption) AsCustomCopyOption

func (ico ImmediateCopyOption) AsCustomCopyOption() (*CustomCopyOption, bool)

AsCustomCopyOption is the BasicCopyOption implementation for ImmediateCopyOption.

func (ImmediateCopyOption) AsImmediateCopyOption

func (ico ImmediateCopyOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)

AsImmediateCopyOption is the BasicCopyOption implementation for ImmediateCopyOption.

func (ImmediateCopyOption) MarshalJSON

func (ico ImmediateCopyOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImmediateCopyOption.

type InnerError

type InnerError struct {
	// AdditionalInfo - Any Key value pairs that can be provided to the client for additional  verbose information.
	AdditionalInfo map[string]*string `json:"additionalInfo"`
	// Code - Unique code for this error
	Code *string `json:"code,omitempty"`
	// EmbeddedInnerError - Child Inner Error, to allow Nesting.
	EmbeddedInnerError *InnerError `json:"embeddedInnerError,omitempty"`
}

InnerError inner Error

func (InnerError) MarshalJSON

func (ie InnerError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InnerError.

type ItemLevelRestoreCriteria

type ItemLevelRestoreCriteria struct {
	// ObjectType - Possible values include: 'ObjectTypeItemLevelRestoreCriteria', 'ObjectTypeRangeBasedItemLevelRestoreCriteria'
	ObjectType ObjectTypeBasicItemLevelRestoreCriteria `json:"objectType,omitempty"`
}

ItemLevelRestoreCriteria class to contain criteria for item level restore

func (ItemLevelRestoreCriteria) AsBasicItemLevelRestoreCriteria

func (ilrc ItemLevelRestoreCriteria) AsBasicItemLevelRestoreCriteria() (BasicItemLevelRestoreCriteria, bool)

AsBasicItemLevelRestoreCriteria is the BasicItemLevelRestoreCriteria implementation for ItemLevelRestoreCriteria.

func (ItemLevelRestoreCriteria) AsItemLevelRestoreCriteria

func (ilrc ItemLevelRestoreCriteria) AsItemLevelRestoreCriteria() (*ItemLevelRestoreCriteria, bool)

AsItemLevelRestoreCriteria is the BasicItemLevelRestoreCriteria implementation for ItemLevelRestoreCriteria.

func (ItemLevelRestoreCriteria) AsRangeBasedItemLevelRestoreCriteria

func (ilrc ItemLevelRestoreCriteria) AsRangeBasedItemLevelRestoreCriteria() (*RangeBasedItemLevelRestoreCriteria, bool)

AsRangeBasedItemLevelRestoreCriteria is the BasicItemLevelRestoreCriteria implementation for ItemLevelRestoreCriteria.

func (ItemLevelRestoreCriteria) MarshalJSON

func (ilrc ItemLevelRestoreCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ItemLevelRestoreCriteria.

type ItemLevelRestoreTargetInfo

type ItemLevelRestoreTargetInfo struct {
	// RestoreCriteria - Restore Criteria
	RestoreCriteria *[]BasicItemLevelRestoreCriteria `json:"restoreCriteria,omitempty"`
	// DatasourceInfo - Information of target DS
	DatasourceInfo *Datasource `json:"datasourceInfo,omitempty"`
	// DatasourceSetInfo - Information of target DS Set
	DatasourceSetInfo *DatasourceSet `json:"datasourceSetInfo,omitempty"`
	// RecoveryOption - Recovery Option
	RecoveryOption *string `json:"recoveryOption,omitempty"`
	// RestoreLocation - Target Restore region
	RestoreLocation *string `json:"restoreLocation,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeRestoreTargetInfoBase', 'ObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeRestoreFilesTargetInfo', 'ObjectTypeRestoreTargetInfo'
	ObjectType ObjectTypeBasicRestoreTargetInfoBase `json:"objectType,omitempty"`
}

ItemLevelRestoreTargetInfo restore target info for Item level restore operation

func (ItemLevelRestoreTargetInfo) AsBasicRestoreTargetInfoBase

func (ilrti ItemLevelRestoreTargetInfo) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)

AsBasicRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for ItemLevelRestoreTargetInfo.

func (ItemLevelRestoreTargetInfo) AsItemLevelRestoreTargetInfo

func (ilrti ItemLevelRestoreTargetInfo) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)

AsItemLevelRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for ItemLevelRestoreTargetInfo.

func (ItemLevelRestoreTargetInfo) AsRestoreFilesTargetInfo

func (ilrti ItemLevelRestoreTargetInfo) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)

AsRestoreFilesTargetInfo is the BasicRestoreTargetInfoBase implementation for ItemLevelRestoreTargetInfo.

func (ItemLevelRestoreTargetInfo) AsRestoreTargetInfo

func (ilrti ItemLevelRestoreTargetInfo) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)

AsRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for ItemLevelRestoreTargetInfo.

func (ItemLevelRestoreTargetInfo) AsRestoreTargetInfoBase

func (ilrti ItemLevelRestoreTargetInfo) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)

AsRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for ItemLevelRestoreTargetInfo.

func (ItemLevelRestoreTargetInfo) MarshalJSON

func (ilrti ItemLevelRestoreTargetInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ItemLevelRestoreTargetInfo.

func (*ItemLevelRestoreTargetInfo) UnmarshalJSON

func (ilrti *ItemLevelRestoreTargetInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ItemLevelRestoreTargetInfo struct.

type JobClient

type JobClient struct {
	BaseClient
}

JobClient is the open API 2.0 Specs for Azure Data Protection service

func NewJobClient

func NewJobClient(subscriptionID string) JobClient

NewJobClient creates an instance of the JobClient client.

func NewJobClientWithBaseURI

func NewJobClientWithBaseURI(baseURI string, subscriptionID string) JobClient

NewJobClientWithBaseURI creates an instance of the JobClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobClient) Get

func (client JobClient) Get(ctx context.Context, resourceGroupName string, vaultName string, jobID string) (result AzureBackupJobResource, err error)

Get gets a job with id in a backup vault Parameters: resourceGroupName - the name of the resource group where the backup vault is present. vaultName - the name of the backup vault. jobID - the Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

func (JobClient) GetPreparer

func (client JobClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, jobID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobClient) GetResponder

func (client JobClient) GetResponder(resp *http.Response) (result AzureBackupJobResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (JobClient) GetSender

func (client JobClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type JobExtendedInfo

type JobExtendedInfo struct {
	// AdditionalDetails - Job's Additional Details
	AdditionalDetails map[string]*string `json:"additionalDetails"`
	// BackupInstanceState - READ-ONLY; State of the Backup Instance
	BackupInstanceState *string `json:"backupInstanceState,omitempty"`
	// DataTransferredInBytes - READ-ONLY; Number of bytes transferred
	DataTransferredInBytes *float64 `json:"dataTransferredInBytes,omitempty"`
	// RecoveryDestination - READ-ONLY; Destination where restore is done
	RecoveryDestination *string `json:"recoveryDestination,omitempty"`
	// SourceRecoverPoint - READ-ONLY; Details of the Source Recovery Point
	SourceRecoverPoint *RestoreJobRecoveryPointDetails `json:"sourceRecoverPoint,omitempty"`
	// SubTasks - READ-ONLY; List of Sub Tasks of the job
	SubTasks *[]JobSubTask `json:"subTasks,omitempty"`
	// TargetRecoverPoint - READ-ONLY; Details of the Target Recovery Point
	TargetRecoverPoint *RestoreJobRecoveryPointDetails `json:"targetRecoverPoint,omitempty"`
}

JobExtendedInfo extended Information about the job

func (JobExtendedInfo) MarshalJSON

func (jei JobExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobExtendedInfo.

type JobSubTask

type JobSubTask struct {
	// AdditionalDetails - Additional details of Sub Tasks
	AdditionalDetails map[string]*string `json:"additionalDetails"`
	// TaskID - Task Id of the Sub Task
	TaskID *int32 `json:"taskId,omitempty"`
	// TaskName - Name of the Sub Task
	TaskName *string `json:"taskName,omitempty"`
	// TaskProgress - READ-ONLY; Progress of the Sub Task
	TaskProgress *string `json:"taskProgress,omitempty"`
	// TaskStatus - Status of the Sub Task
	TaskStatus *string `json:"taskStatus,omitempty"`
}

JobSubTask details of Job's Sub Task

func (JobSubTask) MarshalJSON

func (jst JobSubTask) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobSubTask.

type JobsClient

type JobsClient struct {
	BaseClient
}

JobsClient is the open API 2.0 Specs for Azure Data Protection service

func NewJobsClient

func NewJobsClient(subscriptionID string) JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI

func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobsClient) List

func (client JobsClient) List(ctx context.Context, resourceGroupName string, vaultName string) (result AzureBackupJobResourceListPage, err error)

List returns list of jobs belonging to a backup vault Parameters: resourceGroupName - the name of the resource group where the backup vault is present. vaultName - the name of the backup vault.

func (JobsClient) ListComplete

func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName string, vaultName string) (result AzureBackupJobResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (JobsClient) ListPreparer

func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

ListPreparer prepares the List request.

func (JobsClient) ListResponder

func (client JobsClient) ListResponder(resp *http.Response) (result AzureBackupJobResourceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (JobsClient) ListSender

func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Month

type Month string

Month enumerates the values for month.

const (
	// April ...
	April Month = "April"
	// August ...
	August Month = "August"
	// December ...
	December Month = "December"
	// February ...
	February Month = "February"
	// January ...
	January Month = "January"
	// July ...
	July Month = "July"
	// June ...
	June Month = "June"
	// March ...
	March Month = "March"
	// May ...
	May Month = "May"
	// November ...
	November Month = "November"
	// October ...
	October Month = "October"
	// September ...
	September Month = "September"
)

func PossibleMonthValues

func PossibleMonthValues() []Month

PossibleMonthValues returns an array of possible values for the Month const type.

type ObjectType

type ObjectType string

ObjectType enumerates the values for object type.

const (
	// ObjectTypeAzureBackupDiscreteRecoveryPoint ...
	ObjectTypeAzureBackupDiscreteRecoveryPoint ObjectType = "AzureBackupDiscreteRecoveryPoint"
	// ObjectTypeAzureBackupRecoveryPoint ...
	ObjectTypeAzureBackupRecoveryPoint ObjectType = "AzureBackupRecoveryPoint"
)

func PossibleObjectTypeValues

func PossibleObjectTypeValues() []ObjectType

PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.

type ObjectTypeBasicAzureBackupRestoreRequest

type ObjectTypeBasicAzureBackupRestoreRequest string

ObjectTypeBasicAzureBackupRestoreRequest enumerates the values for object type basic azure backup restore request.

const (
	// ObjectTypeAzureBackupRecoveryPointBasedRestoreRequest ...
	ObjectTypeAzureBackupRecoveryPointBasedRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRecoveryPointBasedRestoreRequest"
	// ObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest ...
	ObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRecoveryTimeBasedRestoreRequest"
	// ObjectTypeAzureBackupRestoreRequest ...
	ObjectTypeAzureBackupRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRestoreRequest"
	// ObjectTypeAzureBackupRestoreWithRehydrationRequest ...
	ObjectTypeAzureBackupRestoreWithRehydrationRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRestoreWithRehydrationRequest"
)

func PossibleObjectTypeBasicAzureBackupRestoreRequestValues

func PossibleObjectTypeBasicAzureBackupRestoreRequestValues() []ObjectTypeBasicAzureBackupRestoreRequest

PossibleObjectTypeBasicAzureBackupRestoreRequestValues returns an array of possible values for the ObjectTypeBasicAzureBackupRestoreRequest const type.

type ObjectTypeBasicBackupCriteria

type ObjectTypeBasicBackupCriteria string

ObjectTypeBasicBackupCriteria enumerates the values for object type basic backup criteria.

const (
	// ObjectTypeBackupCriteria ...
	ObjectTypeBackupCriteria ObjectTypeBasicBackupCriteria = "BackupCriteria"
	// ObjectTypeScheduleBasedBackupCriteria ...
	ObjectTypeScheduleBasedBackupCriteria ObjectTypeBasicBackupCriteria = "ScheduleBasedBackupCriteria"
)

func PossibleObjectTypeBasicBackupCriteriaValues

func PossibleObjectTypeBasicBackupCriteriaValues() []ObjectTypeBasicBackupCriteria

PossibleObjectTypeBasicBackupCriteriaValues returns an array of possible values for the ObjectTypeBasicBackupCriteria const type.

type ObjectTypeBasicBackupParameters

type ObjectTypeBasicBackupParameters string

ObjectTypeBasicBackupParameters enumerates the values for object type basic backup parameters.

const (
	// ObjectTypeAzureBackupParams ...
	ObjectTypeAzureBackupParams ObjectTypeBasicBackupParameters = "AzureBackupParams"
	// ObjectTypeBackupParameters ...
	ObjectTypeBackupParameters ObjectTypeBasicBackupParameters = "BackupParameters"
)

func PossibleObjectTypeBasicBackupParametersValues

func PossibleObjectTypeBasicBackupParametersValues() []ObjectTypeBasicBackupParameters

PossibleObjectTypeBasicBackupParametersValues returns an array of possible values for the ObjectTypeBasicBackupParameters const type.

type ObjectTypeBasicBaseBackupPolicy

type ObjectTypeBasicBaseBackupPolicy string

ObjectTypeBasicBaseBackupPolicy enumerates the values for object type basic base backup policy.

const (
	// ObjectTypeBackupPolicy ...
	ObjectTypeBackupPolicy ObjectTypeBasicBaseBackupPolicy = "BackupPolicy"
	// ObjectTypeBaseBackupPolicy ...
	ObjectTypeBaseBackupPolicy ObjectTypeBasicBaseBackupPolicy = "BaseBackupPolicy"
)

func PossibleObjectTypeBasicBaseBackupPolicyValues

func PossibleObjectTypeBasicBaseBackupPolicyValues() []ObjectTypeBasicBaseBackupPolicy

PossibleObjectTypeBasicBaseBackupPolicyValues returns an array of possible values for the ObjectTypeBasicBaseBackupPolicy const type.

type ObjectTypeBasicBasePolicyRule

type ObjectTypeBasicBasePolicyRule string

ObjectTypeBasicBasePolicyRule enumerates the values for object type basic base policy rule.

const (
	// ObjectTypeAzureBackupRule ...
	ObjectTypeAzureBackupRule ObjectTypeBasicBasePolicyRule = "AzureBackupRule"
	// ObjectTypeAzureRetentionRule ...
	ObjectTypeAzureRetentionRule ObjectTypeBasicBasePolicyRule = "AzureRetentionRule"
	// ObjectTypeBasePolicyRule ...
	ObjectTypeBasePolicyRule ObjectTypeBasicBasePolicyRule = "BasePolicyRule"
)

func PossibleObjectTypeBasicBasePolicyRuleValues

func PossibleObjectTypeBasicBasePolicyRuleValues() []ObjectTypeBasicBasePolicyRule

PossibleObjectTypeBasicBasePolicyRuleValues returns an array of possible values for the ObjectTypeBasicBasePolicyRule const type.

type ObjectTypeBasicCopyOption

type ObjectTypeBasicCopyOption string

ObjectTypeBasicCopyOption enumerates the values for object type basic copy option.

const (
	// ObjectTypeCopyOnExpiryOption ...
	ObjectTypeCopyOnExpiryOption ObjectTypeBasicCopyOption = "CopyOnExpiryOption"
	// ObjectTypeCopyOption ...
	ObjectTypeCopyOption ObjectTypeBasicCopyOption = "CopyOption"
	// ObjectTypeCustomCopyOption ...
	ObjectTypeCustomCopyOption ObjectTypeBasicCopyOption = "CustomCopyOption"
	// ObjectTypeImmediateCopyOption ...
	ObjectTypeImmediateCopyOption ObjectTypeBasicCopyOption = "ImmediateCopyOption"
)

func PossibleObjectTypeBasicCopyOptionValues

func PossibleObjectTypeBasicCopyOptionValues() []ObjectTypeBasicCopyOption

PossibleObjectTypeBasicCopyOptionValues returns an array of possible values for the ObjectTypeBasicCopyOption const type.

type ObjectTypeBasicDataStoreParameters

type ObjectTypeBasicDataStoreParameters string

ObjectTypeBasicDataStoreParameters enumerates the values for object type basic data store parameters.

const (
	// ObjectTypeAzureOperationalStoreParameters ...
	ObjectTypeAzureOperationalStoreParameters ObjectTypeBasicDataStoreParameters = "AzureOperationalStoreParameters"
	// ObjectTypeDataStoreParameters ...
	ObjectTypeDataStoreParameters ObjectTypeBasicDataStoreParameters = "DataStoreParameters"
)

func PossibleObjectTypeBasicDataStoreParametersValues

func PossibleObjectTypeBasicDataStoreParametersValues() []ObjectTypeBasicDataStoreParameters

PossibleObjectTypeBasicDataStoreParametersValues returns an array of possible values for the ObjectTypeBasicDataStoreParameters const type.

type ObjectTypeBasicDeleteOption

type ObjectTypeBasicDeleteOption string

ObjectTypeBasicDeleteOption enumerates the values for object type basic delete option.

const (
	// ObjectTypeAbsoluteDeleteOption ...
	ObjectTypeAbsoluteDeleteOption ObjectTypeBasicDeleteOption = "AbsoluteDeleteOption"
	// ObjectTypeDeleteOption ...
	ObjectTypeDeleteOption ObjectTypeBasicDeleteOption = "DeleteOption"
)

func PossibleObjectTypeBasicDeleteOptionValues

func PossibleObjectTypeBasicDeleteOptionValues() []ObjectTypeBasicDeleteOption

PossibleObjectTypeBasicDeleteOptionValues returns an array of possible values for the ObjectTypeBasicDeleteOption const type.

type ObjectTypeBasicFeatureValidationRequestBase

type ObjectTypeBasicFeatureValidationRequestBase string

ObjectTypeBasicFeatureValidationRequestBase enumerates the values for object type basic feature validation request base.

const (
	// ObjectTypeFeatureValidationRequest ...
	ObjectTypeFeatureValidationRequest ObjectTypeBasicFeatureValidationRequestBase = "FeatureValidationRequest"
	// ObjectTypeFeatureValidationRequestBase ...
	ObjectTypeFeatureValidationRequestBase ObjectTypeBasicFeatureValidationRequestBase = "FeatureValidationRequestBase"
)

func PossibleObjectTypeBasicFeatureValidationRequestBaseValues

func PossibleObjectTypeBasicFeatureValidationRequestBaseValues() []ObjectTypeBasicFeatureValidationRequestBase

PossibleObjectTypeBasicFeatureValidationRequestBaseValues returns an array of possible values for the ObjectTypeBasicFeatureValidationRequestBase const type.

type ObjectTypeBasicFeatureValidationResponseBase

type ObjectTypeBasicFeatureValidationResponseBase string

ObjectTypeBasicFeatureValidationResponseBase enumerates the values for object type basic feature validation response base.

const (
	// ObjectTypeFeatureValidationResponse ...
	ObjectTypeFeatureValidationResponse ObjectTypeBasicFeatureValidationResponseBase = "FeatureValidationResponse"
	// ObjectTypeFeatureValidationResponseBase ...
	ObjectTypeFeatureValidationResponseBase ObjectTypeBasicFeatureValidationResponseBase = "FeatureValidationResponseBase"
)

func PossibleObjectTypeBasicFeatureValidationResponseBaseValues

func PossibleObjectTypeBasicFeatureValidationResponseBaseValues() []ObjectTypeBasicFeatureValidationResponseBase

PossibleObjectTypeBasicFeatureValidationResponseBaseValues returns an array of possible values for the ObjectTypeBasicFeatureValidationResponseBase const type.

type ObjectTypeBasicItemLevelRestoreCriteria

type ObjectTypeBasicItemLevelRestoreCriteria string

ObjectTypeBasicItemLevelRestoreCriteria enumerates the values for object type basic item level restore criteria.

const (
	// ObjectTypeItemLevelRestoreCriteria ...
	ObjectTypeItemLevelRestoreCriteria ObjectTypeBasicItemLevelRestoreCriteria = "ItemLevelRestoreCriteria"
	// ObjectTypeRangeBasedItemLevelRestoreCriteria ...
	ObjectTypeRangeBasedItemLevelRestoreCriteria ObjectTypeBasicItemLevelRestoreCriteria = "RangeBasedItemLevelRestoreCriteria"
)

func PossibleObjectTypeBasicItemLevelRestoreCriteriaValues

func PossibleObjectTypeBasicItemLevelRestoreCriteriaValues() []ObjectTypeBasicItemLevelRestoreCriteria

PossibleObjectTypeBasicItemLevelRestoreCriteriaValues returns an array of possible values for the ObjectTypeBasicItemLevelRestoreCriteria const type.

type ObjectTypeBasicRestoreTargetInfoBase

type ObjectTypeBasicRestoreTargetInfoBase string

ObjectTypeBasicRestoreTargetInfoBase enumerates the values for object type basic restore target info base.

const (
	// ObjectTypeItemLevelRestoreTargetInfo ...
	ObjectTypeItemLevelRestoreTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "ItemLevelRestoreTargetInfo"
	// ObjectTypeRestoreFilesTargetInfo ...
	ObjectTypeRestoreFilesTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "RestoreFilesTargetInfo"
	// ObjectTypeRestoreTargetInfo ...
	ObjectTypeRestoreTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "RestoreTargetInfo"
	// ObjectTypeRestoreTargetInfoBase ...
	ObjectTypeRestoreTargetInfoBase ObjectTypeBasicRestoreTargetInfoBase = "RestoreTargetInfoBase"
)

func PossibleObjectTypeBasicRestoreTargetInfoBaseValues

func PossibleObjectTypeBasicRestoreTargetInfoBaseValues() []ObjectTypeBasicRestoreTargetInfoBase

PossibleObjectTypeBasicRestoreTargetInfoBaseValues returns an array of possible values for the ObjectTypeBasicRestoreTargetInfoBase const type.

type ObjectTypeBasicTriggerContext

type ObjectTypeBasicTriggerContext string

ObjectTypeBasicTriggerContext enumerates the values for object type basic trigger context.

const (
	// ObjectTypeAdhocBasedTriggerContext ...
	ObjectTypeAdhocBasedTriggerContext ObjectTypeBasicTriggerContext = "AdhocBasedTriggerContext"
	// ObjectTypeScheduleBasedTriggerContext ...
	ObjectTypeScheduleBasedTriggerContext ObjectTypeBasicTriggerContext = "ScheduleBasedTriggerContext"
	// ObjectTypeTriggerContext ...
	ObjectTypeTriggerContext ObjectTypeBasicTriggerContext = "TriggerContext"
)

func PossibleObjectTypeBasicTriggerContextValues

func PossibleObjectTypeBasicTriggerContextValues() []ObjectTypeBasicTriggerContext

PossibleObjectTypeBasicTriggerContextValues returns an array of possible values for the ObjectTypeBasicTriggerContext const type.

type OperationExtendedInfo

type OperationExtendedInfo struct {
	// ObjectType - This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
	ObjectType *string `json:"objectType,omitempty"`
}

OperationExtendedInfo operation Extended Info

type OperationJobExtendedInfo

type OperationJobExtendedInfo struct {
	autorest.Response `json:"-"`
	// JobID - Arm Id of the job created for this operation.
	JobID *string `json:"jobId,omitempty"`
	// ObjectType - This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
	ObjectType *string `json:"objectType,omitempty"`
}

OperationJobExtendedInfo operation Job Extended Info

type OperationResource

type OperationResource struct {
	autorest.Response `json:"-"`
	// EndTime - End time of the operation
	EndTime *date.Time `json:"endTime,omitempty"`
	// Error - Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines.
	// The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section.
	Error *Error `json:"error,omitempty"`
	// ID - It should match what is used to GET the operation result
	ID *string `json:"id,omitempty"`
	// Name - It must match the last segment of the "id" field, and will typically be a GUID / system generated value
	Name *string `json:"name,omitempty"`
	// Properties - End time of the operation
	Properties *OperationExtendedInfo `json:"properties,omitempty"`
	// StartTime - Start time of the operation
	StartTime *date.Time `json:"startTime,omitempty"`
	Status    *string    `json:"status,omitempty"`
}

OperationResource operation Resource

type OperationResultClient

type OperationResultClient struct {
	BaseClient
}

OperationResultClient is the open API 2.0 Specs for Azure Data Protection service

func NewOperationResultClient

func NewOperationResultClient(subscriptionID string) OperationResultClient

NewOperationResultClient creates an instance of the OperationResultClient client.

func NewOperationResultClientWithBaseURI

func NewOperationResultClientWithBaseURI(baseURI string, subscriptionID string) OperationResultClient

NewOperationResultClientWithBaseURI creates an instance of the OperationResultClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationResultClient) Get

func (client OperationResultClient) Get(ctx context.Context, operationID string, location string) (result OperationJobExtendedInfo, err error)

Get gets the operation result for a resource

func (OperationResultClient) GetPreparer

func (client OperationResultClient) GetPreparer(ctx context.Context, operationID string, location string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationResultClient) GetResponder

func (client OperationResultClient) GetResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationResultClient) GetSender

func (client OperationResultClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the open API 2.0 Specs for Azure Data Protection service

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result ClientDiscoveryResponsePage, err error)

List returns the list of available operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result ClientDiscoveryResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result ClientDiscoveryResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PatchResourceRequestInput

type PatchResourceRequestInput struct {
	// Identity - Input Managed Identity Details
	Identity *DppIdentityDetails `json:"identity,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

PatchResourceRequestInput patch Request content for Microsoft.DataProtection resources

func (PatchResourceRequestInput) MarshalJSON

func (prri PatchResourceRequestInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchResourceRequestInput.

type PolicyInfo

type PolicyInfo struct {
	PolicyID *string `json:"policyId,omitempty"`
	// PolicyVersion - READ-ONLY
	PolicyVersion *string `json:"policyVersion,omitempty"`
	// PolicyParameters - Policy parameters for the backup instance
	PolicyParameters *PolicyParameters `json:"policyParameters,omitempty"`
}

PolicyInfo policy Info in backupInstance

func (PolicyInfo) MarshalJSON

func (pi PolicyInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PolicyInfo.

type PolicyParameters

type PolicyParameters struct {
	// DataStoreParametersList - Gets or sets the DataStore Parameters
	DataStoreParametersList *[]BasicDataStoreParameters `json:"dataStoreParametersList,omitempty"`
}

PolicyParameters parameters in Policy

func (*PolicyParameters) UnmarshalJSON

func (pp *PolicyParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PolicyParameters struct.

type ProtectionStatusDetails

type ProtectionStatusDetails struct {
	// ErrorDetails - Specifies the protection status error of the resource
	ErrorDetails *UserFacingError `json:"errorDetails,omitempty"`
	// Status - Specifies the protection status of the resource. Possible values include: 'StatusConfiguringProtection', 'StatusConfiguringProtectionFailed', 'StatusProtectionConfigured', 'StatusProtectionStopped', 'StatusSoftDeleted', 'StatusSoftDeleting'
	Status Status `json:"status,omitempty"`
}

ProtectionStatusDetails protection status details

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Provisioning ...
	Provisioning ProvisioningState = "Provisioning"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Unknown ...
	Unknown ProvisioningState = "Unknown"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type RangeBasedItemLevelRestoreCriteria

type RangeBasedItemLevelRestoreCriteria struct {
	// MinMatchingValue - minimum value for range prefix match
	MinMatchingValue *string `json:"minMatchingValue,omitempty"`
	// MaxMatchingValue - maximum value for range prefix match
	MaxMatchingValue *string `json:"maxMatchingValue,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeItemLevelRestoreCriteria', 'ObjectTypeRangeBasedItemLevelRestoreCriteria'
	ObjectType ObjectTypeBasicItemLevelRestoreCriteria `json:"objectType,omitempty"`
}

RangeBasedItemLevelRestoreCriteria item Level target info for restore operation

func (RangeBasedItemLevelRestoreCriteria) AsBasicItemLevelRestoreCriteria

func (rbilrc RangeBasedItemLevelRestoreCriteria) AsBasicItemLevelRestoreCriteria() (BasicItemLevelRestoreCriteria, bool)

AsBasicItemLevelRestoreCriteria is the BasicItemLevelRestoreCriteria implementation for RangeBasedItemLevelRestoreCriteria.

func (RangeBasedItemLevelRestoreCriteria) AsItemLevelRestoreCriteria

func (rbilrc RangeBasedItemLevelRestoreCriteria) AsItemLevelRestoreCriteria() (*ItemLevelRestoreCriteria, bool)

AsItemLevelRestoreCriteria is the BasicItemLevelRestoreCriteria implementation for RangeBasedItemLevelRestoreCriteria.

func (RangeBasedItemLevelRestoreCriteria) AsRangeBasedItemLevelRestoreCriteria

func (rbilrc RangeBasedItemLevelRestoreCriteria) AsRangeBasedItemLevelRestoreCriteria() (*RangeBasedItemLevelRestoreCriteria, bool)

AsRangeBasedItemLevelRestoreCriteria is the BasicItemLevelRestoreCriteria implementation for RangeBasedItemLevelRestoreCriteria.

func (RangeBasedItemLevelRestoreCriteria) MarshalJSON

func (rbilrc RangeBasedItemLevelRestoreCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RangeBasedItemLevelRestoreCriteria.

type RecoveryPointClient

type RecoveryPointClient struct {
	BaseClient
}

RecoveryPointClient is the open API 2.0 Specs for Azure Data Protection service

func NewRecoveryPointClient

func NewRecoveryPointClient(subscriptionID string) RecoveryPointClient

NewRecoveryPointClient creates an instance of the RecoveryPointClient client.

func NewRecoveryPointClientWithBaseURI

func NewRecoveryPointClientWithBaseURI(baseURI string, subscriptionID string) RecoveryPointClient

NewRecoveryPointClientWithBaseURI creates an instance of the RecoveryPointClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RecoveryPointClient) Get

func (client RecoveryPointClient) Get(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, recoveryPointID string) (result AzureBackupRecoveryPointResource, err error)

Get gets a Recovery Point using recoveryPointId for a Datasource. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance

func (RecoveryPointClient) GetPreparer

func (client RecoveryPointClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, recoveryPointID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RecoveryPointClient) GetResponder

func (client RecoveryPointClient) GetResponder(resp *http.Response) (result AzureBackupRecoveryPointResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RecoveryPointClient) GetSender

func (client RecoveryPointClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type RecoveryPointDataStoreDetails

type RecoveryPointDataStoreDetails struct {
	CreationTime *date.Time `json:"creationTime,omitempty"`
	ExpiryTime   *date.Time `json:"expiryTime,omitempty"`
	ID           *string    `json:"id,omitempty"`
	MetaData     *string    `json:"metaData,omitempty"`
	State        *string    `json:"state,omitempty"`
	Type         *string    `json:"type,omitempty"`
	Visible      *bool      `json:"visible,omitempty"`
	// RehydrationExpiryTime - READ-ONLY
	RehydrationExpiryTime *date.Time `json:"rehydrationExpiryTime,omitempty"`
	// RehydrationStatus - READ-ONLY; Possible values include: 'CREATEINPROGRESS', 'COMPLETED', 'DELETEINPROGRESS', 'DELETED', 'FAILED'
	RehydrationStatus RehydrationStatus `json:"rehydrationStatus,omitempty"`
}

RecoveryPointDataStoreDetails recoveryPoint datastore details

func (RecoveryPointDataStoreDetails) MarshalJSON

func (rpdsd RecoveryPointDataStoreDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPointDataStoreDetails.

type RecoveryPointsClient

type RecoveryPointsClient struct {
	BaseClient
}

RecoveryPointsClient is the open API 2.0 Specs for Azure Data Protection service

func NewRecoveryPointsClient

func NewRecoveryPointsClient(subscriptionID string) RecoveryPointsClient

NewRecoveryPointsClient creates an instance of the RecoveryPointsClient client.

func NewRecoveryPointsClientWithBaseURI

func NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string) RecoveryPointsClient

NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RecoveryPointsClient) GetList

func (client RecoveryPointsClient) GetList(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (result AzureBackupRecoveryPointResourceListPage, err error)

GetList returns a list of Recovery Points for a DataSource in a vault. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present. backupInstanceName - the name of the backup instance filter - oData filter options. skipToken - skipToken Filter.

func (RecoveryPointsClient) GetListComplete

func (client RecoveryPointsClient) GetListComplete(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (result AzureBackupRecoveryPointResourceListIterator, err error)

GetListComplete enumerates all values, automatically crossing page boundaries as required.

func (RecoveryPointsClient) GetListPreparer

func (client RecoveryPointsClient) GetListPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (*http.Request, error)

GetListPreparer prepares the GetList request.

func (RecoveryPointsClient) GetListResponder

func (client RecoveryPointsClient) GetListResponder(resp *http.Response) (result AzureBackupRecoveryPointResourceList, err error)

GetListResponder handles the response to the GetList request. The method always closes the http.Response Body.

func (RecoveryPointsClient) GetListSender

func (client RecoveryPointsClient) GetListSender(req *http.Request) (*http.Response, error)

GetListSender sends the GetList request. The method will close the http.Response Body if it receives an error.

type RecoveryPointsFilters

type RecoveryPointsFilters struct {
	RestorePointDataStoreID *string `json:"restorePointDataStoreId,omitempty"`
	IsVisible               *bool   `json:"isVisible,omitempty"`
	StartDate               *string `json:"startDate,omitempty"`
	EndDate                 *string `json:"endDate,omitempty"`
	ExtendedInfo            *bool   `json:"extendedInfo,omitempty"`
	RestorePointState       *string `json:"restorePointState,omitempty"`
}

RecoveryPointsFilters ...

type RehydrationPriority

type RehydrationPriority string

RehydrationPriority enumerates the values for rehydration priority.

const (
	// RehydrationPriorityHigh ...
	RehydrationPriorityHigh RehydrationPriority = "High"
	// RehydrationPriorityInvalid ...
	RehydrationPriorityInvalid RehydrationPriority = "Invalid"
	// RehydrationPriorityStandard ...
	RehydrationPriorityStandard RehydrationPriority = "Standard"
)

func PossibleRehydrationPriorityValues

func PossibleRehydrationPriorityValues() []RehydrationPriority

PossibleRehydrationPriorityValues returns an array of possible values for the RehydrationPriority const type.

type RehydrationStatus

type RehydrationStatus string

RehydrationStatus enumerates the values for rehydration status.

const (
	// COMPLETED ...
	COMPLETED RehydrationStatus = "COMPLETED"
	// CREATEINPROGRESS ...
	CREATEINPROGRESS RehydrationStatus = "CREATE_IN_PROGRESS"
	// DELETED ...
	DELETED RehydrationStatus = "DELETED"
	// DELETEINPROGRESS ...
	DELETEINPROGRESS RehydrationStatus = "DELETE_IN_PROGRESS"
	// FAILED ...
	FAILED RehydrationStatus = "FAILED"
)

func PossibleRehydrationStatusValues

func PossibleRehydrationStatusValues() []RehydrationStatus

PossibleRehydrationStatusValues returns an array of possible values for the RehydrationStatus const type.

type RestorableTimeRange

type RestorableTimeRange struct {
	// StartTime - Start time for the available restore range
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - End time for the available restore range
	EndTime    *string `json:"endTime,omitempty"`
	ObjectType *string `json:"objectType,omitempty"`
}

RestorableTimeRange ...

type RestoreFilesTargetInfo

type RestoreFilesTargetInfo struct {
	// TargetDetails - Destination of RestoreAsFiles operation, when destination is not a datasource
	TargetDetails *TargetDetails `json:"targetDetails,omitempty"`
	// RecoveryOption - Recovery Option
	RecoveryOption *string `json:"recoveryOption,omitempty"`
	// RestoreLocation - Target Restore region
	RestoreLocation *string `json:"restoreLocation,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeRestoreTargetInfoBase', 'ObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeRestoreFilesTargetInfo', 'ObjectTypeRestoreTargetInfo'
	ObjectType ObjectTypeBasicRestoreTargetInfoBase `json:"objectType,omitempty"`
}

RestoreFilesTargetInfo class encapsulating restore as files target parameters

func (RestoreFilesTargetInfo) AsBasicRestoreTargetInfoBase

func (rfti RestoreFilesTargetInfo) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)

AsBasicRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for RestoreFilesTargetInfo.

func (RestoreFilesTargetInfo) AsItemLevelRestoreTargetInfo

func (rfti RestoreFilesTargetInfo) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)

AsItemLevelRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreFilesTargetInfo.

func (RestoreFilesTargetInfo) AsRestoreFilesTargetInfo

func (rfti RestoreFilesTargetInfo) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)

AsRestoreFilesTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreFilesTargetInfo.

func (RestoreFilesTargetInfo) AsRestoreTargetInfo

func (rfti RestoreFilesTargetInfo) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)

AsRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreFilesTargetInfo.

func (RestoreFilesTargetInfo) AsRestoreTargetInfoBase

func (rfti RestoreFilesTargetInfo) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)

AsRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for RestoreFilesTargetInfo.

func (RestoreFilesTargetInfo) MarshalJSON

func (rfti RestoreFilesTargetInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestoreFilesTargetInfo.

type RestoreJobRecoveryPointDetails

type RestoreJobRecoveryPointDetails struct {
	RecoveryPointID   *string    `json:"recoveryPointID,omitempty"`
	RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"`
}

RestoreJobRecoveryPointDetails ...

type RestoreSourceDataStoreType

type RestoreSourceDataStoreType string

RestoreSourceDataStoreType enumerates the values for restore source data store type.

const (
	// RestoreSourceDataStoreTypeArchiveStore ...
	RestoreSourceDataStoreTypeArchiveStore RestoreSourceDataStoreType = "ArchiveStore"
	// RestoreSourceDataStoreTypeOperationalStore ...
	RestoreSourceDataStoreTypeOperationalStore RestoreSourceDataStoreType = "OperationalStore"
	// RestoreSourceDataStoreTypeVaultStore ...
	RestoreSourceDataStoreTypeVaultStore RestoreSourceDataStoreType = "VaultStore"
)

func PossibleRestoreSourceDataStoreTypeValues

func PossibleRestoreSourceDataStoreTypeValues() []RestoreSourceDataStoreType

PossibleRestoreSourceDataStoreTypeValues returns an array of possible values for the RestoreSourceDataStoreType const type.

type RestoreTargetInfo

type RestoreTargetInfo struct {
	// DatasourceInfo - Information of target DS
	DatasourceInfo *Datasource `json:"datasourceInfo,omitempty"`
	// DatasourceSetInfo - Information of target DS Set
	DatasourceSetInfo *DatasourceSet `json:"datasourceSetInfo,omitempty"`
	// RecoveryOption - Recovery Option
	RecoveryOption *string `json:"recoveryOption,omitempty"`
	// RestoreLocation - Target Restore region
	RestoreLocation *string `json:"restoreLocation,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeRestoreTargetInfoBase', 'ObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeRestoreFilesTargetInfo', 'ObjectTypeRestoreTargetInfo'
	ObjectType ObjectTypeBasicRestoreTargetInfoBase `json:"objectType,omitempty"`
}

RestoreTargetInfo class encapsulating restore target parameters

func (RestoreTargetInfo) AsBasicRestoreTargetInfoBase

func (rti RestoreTargetInfo) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)

AsBasicRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfo.

func (RestoreTargetInfo) AsItemLevelRestoreTargetInfo

func (rti RestoreTargetInfo) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)

AsItemLevelRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfo.

func (RestoreTargetInfo) AsRestoreFilesTargetInfo

func (rti RestoreTargetInfo) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)

AsRestoreFilesTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfo.

func (RestoreTargetInfo) AsRestoreTargetInfo

func (rti RestoreTargetInfo) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)

AsRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfo.

func (RestoreTargetInfo) AsRestoreTargetInfoBase

func (rti RestoreTargetInfo) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)

AsRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfo.

func (RestoreTargetInfo) MarshalJSON

func (rti RestoreTargetInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestoreTargetInfo.

type RestoreTargetInfoBase

type RestoreTargetInfoBase struct {
	// RecoveryOption - Recovery Option
	RecoveryOption *string `json:"recoveryOption,omitempty"`
	// RestoreLocation - Target Restore region
	RestoreLocation *string `json:"restoreLocation,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeRestoreTargetInfoBase', 'ObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeRestoreFilesTargetInfo', 'ObjectTypeRestoreTargetInfo'
	ObjectType ObjectTypeBasicRestoreTargetInfoBase `json:"objectType,omitempty"`
}

RestoreTargetInfoBase base class common to RestoreTargetInfo and RestoreFilesTargetInfo

func (RestoreTargetInfoBase) AsBasicRestoreTargetInfoBase

func (rtib RestoreTargetInfoBase) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)

AsBasicRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfoBase.

func (RestoreTargetInfoBase) AsItemLevelRestoreTargetInfo

func (rtib RestoreTargetInfoBase) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)

AsItemLevelRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfoBase.

func (RestoreTargetInfoBase) AsRestoreFilesTargetInfo

func (rtib RestoreTargetInfoBase) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)

AsRestoreFilesTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfoBase.

func (RestoreTargetInfoBase) AsRestoreTargetInfo

func (rtib RestoreTargetInfoBase) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)

AsRestoreTargetInfo is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfoBase.

func (RestoreTargetInfoBase) AsRestoreTargetInfoBase

func (rtib RestoreTargetInfoBase) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)

AsRestoreTargetInfoBase is the BasicRestoreTargetInfoBase implementation for RestoreTargetInfoBase.

func (RestoreTargetInfoBase) MarshalJSON

func (rtib RestoreTargetInfoBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestoreTargetInfoBase.

type RestoreTargetLocationType

type RestoreTargetLocationType string

RestoreTargetLocationType enumerates the values for restore target location type.

const (
	// RestoreTargetLocationTypeAzureBlobs ...
	RestoreTargetLocationTypeAzureBlobs RestoreTargetLocationType = "AzureBlobs"
	// RestoreTargetLocationTypeAzureFiles ...
	RestoreTargetLocationTypeAzureFiles RestoreTargetLocationType = "AzureFiles"
	// RestoreTargetLocationTypeInvalid ...
	RestoreTargetLocationTypeInvalid RestoreTargetLocationType = "Invalid"
)

func PossibleRestoreTargetLocationTypeValues

func PossibleRestoreTargetLocationTypeValues() []RestoreTargetLocationType

PossibleRestoreTargetLocationTypeValues returns an array of possible values for the RestoreTargetLocationType const type.

type RetentionTag

type RetentionTag struct {
	// ETag - READ-ONLY; Retention Tag version.
	ETag *string `json:"eTag,omitempty"`
	// ID - READ-ONLY; Retention Tag version.
	ID *string `json:"id,omitempty"`
	// TagName - Retention Tag Name to relate it to retention rule.
	TagName *string `json:"tagName,omitempty"`
}

RetentionTag retention tag

func (RetentionTag) MarshalJSON

func (rt RetentionTag) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RetentionTag.

type ScheduleBasedBackupCriteria

type ScheduleBasedBackupCriteria struct {
	// AbsoluteCriteria - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth"
	// and should be part of AbsoluteMarker enum
	AbsoluteCriteria *[]AbsoluteMarker `json:"absoluteCriteria,omitempty"`
	// DaysOfMonth - This is day of the month from 1 to 28 other wise last of month
	DaysOfMonth *[]Day `json:"daysOfMonth,omitempty"`
	// DaysOfTheWeek - It should be Sunday/Monday/T..../Saturday
	DaysOfTheWeek *[]DayOfWeek `json:"daysOfTheWeek,omitempty"`
	// MonthsOfYear - It should be January/February/....../December
	MonthsOfYear *[]Month `json:"monthsOfYear,omitempty"`
	// ScheduleTimes - List of schedule times for backup
	ScheduleTimes *[]date.Time `json:"scheduleTimes,omitempty"`
	// WeeksOfTheMonth - It should be First/Second/Third/Fourth/Last
	WeeksOfTheMonth *[]WeekNumber `json:"weeksOfTheMonth,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeBackupCriteria', 'ObjectTypeScheduleBasedBackupCriteria'
	ObjectType ObjectTypeBasicBackupCriteria `json:"objectType,omitempty"`
}

ScheduleBasedBackupCriteria schedule based backup criteria

func (ScheduleBasedBackupCriteria) AsBackupCriteria

func (sbbc ScheduleBasedBackupCriteria) AsBackupCriteria() (*BackupCriteria, bool)

AsBackupCriteria is the BasicBackupCriteria implementation for ScheduleBasedBackupCriteria.

func (ScheduleBasedBackupCriteria) AsBasicBackupCriteria

func (sbbc ScheduleBasedBackupCriteria) AsBasicBackupCriteria() (BasicBackupCriteria, bool)

AsBasicBackupCriteria is the BasicBackupCriteria implementation for ScheduleBasedBackupCriteria.

func (ScheduleBasedBackupCriteria) AsScheduleBasedBackupCriteria

func (sbbc ScheduleBasedBackupCriteria) AsScheduleBasedBackupCriteria() (*ScheduleBasedBackupCriteria, bool)

AsScheduleBasedBackupCriteria is the BasicBackupCriteria implementation for ScheduleBasedBackupCriteria.

func (ScheduleBasedBackupCriteria) MarshalJSON

func (sbbc ScheduleBasedBackupCriteria) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduleBasedBackupCriteria.

type ScheduleBasedTriggerContext

type ScheduleBasedTriggerContext struct {
	// Schedule - Schedule for this backup
	Schedule *BackupSchedule `json:"schedule,omitempty"`
	// TaggingCriteria - List of tags that can be applicable for given schedule.
	TaggingCriteria *[]TaggingCriteria `json:"taggingCriteria,omitempty"`
	// ObjectType - Possible values include: 'ObjectTypeTriggerContext', 'ObjectTypeAdhocBasedTriggerContext', 'ObjectTypeScheduleBasedTriggerContext'
	ObjectType ObjectTypeBasicTriggerContext `json:"objectType,omitempty"`
}

ScheduleBasedTriggerContext schedule based trigger context

func (ScheduleBasedTriggerContext) AsAdhocBasedTriggerContext

func (sbtc ScheduleBasedTriggerContext) AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)

AsAdhocBasedTriggerContext is the BasicTriggerContext implementation for ScheduleBasedTriggerContext.

func (ScheduleBasedTriggerContext) AsBasicTriggerContext

func (sbtc ScheduleBasedTriggerContext) AsBasicTriggerContext() (BasicTriggerContext, bool)

AsBasicTriggerContext is the BasicTriggerContext implementation for ScheduleBasedTriggerContext.

func (ScheduleBasedTriggerContext) AsScheduleBasedTriggerContext

func (sbtc ScheduleBasedTriggerContext) AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)

AsScheduleBasedTriggerContext is the BasicTriggerContext implementation for ScheduleBasedTriggerContext.

func (ScheduleBasedTriggerContext) AsTriggerContext

func (sbtc ScheduleBasedTriggerContext) AsTriggerContext() (*TriggerContext, bool)

AsTriggerContext is the BasicTriggerContext implementation for ScheduleBasedTriggerContext.

func (ScheduleBasedTriggerContext) MarshalJSON

func (sbtc ScheduleBasedTriggerContext) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScheduleBasedTriggerContext.

type SourceDataStoreType

type SourceDataStoreType string

SourceDataStoreType enumerates the values for source data store type.

const (
	// SourceDataStoreTypeArchiveStore ...
	SourceDataStoreTypeArchiveStore SourceDataStoreType = "ArchiveStore"
	// SourceDataStoreTypeSnapshotStore ...
	SourceDataStoreTypeSnapshotStore SourceDataStoreType = "SnapshotStore"
	// SourceDataStoreTypeVaultStore ...
	SourceDataStoreTypeVaultStore SourceDataStoreType = "VaultStore"
)

func PossibleSourceDataStoreTypeValues

func PossibleSourceDataStoreTypeValues() []SourceDataStoreType

PossibleSourceDataStoreTypeValues returns an array of possible values for the SourceDataStoreType const type.

type SourceLifeCycle

type SourceLifeCycle struct {
	DeleteAfter                 BasicDeleteOption    `json:"deleteAfter,omitempty"`
	SourceDataStore             *DataStoreInfoBase   `json:"sourceDataStore,omitempty"`
	TargetDataStoreCopySettings *[]TargetCopySetting `json:"targetDataStoreCopySettings,omitempty"`
}

SourceLifeCycle source LifeCycle

func (*SourceLifeCycle) UnmarshalJSON

func (slc *SourceLifeCycle) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SourceLifeCycle struct.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusConfiguringProtection ...
	StatusConfiguringProtection Status = "ConfiguringProtection"
	// StatusConfiguringProtectionFailed ...
	StatusConfiguringProtectionFailed Status = "ConfiguringProtectionFailed"
	// StatusProtectionConfigured ...
	StatusProtectionConfigured Status = "ProtectionConfigured"
	// StatusProtectionStopped ...
	StatusProtectionStopped Status = "ProtectionStopped"
	// StatusSoftDeleted ...
	StatusSoftDeleted Status = "SoftDeleted"
	// StatusSoftDeleting ...
	StatusSoftDeleting Status = "SoftDeleting"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type StorageSetting

type StorageSetting struct {
	// DatastoreType - Gets or sets the type of the datastore. Possible values include: 'StorageSettingStoreTypesArchiveStore', 'StorageSettingStoreTypesSnapshotStore', 'StorageSettingStoreTypesVaultStore'
	DatastoreType StorageSettingStoreTypes `json:"datastoreType,omitempty"`
	// Type - Gets or sets the type. Possible values include: 'GeoRedundant', 'LocallyRedundant'
	Type StorageSettingTypes `json:"type,omitempty"`
}

StorageSetting storage setting

type StorageSettingStoreTypes

type StorageSettingStoreTypes string

StorageSettingStoreTypes enumerates the values for storage setting store types.

const (
	// StorageSettingStoreTypesArchiveStore ...
	StorageSettingStoreTypesArchiveStore StorageSettingStoreTypes = "ArchiveStore"
	// StorageSettingStoreTypesSnapshotStore ...
	StorageSettingStoreTypesSnapshotStore StorageSettingStoreTypes = "SnapshotStore"
	// StorageSettingStoreTypesVaultStore ...
	StorageSettingStoreTypesVaultStore StorageSettingStoreTypes = "VaultStore"
)

func PossibleStorageSettingStoreTypesValues

func PossibleStorageSettingStoreTypesValues() []StorageSettingStoreTypes

PossibleStorageSettingStoreTypesValues returns an array of possible values for the StorageSettingStoreTypes const type.

type StorageSettingTypes

type StorageSettingTypes string

StorageSettingTypes enumerates the values for storage setting types.

const (
	// GeoRedundant ...
	GeoRedundant StorageSettingTypes = "GeoRedundant"
	// LocallyRedundant ...
	LocallyRedundant StorageSettingTypes = "LocallyRedundant"
)

func PossibleStorageSettingTypesValues

func PossibleStorageSettingTypesValues() []StorageSettingTypes

PossibleStorageSettingTypesValues returns an array of possible values for the StorageSettingTypes const type.

type SupportedFeature

type SupportedFeature struct {
	// FeatureName - support feature type.
	FeatureName *string `json:"featureName,omitempty"`
	// SupportStatus - feature support status. Possible values include: 'FeatureSupportStatusInvalid', 'FeatureSupportStatusNotSupported', 'FeatureSupportStatusAlphaPreview', 'FeatureSupportStatusPrivatePreview', 'FeatureSupportStatusPublicPreview', 'FeatureSupportStatusGenerallyAvailable'
	SupportStatus FeatureSupportStatus `json:"supportStatus,omitempty"`
	// ExposureControlledFeatures - support feature type.
	ExposureControlledFeatures *[]string `json:"exposureControlledFeatures,omitempty"`
}

SupportedFeature elements class for feature request

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The type of identity that last modified the resource.
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type TaggingCriteria

type TaggingCriteria struct {
	// Criteria - Criteria which decides whether the tag can be applied to a triggered backup.
	Criteria *[]BasicBackupCriteria `json:"criteria,omitempty"`
	// IsDefault - Specifies if tag is default.
	IsDefault *bool `json:"isDefault,omitempty"`
	// TaggingPriority - Retention Tag priority.
	TaggingPriority *int64 `json:"taggingPriority,omitempty"`
	// TagInfo - Retention tag information
	TagInfo *RetentionTag `json:"tagInfo,omitempty"`
}

TaggingCriteria tagging criteria

func (*TaggingCriteria) UnmarshalJSON

func (tc *TaggingCriteria) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TaggingCriteria struct.

type TargetCopySetting

type TargetCopySetting struct {
	// CopyAfter - It can be CustomCopyOption or ImmediateCopyOption.
	CopyAfter BasicCopyOption `json:"copyAfter,omitempty"`
	// DataStore - Info of target datastore
	DataStore *DataStoreInfoBase `json:"dataStore,omitempty"`
}

TargetCopySetting target copy settings

func (*TargetCopySetting) UnmarshalJSON

func (tcs *TargetCopySetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TargetCopySetting struct.

type TargetDetails

type TargetDetails struct {
	// FilePrefix - Restore operation may create multiple files inside location pointed by Url
	// Below will be the common prefix for all of them
	FilePrefix *string `json:"filePrefix,omitempty"`
	// RestoreTargetLocationType - Denotes the target location where the data will be restored,
	// string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}. Possible values include: 'RestoreTargetLocationTypeInvalid', 'RestoreTargetLocationTypeAzureBlobs', 'RestoreTargetLocationTypeAzureFiles'
	RestoreTargetLocationType RestoreTargetLocationType `json:"restoreTargetLocationType,omitempty"`
	// URL - Url denoting the restore destination. It can point to container / file share etc
	URL *string `json:"url,omitempty"`
}

TargetDetails class encapsulating target details, used where the destination is not a datasource

type TriggerBackupRequest

type TriggerBackupRequest struct {
	// BackupRuleOptions - Name for the Rule of the Policy which needs to be applied for this backup
	BackupRuleOptions *AdHocBackupRuleOptions `json:"backupRuleOptions,omitempty"`
}

TriggerBackupRequest trigger backup request

type TriggerContext

type TriggerContext struct {
	// ObjectType - Possible values include: 'ObjectTypeTriggerContext', 'ObjectTypeAdhocBasedTriggerContext', 'ObjectTypeScheduleBasedTriggerContext'
	ObjectType ObjectTypeBasicTriggerContext `json:"objectType,omitempty"`
}

TriggerContext trigger context

func (TriggerContext) AsAdhocBasedTriggerContext

func (tc TriggerContext) AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)

AsAdhocBasedTriggerContext is the BasicTriggerContext implementation for TriggerContext.

func (TriggerContext) AsBasicTriggerContext

func (tc TriggerContext) AsBasicTriggerContext() (BasicTriggerContext, bool)

AsBasicTriggerContext is the BasicTriggerContext implementation for TriggerContext.

func (TriggerContext) AsScheduleBasedTriggerContext

func (tc TriggerContext) AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)

AsScheduleBasedTriggerContext is the BasicTriggerContext implementation for TriggerContext.

func (TriggerContext) AsTriggerContext

func (tc TriggerContext) AsTriggerContext() (*TriggerContext, bool)

AsTriggerContext is the BasicTriggerContext implementation for TriggerContext.

func (TriggerContext) MarshalJSON

func (tc TriggerContext) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TriggerContext.

type UserFacingError

type UserFacingError struct {
	// Code - Unique code for this error
	Code *string `json:"code,omitempty"`
	// Details - Additional related Errors
	Details *[]UserFacingError `json:"details,omitempty"`
	// InnerError - Inner Error
	InnerError *InnerError `json:"innerError,omitempty"`
	// IsRetryable - Whether the operation will be retryable or not
	IsRetryable *bool `json:"isRetryable,omitempty"`
	// IsUserError - Whether the operation is due to a user error or service error
	IsUserError *bool `json:"isUserError,omitempty"`
	// Properties - Any key value pairs that can be injected inside error object
	Properties map[string]*string `json:"properties"`
	Message    *string            `json:"message,omitempty"`
	// RecommendedAction - RecommendedAction � localized.
	RecommendedAction *[]string `json:"recommendedAction,omitempty"`
	// Target - Target of the error.
	Target *string `json:"target,omitempty"`
}

UserFacingError error object used by layers that have access to localized content, and propagate that to user

func (UserFacingError) MarshalJSON

func (ufe UserFacingError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserFacingError.

type ValidateForBackupRequest

type ValidateForBackupRequest struct {
	BackupInstance *BackupInstance `json:"backupInstance,omitempty"`
}

ValidateForBackupRequest validate for backup request

type ValidateRestoreRequestObject

type ValidateRestoreRequestObject struct {
	// RestoreRequestObject - Gets or sets the restore request object.
	RestoreRequestObject BasicAzureBackupRestoreRequest `json:"restoreRequestObject,omitempty"`
}

ValidateRestoreRequestObject validate restore request object

func (*ValidateRestoreRequestObject) UnmarshalJSON

func (vrro *ValidateRestoreRequestObject) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ValidateRestoreRequestObject struct.

type WeekNumber

type WeekNumber string

WeekNumber enumerates the values for week number.

const (
	// First ...
	First WeekNumber = "First"
	// Fourth ...
	Fourth WeekNumber = "Fourth"
	// Last ...
	Last WeekNumber = "Last"
	// Second ...
	Second WeekNumber = "Second"
	// Third ...
	Third WeekNumber = "Third"
)

func PossibleWeekNumberValues

func PossibleWeekNumberValues() []WeekNumber

PossibleWeekNumberValues returns an array of possible values for the WeekNumber const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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