Documentation ¶
Index ¶
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AzureBackupJob
- type AzureBackupJobResource
- type AzureBackupJobResourceOperationPredicate
- type CrossRegionRestoreJobRequest
- type CrossRegionRestoreJobsRequest
- type DppJobClient
- func (c DppJobClient) FetchCrossRegionRestoreJobGet(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreJobRequest) (result FetchCrossRegionRestoreJobGetOperationResponse, err error)
- func (c DppJobClient) FetchCrossRegionRestoreJobsList(ctx context.Context, id ProviderLocationId, ...) (result FetchCrossRegionRestoreJobsListOperationResponse, err error)
- func (c DppJobClient) FetchCrossRegionRestoreJobsListComplete(ctx context.Context, id ProviderLocationId, ...) (FetchCrossRegionRestoreJobsListCompleteResult, error)
- func (c DppJobClient) FetchCrossRegionRestoreJobsListCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, ...) (result FetchCrossRegionRestoreJobsListCompleteResult, err error)
- type FetchCrossRegionRestoreJobGetOperationResponse
- type FetchCrossRegionRestoreJobsListCompleteResult
- type FetchCrossRegionRestoreJobsListCustomPager
- type FetchCrossRegionRestoreJobsListOperationOptions
- type FetchCrossRegionRestoreJobsListOperationResponse
- type InnerError
- type JobExtendedInfo
- type JobSubTask
- type ProviderLocationId
- type RestoreJobRecoveryPointDetails
- type UserFacingError
- type UserFacingWarningDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type AzureBackupJob ¶
type AzureBackupJob struct { ActivityID string `json:"activityID"` BackupInstanceFriendlyName string `json:"backupInstanceFriendlyName"` BackupInstanceId *string `json:"backupInstanceId,omitempty"` DataSourceId string `json:"dataSourceId"` DataSourceLocation string `json:"dataSourceLocation"` DataSourceName string `json:"dataSourceName"` DataSourceSetName *string `json:"dataSourceSetName,omitempty"` DataSourceType string `json:"dataSourceType"` DestinationDataStoreName *string `json:"destinationDataStoreName,omitempty"` Duration *string `json:"duration,omitempty"` EndTime *string `json:"endTime,omitempty"` ErrorDetails *[]UserFacingError `json:"errorDetails,omitempty"` Etag *string `json:"etag,omitempty"` ExtendedInfo *JobExtendedInfo `json:"extendedInfo,omitempty"` IsUserTriggered bool `json:"isUserTriggered"` Operation string `json:"operation"` OperationCategory string `json:"operationCategory"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ProgressEnabled bool `json:"progressEnabled"` ProgressURL *string `json:"progressUrl,omitempty"` RehydrationPriority *string `json:"rehydrationPriority,omitempty"` RestoreType *string `json:"restoreType,omitempty"` SourceDataStoreName *string `json:"sourceDataStoreName,omitempty"` SourceResourceGroup string `json:"sourceResourceGroup"` SourceSubscriptionID string `json:"sourceSubscriptionID"` StartTime string `json:"startTime"` Status string `json:"status"` SubscriptionId string `json:"subscriptionId"` SupportedActions []string `json:"supportedActions"` VaultName string `json:"vaultName"` }
func (*AzureBackupJob) GetEndTimeAsTime ¶
func (o *AzureBackupJob) GetEndTimeAsTime() (*time.Time, error)
func (*AzureBackupJob) GetStartTimeAsTime ¶
func (o *AzureBackupJob) GetStartTimeAsTime() (*time.Time, error)
func (*AzureBackupJob) SetEndTimeAsTime ¶
func (o *AzureBackupJob) SetEndTimeAsTime(input time.Time)
func (*AzureBackupJob) SetStartTimeAsTime ¶
func (o *AzureBackupJob) SetStartTimeAsTime(input time.Time)
type AzureBackupJobResource ¶
type AzureBackupJobResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AzureBackupJob `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AzureBackupJobResourceOperationPredicate ¶
func (AzureBackupJobResourceOperationPredicate) Matches ¶
func (p AzureBackupJobResourceOperationPredicate) Matches(input AzureBackupJobResource) bool
type DppJobClient ¶
type DppJobClient struct {
Client *resourcemanager.Client
}
func NewDppJobClientWithBaseURI ¶
func NewDppJobClientWithBaseURI(sdkApi sdkEnv.Api) (*DppJobClient, error)
func (DppJobClient) FetchCrossRegionRestoreJobGet ¶
func (c DppJobClient) FetchCrossRegionRestoreJobGet(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreJobRequest) (result FetchCrossRegionRestoreJobGetOperationResponse, err error)
FetchCrossRegionRestoreJobGet ...
func (DppJobClient) FetchCrossRegionRestoreJobsList ¶
func (c DppJobClient) FetchCrossRegionRestoreJobsList(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreJobsRequest, options FetchCrossRegionRestoreJobsListOperationOptions) (result FetchCrossRegionRestoreJobsListOperationResponse, err error)
FetchCrossRegionRestoreJobsList ...
func (DppJobClient) FetchCrossRegionRestoreJobsListComplete ¶
func (c DppJobClient) FetchCrossRegionRestoreJobsListComplete(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreJobsRequest, options FetchCrossRegionRestoreJobsListOperationOptions) (FetchCrossRegionRestoreJobsListCompleteResult, error)
FetchCrossRegionRestoreJobsListComplete retrieves all the results into a single object
func (DppJobClient) FetchCrossRegionRestoreJobsListCompleteMatchingPredicate ¶
func (c DppJobClient) FetchCrossRegionRestoreJobsListCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreJobsRequest, options FetchCrossRegionRestoreJobsListOperationOptions, predicate AzureBackupJobResourceOperationPredicate) (result FetchCrossRegionRestoreJobsListCompleteResult, err error)
FetchCrossRegionRestoreJobsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type FetchCrossRegionRestoreJobGetOperationResponse ¶
type FetchCrossRegionRestoreJobGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AzureBackupJobResource }
type FetchCrossRegionRestoreJobsListCompleteResult ¶
type FetchCrossRegionRestoreJobsListCompleteResult struct { LatestHttpResponse *http.Response Items []AzureBackupJobResource }
type FetchCrossRegionRestoreJobsListCustomPager ¶ added in v0.20240628.1153531
func (*FetchCrossRegionRestoreJobsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *FetchCrossRegionRestoreJobsListCustomPager) NextPageLink() *odata.Link
type FetchCrossRegionRestoreJobsListOperationOptions ¶
type FetchCrossRegionRestoreJobsListOperationOptions struct {
Filter *string
}
func DefaultFetchCrossRegionRestoreJobsListOperationOptions ¶
func DefaultFetchCrossRegionRestoreJobsListOperationOptions() FetchCrossRegionRestoreJobsListOperationOptions
func (FetchCrossRegionRestoreJobsListOperationOptions) ToHeaders ¶
func (o FetchCrossRegionRestoreJobsListOperationOptions) ToHeaders() *client.Headers
func (FetchCrossRegionRestoreJobsListOperationOptions) ToOData ¶
func (o FetchCrossRegionRestoreJobsListOperationOptions) ToOData() *odata.Query
func (FetchCrossRegionRestoreJobsListOperationOptions) ToQuery ¶
func (o FetchCrossRegionRestoreJobsListOperationOptions) ToQuery() *client.QueryParams
type FetchCrossRegionRestoreJobsListOperationResponse ¶
type FetchCrossRegionRestoreJobsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AzureBackupJobResource }
type InnerError ¶
type InnerError struct { AdditionalInfo *map[string]string `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` EmbeddedInnerError *InnerError `json:"embeddedInnerError,omitempty"` }
type JobExtendedInfo ¶
type JobExtendedInfo struct { AdditionalDetails *map[string]string `json:"additionalDetails,omitempty"` BackupInstanceState *string `json:"backupInstanceState,omitempty"` DataTransferredInBytes *float64 `json:"dataTransferredInBytes,omitempty"` RecoveryDestination *string `json:"recoveryDestination,omitempty"` SourceRecoverPoint *RestoreJobRecoveryPointDetails `json:"sourceRecoverPoint,omitempty"` SubTasks *[]JobSubTask `json:"subTasks,omitempty"` TargetRecoverPoint *RestoreJobRecoveryPointDetails `json:"targetRecoverPoint,omitempty"` WarningDetails *[]UserFacingWarningDetail `json:"warningDetails,omitempty"` }
type JobSubTask ¶
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (*ProviderLocationId) FromParseResult ¶
func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
type RestoreJobRecoveryPointDetails ¶
type RestoreJobRecoveryPointDetails struct { RecoveryPointID *string `json:"recoveryPointID,omitempty"` RecoveryPointTime *string `json:"recoveryPointTime,omitempty"` }
func (*RestoreJobRecoveryPointDetails) GetRecoveryPointTimeAsTime ¶
func (o *RestoreJobRecoveryPointDetails) GetRecoveryPointTimeAsTime() (*time.Time, error)
func (*RestoreJobRecoveryPointDetails) SetRecoveryPointTimeAsTime ¶
func (o *RestoreJobRecoveryPointDetails) SetRecoveryPointTimeAsTime(input time.Time)
type UserFacingError ¶
type UserFacingError struct { Code *string `json:"code,omitempty"` Details *[]UserFacingError `json:"details,omitempty"` InnerError *InnerError `json:"innerError,omitempty"` IsRetryable *bool `json:"isRetryable,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` Message *string `json:"message,omitempty"` Properties *map[string]string `json:"properties,omitempty"` RecommendedAction *[]string `json:"recommendedAction,omitempty"` Target *string `json:"target,omitempty"` }
type UserFacingWarningDetail ¶
type UserFacingWarningDetail struct { ResourceName *string `json:"resourceName,omitempty"` Warning UserFacingError `json:"warning"` }
Source Files ¶
- client.go
- id_providerlocation.go
- method_fetchcrossregionrestorejobget.go
- method_fetchcrossregionrestorejobslist.go
- model_azurebackupjob.go
- model_azurebackupjobresource.go
- model_crossregionrestorejobrequest.go
- model_crossregionrestorejobsrequest.go
- model_innererror.go
- model_jobextendedinfo.go
- model_jobsubtask.go
- model_restorejobrecoverypointdetails.go
- model_userfacingerror.go
- model_userfacingwarningdetail.go
- predicates.go
- version.go