Documentation ¶
Index ¶
- func PossibleValuesForRestoreSourceDataStoreType() []string
- func ValidateBackupInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type AzureBackupFindRestorableTimeRangesRequest
- type AzureBackupFindRestorableTimeRangesResponse
- type AzureBackupFindRestorableTimeRangesResponseResource
- type BackupInstanceId
- type FindRestorableTimeRangesClient
- type RestorableTimeRange
- type RestorableTimeRangesFindOperationResponse
- type RestoreSourceDataStoreType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRestoreSourceDataStoreType ¶
func PossibleValuesForRestoreSourceDataStoreType() []string
func ValidateBackupInstanceID ¶
ValidateBackupInstanceID checks that 'input' can be parsed as a Backup Instance ID
Types ¶
type AzureBackupFindRestorableTimeRangesRequest ¶
type AzureBackupFindRestorableTimeRangesRequest struct { EndTime *string `json:"endTime,omitempty"` SourceDataStoreType RestoreSourceDataStoreType `json:"sourceDataStoreType"` StartTime *string `json:"startTime,omitempty"` }
type AzureBackupFindRestorableTimeRangesResponse ¶
type AzureBackupFindRestorableTimeRangesResponse struct { ObjectType *string `json:"objectType,omitempty"` RestorableTimeRanges *[]RestorableTimeRange `json:"restorableTimeRanges,omitempty"` }
type AzureBackupFindRestorableTimeRangesResponseResource ¶
type AzureBackupFindRestorableTimeRangesResponseResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AzureBackupFindRestorableTimeRangesResponse `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BackupInstanceId ¶
type BackupInstanceId struct { SubscriptionId string ResourceGroupName string BackupVaultName string BackupInstanceName string }
BackupInstanceId is a struct representing the Resource ID for a Backup Instance
func NewBackupInstanceID ¶
func NewBackupInstanceID(subscriptionId string, resourceGroupName string, backupVaultName string, backupInstanceName string) BackupInstanceId
NewBackupInstanceID returns a new BackupInstanceId struct
func ParseBackupInstanceID ¶
func ParseBackupInstanceID(input string) (*BackupInstanceId, error)
ParseBackupInstanceID parses 'input' into a BackupInstanceId
func ParseBackupInstanceIDInsensitively ¶
func ParseBackupInstanceIDInsensitively(input string) (*BackupInstanceId, error)
ParseBackupInstanceIDInsensitively parses 'input' case-insensitively into a BackupInstanceId note: this method should only be used for API response data and not user input
func (*BackupInstanceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *BackupInstanceId) FromParseResult(input resourceids.ParseResult) error
func (BackupInstanceId) ID ¶
func (id BackupInstanceId) ID() string
ID returns the formatted Backup Instance ID
func (BackupInstanceId) Segments ¶
func (id BackupInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Instance ID
func (BackupInstanceId) String ¶
func (id BackupInstanceId) String() string
String returns a human-readable description of this Backup Instance ID
type FindRestorableTimeRangesClient ¶
type FindRestorableTimeRangesClient struct {
Client *resourcemanager.Client
}
func NewFindRestorableTimeRangesClientWithBaseURI ¶
func NewFindRestorableTimeRangesClientWithBaseURI(sdkApi sdkEnv.Api) (*FindRestorableTimeRangesClient, error)
func (FindRestorableTimeRangesClient) RestorableTimeRangesFind ¶
func (c FindRestorableTimeRangesClient) RestorableTimeRangesFind(ctx context.Context, id BackupInstanceId, input AzureBackupFindRestorableTimeRangesRequest) (result RestorableTimeRangesFindOperationResponse, err error)
RestorableTimeRangesFind ...
type RestorableTimeRange ¶
type RestorableTimeRangesFindOperationResponse ¶
type RestorableTimeRangesFindOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AzureBackupFindRestorableTimeRangesResponseResource }
type RestoreSourceDataStoreType ¶
type RestoreSourceDataStoreType string
const ( RestoreSourceDataStoreTypeArchiveStore RestoreSourceDataStoreType = "ArchiveStore" RestoreSourceDataStoreTypeOperationalStore RestoreSourceDataStoreType = "OperationalStore" RestoreSourceDataStoreTypeVaultStore RestoreSourceDataStoreType = "VaultStore" )
func (*RestoreSourceDataStoreType) UnmarshalJSON ¶
func (s *RestoreSourceDataStoreType) UnmarshalJSON(bytes []byte) error