Documentation ¶
Index ¶
- func PossibleValuesForRecoveryPointTierStatus() []string
- func PossibleValuesForRecoveryPointTierType() []string
- func PossibleValuesForRestorePointType() []string
- func PossibleValuesForSQLDataDirectoryType() []string
- func ValidateProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRecoveryPointID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileShareRecoveryPoint
- type AzureWorkloadPointInTimeRecoveryPoint
- type AzureWorkloadRecoveryPoint
- type AzureWorkloadSAPHanaPointInTimeRecoveryPoint
- type AzureWorkloadSAPHanaRecoveryPoint
- type AzureWorkloadSQLPointInTimeRecoveryPoint
- type AzureWorkloadSQLRecoveryPoint
- type AzureWorkloadSQLRecoveryPointExtendedInfo
- type BEKDetails
- type DiskInformation
- type GenericRecoveryPoint
- type GetOperationResponse
- type IaasVMRecoveryPoint
- type KEKDetails
- type KeyAndSecretDetails
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type PointInTimeRange
- type ProtectedItemId
- type RawRecoveryPointImpl
- type RecoveryPoint
- type RecoveryPointDiskConfiguration
- type RecoveryPointId
- type RecoveryPointMoveReadinessInfo
- type RecoveryPointProperties
- type RecoveryPointResource
- type RecoveryPointResourceOperationPredicate
- type RecoveryPointTierInformation
- type RecoveryPointTierStatus
- type RecoveryPointTierType
- type RecoveryPointsCrrClient
- func (c RecoveryPointsCrrClient) Get(ctx context.Context, id RecoveryPointId) (result GetOperationResponse, err error)
- func (c RecoveryPointsCrrClient) List(ctx context.Context, id ProtectedItemId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c RecoveryPointsCrrClient) ListComplete(ctx context.Context, id ProtectedItemId, options ListOperationOptions) (ListCompleteResult, error)
- func (c RecoveryPointsCrrClient) ListCompleteMatchingPredicate(ctx context.Context, id ProtectedItemId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type RestorePointType
- type SQLDataDirectory
- type SQLDataDirectoryType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRecoveryPointTierStatus ¶
func PossibleValuesForRecoveryPointTierStatus() []string
func PossibleValuesForRecoveryPointTierType ¶
func PossibleValuesForRecoveryPointTierType() []string
func PossibleValuesForRestorePointType ¶
func PossibleValuesForRestorePointType() []string
func PossibleValuesForSQLDataDirectoryType ¶
func PossibleValuesForSQLDataDirectoryType() []string
func ValidateProtectedItemID ¶
ValidateProtectedItemID checks that 'input' can be parsed as a Protected Item ID
func ValidateRecoveryPointID ¶ added in v0.20230626.1153114
ValidateRecoveryPointID checks that 'input' can be parsed as a Recovery Point ID
Types ¶
type AzureFileShareRecoveryPoint ¶
type AzureFileShareRecoveryPoint struct {}
func (AzureFileShareRecoveryPoint) MarshalJSON ¶
func (s AzureFileShareRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadPointInTimeRecoveryPoint ¶
type AzureWorkloadPointInTimeRecoveryPoint struct { RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTimeInUTC *string `json:"recoveryPointTimeInUTC,omitempty"` TimeRanges *[]PointInTimeRange `json:"timeRanges,omitempty"` Type *RestorePointType `json:"type,omitempty"` }
func (AzureWorkloadPointInTimeRecoveryPoint) MarshalJSON ¶
func (s AzureWorkloadPointInTimeRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadRecoveryPoint ¶
type AzureWorkloadRecoveryPoint struct { RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTimeInUTC *string `json:"recoveryPointTimeInUTC,omitempty"` Type *RestorePointType `json:"type,omitempty"` }
func (AzureWorkloadRecoveryPoint) MarshalJSON ¶
func (s AzureWorkloadRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadSAPHanaPointInTimeRecoveryPoint ¶
type AzureWorkloadSAPHanaPointInTimeRecoveryPoint struct { RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTimeInUTC *string `json:"recoveryPointTimeInUTC,omitempty"` TimeRanges *[]PointInTimeRange `json:"timeRanges,omitempty"` Type *RestorePointType `json:"type,omitempty"` }
func (AzureWorkloadSAPHanaPointInTimeRecoveryPoint) MarshalJSON ¶
func (s AzureWorkloadSAPHanaPointInTimeRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadSAPHanaRecoveryPoint ¶
type AzureWorkloadSAPHanaRecoveryPoint struct { RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTimeInUTC *string `json:"recoveryPointTimeInUTC,omitempty"` Type *RestorePointType `json:"type,omitempty"` }
func (AzureWorkloadSAPHanaRecoveryPoint) MarshalJSON ¶
func (s AzureWorkloadSAPHanaRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadSQLPointInTimeRecoveryPoint ¶
type AzureWorkloadSQLPointInTimeRecoveryPoint struct { ExtendedInfo *AzureWorkloadSQLRecoveryPointExtendedInfo `json:"extendedInfo,omitempty"` RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTimeInUTC *string `json:"recoveryPointTimeInUTC,omitempty"` TimeRanges *[]PointInTimeRange `json:"timeRanges,omitempty"` Type *RestorePointType `json:"type,omitempty"` }
func (AzureWorkloadSQLPointInTimeRecoveryPoint) MarshalJSON ¶
func (s AzureWorkloadSQLPointInTimeRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadSQLRecoveryPoint ¶
type AzureWorkloadSQLRecoveryPoint struct { ExtendedInfo *AzureWorkloadSQLRecoveryPointExtendedInfo `json:"extendedInfo,omitempty"` RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTimeInUTC *string `json:"recoveryPointTimeInUTC,omitempty"` Type *RestorePointType `json:"type,omitempty"` }
func (AzureWorkloadSQLRecoveryPoint) MarshalJSON ¶
func (s AzureWorkloadSQLRecoveryPoint) MarshalJSON() ([]byte, error)
type AzureWorkloadSQLRecoveryPointExtendedInfo ¶
type AzureWorkloadSQLRecoveryPointExtendedInfo struct { DataDirectoryPaths *[]SQLDataDirectory `json:"dataDirectoryPaths,omitempty"` DataDirectoryTimeInUTC *string `json:"dataDirectoryTimeInUTC,omitempty"` }
func (*AzureWorkloadSQLRecoveryPointExtendedInfo) GetDataDirectoryTimeInUTCAsTime ¶
func (o *AzureWorkloadSQLRecoveryPointExtendedInfo) GetDataDirectoryTimeInUTCAsTime() (*time.Time, error)
func (*AzureWorkloadSQLRecoveryPointExtendedInfo) SetDataDirectoryTimeInUTCAsTime ¶
func (o *AzureWorkloadSQLRecoveryPointExtendedInfo) SetDataDirectoryTimeInUTCAsTime(input time.Time)
type BEKDetails ¶
type DiskInformation ¶
type GenericRecoveryPoint ¶
type GenericRecoveryPoint struct { FriendlyName *string `json:"friendlyName,omitempty"` RecoveryPointAdditionalInfo *string `json:"recoveryPointAdditionalInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTime *string `json:"recoveryPointTime,omitempty"` RecoveryPointType *string `json:"recoveryPointType,omitempty"` }
func (GenericRecoveryPoint) MarshalJSON ¶
func (s GenericRecoveryPoint) MarshalJSON() ([]byte, error)
type GetOperationResponse ¶ added in v0.20230906.1160501
type GetOperationResponse struct { HttpResponse *http.Response Model *RecoveryPointResource }
type IaasVMRecoveryPoint ¶
type IaasVMRecoveryPoint struct { IsInstantIlrSessionActive *bool `json:"isInstantIlrSessionActive,omitempty"` IsManagedVirtualMachine *bool `json:"isManagedVirtualMachine,omitempty"` IsSourceVMEncrypted *bool `json:"isSourceVMEncrypted,omitempty"` KeyAndSecret *KeyAndSecretDetails `json:"keyAndSecret,omitempty"` OriginalStorageAccountOption *bool `json:"originalStorageAccountOption,omitempty"` OsType *string `json:"osType,omitempty"` RecoveryPointAdditionalInfo *string `json:"recoveryPointAdditionalInfo,omitempty"` RecoveryPointDiskConfiguration *RecoveryPointDiskConfiguration `json:"recoveryPointDiskConfiguration,omitempty"` RecoveryPointMoveReadinessInfo *map[string]RecoveryPointMoveReadinessInfo `json:"recoveryPointMoveReadinessInfo,omitempty"` RecoveryPointProperties *RecoveryPointProperties `json:"recoveryPointProperties,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` RecoveryPointTime *string `json:"recoveryPointTime,omitempty"` RecoveryPointType *string `json:"recoveryPointType,omitempty"` SourceVMStorageType *string `json:"sourceVMStorageType,omitempty"` VirtualMachineSize *string `json:"virtualMachineSize,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
func (IaasVMRecoveryPoint) MarshalJSON ¶
func (s IaasVMRecoveryPoint) MarshalJSON() ([]byte, error)
type KEKDetails ¶
type KeyAndSecretDetails ¶
type KeyAndSecretDetails struct { BekDetails *BEKDetails `json:"bekDetails,omitempty"` EncryptionMechanism *string `json:"encryptionMechanism,omitempty"` KekDetails *KEKDetails `json:"kekDetails,omitempty"` }
type ListCompleteResult ¶ added in v0.20230906.1160501
type ListCompleteResult struct {
Items []RecoveryPointResource
}
type ListOperationOptions ¶ added in v0.20230906.1160501
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶ added in v0.20230906.1160501
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶ added in v0.20230906.1160501
type ListOperationResponse struct { HttpResponse *http.Response Model *[]RecoveryPointResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶ added in v0.20230906.1160501
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type PointInTimeRange ¶
type PointInTimeRange struct { EndTime *string `json:"endTime,omitempty"` StartTime *string `json:"startTime,omitempty"` }
func (*PointInTimeRange) GetEndTimeAsTime ¶
func (o *PointInTimeRange) GetEndTimeAsTime() (*time.Time, error)
func (*PointInTimeRange) GetStartTimeAsTime ¶
func (o *PointInTimeRange) GetStartTimeAsTime() (*time.Time, error)
func (*PointInTimeRange) SetEndTimeAsTime ¶
func (o *PointInTimeRange) SetEndTimeAsTime(input time.Time)
func (*PointInTimeRange) SetStartTimeAsTime ¶
func (o *PointInTimeRange) SetStartTimeAsTime(input time.Time)
type ProtectedItemId ¶
type ProtectedItemId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string ProtectedItemName string }
ProtectedItemId is a struct representing the Resource ID for a Protected Item
func NewProtectedItemID ¶
func NewProtectedItemID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string, protectedItemName string) ProtectedItemId
NewProtectedItemID returns a new ProtectedItemId struct
func ParseProtectedItemID ¶
func ParseProtectedItemID(input string) (*ProtectedItemId, error)
ParseProtectedItemID parses 'input' into a ProtectedItemId
func ParseProtectedItemIDInsensitively ¶
func ParseProtectedItemIDInsensitively(input string) (*ProtectedItemId, error)
ParseProtectedItemIDInsensitively parses 'input' case-insensitively into a ProtectedItemId note: this method should only be used for API response data and not user input
func (ProtectedItemId) ID ¶
func (id ProtectedItemId) ID() string
ID returns the formatted Protected Item ID
func (ProtectedItemId) Segments ¶
func (id ProtectedItemId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Protected Item ID
func (ProtectedItemId) String ¶
func (id ProtectedItemId) String() string
String returns a human-readable description of this Protected Item ID
type RawRecoveryPointImpl ¶ added in v0.20230807.1063129
RawRecoveryPointImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RecoveryPoint ¶
type RecoveryPoint interface { }
type RecoveryPointDiskConfiguration ¶
type RecoveryPointDiskConfiguration struct { ExcludedDiskList *[]DiskInformation `json:"excludedDiskList,omitempty"` IncludedDiskList *[]DiskInformation `json:"includedDiskList,omitempty"` NumberOfDisksAttachedToVM *int64 `json:"numberOfDisksAttachedToVm,omitempty"` NumberOfDisksIncludedInBackup *int64 `json:"numberOfDisksIncludedInBackup,omitempty"` }
type RecoveryPointId ¶ added in v0.20230626.1153114
type RecoveryPointId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string ProtectedItemName string RecoveryPointId string }
RecoveryPointId is a struct representing the Resource ID for a Recovery Point
func NewRecoveryPointID ¶ added in v0.20230626.1153114
func NewRecoveryPointID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string, protectedItemName string, recoveryPointId string) RecoveryPointId
NewRecoveryPointID returns a new RecoveryPointId struct
func ParseRecoveryPointID ¶ added in v0.20230626.1153114
func ParseRecoveryPointID(input string) (*RecoveryPointId, error)
ParseRecoveryPointID parses 'input' into a RecoveryPointId
func ParseRecoveryPointIDInsensitively ¶ added in v0.20230626.1153114
func ParseRecoveryPointIDInsensitively(input string) (*RecoveryPointId, error)
ParseRecoveryPointIDInsensitively parses 'input' case-insensitively into a RecoveryPointId note: this method should only be used for API response data and not user input
func (RecoveryPointId) ID ¶ added in v0.20230626.1153114
func (id RecoveryPointId) ID() string
ID returns the formatted Recovery Point ID
func (RecoveryPointId) Segments ¶ added in v0.20230626.1153114
func (id RecoveryPointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Recovery Point ID
func (RecoveryPointId) String ¶ added in v0.20230626.1153114
func (id RecoveryPointId) String() string
String returns a human-readable description of this Recovery Point ID
type RecoveryPointProperties ¶
type RecoveryPointResource ¶
type RecoveryPointResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties RecoveryPoint `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*RecoveryPointResource) UnmarshalJSON ¶
func (s *RecoveryPointResource) UnmarshalJSON(bytes []byte) error
type RecoveryPointResourceOperationPredicate ¶
type RecoveryPointResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (RecoveryPointResourceOperationPredicate) Matches ¶
func (p RecoveryPointResourceOperationPredicate) Matches(input RecoveryPointResource) bool
type RecoveryPointTierInformation ¶
type RecoveryPointTierInformation struct { ExtendedInfo *map[string]string `json:"extendedInfo,omitempty"` Status *RecoveryPointTierStatus `json:"status,omitempty"` Type *RecoveryPointTierType `json:"type,omitempty"` }
type RecoveryPointTierStatus ¶
type RecoveryPointTierStatus string
const ( RecoveryPointTierStatusDeleted RecoveryPointTierStatus = "Deleted" RecoveryPointTierStatusDisabled RecoveryPointTierStatus = "Disabled" RecoveryPointTierStatusInvalid RecoveryPointTierStatus = "Invalid" RecoveryPointTierStatusRehydrated RecoveryPointTierStatus = "Rehydrated" RecoveryPointTierStatusValid RecoveryPointTierStatus = "Valid" )
type RecoveryPointTierType ¶
type RecoveryPointTierType string
const ( RecoveryPointTierTypeArchivedRP RecoveryPointTierType = "ArchivedRP" RecoveryPointTierTypeHardenedRP RecoveryPointTierType = "HardenedRP" RecoveryPointTierTypeInstantRP RecoveryPointTierType = "InstantRP" RecoveryPointTierTypeInvalid RecoveryPointTierType = "Invalid" )
type RecoveryPointsCrrClient ¶
type RecoveryPointsCrrClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRecoveryPointsCrrClientWithBaseURI ¶
func NewRecoveryPointsCrrClientWithBaseURI(endpoint string) RecoveryPointsCrrClient
func (RecoveryPointsCrrClient) Get ¶ added in v0.20230906.1160501
func (c RecoveryPointsCrrClient) Get(ctx context.Context, id RecoveryPointId) (result GetOperationResponse, err error)
Get ...
func (RecoveryPointsCrrClient) List ¶ added in v0.20230906.1160501
func (c RecoveryPointsCrrClient) List(ctx context.Context, id ProtectedItemId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (RecoveryPointsCrrClient) ListComplete ¶ added in v0.20230906.1160501
func (c RecoveryPointsCrrClient) ListComplete(ctx context.Context, id ProtectedItemId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (RecoveryPointsCrrClient) ListCompleteMatchingPredicate ¶ added in v0.20230906.1160501
func (c RecoveryPointsCrrClient) ListCompleteMatchingPredicate(ctx context.Context, id ProtectedItemId, options ListOperationOptions, predicate RecoveryPointResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type RestorePointType ¶
type RestorePointType string
const ( RestorePointTypeDifferential RestorePointType = "Differential" RestorePointTypeFull RestorePointType = "Full" RestorePointTypeIncremental RestorePointType = "Incremental" RestorePointTypeInvalid RestorePointType = "Invalid" RestorePointTypeLog RestorePointType = "Log" )
type SQLDataDirectory ¶
type SQLDataDirectory struct { LogicalName *string `json:"logicalName,omitempty"` Path *string `json:"path,omitempty"` Type *SQLDataDirectoryType `json:"type,omitempty"` }
type SQLDataDirectoryType ¶
type SQLDataDirectoryType string
const ( SQLDataDirectoryTypeData SQLDataDirectoryType = "Data" SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid" SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log" )
Source Files ¶
- client.go
- constants.go
- id_protecteditem.go
- id_recoverypoint.go
- method_get_autorest.go
- method_list_autorest.go
- model_azurefilesharerecoverypoint.go
- model_azureworkloadpointintimerecoverypoint.go
- model_azureworkloadrecoverypoint.go
- model_azureworkloadsaphanapointintimerecoverypoint.go
- model_azureworkloadsaphanarecoverypoint.go
- model_azureworkloadsqlpointintimerecoverypoint.go
- model_azureworkloadsqlrecoverypoint.go
- model_azureworkloadsqlrecoverypointextendedinfo.go
- model_bekdetails.go
- model_diskinformation.go
- model_genericrecoverypoint.go
- model_iaasvmrecoverypoint.go
- model_kekdetails.go
- model_keyandsecretdetails.go
- model_pointintimerange.go
- model_recoverypoint.go
- model_recoverypointdiskconfiguration.go
- model_recoverypointmovereadinessinfo.go
- model_recoverypointproperties.go
- model_recoverypointresource.go
- model_recoverypointtierinformation.go
- model_sqldatadirectory.go
- predicates.go
- version.go