Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package dataprotection implements the Azure ARM Dataprotection service API version 2021-07-01.
Open API 2.0 Specs for Azure Data Protection service
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AbsoluteDeleteOption
- type AbsoluteMarker
- type AdHocBackupRuleOptions
- type AdhocBackupTriggerOption
- type AdhocBasedTaggingCriteria
- type AdhocBasedTriggerContext
- func (abtc AdhocBasedTriggerContext) AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)
- func (abtc AdhocBasedTriggerContext) AsBasicTriggerContext() (BasicTriggerContext, bool)
- func (abtc AdhocBasedTriggerContext) AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)
- func (abtc AdhocBasedTriggerContext) AsTriggerContext() (*TriggerContext, bool)
- func (abtc AdhocBasedTriggerContext) MarshalJSON() ([]byte, error)
- type AuthCredentials
- func (ac AuthCredentials) AsAuthCredentials() (*AuthCredentials, bool)
- func (ac AuthCredentials) AsBasicAuthCredentials() (BasicAuthCredentials, bool)
- func (ac AuthCredentials) AsSecretStoreBasedAuthCredentials() (*SecretStoreBasedAuthCredentials, bool)
- func (ac AuthCredentials) MarshalJSON() ([]byte, error)
- type AzureBackupDiscreteRecoveryPoint
- func (abdrp AzureBackupDiscreteRecoveryPoint) AsAzureBackupDiscreteRecoveryPoint() (*AzureBackupDiscreteRecoveryPoint, bool)
- func (abdrp AzureBackupDiscreteRecoveryPoint) AsAzureBackupRecoveryPoint() (*AzureBackupRecoveryPoint, bool)
- func (abdrp AzureBackupDiscreteRecoveryPoint) AsBasicAzureBackupRecoveryPoint() (BasicAzureBackupRecoveryPoint, bool)
- func (abdrp AzureBackupDiscreteRecoveryPoint) MarshalJSON() ([]byte, error)
- type AzureBackupFindRestorableTimeRangesRequest
- type AzureBackupFindRestorableTimeRangesRequestResource
- type AzureBackupFindRestorableTimeRangesResponse
- type AzureBackupFindRestorableTimeRangesResponseResource
- type AzureBackupJob
- type AzureBackupJobResource
- type AzureBackupJobResourceList
- type AzureBackupJobResourceListIterator
- func (iter *AzureBackupJobResourceListIterator) Next() error
- func (iter *AzureBackupJobResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AzureBackupJobResourceListIterator) NotDone() bool
- func (iter AzureBackupJobResourceListIterator) Response() AzureBackupJobResourceList
- func (iter AzureBackupJobResourceListIterator) Value() AzureBackupJobResource
- type AzureBackupJobResourceListPage
- func (page *AzureBackupJobResourceListPage) Next() error
- func (page *AzureBackupJobResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page AzureBackupJobResourceListPage) NotDone() bool
- func (page AzureBackupJobResourceListPage) Response() AzureBackupJobResourceList
- func (page AzureBackupJobResourceListPage) Values() []AzureBackupJobResource
- type AzureBackupParams
- type AzureBackupRecoveryPoint
- func (abrp AzureBackupRecoveryPoint) AsAzureBackupDiscreteRecoveryPoint() (*AzureBackupDiscreteRecoveryPoint, bool)
- func (abrp AzureBackupRecoveryPoint) AsAzureBackupRecoveryPoint() (*AzureBackupRecoveryPoint, bool)
- func (abrp AzureBackupRecoveryPoint) AsBasicAzureBackupRecoveryPoint() (BasicAzureBackupRecoveryPoint, bool)
- func (abrp AzureBackupRecoveryPoint) MarshalJSON() ([]byte, error)
- type AzureBackupRecoveryPointBasedRestoreRequest
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)
- func (abrpbrr AzureBackupRecoveryPointBasedRestoreRequest) MarshalJSON() ([]byte, error)
- func (abrpbrr *AzureBackupRecoveryPointBasedRestoreRequest) UnmarshalJSON(body []byte) error
- type AzureBackupRecoveryPointResource
- type AzureBackupRecoveryPointResourceList
- type AzureBackupRecoveryPointResourceListIterator
- func (iter *AzureBackupRecoveryPointResourceListIterator) Next() error
- func (iter *AzureBackupRecoveryPointResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AzureBackupRecoveryPointResourceListIterator) NotDone() bool
- func (iter AzureBackupRecoveryPointResourceListIterator) Response() AzureBackupRecoveryPointResourceList
- func (iter AzureBackupRecoveryPointResourceListIterator) Value() AzureBackupRecoveryPointResource
- type AzureBackupRecoveryPointResourceListPage
- func (page *AzureBackupRecoveryPointResourceListPage) Next() error
- func (page *AzureBackupRecoveryPointResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page AzureBackupRecoveryPointResourceListPage) NotDone() bool
- func (page AzureBackupRecoveryPointResourceListPage) Response() AzureBackupRecoveryPointResourceList
- func (page AzureBackupRecoveryPointResourceListPage) Values() []AzureBackupRecoveryPointResource
- type AzureBackupRecoveryTimeBasedRestoreRequest
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)
- func (abrtbrr AzureBackupRecoveryTimeBasedRestoreRequest) MarshalJSON() ([]byte, error)
- func (abrtbrr *AzureBackupRecoveryTimeBasedRestoreRequest) UnmarshalJSON(body []byte) error
- type AzureBackupRehydrationRequest
- type AzureBackupRestoreRequest
- func (abrr AzureBackupRestoreRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrr AzureBackupRestoreRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)
- func (abrr AzureBackupRestoreRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)
- func (abrr AzureBackupRestoreRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)
- func (abrr AzureBackupRestoreRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrr AzureBackupRestoreRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)
- func (abrr AzureBackupRestoreRequest) MarshalJSON() ([]byte, error)
- func (abrr *AzureBackupRestoreRequest) UnmarshalJSON(body []byte) error
- type AzureBackupRestoreWithRehydrationRequest
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRecoveryPointBasedRestoreRequest() (*AzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRecoveryTimeBasedRestoreRequest() (*AzureBackupRecoveryTimeBasedRestoreRequest, bool)
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRestoreRequest() (*AzureBackupRestoreRequest, bool)
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsAzureBackupRestoreWithRehydrationRequest() (*AzureBackupRestoreWithRehydrationRequest, bool)
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsBasicAzureBackupRecoveryPointBasedRestoreRequest() (BasicAzureBackupRecoveryPointBasedRestoreRequest, bool)
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) AsBasicAzureBackupRestoreRequest() (BasicAzureBackupRestoreRequest, bool)
- func (abrwrr AzureBackupRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)
- func (abrwrr *AzureBackupRestoreWithRehydrationRequest) UnmarshalJSON(body []byte) error
- type AzureBackupRule
- func (abr AzureBackupRule) AsAzureBackupRule() (*AzureBackupRule, bool)
- func (abr AzureBackupRule) AsAzureRetentionRule() (*AzureRetentionRule, bool)
- func (abr AzureBackupRule) AsBasePolicyRule() (*BasePolicyRule, bool)
- func (abr AzureBackupRule) AsBasicBasePolicyRule() (BasicBasePolicyRule, bool)
- func (abr AzureBackupRule) MarshalJSON() ([]byte, error)
- func (abr *AzureBackupRule) UnmarshalJSON(body []byte) error
- type AzureOperationalStoreParameters
- func (aosp AzureOperationalStoreParameters) AsAzureOperationalStoreParameters() (*AzureOperationalStoreParameters, bool)
- func (aosp AzureOperationalStoreParameters) AsBasicDataStoreParameters() (BasicDataStoreParameters, bool)
- func (aosp AzureOperationalStoreParameters) AsDataStoreParameters() (*DataStoreParameters, bool)
- func (aosp AzureOperationalStoreParameters) MarshalJSON() ([]byte, error)
- type AzureRetentionRule
- func (arr AzureRetentionRule) AsAzureBackupRule() (*AzureBackupRule, bool)
- func (arr AzureRetentionRule) AsAzureRetentionRule() (*AzureRetentionRule, bool)
- func (arr AzureRetentionRule) AsBasePolicyRule() (*BasePolicyRule, bool)
- func (arr AzureRetentionRule) AsBasicBasePolicyRule() (BasicBasePolicyRule, bool)
- func (arr AzureRetentionRule) MarshalJSON() ([]byte, error)
- type BackupCriteria
- type BackupInstance
- type BackupInstanceResource
- type BackupInstanceResourceList
- type BackupInstanceResourceListIterator
- func (iter *BackupInstanceResourceListIterator) Next() error
- func (iter *BackupInstanceResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter BackupInstanceResourceListIterator) NotDone() bool
- func (iter BackupInstanceResourceListIterator) Response() BackupInstanceResourceList
- func (iter BackupInstanceResourceListIterator) Value() BackupInstanceResource
- type BackupInstanceResourceListPage
- func (page *BackupInstanceResourceListPage) Next() error
- func (page *BackupInstanceResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page BackupInstanceResourceListPage) NotDone() bool
- func (page BackupInstanceResourceListPage) Response() BackupInstanceResourceList
- func (page BackupInstanceResourceListPage) Values() []BackupInstanceResource
- type BackupInstancesAdhocBackupFuture
- type BackupInstancesClient
- func (client BackupInstancesClient) AdhocBackup(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstancesAdhocBackupFuture, err error)
- func (client BackupInstancesClient) AdhocBackupPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) AdhocBackupResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)
- func (client BackupInstancesClient) AdhocBackupSender(req *http.Request) (future BackupInstancesAdhocBackupFuture, err error)
- func (client BackupInstancesClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstancesCreateOrUpdateFuture, err error)
- func (client BackupInstancesClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupInstanceResource, err error)
- func (client BackupInstancesClient) CreateOrUpdateSender(req *http.Request) (future BackupInstancesCreateOrUpdateFuture, err error)
- func (client BackupInstancesClient) Delete(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstancesDeleteFuture, err error)
- func (client BackupInstancesClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupInstancesClient) DeleteSender(req *http.Request) (future BackupInstancesDeleteFuture, err error)
- func (client BackupInstancesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstanceResource, err error)
- func (client BackupInstancesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) GetResponder(resp *http.Response) (result BackupInstanceResource, err error)
- func (client BackupInstancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupInstancesClient) List(ctx context.Context, vaultName string, resourceGroupName string) (result BackupInstanceResourceListPage, err error)
- func (client BackupInstancesClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string) (result BackupInstanceResourceListIterator, err error)
- func (client BackupInstancesClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupInstancesClient) ListResponder(resp *http.Response) (result BackupInstanceResourceList, err error)
- func (client BackupInstancesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client BackupInstancesClient) TriggerRehydrate(ctx context.Context, resourceGroupName string, vaultName string, ...) (result BackupInstancesTriggerRehydrateFuture, err error)
- func (client BackupInstancesClient) TriggerRehydratePreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) TriggerRehydrateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupInstancesClient) TriggerRehydrateSender(req *http.Request) (future BackupInstancesTriggerRehydrateFuture, err error)
- func (client BackupInstancesClient) TriggerRestore(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstancesTriggerRestoreFuture, err error)
- func (client BackupInstancesClient) TriggerRestorePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) TriggerRestoreResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)
- func (client BackupInstancesClient) TriggerRestoreSender(req *http.Request) (future BackupInstancesTriggerRestoreFuture, err error)
- func (client BackupInstancesClient) ValidateForBackup(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstancesValidateForBackupFuture, err error)
- func (client BackupInstancesClient) ValidateForBackupPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) ValidateForBackupResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)
- func (client BackupInstancesClient) ValidateForBackupSender(req *http.Request) (future BackupInstancesValidateForBackupFuture, err error)
- func (client BackupInstancesClient) ValidateForRestore(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupInstancesValidateForRestoreFuture, err error)
- func (client BackupInstancesClient) ValidateForRestorePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupInstancesClient) ValidateForRestoreResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)
- func (client BackupInstancesClient) ValidateForRestoreSender(req *http.Request) (future BackupInstancesValidateForRestoreFuture, err error)
- type BackupInstancesCreateOrUpdateFuture
- type BackupInstancesDeleteFuture
- type BackupInstancesTriggerRehydrateFuture
- type BackupInstancesTriggerRestoreFuture
- type BackupInstancesValidateForBackupFuture
- type BackupInstancesValidateForRestoreFuture
- type BackupParameters
- type BackupPoliciesClient
- func (client BackupPoliciesClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BaseBackupPolicyResource, err error)
- func (client BackupPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BaseBackupPolicyResource, err error)
- func (client BackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client BackupPoliciesClient) Delete(ctx context.Context, vaultName string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client BackupPoliciesClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BackupPoliciesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BaseBackupPolicyResource, err error)
- func (client BackupPoliciesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupPoliciesClient) GetResponder(resp *http.Response) (result BaseBackupPolicyResource, err error)
- func (client BackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupPoliciesClient) List(ctx context.Context, vaultName string, resourceGroupName string) (result BaseBackupPolicyResourceListPage, err error)
- func (client BackupPoliciesClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string) (result BaseBackupPolicyResourceListIterator, err error)
- func (client BackupPoliciesClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupPoliciesClient) ListResponder(resp *http.Response) (result BaseBackupPolicyResourceList, err error)
- func (client BackupPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupPolicy
- func (bp BackupPolicy) AsBackupPolicy() (*BackupPolicy, bool)
- func (bp BackupPolicy) AsBaseBackupPolicy() (*BaseBackupPolicy, bool)
- func (bp BackupPolicy) AsBasicBaseBackupPolicy() (BasicBaseBackupPolicy, bool)
- func (bp BackupPolicy) MarshalJSON() ([]byte, error)
- func (bp *BackupPolicy) UnmarshalJSON(body []byte) error
- type BackupSchedule
- type BackupVault
- type BackupVaultOperationResultsClient
- func (client BackupVaultOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupVaultResource, err error)
- func (client BackupVaultOperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupVaultOperationResultsClient) GetResponder(resp *http.Response) (result BackupVaultResource, err error)
- func (client BackupVaultOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type BackupVaultResource
- type BackupVaultResourceList
- type BackupVaultResourceListIterator
- func (iter *BackupVaultResourceListIterator) Next() error
- func (iter *BackupVaultResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter BackupVaultResourceListIterator) NotDone() bool
- func (iter BackupVaultResourceListIterator) Response() BackupVaultResourceList
- func (iter BackupVaultResourceListIterator) Value() BackupVaultResource
- type BackupVaultResourceListPage
- func (page *BackupVaultResourceListPage) Next() error
- func (page *BackupVaultResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page BackupVaultResourceListPage) NotDone() bool
- func (page BackupVaultResourceListPage) Response() BackupVaultResourceList
- func (page BackupVaultResourceListPage) Values() []BackupVaultResource
- type BackupVaultsClient
- func (client BackupVaultsClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, location string, ...) (result CheckNameAvailabilityResult, err error)
- func (client BackupVaultsClient) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, location string, ...) (*http.Request, error)
- func (client BackupVaultsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)
- func (client BackupVaultsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client BackupVaultsClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupVaultsCreateOrUpdateFuture, err error)
- func (client BackupVaultsClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupVaultsClient) CreateOrUpdateResponder(resp *http.Response) (result BackupVaultResource, err error)
- func (client BackupVaultsClient) CreateOrUpdateSender(req *http.Request) (future BackupVaultsCreateOrUpdateFuture, err error)
- func (client BackupVaultsClient) Delete(ctx context.Context, vaultName string, resourceGroupName string) (result autorest.Response, err error)
- func (client BackupVaultsClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupVaultsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupVaultsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BackupVaultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string) (result BackupVaultResource, err error)
- func (client BackupVaultsClient) GetInResourceGroup(ctx context.Context, resourceGroupName string) (result BackupVaultResourceListPage, err error)
- func (client BackupVaultsClient) GetInResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BackupVaultResourceListIterator, err error)
- func (client BackupVaultsClient) GetInResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client BackupVaultsClient) GetInResourceGroupResponder(resp *http.Response) (result BackupVaultResourceList, err error)
- func (client BackupVaultsClient) GetInResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client BackupVaultsClient) GetInSubscription(ctx context.Context) (result BackupVaultResourceListPage, err error)
- func (client BackupVaultsClient) GetInSubscriptionComplete(ctx context.Context) (result BackupVaultResourceListIterator, err error)
- func (client BackupVaultsClient) GetInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client BackupVaultsClient) GetInSubscriptionResponder(resp *http.Response) (result BackupVaultResourceList, err error)
- func (client BackupVaultsClient) GetInSubscriptionSender(req *http.Request) (*http.Response, error)
- func (client BackupVaultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupVaultsClient) GetResponder(resp *http.Response) (result BackupVaultResource, err error)
- func (client BackupVaultsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupVaultsClient) Update(ctx context.Context, vaultName string, resourceGroupName string, ...) (result BackupVaultsUpdateFuture, err error)
- func (client BackupVaultsClient) UpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupVaultsClient) UpdateResponder(resp *http.Response) (result BackupVaultResource, err error)
- func (client BackupVaultsClient) UpdateSender(req *http.Request) (future BackupVaultsUpdateFuture, err error)
- type BackupVaultsCreateOrUpdateFuture
- type BackupVaultsUpdateFuture
- type BaseBackupPolicy
- type BaseBackupPolicyResource
- type BaseBackupPolicyResourceList
- type BaseBackupPolicyResourceListIterator
- func (iter *BaseBackupPolicyResourceListIterator) Next() error
- func (iter *BaseBackupPolicyResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter BaseBackupPolicyResourceListIterator) NotDone() bool
- func (iter BaseBackupPolicyResourceListIterator) Response() BaseBackupPolicyResourceList
- func (iter BaseBackupPolicyResourceListIterator) Value() BaseBackupPolicyResource
- type BaseBackupPolicyResourceListPage
- func (page *BaseBackupPolicyResourceListPage) Next() error
- func (page *BaseBackupPolicyResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page BaseBackupPolicyResourceListPage) NotDone() bool
- func (page BaseBackupPolicyResourceListPage) Response() BaseBackupPolicyResourceList
- func (page BaseBackupPolicyResourceListPage) Values() []BaseBackupPolicyResource
- type BaseClient
- type BasePolicyRule
- func (bpr BasePolicyRule) AsAzureBackupRule() (*AzureBackupRule, bool)
- func (bpr BasePolicyRule) AsAzureRetentionRule() (*AzureRetentionRule, bool)
- func (bpr BasePolicyRule) AsBasePolicyRule() (*BasePolicyRule, bool)
- func (bpr BasePolicyRule) AsBasicBasePolicyRule() (BasicBasePolicyRule, bool)
- func (bpr BasePolicyRule) MarshalJSON() ([]byte, error)
- type BasicAuthCredentials
- type BasicAzureBackupRecoveryPoint
- type BasicAzureBackupRecoveryPointBasedRestoreRequest
- type BasicAzureBackupRestoreRequest
- type BasicBackupCriteria
- type BasicBackupParameters
- type BasicBaseBackupPolicy
- type BasicBasePolicyRule
- type BasicCopyOption
- type BasicDataStoreParameters
- type BasicDeleteOption
- type BasicFeatureValidationRequestBase
- type BasicFeatureValidationResponseBase
- type BasicItemLevelRestoreCriteria
- type BasicOperationExtendedInfo
- type BasicRestoreTargetInfoBase
- type BasicTriggerContext
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResult
- type Client
- func (client Client) CheckFeatureSupport(ctx context.Context, location string, ...) (result FeatureValidationResponseBaseModel, err error)
- func (client Client) CheckFeatureSupportPreparer(ctx context.Context, location string, ...) (*http.Request, error)
- func (client Client) CheckFeatureSupportResponder(resp *http.Response) (result FeatureValidationResponseBaseModel, err error)
- func (client Client) CheckFeatureSupportSender(req *http.Request) (*http.Response, error)
- type ClientDiscoveryDisplay
- type ClientDiscoveryForLogSpecification
- type ClientDiscoveryForProperties
- type ClientDiscoveryForServiceSpecification
- type ClientDiscoveryResponse
- type ClientDiscoveryResponseIterator
- func (iter *ClientDiscoveryResponseIterator) Next() error
- func (iter *ClientDiscoveryResponseIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ClientDiscoveryResponseIterator) NotDone() bool
- func (iter ClientDiscoveryResponseIterator) Response() ClientDiscoveryResponse
- func (iter ClientDiscoveryResponseIterator) Value() ClientDiscoveryValueForSingleAPI
- type ClientDiscoveryResponsePage
- func (page *ClientDiscoveryResponsePage) Next() error
- func (page *ClientDiscoveryResponsePage) NextWithContext(ctx context.Context) (err error)
- func (page ClientDiscoveryResponsePage) NotDone() bool
- func (page ClientDiscoveryResponsePage) Response() ClientDiscoveryResponse
- func (page ClientDiscoveryResponsePage) Values() []ClientDiscoveryValueForSingleAPI
- type ClientDiscoveryValueForSingleAPI
- type CloudError
- type CopyOnExpiryOption
- func (coeo CopyOnExpiryOption) AsBasicCopyOption() (BasicCopyOption, bool)
- func (coeo CopyOnExpiryOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)
- func (coeo CopyOnExpiryOption) AsCopyOption() (*CopyOption, bool)
- func (coeo CopyOnExpiryOption) AsCustomCopyOption() (*CustomCopyOption, bool)
- func (coeo CopyOnExpiryOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)
- func (coeo CopyOnExpiryOption) MarshalJSON() ([]byte, error)
- type CopyOption
- func (co CopyOption) AsBasicCopyOption() (BasicCopyOption, bool)
- func (co CopyOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)
- func (co CopyOption) AsCopyOption() (*CopyOption, bool)
- func (co CopyOption) AsCustomCopyOption() (*CustomCopyOption, bool)
- func (co CopyOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)
- func (co CopyOption) MarshalJSON() ([]byte, error)
- type CreatedByType
- type CurrentProtectionState
- type CustomCopyOption
- func (cco CustomCopyOption) AsBasicCopyOption() (BasicCopyOption, bool)
- func (cco CustomCopyOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)
- func (cco CustomCopyOption) AsCopyOption() (*CopyOption, bool)
- func (cco CustomCopyOption) AsCustomCopyOption() (*CustomCopyOption, bool)
- func (cco CustomCopyOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)
- func (cco CustomCopyOption) MarshalJSON() ([]byte, error)
- type DataStoreInfoBase
- type DataStoreParameters
- func (dsp DataStoreParameters) AsAzureOperationalStoreParameters() (*AzureOperationalStoreParameters, bool)
- func (dsp DataStoreParameters) AsBasicDataStoreParameters() (BasicDataStoreParameters, bool)
- func (dsp DataStoreParameters) AsDataStoreParameters() (*DataStoreParameters, bool)
- func (dsp DataStoreParameters) MarshalJSON() ([]byte, error)
- type DataStoreTypes
- type Datasource
- type DatasourceSet
- type Day
- type DayOfWeek
- type DeleteOption
- type DppBaseResource
- type DppBaseResourceList
- type DppBaseResourceListIterator
- func (iter *DppBaseResourceListIterator) Next() error
- func (iter *DppBaseResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DppBaseResourceListIterator) NotDone() bool
- func (iter DppBaseResourceListIterator) Response() DppBaseResourceList
- func (iter DppBaseResourceListIterator) Value() DppBaseResource
- type DppBaseResourceListPage
- func (page *DppBaseResourceListPage) Next() error
- func (page *DppBaseResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page DppBaseResourceListPage) NotDone() bool
- func (page DppBaseResourceListPage) Response() DppBaseResourceList
- func (page DppBaseResourceListPage) Values() []DppBaseResource
- type DppIdentityDetails
- type DppResource
- type DppResourceList
- type DppTrackedResource
- type DppTrackedResourceList
- type DppWorkerRequest
- type Error
- type ErrorAdditionalInfo
- type ExportJobsClient
- func (client ExportJobsClient) Trigger(ctx context.Context, resourceGroupName string, vaultName string) (result ExportJobsTriggerFuture, err error)
- func (client ExportJobsClient) TriggerPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)
- func (client ExportJobsClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ExportJobsClient) TriggerSender(req *http.Request) (future ExportJobsTriggerFuture, err error)
- type ExportJobsOperationResultClient
- func (client ExportJobsOperationResultClient) Get(ctx context.Context, resourceGroupName string, vaultName string, ...) (result ExportJobsResult, err error)
- func (client ExportJobsOperationResultClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error)
- func (client ExportJobsOperationResultClient) GetResponder(resp *http.Response) (result ExportJobsResult, err error)
- func (client ExportJobsOperationResultClient) GetSender(req *http.Request) (*http.Response, error)
- type ExportJobsResult
- type ExportJobsTriggerFuture
- type FeatureSupportStatus
- type FeatureType
- type FeatureValidationRequest
- func (fvr FeatureValidationRequest) AsBasicFeatureValidationRequestBase() (BasicFeatureValidationRequestBase, bool)
- func (fvr FeatureValidationRequest) AsFeatureValidationRequest() (*FeatureValidationRequest, bool)
- func (fvr FeatureValidationRequest) AsFeatureValidationRequestBase() (*FeatureValidationRequestBase, bool)
- func (fvr FeatureValidationRequest) MarshalJSON() ([]byte, error)
- type FeatureValidationRequestBase
- func (fvrb FeatureValidationRequestBase) AsBasicFeatureValidationRequestBase() (BasicFeatureValidationRequestBase, bool)
- func (fvrb FeatureValidationRequestBase) AsFeatureValidationRequest() (*FeatureValidationRequest, bool)
- func (fvrb FeatureValidationRequestBase) AsFeatureValidationRequestBase() (*FeatureValidationRequestBase, bool)
- func (fvrb FeatureValidationRequestBase) MarshalJSON() ([]byte, error)
- type FeatureValidationResponse
- func (fvr FeatureValidationResponse) AsBasicFeatureValidationResponseBase() (BasicFeatureValidationResponseBase, bool)
- func (fvr FeatureValidationResponse) AsFeatureValidationResponse() (*FeatureValidationResponse, bool)
- func (fvr FeatureValidationResponse) AsFeatureValidationResponseBase() (*FeatureValidationResponseBase, bool)
- func (fvr FeatureValidationResponse) MarshalJSON() ([]byte, error)
- type FeatureValidationResponseBase
- func (fvrb FeatureValidationResponseBase) AsBasicFeatureValidationResponseBase() (BasicFeatureValidationResponseBase, bool)
- func (fvrb FeatureValidationResponseBase) AsFeatureValidationResponse() (*FeatureValidationResponse, bool)
- func (fvrb FeatureValidationResponseBase) AsFeatureValidationResponseBase() (*FeatureValidationResponseBase, bool)
- func (fvrb FeatureValidationResponseBase) MarshalJSON() ([]byte, error)
- type FeatureValidationResponseBaseModel
- type ImmediateCopyOption
- func (ico ImmediateCopyOption) AsBasicCopyOption() (BasicCopyOption, bool)
- func (ico ImmediateCopyOption) AsCopyOnExpiryOption() (*CopyOnExpiryOption, bool)
- func (ico ImmediateCopyOption) AsCopyOption() (*CopyOption, bool)
- func (ico ImmediateCopyOption) AsCustomCopyOption() (*CustomCopyOption, bool)
- func (ico ImmediateCopyOption) AsImmediateCopyOption() (*ImmediateCopyOption, bool)
- func (ico ImmediateCopyOption) MarshalJSON() ([]byte, error)
- type InnerError
- type ItemLevelRestoreCriteria
- func (ilrc ItemLevelRestoreCriteria) AsBasicItemLevelRestoreCriteria() (BasicItemLevelRestoreCriteria, bool)
- func (ilrc ItemLevelRestoreCriteria) AsItemLevelRestoreCriteria() (*ItemLevelRestoreCriteria, bool)
- func (ilrc ItemLevelRestoreCriteria) AsRangeBasedItemLevelRestoreCriteria() (*RangeBasedItemLevelRestoreCriteria, bool)
- func (ilrc ItemLevelRestoreCriteria) MarshalJSON() ([]byte, error)
- type ItemLevelRestoreTargetInfo
- func (ilrti ItemLevelRestoreTargetInfo) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)
- func (ilrti ItemLevelRestoreTargetInfo) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)
- func (ilrti ItemLevelRestoreTargetInfo) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)
- func (ilrti ItemLevelRestoreTargetInfo) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)
- func (ilrti ItemLevelRestoreTargetInfo) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)
- func (ilrti ItemLevelRestoreTargetInfo) MarshalJSON() ([]byte, error)
- func (ilrti *ItemLevelRestoreTargetInfo) UnmarshalJSON(body []byte) error
- type JobExtendedInfo
- type JobSubTask
- type JobsClient
- func (client JobsClient) Get(ctx context.Context, resourceGroupName string, vaultName string, jobID string) (result AzureBackupJobResource, err error)
- func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, jobID string) (*http.Request, error)
- func (client JobsClient) GetResponder(resp *http.Response) (result AzureBackupJobResource, err error)
- func (client JobsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) List(ctx context.Context, resourceGroupName string, vaultName string) (result AzureBackupJobResourceListPage, err error)
- func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName string, vaultName string) (result AzureBackupJobResourceListIterator, err error)
- func (client JobsClient) ListPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)
- func (client JobsClient) ListResponder(resp *http.Response) (result AzureBackupJobResourceList, err error)
- func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)
- type Month
- type ObjectType
- type ObjectTypeBasicAzureBackupRecoveryPoint
- type ObjectTypeBasicAzureBackupRestoreRequest
- type ObjectTypeBasicBackupCriteria
- type ObjectTypeBasicBackupParameters
- type ObjectTypeBasicBaseBackupPolicy
- type ObjectTypeBasicBasePolicyRule
- type ObjectTypeBasicCopyOption
- type ObjectTypeBasicDataStoreParameters
- type ObjectTypeBasicDeleteOption
- type ObjectTypeBasicFeatureValidationRequestBase
- type ObjectTypeBasicFeatureValidationResponseBase
- type ObjectTypeBasicItemLevelRestoreCriteria
- type ObjectTypeBasicOperationExtendedInfo
- type ObjectTypeBasicRestoreTargetInfoBase
- type ObjectTypeBasicTriggerContext
- type OperationExtendedInfo
- func (oei OperationExtendedInfo) AsBasicOperationExtendedInfo() (BasicOperationExtendedInfo, bool)
- func (oei OperationExtendedInfo) AsOperationExtendedInfo() (*OperationExtendedInfo, bool)
- func (oei OperationExtendedInfo) AsOperationJobExtendedInfo() (*OperationJobExtendedInfo, bool)
- func (oei OperationExtendedInfo) MarshalJSON() ([]byte, error)
- type OperationJobExtendedInfo
- func (ojei OperationJobExtendedInfo) AsBasicOperationExtendedInfo() (BasicOperationExtendedInfo, bool)
- func (ojei OperationJobExtendedInfo) AsOperationExtendedInfo() (*OperationExtendedInfo, bool)
- func (ojei OperationJobExtendedInfo) AsOperationJobExtendedInfo() (*OperationJobExtendedInfo, bool)
- func (ojei OperationJobExtendedInfo) MarshalJSON() ([]byte, error)
- type OperationResource
- type OperationResultClient
- func (client OperationResultClient) Get(ctx context.Context, operationID string, location string) (result OperationJobExtendedInfo, err error)
- func (client OperationResultClient) GetPreparer(ctx context.Context, operationID string, location string) (*http.Request, error)
- func (client OperationResultClient) GetResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)
- func (client OperationResultClient) GetSender(req *http.Request) (*http.Response, error)
- type OperationStatusClient
- func (client OperationStatusClient) Get(ctx context.Context, location string, operationID string) (result OperationResource, err error)
- func (client OperationStatusClient) GetPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)
- func (client OperationStatusClient) GetResponder(resp *http.Response) (result OperationResource, err error)
- func (client OperationStatusClient) GetSender(req *http.Request) (*http.Response, error)
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result ClientDiscoveryResponsePage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result ClientDiscoveryResponseIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result ClientDiscoveryResponse, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PatchResourceRequestInput
- type PolicyInfo
- type PolicyParameters
- type ProtectionStatusDetails
- type ProvisioningState
- type RangeBasedItemLevelRestoreCriteria
- func (rbilrc RangeBasedItemLevelRestoreCriteria) AsBasicItemLevelRestoreCriteria() (BasicItemLevelRestoreCriteria, bool)
- func (rbilrc RangeBasedItemLevelRestoreCriteria) AsItemLevelRestoreCriteria() (*ItemLevelRestoreCriteria, bool)
- func (rbilrc RangeBasedItemLevelRestoreCriteria) AsRangeBasedItemLevelRestoreCriteria() (*RangeBasedItemLevelRestoreCriteria, bool)
- func (rbilrc RangeBasedItemLevelRestoreCriteria) MarshalJSON() ([]byte, error)
- type RecoveryPointDataStoreDetails
- type RecoveryPointsClient
- func (client RecoveryPointsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, ...) (result AzureBackupRecoveryPointResource, err error)
- func (client RecoveryPointsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client RecoveryPointsClient) GetResponder(resp *http.Response) (result AzureBackupRecoveryPointResource, err error)
- func (client RecoveryPointsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RecoveryPointsClient) List(ctx context.Context, vaultName string, resourceGroupName string, ...) (result AzureBackupRecoveryPointResourceListPage, err error)
- func (client RecoveryPointsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, ...) (result AzureBackupRecoveryPointResourceListIterator, err error)
- func (client RecoveryPointsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client RecoveryPointsClient) ListResponder(resp *http.Response) (result AzureBackupRecoveryPointResourceList, err error)
- func (client RecoveryPointsClient) ListSender(req *http.Request) (*http.Response, error)
- type RecoveryPointsFilters
- type RehydrationPriority
- type RehydrationStatus
- type ResourceGuard
- type ResourceGuardOperation
- type ResourceGuardResource
- type ResourceGuardResourceList
- type ResourceGuardResourceListIterator
- func (iter *ResourceGuardResourceListIterator) Next() error
- func (iter *ResourceGuardResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ResourceGuardResourceListIterator) NotDone() bool
- func (iter ResourceGuardResourceListIterator) Response() ResourceGuardResourceList
- func (iter ResourceGuardResourceListIterator) Value() ResourceGuardResource
- type ResourceGuardResourceListPage
- func (page *ResourceGuardResourceListPage) Next() error
- func (page *ResourceGuardResourceListPage) NextWithContext(ctx context.Context) (err error)
- func (page ResourceGuardResourceListPage) NotDone() bool
- func (page ResourceGuardResourceListPage) Response() ResourceGuardResourceList
- func (page ResourceGuardResourceListPage) Values() []ResourceGuardResource
- type ResourceGuardsClient
- func (client ResourceGuardsClient) Delete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result autorest.Response, err error)
- func (client ResourceGuardsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ResourceGuardsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) Get(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result ResourceGuardResource, err error)
- func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
- func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
- func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
- func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
- func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
- func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
- func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
- func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
- func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
- func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
- func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
- func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
- func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
- func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetResourcesInResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceGuardResourceListPage, err error)
- func (client ResourceGuardsClient) GetResourcesInResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ResourceGuardResourceListIterator, err error)
- func (client ResourceGuardsClient) GetResourcesInResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetResourcesInResourceGroupResponder(resp *http.Response) (result ResourceGuardResourceList, err error)
- func (client ResourceGuardsClient) GetResourcesInResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetResourcesInSubscription(ctx context.Context) (result ResourceGuardResourceListPage, err error)
- func (client ResourceGuardsClient) GetResourcesInSubscriptionComplete(ctx context.Context) (result ResourceGuardResourceListIterator, err error)
- func (client ResourceGuardsClient) GetResourcesInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ResourceGuardsClient) GetResourcesInSubscriptionResponder(resp *http.Response) (result ResourceGuardResourceList, err error)
- func (client ResourceGuardsClient) GetResourcesInSubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetResponder(resp *http.Response) (result ResourceGuardResource, err error)
- func (client ResourceGuardsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
- func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
- func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
- func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
- func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
- func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
- func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
- func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) Patch(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result ResourceGuardResource, err error)
- func (client ResourceGuardsClient) PatchPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) PatchResponder(resp *http.Response) (result ResourceGuardResource, err error)
- func (client ResourceGuardsClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client ResourceGuardsClient) Put(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (result ResourceGuardResource, err error)
- func (client ResourceGuardsClient) PutPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, ...) (*http.Request, error)
- func (client ResourceGuardsClient) PutResponder(resp *http.Response) (result ResourceGuardResource, err error)
- func (client ResourceGuardsClient) PutSender(req *http.Request) (*http.Response, error)
- type ResourceMoveDetails
- type ResourceMoveState
- type RestorableTimeRange
- type RestorableTimeRangesClient
- func (client RestorableTimeRangesClient) Find(ctx context.Context, vaultName string, resourceGroupName string, ...) (result AzureBackupFindRestorableTimeRangesResponseResource, err error)
- func (client RestorableTimeRangesClient) FindPreparer(ctx context.Context, vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client RestorableTimeRangesClient) FindResponder(resp *http.Response) (result AzureBackupFindRestorableTimeRangesResponseResource, err error)
- func (client RestorableTimeRangesClient) FindSender(req *http.Request) (*http.Response, error)
- type RestoreFilesTargetInfo
- func (rfti RestoreFilesTargetInfo) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)
- func (rfti RestoreFilesTargetInfo) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)
- func (rfti RestoreFilesTargetInfo) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)
- func (rfti RestoreFilesTargetInfo) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)
- func (rfti RestoreFilesTargetInfo) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)
- func (rfti RestoreFilesTargetInfo) MarshalJSON() ([]byte, error)
- type RestoreJobRecoveryPointDetails
- type RestoreSourceDataStoreType
- type RestoreTargetInfo
- func (rti RestoreTargetInfo) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)
- func (rti RestoreTargetInfo) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)
- func (rti RestoreTargetInfo) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)
- func (rti RestoreTargetInfo) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)
- func (rti RestoreTargetInfo) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)
- func (rti RestoreTargetInfo) MarshalJSON() ([]byte, error)
- func (rti *RestoreTargetInfo) UnmarshalJSON(body []byte) error
- type RestoreTargetInfoBase
- func (rtib RestoreTargetInfoBase) AsBasicRestoreTargetInfoBase() (BasicRestoreTargetInfoBase, bool)
- func (rtib RestoreTargetInfoBase) AsItemLevelRestoreTargetInfo() (*ItemLevelRestoreTargetInfo, bool)
- func (rtib RestoreTargetInfoBase) AsRestoreFilesTargetInfo() (*RestoreFilesTargetInfo, bool)
- func (rtib RestoreTargetInfoBase) AsRestoreTargetInfo() (*RestoreTargetInfo, bool)
- func (rtib RestoreTargetInfoBase) AsRestoreTargetInfoBase() (*RestoreTargetInfoBase, bool)
- func (rtib RestoreTargetInfoBase) MarshalJSON() ([]byte, error)
- type RestoreTargetLocationType
- type RetentionTag
- type ScheduleBasedBackupCriteria
- func (sbbc ScheduleBasedBackupCriteria) AsBackupCriteria() (*BackupCriteria, bool)
- func (sbbc ScheduleBasedBackupCriteria) AsBasicBackupCriteria() (BasicBackupCriteria, bool)
- func (sbbc ScheduleBasedBackupCriteria) AsScheduleBasedBackupCriteria() (*ScheduleBasedBackupCriteria, bool)
- func (sbbc ScheduleBasedBackupCriteria) MarshalJSON() ([]byte, error)
- type ScheduleBasedTriggerContext
- func (sbtc ScheduleBasedTriggerContext) AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)
- func (sbtc ScheduleBasedTriggerContext) AsBasicTriggerContext() (BasicTriggerContext, bool)
- func (sbtc ScheduleBasedTriggerContext) AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)
- func (sbtc ScheduleBasedTriggerContext) AsTriggerContext() (*TriggerContext, bool)
- func (sbtc ScheduleBasedTriggerContext) MarshalJSON() ([]byte, error)
- type SecretStoreBasedAuthCredentials
- func (ssbac SecretStoreBasedAuthCredentials) AsAuthCredentials() (*AuthCredentials, bool)
- func (ssbac SecretStoreBasedAuthCredentials) AsBasicAuthCredentials() (BasicAuthCredentials, bool)
- func (ssbac SecretStoreBasedAuthCredentials) AsSecretStoreBasedAuthCredentials() (*SecretStoreBasedAuthCredentials, bool)
- func (ssbac SecretStoreBasedAuthCredentials) MarshalJSON() ([]byte, error)
- type SecretStoreResource
- type SecretStoreType
- type SourceDataStoreType
- type SourceLifeCycle
- type Status
- type StorageSetting
- type StorageSettingStoreTypes
- type StorageSettingTypes
- type SupportedFeature
- type SystemData
- type TaggingCriteria
- type TargetCopySetting
- type TargetDetails
- type TriggerBackupRequest
- type TriggerContext
- func (tc TriggerContext) AsAdhocBasedTriggerContext() (*AdhocBasedTriggerContext, bool)
- func (tc TriggerContext) AsBasicTriggerContext() (BasicTriggerContext, bool)
- func (tc TriggerContext) AsScheduleBasedTriggerContext() (*ScheduleBasedTriggerContext, bool)
- func (tc TriggerContext) AsTriggerContext() (*TriggerContext, bool)
- func (tc TriggerContext) MarshalJSON() ([]byte, error)
- type UserFacingError
- type ValidateForBackupRequest
- type ValidateRestoreRequestObject
- type WeekNumber
Constants ¶
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: 'ObjectTypeBasicDeleteOptionObjectTypeDeleteOption', 'ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption' 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 ( // AbsoluteMarkerAllBackup ... AbsoluteMarkerAllBackup AbsoluteMarker = "AllBackup" // AbsoluteMarkerFirstOfDay ... AbsoluteMarkerFirstOfDay AbsoluteMarker = "FirstOfDay" // AbsoluteMarkerFirstOfMonth ... AbsoluteMarkerFirstOfMonth AbsoluteMarker = "FirstOfMonth" // AbsoluteMarkerFirstOfWeek ... AbsoluteMarkerFirstOfWeek AbsoluteMarker = "FirstOfWeek" // AbsoluteMarkerFirstOfYear ... AbsoluteMarkerFirstOfYear 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: 'ObjectTypeBasicTriggerContextObjectTypeTriggerContext', 'ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext', 'ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext' 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 AuthCredentials ¶
type AuthCredentials struct { // ObjectType - Possible values include: 'ObjectTypeAuthCredentials', 'ObjectTypeSecretStoreBasedAuthCredentials' ObjectType ObjectType `json:"objectType,omitempty"` }
AuthCredentials base class for different types of authentication credentials.
func (AuthCredentials) AsAuthCredentials ¶
func (ac AuthCredentials) AsAuthCredentials() (*AuthCredentials, bool)
AsAuthCredentials is the BasicAuthCredentials implementation for AuthCredentials.
func (AuthCredentials) AsBasicAuthCredentials ¶
func (ac AuthCredentials) AsBasicAuthCredentials() (BasicAuthCredentials, bool)
AsBasicAuthCredentials is the BasicAuthCredentials implementation for AuthCredentials.
func (AuthCredentials) AsSecretStoreBasedAuthCredentials ¶
func (ac AuthCredentials) AsSecretStoreBasedAuthCredentials() (*SecretStoreBasedAuthCredentials, bool)
AsSecretStoreBasedAuthCredentials is the BasicAuthCredentials implementation for AuthCredentials.
func (AuthCredentials) MarshalJSON ¶
func (ac AuthCredentials) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AuthCredentials.
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: 'ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint', 'ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint' ObjectType ObjectTypeBasicAzureBackupRecoveryPoint `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. ISO 8601 format. StartTime *string `json:"startTime,omitempty"` // EndTime - End time for the List Restore Ranges request. ISO 8601 format. 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 ¶
func (abfrtrrr AzureBackupFindRestorableTimeRangesRequestResource) MarshalJSON() ([]byte, error)
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 ¶
func (abfrtrrr AzureBackupFindRestorableTimeRangesResponseResource) MarshalJSON() ([]byte, error)
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 ¶
func (iter *AzureBackupJobResourceListIterator) Next() error
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 ¶
func (iter AzureBackupJobResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AzureBackupJobResourceListIterator) Response ¶
func (iter AzureBackupJobResourceListIterator) Response() AzureBackupJobResourceList
Response returns the raw server response from the last page request.
func (AzureBackupJobResourceListIterator) Value ¶
func (iter AzureBackupJobResourceListIterator) Value() AzureBackupJobResource
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 ¶
func NewAzureBackupJobResourceListPage(cur AzureBackupJobResourceList, getNextPage func(context.Context, AzureBackupJobResourceList) (AzureBackupJobResourceList, error)) AzureBackupJobResourceListPage
Creates a new instance of the AzureBackupJobResourceListPage type.
func (*AzureBackupJobResourceListPage) Next ¶
func (page *AzureBackupJobResourceListPage) 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 (*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 ¶
func (page AzureBackupJobResourceListPage) Response() AzureBackupJobResourceList
Response returns the raw server response from the last page request.
func (AzureBackupJobResourceListPage) Values ¶
func (page AzureBackupJobResourceListPage) Values() []AzureBackupJobResource
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: 'ObjectTypeBasicBackupParametersObjectTypeBackupParameters', 'ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams' 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: 'ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint', 'ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint' ObjectType ObjectTypeBasicAzureBackupRecoveryPoint `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: 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest' 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 ¶
func (iter *AzureBackupRecoveryPointResourceListIterator) Next() error
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 ¶
func (iter AzureBackupRecoveryPointResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AzureBackupRecoveryPointResourceListIterator) Response ¶
func (iter AzureBackupRecoveryPointResourceListIterator) Response() AzureBackupRecoveryPointResourceList
Response returns the raw server response from the last page request.
func (AzureBackupRecoveryPointResourceListIterator) Value ¶
func (iter AzureBackupRecoveryPointResourceListIterator) Value() AzureBackupRecoveryPointResource
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 ¶
func NewAzureBackupRecoveryPointResourceListPage(cur AzureBackupRecoveryPointResourceList, getNextPage func(context.Context, AzureBackupRecoveryPointResourceList) (AzureBackupRecoveryPointResourceList, error)) AzureBackupRecoveryPointResourceListPage
Creates a new instance of the AzureBackupRecoveryPointResourceListPage type.
func (*AzureBackupRecoveryPointResourceListPage) Next ¶
func (page *AzureBackupRecoveryPointResourceListPage) 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 (*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 ¶
func (page AzureBackupRecoveryPointResourceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AzureBackupRecoveryPointResourceListPage) Response ¶
func (page AzureBackupRecoveryPointResourceListPage) Response() AzureBackupRecoveryPointResourceList
Response returns the raw server response from the last page request.
func (AzureBackupRecoveryPointResourceListPage) Values ¶
func (page AzureBackupRecoveryPointResourceListPage) Values() []AzureBackupRecoveryPointResource
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: 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest' 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: 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest' 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: 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest', 'ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest' 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: 'ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule', 'ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule', 'ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule' 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: 'DataStoreTypesOperationalStore', 'DataStoreTypesVaultStore', 'DataStoreTypesArchiveStore' DataStoreType DataStoreTypes `json:"dataStoreType,omitempty"` // ObjectType - Possible values include: 'ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters', 'ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters' 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: 'ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule', 'ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule', 'ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule' 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: 'ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria', 'ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria' 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: 'CurrentProtectionStateInvalid', 'CurrentProtectionStateNotProtected', 'CurrentProtectionStateConfiguringProtection', 'CurrentProtectionStateProtectionConfigured', 'CurrentProtectionStateBackupSchedulesSuspended', 'CurrentProtectionStateRetentionSchedulesSuspended', 'CurrentProtectionStateProtectionStopped', 'CurrentProtectionStateProtectionError', 'CurrentProtectionStateConfiguringProtectionFailed', 'CurrentProtectionStateSoftDeleting', 'CurrentProtectionStateSoftDeleted', 'CurrentProtectionStateUpdatingProtection' 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"` // DatasourceAuthCredentials - Credentials to use to authenticate with data source provider. DatasourceAuthCredentials BasicAuthCredentials `json:"datasourceAuthCredentials,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.
func (*BackupInstance) UnmarshalJSON ¶
func (bi *BackupInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupInstance struct.
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 ¶
func (iter *BackupInstanceResourceListIterator) Next() error
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 ¶
func (iter BackupInstanceResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (BackupInstanceResourceListIterator) Response ¶
func (iter BackupInstanceResourceListIterator) Response() BackupInstanceResourceList
Response returns the raw server response from the last page request.
func (BackupInstanceResourceListIterator) Value ¶
func (iter BackupInstanceResourceListIterator) Value() BackupInstanceResource
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 ¶
func NewBackupInstanceResourceListPage(cur BackupInstanceResourceList, getNextPage func(context.Context, BackupInstanceResourceList) (BackupInstanceResourceList, error)) BackupInstanceResourceListPage
Creates a new instance of the BackupInstanceResourceListPage type.
func (*BackupInstanceResourceListPage) Next ¶
func (page *BackupInstanceResourceListPage) 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 (*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 ¶
func (page BackupInstanceResourceListPage) Response() BackupInstanceResourceList
Response returns the raw server response from the last page request.
func (BackupInstanceResourceListPage) Values ¶
func (page BackupInstanceResourceListPage) Values() []BackupInstanceResource
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 ¶
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 ¶
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) ValidateForRestore ¶
func (client BackupInstancesClient) ValidateForRestore(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters ValidateRestoreRequestObject) (result BackupInstancesValidateForRestoreFuture, err error)
ValidateForRestore 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) ValidateForRestorePreparer ¶
func (client BackupInstancesClient) ValidateForRestorePreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters ValidateRestoreRequestObject) (*http.Request, error)
ValidateForRestorePreparer prepares the ValidateForRestore request.
func (BackupInstancesClient) ValidateForRestoreResponder ¶
func (client BackupInstancesClient) ValidateForRestoreResponder(resp *http.Response) (result OperationJobExtendedInfo, err error)
ValidateForRestoreResponder handles the response to the ValidateForRestore request. The method always closes the http.Response Body.
func (BackupInstancesClient) ValidateForRestoreSender ¶
func (client BackupInstancesClient) ValidateForRestoreSender(req *http.Request) (future BackupInstancesValidateForRestoreFuture, err error)
ValidateForRestoreSender sends the ValidateForRestore 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 BackupInstancesValidateForRestoreFuture ¶
type BackupInstancesValidateForRestoreFuture 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) }
BackupInstancesValidateForRestoreFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BackupInstancesValidateForRestoreFuture) UnmarshalJSON ¶
func (future *BackupInstancesValidateForRestoreFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type BackupParameters ¶
type BackupParameters struct { // ObjectType - Possible values include: 'ObjectTypeBasicBackupParametersObjectTypeBackupParameters', 'ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams' 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. backupPolicyName - name of the policy 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 ¶
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 ¶
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 ¶
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 ¶
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: 'ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy', 'ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy' 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"` // TimeZone - Time zone for a schedule. Example: Pacific Standard Time TimeZone *string `json:"timeZone,omitempty"` }
BackupSchedule schedule for backup
type BackupVault ¶
type BackupVault struct { // ProvisioningState - READ-ONLY; Provisioning state of the BackupVault resource. Possible values include: 'ProvisioningStateFailed', 'ProvisioningStateProvisioning', 'ProvisioningStateSucceeded', 'ProvisioningStateUnknown', 'ProvisioningStateUpdating' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ResourceMoveState - READ-ONLY; Resource move state for backup vault. Possible values include: 'ResourceMoveStateUnknown', 'ResourceMoveStateInProgress', 'ResourceMoveStatePrepareFailed', 'ResourceMoveStateCommitFailed', 'ResourceMoveStateFailed', 'ResourceMoveStatePrepareTimedout', 'ResourceMoveStateCommitTimedout', 'ResourceMoveStateCriticalFailure', 'ResourceMoveStatePartialSuccess', 'ResourceMoveStateMoveSucceeded' ResourceMoveState ResourceMoveState `json:"resourceMoveState,omitempty"` // ResourceMoveDetails - READ-ONLY; Resource move details for backup vault ResourceMoveDetails *ResourceMoveDetails `json:"resourceMoveDetails,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 BackupVaultOperationResultsClient ¶
type BackupVaultOperationResultsClient struct {
BaseClient
}
BackupVaultOperationResultsClient is the open API 2.0 Specs for Azure Data Protection service
func NewBackupVaultOperationResultsClient ¶
func NewBackupVaultOperationResultsClient(subscriptionID string) BackupVaultOperationResultsClient
NewBackupVaultOperationResultsClient creates an instance of the BackupVaultOperationResultsClient client.
func NewBackupVaultOperationResultsClientWithBaseURI ¶
func NewBackupVaultOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) BackupVaultOperationResultsClient
NewBackupVaultOperationResultsClientWithBaseURI creates an instance of the BackupVaultOperationResultsClient 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 (BackupVaultOperationResultsClient) Get ¶
func (client BackupVaultOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result BackupVaultResource, err error)
Get sends the get request. Parameters: vaultName - the name of the backup vault. resourceGroupName - the name of the resource group where the backup vault is present.
func (BackupVaultOperationResultsClient) GetPreparer ¶
func (client BackupVaultOperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupVaultOperationResultsClient) GetResponder ¶
func (client BackupVaultOperationResultsClient) GetResponder(resp *http.Response) (result BackupVaultResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
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 ¶
func (iter *BackupVaultResourceListIterator) Next() error
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 ¶
func (iter BackupVaultResourceListIterator) Response() BackupVaultResourceList
Response returns the raw server response from the last page request.
func (BackupVaultResourceListIterator) Value ¶
func (iter BackupVaultResourceListIterator) Value() BackupVaultResource
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 ¶
func NewBackupVaultResourceListPage(cur BackupVaultResourceList, getNextPage func(context.Context, BackupVaultResourceList) (BackupVaultResourceList, error)) BackupVaultResourceListPage
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 ¶
func (page BackupVaultResourceListPage) Response() BackupVaultResourceList
Response returns the raw server response from the last page request.
func (BackupVaultResourceListPage) Values ¶
func (page BackupVaultResourceListPage) Values() []BackupVaultResource
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 ¶
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) GetInResourceGroup ¶
func (client BackupVaultsClient) GetInResourceGroup(ctx context.Context, resourceGroupName string) (result BackupVaultResourceListPage, err error)
GetInResourceGroup returns resource collection belonging to a resource group. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (BackupVaultsClient) GetInResourceGroupComplete ¶
func (client BackupVaultsClient) GetInResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BackupVaultResourceListIterator, err error)
GetInResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (BackupVaultsClient) GetInResourceGroupPreparer ¶
func (client BackupVaultsClient) GetInResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
GetInResourceGroupPreparer prepares the GetInResourceGroup request.
func (BackupVaultsClient) GetInResourceGroupResponder ¶
func (client BackupVaultsClient) GetInResourceGroupResponder(resp *http.Response) (result BackupVaultResourceList, err error)
GetInResourceGroupResponder handles the response to the GetInResourceGroup request. The method always closes the http.Response Body.
func (BackupVaultsClient) GetInResourceGroupSender ¶
func (client BackupVaultsClient) GetInResourceGroupSender(req *http.Request) (*http.Response, error)
GetInResourceGroupSender sends the GetInResourceGroup request. The method will close the http.Response Body if it receives an error.
func (BackupVaultsClient) GetInSubscription ¶
func (client BackupVaultsClient) GetInSubscription(ctx context.Context) (result BackupVaultResourceListPage, err error)
GetInSubscription returns resource collection belonging to a subscription.
func (BackupVaultsClient) GetInSubscriptionComplete ¶
func (client BackupVaultsClient) GetInSubscriptionComplete(ctx context.Context) (result BackupVaultResourceListIterator, err error)
GetInSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (BackupVaultsClient) GetInSubscriptionPreparer ¶
func (client BackupVaultsClient) GetInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
GetInSubscriptionPreparer prepares the GetInSubscription request.
func (BackupVaultsClient) GetInSubscriptionResponder ¶
func (client BackupVaultsClient) GetInSubscriptionResponder(resp *http.Response) (result BackupVaultResourceList, err error)
GetInSubscriptionResponder handles the response to the GetInSubscription request. The method always closes the http.Response Body.
func (BackupVaultsClient) GetInSubscriptionSender ¶
GetInSubscriptionSender sends the GetInSubscription request. The method will close the http.Response Body if it receives an error.
func (BackupVaultsClient) GetPreparer ¶
func (client BackupVaultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BackupVaultsClient) Update ¶
func (client BackupVaultsClient) Update(ctx context.Context, vaultName string, resourceGroupName string, parameters PatchResourceRequestInput) (result BackupVaultsUpdateFuture, err error)
Update 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) UpdatePreparer ¶
func (client BackupVaultsClient) UpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, parameters PatchResourceRequestInput) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BackupVaultsClient) UpdateResponder ¶
func (client BackupVaultsClient) UpdateResponder(resp *http.Response) (result BackupVaultResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BackupVaultsClient) UpdateSender ¶
func (client BackupVaultsClient) UpdateSender(req *http.Request) (future BackupVaultsUpdateFuture, err error)
UpdateSender sends the Update 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 BackupVaultsUpdateFuture ¶
type BackupVaultsUpdateFuture 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) }
BackupVaultsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BackupVaultsUpdateFuture) UnmarshalJSON ¶
func (future *BackupVaultsUpdateFuture) 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: 'ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy', 'ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy' 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 ¶
func (iter *BaseBackupPolicyResourceListIterator) Next() error
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 ¶
func (iter BaseBackupPolicyResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (BaseBackupPolicyResourceListIterator) Response ¶
func (iter BaseBackupPolicyResourceListIterator) Response() BaseBackupPolicyResourceList
Response returns the raw server response from the last page request.
func (BaseBackupPolicyResourceListIterator) Value ¶
func (iter BaseBackupPolicyResourceListIterator) Value() BaseBackupPolicyResource
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 ¶
func NewBaseBackupPolicyResourceListPage(cur BaseBackupPolicyResourceList, getNextPage func(context.Context, BaseBackupPolicyResourceList) (BaseBackupPolicyResourceList, error)) BaseBackupPolicyResourceListPage
Creates a new instance of the BaseBackupPolicyResourceListPage type.
func (*BaseBackupPolicyResourceListPage) Next ¶
func (page *BaseBackupPolicyResourceListPage) 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 (*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 ¶
func (page BaseBackupPolicyResourceListPage) Response() BaseBackupPolicyResourceList
Response returns the raw server response from the last page request.
func (BaseBackupPolicyResourceListPage) Values ¶
func (page BaseBackupPolicyResourceListPage) Values() []BaseBackupPolicyResource
Values returns the slice of values for the current page or nil if there are no values.
type BaseClient ¶
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).
type BasePolicyRule ¶
type BasePolicyRule struct { Name *string `json:"name,omitempty"` // ObjectType - Possible values include: 'ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule', 'ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule', 'ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule' 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 BasicAuthCredentials ¶
type BasicAuthCredentials interface { AsSecretStoreBasedAuthCredentials() (*SecretStoreBasedAuthCredentials, bool) AsAuthCredentials() (*AuthCredentials, bool) }
BasicAuthCredentials base class for different types of authentication credentials.
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 BasicOperationExtendedInfo ¶
type BasicOperationExtendedInfo interface { AsOperationJobExtendedInfo() (*OperationJobExtendedInfo, bool) AsOperationExtendedInfo() (*OperationExtendedInfo, bool) }
BasicOperationExtendedInfo operation Extended Info
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 Client ¶
type Client struct {
BaseClient
}
Client is the open API 2.0 Specs for Azure Data Protection service
func NewClientWithBaseURI ¶
NewClientWithBaseURI creates an instance of the Client 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 (Client) CheckFeatureSupport ¶
func (client Client) 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 (Client) CheckFeatureSupportPreparer ¶
func (client Client) CheckFeatureSupportPreparer(ctx context.Context, location string, parameters BasicFeatureValidationRequestBase) (*http.Request, error)
CheckFeatureSupportPreparer prepares the CheckFeatureSupport request.
func (Client) CheckFeatureSupportResponder ¶
func (client Client) CheckFeatureSupportResponder(resp *http.Response) (result FeatureValidationResponseBaseModel, err error)
CheckFeatureSupportResponder handles the response to the CheckFeatureSupport request. The method always closes the http.Response Body.
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 ¶
func (iter *ClientDiscoveryResponseIterator) Next() error
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 ¶
func (iter ClientDiscoveryResponseIterator) Response() ClientDiscoveryResponse
Response returns the raw server response from the last page request.
func (ClientDiscoveryResponseIterator) Value ¶
func (iter ClientDiscoveryResponseIterator) Value() ClientDiscoveryValueForSingleAPI
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 ¶
func NewClientDiscoveryResponsePage(cur ClientDiscoveryResponse, getNextPage func(context.Context, ClientDiscoveryResponse) (ClientDiscoveryResponse, error)) ClientDiscoveryResponsePage
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 ¶
func (page ClientDiscoveryResponsePage) Response() ClientDiscoveryResponse
Response returns the raw server response from the last page request.
func (ClientDiscoveryResponsePage) Values ¶
func (page ClientDiscoveryResponsePage) Values() []ClientDiscoveryValueForSingleAPI
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: 'ObjectTypeBasicCopyOptionObjectTypeCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption', 'ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption' 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: 'ObjectTypeBasicCopyOptionObjectTypeCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption', 'ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption' 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 ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser 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 ( // CurrentProtectionStateBackupSchedulesSuspended ... CurrentProtectionStateBackupSchedulesSuspended CurrentProtectionState = "BackupSchedulesSuspended" // CurrentProtectionStateConfiguringProtection ... CurrentProtectionStateConfiguringProtection CurrentProtectionState = "ConfiguringProtection" // CurrentProtectionStateConfiguringProtectionFailed ... CurrentProtectionStateConfiguringProtectionFailed CurrentProtectionState = "ConfiguringProtectionFailed" // CurrentProtectionStateInvalid ... CurrentProtectionStateInvalid CurrentProtectionState = "Invalid" // CurrentProtectionStateNotProtected ... CurrentProtectionStateNotProtected CurrentProtectionState = "NotProtected" // CurrentProtectionStateProtectionConfigured ... CurrentProtectionStateProtectionConfigured CurrentProtectionState = "ProtectionConfigured" // CurrentProtectionStateProtectionError ... CurrentProtectionStateProtectionError CurrentProtectionState = "ProtectionError" // CurrentProtectionStateProtectionStopped ... CurrentProtectionStateProtectionStopped CurrentProtectionState = "ProtectionStopped" // CurrentProtectionStateRetentionSchedulesSuspended ... CurrentProtectionStateRetentionSchedulesSuspended CurrentProtectionState = "RetentionSchedulesSuspended" // CurrentProtectionStateSoftDeleted ... CurrentProtectionStateSoftDeleted CurrentProtectionState = "SoftDeleted" // CurrentProtectionStateSoftDeleting ... CurrentProtectionStateSoftDeleting CurrentProtectionState = "SoftDeleting" // CurrentProtectionStateUpdatingProtection ... CurrentProtectionStateUpdatingProtection 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: 'ObjectTypeBasicCopyOptionObjectTypeCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption', 'ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption' 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: 'DataStoreTypesOperationalStore', 'DataStoreTypesVaultStore', 'DataStoreTypesArchiveStore' 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: 'DataStoreTypesOperationalStore', 'DataStoreTypesVaultStore', 'DataStoreTypesArchiveStore' DataStoreType DataStoreTypes `json:"dataStoreType,omitempty"` // ObjectType - Possible values include: 'ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters', 'ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters' 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 ( // DataStoreTypesArchiveStore ... DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore" // DataStoreTypesOperationalStore ... DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore" // DataStoreTypesVaultStore ... DataStoreTypesVaultStore 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 ( // DayOfWeekFriday ... DayOfWeekFriday DayOfWeek = "Friday" // DayOfWeekMonday ... DayOfWeekMonday DayOfWeek = "Monday" // DayOfWeekSaturday ... DayOfWeekSaturday DayOfWeek = "Saturday" // DayOfWeekSunday ... DayOfWeekSunday DayOfWeek = "Sunday" // DayOfWeekThursday ... DayOfWeekThursday DayOfWeek = "Thursday" // DayOfWeekTuesday ... DayOfWeekTuesday DayOfWeek = "Tuesday" // DayOfWeekWednesday ... DayOfWeekWednesday 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: 'ObjectTypeBasicDeleteOptionObjectTypeDeleteOption', 'ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption' 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 DppBaseResource ¶
type DppBaseResource struct { autorest.Response `json:"-"` // 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"` }
DppBaseResource base resource under Microsoft.DataProtection provider namespace
func (DppBaseResource) MarshalJSON ¶
func (dbr DppBaseResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DppBaseResource.
type DppBaseResourceList ¶
type DppBaseResourceList struct { autorest.Response `json:"-"` // Value - List of Dpp resources. Value *[]DppBaseResource `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"` }
DppBaseResourceList base for all lists of V2 resources.
func (DppBaseResourceList) IsEmpty ¶
func (dbrl DppBaseResourceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DppBaseResourceListIterator ¶
type DppBaseResourceListIterator struct {
// contains filtered or unexported fields
}
DppBaseResourceListIterator provides access to a complete listing of DppBaseResource values.
func NewDppBaseResourceListIterator ¶
func NewDppBaseResourceListIterator(page DppBaseResourceListPage) DppBaseResourceListIterator
Creates a new instance of the DppBaseResourceListIterator type.
func (*DppBaseResourceListIterator) Next ¶
func (iter *DppBaseResourceListIterator) Next() error
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 (*DppBaseResourceListIterator) NextWithContext ¶
func (iter *DppBaseResourceListIterator) 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 (DppBaseResourceListIterator) NotDone ¶
func (iter DppBaseResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DppBaseResourceListIterator) Response ¶
func (iter DppBaseResourceListIterator) Response() DppBaseResourceList
Response returns the raw server response from the last page request.
func (DppBaseResourceListIterator) Value ¶
func (iter DppBaseResourceListIterator) Value() DppBaseResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DppBaseResourceListPage ¶
type DppBaseResourceListPage struct {
// contains filtered or unexported fields
}
DppBaseResourceListPage contains a page of DppBaseResource values.
func NewDppBaseResourceListPage ¶
func NewDppBaseResourceListPage(cur DppBaseResourceList, getNextPage func(context.Context, DppBaseResourceList) (DppBaseResourceList, error)) DppBaseResourceListPage
Creates a new instance of the DppBaseResourceListPage type.
func (*DppBaseResourceListPage) Next ¶
func (page *DppBaseResourceListPage) 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 (*DppBaseResourceListPage) NextWithContext ¶
func (page *DppBaseResourceListPage) 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 (DppBaseResourceListPage) NotDone ¶
func (page DppBaseResourceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DppBaseResourceListPage) Response ¶
func (page DppBaseResourceListPage) Response() DppBaseResourceList
Response returns the raw server response from the last page request.
func (DppBaseResourceListPage) Values ¶
func (page DppBaseResourceListPage) Values() []DppBaseResource
Values returns the slice of values for the current page or nil if there are no values.
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 ¶
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.
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: 'ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase', 'ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest' 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: 'ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase', 'ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest' 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: 'ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase', 'ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse' 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: 'ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase', 'ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse' 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 ImmediateCopyOption ¶
type ImmediateCopyOption struct { // ObjectType - Possible values include: 'ObjectTypeBasicCopyOptionObjectTypeCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption', 'ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption', 'ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption' 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: 'ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria', 'ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria' 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"` // DatasourceAuthCredentials - Credentials to use to authenticate with data source provider. DatasourceAuthCredentials BasicAuthCredentials `json:"datasourceAuthCredentials,omitempty"` // RecoveryOption - Recovery Option RecoveryOption *string `json:"recoveryOption,omitempty"` // RestoreLocation - Target Restore region RestoreLocation *string `json:"restoreLocation,omitempty"` // ObjectType - Possible values include: 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo' 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 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) Get ¶
func (client JobsClient) 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 (JobsClient) GetPreparer ¶
func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, jobID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobsClient) GetResponder ¶
func (client JobsClient) 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 (JobsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
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 ¶
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 ( // MonthApril ... MonthApril Month = "April" // MonthAugust ... MonthAugust Month = "August" // MonthDecember ... MonthDecember Month = "December" // MonthFebruary ... MonthFebruary Month = "February" // MonthJanuary ... MonthJanuary Month = "January" // MonthJuly ... MonthJuly Month = "July" // MonthJune ... MonthJune Month = "June" // MonthMarch ... MonthMarch Month = "March" // MonthMay ... MonthMay Month = "May" // MonthNovember ... MonthNovember Month = "November" // MonthOctober ... MonthOctober Month = "October" // MonthSeptember ... MonthSeptember 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 ( // ObjectTypeAuthCredentials ... ObjectTypeAuthCredentials ObjectType = "AuthCredentials" // ObjectTypeSecretStoreBasedAuthCredentials ... ObjectTypeSecretStoreBasedAuthCredentials ObjectType = "SecretStoreBasedAuthCredentials" )
func PossibleObjectTypeValues ¶
func PossibleObjectTypeValues() []ObjectType
PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
type ObjectTypeBasicAzureBackupRecoveryPoint ¶
type ObjectTypeBasicAzureBackupRecoveryPoint string
ObjectTypeBasicAzureBackupRecoveryPoint enumerates the values for object type basic azure backup recovery point.
const ( // ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint ... ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint ObjectTypeBasicAzureBackupRecoveryPoint = "AzureBackupDiscreteRecoveryPoint" // ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint ... ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint ObjectTypeBasicAzureBackupRecoveryPoint = "AzureBackupRecoveryPoint" )
func PossibleObjectTypeBasicAzureBackupRecoveryPointValues ¶
func PossibleObjectTypeBasicAzureBackupRecoveryPointValues() []ObjectTypeBasicAzureBackupRecoveryPoint
PossibleObjectTypeBasicAzureBackupRecoveryPointValues returns an array of possible values for the ObjectTypeBasicAzureBackupRecoveryPoint const type.
type ObjectTypeBasicAzureBackupRestoreRequest ¶
type ObjectTypeBasicAzureBackupRestoreRequest string
ObjectTypeBasicAzureBackupRestoreRequest enumerates the values for object type basic azure backup restore request.
const ( // ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest ... ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRecoveryPointBasedRestoreRequest" // ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest ... ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRecoveryTimeBasedRestoreRequest" // ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest ... ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRestoreRequest" // ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest ... ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest 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 ( // ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria ... ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria ObjectTypeBasicBackupCriteria = "BackupCriteria" // ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria ... ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria 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 ( // ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams ... ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams ObjectTypeBasicBackupParameters = "AzureBackupParams" // ObjectTypeBasicBackupParametersObjectTypeBackupParameters ... ObjectTypeBasicBackupParametersObjectTypeBackupParameters 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 ( // ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy ... ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy ObjectTypeBasicBaseBackupPolicy = "BackupPolicy" // ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy ... ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy 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 ( // ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule ... ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule ObjectTypeBasicBasePolicyRule = "AzureBackupRule" // ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule ... ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule ObjectTypeBasicBasePolicyRule = "AzureRetentionRule" // ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule ... ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule 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 ( // ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption ... ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption ObjectTypeBasicCopyOption = "CopyOnExpiryOption" // ObjectTypeBasicCopyOptionObjectTypeCopyOption ... ObjectTypeBasicCopyOptionObjectTypeCopyOption ObjectTypeBasicCopyOption = "CopyOption" // ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption ... ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption ObjectTypeBasicCopyOption = "CustomCopyOption" // ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption ... ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption 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 ( // ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters ... ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters ObjectTypeBasicDataStoreParameters = "AzureOperationalStoreParameters" // ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters ... ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters 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 ( // ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption ... ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption ObjectTypeBasicDeleteOption = "AbsoluteDeleteOption" // ObjectTypeBasicDeleteOptionObjectTypeDeleteOption ... ObjectTypeBasicDeleteOptionObjectTypeDeleteOption 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 ( // ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest ... ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest ObjectTypeBasicFeatureValidationRequestBase = "FeatureValidationRequest" // ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase ... ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase 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 ( // ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse ... ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse ObjectTypeBasicFeatureValidationResponseBase = "FeatureValidationResponse" // ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase ... ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase 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 ( // ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria ... ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria ObjectTypeBasicItemLevelRestoreCriteria = "ItemLevelRestoreCriteria" // ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria ... ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria ObjectTypeBasicItemLevelRestoreCriteria = "RangeBasedItemLevelRestoreCriteria" )
func PossibleObjectTypeBasicItemLevelRestoreCriteriaValues ¶
func PossibleObjectTypeBasicItemLevelRestoreCriteriaValues() []ObjectTypeBasicItemLevelRestoreCriteria
PossibleObjectTypeBasicItemLevelRestoreCriteriaValues returns an array of possible values for the ObjectTypeBasicItemLevelRestoreCriteria const type.
type ObjectTypeBasicOperationExtendedInfo ¶
type ObjectTypeBasicOperationExtendedInfo string
ObjectTypeBasicOperationExtendedInfo enumerates the values for object type basic operation extended info.
const ( // ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo ... ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo ObjectTypeBasicOperationExtendedInfo = "OperationExtendedInfo" // ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo ... ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo ObjectTypeBasicOperationExtendedInfo = "OperationJobExtendedInfo" )
func PossibleObjectTypeBasicOperationExtendedInfoValues ¶
func PossibleObjectTypeBasicOperationExtendedInfoValues() []ObjectTypeBasicOperationExtendedInfo
PossibleObjectTypeBasicOperationExtendedInfoValues returns an array of possible values for the ObjectTypeBasicOperationExtendedInfo const type.
type ObjectTypeBasicRestoreTargetInfoBase ¶
type ObjectTypeBasicRestoreTargetInfoBase string
ObjectTypeBasicRestoreTargetInfoBase enumerates the values for object type basic restore target info base.
const ( // ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo ... ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "ItemLevelRestoreTargetInfo" // ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo ... ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "RestoreFilesTargetInfo" // ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo ... ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "RestoreTargetInfo" // ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase ... ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase 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 ( // ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext ... ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext ObjectTypeBasicTriggerContext = "AdhocBasedTriggerContext" // ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext ... ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext ObjectTypeBasicTriggerContext = "ScheduleBasedTriggerContext" // ObjectTypeBasicTriggerContextObjectTypeTriggerContext ... ObjectTypeBasicTriggerContextObjectTypeTriggerContext 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 - Possible values include: 'ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo', 'ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo' ObjectType ObjectTypeBasicOperationExtendedInfo `json:"objectType,omitempty"` }
OperationExtendedInfo operation Extended Info
func (OperationExtendedInfo) AsBasicOperationExtendedInfo ¶
func (oei OperationExtendedInfo) AsBasicOperationExtendedInfo() (BasicOperationExtendedInfo, bool)
AsBasicOperationExtendedInfo is the BasicOperationExtendedInfo implementation for OperationExtendedInfo.
func (OperationExtendedInfo) AsOperationExtendedInfo ¶
func (oei OperationExtendedInfo) AsOperationExtendedInfo() (*OperationExtendedInfo, bool)
AsOperationExtendedInfo is the BasicOperationExtendedInfo implementation for OperationExtendedInfo.
func (OperationExtendedInfo) AsOperationJobExtendedInfo ¶
func (oei OperationExtendedInfo) AsOperationJobExtendedInfo() (*OperationJobExtendedInfo, bool)
AsOperationJobExtendedInfo is the BasicOperationExtendedInfo implementation for OperationExtendedInfo.
func (OperationExtendedInfo) MarshalJSON ¶
func (oei OperationExtendedInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationExtendedInfo.
type OperationJobExtendedInfo ¶
type OperationJobExtendedInfo struct { autorest.Response `json:"-"` // JobID - Arm Id of the job created for this operation. JobID *string `json:"jobId,omitempty"` // ObjectType - Possible values include: 'ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo', 'ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo' ObjectType ObjectTypeBasicOperationExtendedInfo `json:"objectType,omitempty"` }
OperationJobExtendedInfo operation Job Extended Info
func (OperationJobExtendedInfo) AsBasicOperationExtendedInfo ¶
func (ojei OperationJobExtendedInfo) AsBasicOperationExtendedInfo() (BasicOperationExtendedInfo, bool)
AsBasicOperationExtendedInfo is the BasicOperationExtendedInfo implementation for OperationJobExtendedInfo.
func (OperationJobExtendedInfo) AsOperationExtendedInfo ¶
func (ojei OperationJobExtendedInfo) AsOperationExtendedInfo() (*OperationExtendedInfo, bool)
AsOperationExtendedInfo is the BasicOperationExtendedInfo implementation for OperationJobExtendedInfo.
func (OperationJobExtendedInfo) AsOperationJobExtendedInfo ¶
func (ojei OperationJobExtendedInfo) AsOperationJobExtendedInfo() (*OperationJobExtendedInfo, bool)
AsOperationJobExtendedInfo is the BasicOperationExtendedInfo implementation for OperationJobExtendedInfo.
func (OperationJobExtendedInfo) MarshalJSON ¶
func (ojei OperationJobExtendedInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationJobExtendedInfo.
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 BasicOperationExtendedInfo `json:"properties,omitempty"` // StartTime - Start time of the operation StartTime *date.Time `json:"startTime,omitempty"` Status *string `json:"status,omitempty"` }
OperationResource operation Resource
func (*OperationResource) UnmarshalJSON ¶
func (or *OperationResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationResource struct.
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.
type OperationStatusClient ¶
type OperationStatusClient struct {
BaseClient
}
OperationStatusClient is the open API 2.0 Specs for Azure Data Protection service
func NewOperationStatusClient ¶
func NewOperationStatusClient(subscriptionID string) OperationStatusClient
NewOperationStatusClient creates an instance of the OperationStatusClient client.
func NewOperationStatusClientWithBaseURI ¶
func NewOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusClient
NewOperationStatusClientWithBaseURI creates an instance of the OperationStatusClient 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 (OperationStatusClient) Get ¶
func (client OperationStatusClient) Get(ctx context.Context, location string, operationID string) (result OperationResource, err error)
Get sends the get request.
func (OperationStatusClient) GetPreparer ¶
func (client OperationStatusClient) GetPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (OperationStatusClient) GetResponder ¶
func (client OperationStatusClient) GetResponder(resp *http.Response) (result OperationResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
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 ¶
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 ¶
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 ( // ProvisioningStateFailed ... ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateProvisioning ... ProvisioningStateProvisioning ProvisioningState = "Provisioning" // ProvisioningStateSucceeded ... ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUnknown ... ProvisioningStateUnknown ProvisioningState = "Unknown" // ProvisioningStateUpdating ... ProvisioningStateUpdating 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: 'ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria', 'ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria' 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 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: 'RehydrationStatusCREATEINPROGRESS', 'RehydrationStatusCOMPLETED', 'RehydrationStatusDELETEINPROGRESS', 'RehydrationStatusDELETED', 'RehydrationStatusFAILED' 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) Get ¶
func (client RecoveryPointsClient) 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 (RecoveryPointsClient) GetPreparer ¶
func (client RecoveryPointsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, recoveryPointID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RecoveryPointsClient) GetResponder ¶
func (client RecoveryPointsClient) 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 (RecoveryPointsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RecoveryPointsClient) List ¶
func (client RecoveryPointsClient) List(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (result AzureBackupRecoveryPointResourceListPage, err error)
List 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) ListComplete ¶
func (client RecoveryPointsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (result AzureBackupRecoveryPointResourceListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RecoveryPointsClient) ListPreparer ¶
func (client RecoveryPointsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (RecoveryPointsClient) ListResponder ¶
func (client RecoveryPointsClient) ListResponder(resp *http.Response) (result AzureBackupRecoveryPointResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RecoveryPointsClient) ListSender ¶
ListSender sends the List 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 ( // RehydrationStatusCOMPLETED ... RehydrationStatusCOMPLETED RehydrationStatus = "COMPLETED" // RehydrationStatusCREATEINPROGRESS ... RehydrationStatusCREATEINPROGRESS RehydrationStatus = "CREATE_IN_PROGRESS" // RehydrationStatusDELETED ... RehydrationStatusDELETED RehydrationStatus = "DELETED" // RehydrationStatusDELETEINPROGRESS ... RehydrationStatusDELETEINPROGRESS RehydrationStatus = "DELETE_IN_PROGRESS" // RehydrationStatusFAILED ... RehydrationStatusFAILED RehydrationStatus = "FAILED" )
func PossibleRehydrationStatusValues ¶
func PossibleRehydrationStatusValues() []RehydrationStatus
PossibleRehydrationStatusValues returns an array of possible values for the RehydrationStatus const type.
type ResourceGuard ¶
type ResourceGuard struct { // ProvisioningState - READ-ONLY; Provisioning state of the BackupVault resource. Possible values include: 'ProvisioningStateFailed', 'ProvisioningStateProvisioning', 'ProvisioningStateSucceeded', 'ProvisioningStateUnknown', 'ProvisioningStateUpdating' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // AllowAutoApprovals - READ-ONLY; This flag indicates whether auto approval is allowed or not. AllowAutoApprovals *bool `json:"allowAutoApprovals,omitempty"` // ResourceGuardOperations - READ-ONLY; {readonly} List of operation details those are protected by the ResourceGuard resource ResourceGuardOperations *[]ResourceGuardOperation `json:"resourceGuardOperations,omitempty"` // VaultCriticalOperationExclusionList - READ-ONLY; List of critical operations which are not protected by this resourceGuard VaultCriticalOperationExclusionList *[]string `json:"vaultCriticalOperationExclusionList,omitempty"` // Description - READ-ONLY; Description about the pre-req steps to perform all the critical operations. Description *string `json:"description,omitempty"` }
ResourceGuard ...
func (ResourceGuard) MarshalJSON ¶
func (rg ResourceGuard) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceGuard.
type ResourceGuardOperation ¶
type ResourceGuardOperation struct { // VaultCriticalOperation - READ-ONLY; Name of the critical operation. VaultCriticalOperation *string `json:"vaultCriticalOperation,omitempty"` // RequestResourceType - READ-ONLY; Type of resource request. RequestResourceType *string `json:"requestResourceType,omitempty"` }
ResourceGuardOperation this class contains all the details about a critical operation.
func (ResourceGuardOperation) MarshalJSON ¶
func (rgo ResourceGuardOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceGuardOperation.
type ResourceGuardResource ¶
type ResourceGuardResource struct { autorest.Response `json:"-"` // Properties - ResourceGuardResource properties Properties *ResourceGuard `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"` }
ResourceGuardResource ...
func (ResourceGuardResource) MarshalJSON ¶
func (rgr ResourceGuardResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceGuardResource.
type ResourceGuardResourceList ¶
type ResourceGuardResourceList struct { autorest.Response `json:"-"` // Value - List of resources. Value *[]ResourceGuardResource `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"` }
ResourceGuardResourceList list of ResourceGuard resources
func (ResourceGuardResourceList) IsEmpty ¶
func (rgrl ResourceGuardResourceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResourceGuardResourceListIterator ¶
type ResourceGuardResourceListIterator struct {
// contains filtered or unexported fields
}
ResourceGuardResourceListIterator provides access to a complete listing of ResourceGuardResource values.
func NewResourceGuardResourceListIterator ¶
func NewResourceGuardResourceListIterator(page ResourceGuardResourceListPage) ResourceGuardResourceListIterator
Creates a new instance of the ResourceGuardResourceListIterator type.
func (*ResourceGuardResourceListIterator) Next ¶
func (iter *ResourceGuardResourceListIterator) Next() error
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 (*ResourceGuardResourceListIterator) NextWithContext ¶
func (iter *ResourceGuardResourceListIterator) 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 (ResourceGuardResourceListIterator) NotDone ¶
func (iter ResourceGuardResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ResourceGuardResourceListIterator) Response ¶
func (iter ResourceGuardResourceListIterator) Response() ResourceGuardResourceList
Response returns the raw server response from the last page request.
func (ResourceGuardResourceListIterator) Value ¶
func (iter ResourceGuardResourceListIterator) Value() ResourceGuardResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ResourceGuardResourceListPage ¶
type ResourceGuardResourceListPage struct {
// contains filtered or unexported fields
}
ResourceGuardResourceListPage contains a page of ResourceGuardResource values.
func NewResourceGuardResourceListPage ¶
func NewResourceGuardResourceListPage(cur ResourceGuardResourceList, getNextPage func(context.Context, ResourceGuardResourceList) (ResourceGuardResourceList, error)) ResourceGuardResourceListPage
Creates a new instance of the ResourceGuardResourceListPage type.
func (*ResourceGuardResourceListPage) Next ¶
func (page *ResourceGuardResourceListPage) 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 (*ResourceGuardResourceListPage) NextWithContext ¶
func (page *ResourceGuardResourceListPage) 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 (ResourceGuardResourceListPage) NotDone ¶
func (page ResourceGuardResourceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ResourceGuardResourceListPage) Response ¶
func (page ResourceGuardResourceListPage) Response() ResourceGuardResourceList
Response returns the raw server response from the last page request.
func (ResourceGuardResourceListPage) Values ¶
func (page ResourceGuardResourceListPage) Values() []ResourceGuardResource
Values returns the slice of values for the current page or nil if there are no values.
type ResourceGuardsClient ¶
type ResourceGuardsClient struct {
BaseClient
}
ResourceGuardsClient is the open API 2.0 Specs for Azure Data Protection service
func NewResourceGuardsClient ¶
func NewResourceGuardsClient(subscriptionID string) ResourceGuardsClient
NewResourceGuardsClient creates an instance of the ResourceGuardsClient client.
func NewResourceGuardsClientWithBaseURI ¶
func NewResourceGuardsClientWithBaseURI(baseURI string, subscriptionID string) ResourceGuardsClient
NewResourceGuardsClientWithBaseURI creates an instance of the ResourceGuardsClient 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 (ResourceGuardsClient) Delete ¶
func (client ResourceGuardsClient) Delete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result autorest.Response, err error)
Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. resourceGuardsName - the name of ResourceGuard
func (ResourceGuardsClient) DeletePreparer ¶
func (client ResourceGuardsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ResourceGuardsClient) DeleteResponder ¶
func (client ResourceGuardsClient) 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 (ResourceGuardsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) Get ¶
func (client ResourceGuardsClient) Get(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result ResourceGuardResource, err error)
Get sends the get request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. resourceGuardsName - the name of ResourceGuard
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjects ¶
func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
GetBackupSecurityPINRequestsObjects sends the get backup security pin requests objects request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete ¶
func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
GetBackupSecurityPINRequestsObjectsComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsPreparer ¶
func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetBackupSecurityPINRequestsObjectsPreparer prepares the GetBackupSecurityPINRequestsObjects request.
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsResponder ¶
func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
GetBackupSecurityPINRequestsObjectsResponder handles the response to the GetBackupSecurityPINRequestsObjects request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsSender ¶
func (client ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsSender(req *http.Request) (*http.Response, error)
GetBackupSecurityPINRequestsObjectsSender sends the GetBackupSecurityPINRequestsObjects request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject ¶
func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (result DppBaseResource, err error)
GetDefaultBackupSecurityPINRequestsObject sends the get default backup security pin requests object request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectPreparer ¶
func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (*http.Request, error)
GetDefaultBackupSecurityPINRequestsObjectPreparer prepares the GetDefaultBackupSecurityPINRequestsObject request.
func (ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectResponder ¶
func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
GetDefaultBackupSecurityPINRequestsObjectResponder handles the response to the GetDefaultBackupSecurityPINRequestsObject request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectSender ¶
func (client ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObjectSender(req *http.Request) (*http.Response, error)
GetDefaultBackupSecurityPINRequestsObjectSender sends the GetDefaultBackupSecurityPINRequestsObject request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject ¶
func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (result DppBaseResource, err error)
GetDefaultDeleteProtectedItemRequestsObject sends the get default delete protected item requests object request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectPreparer ¶
func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (*http.Request, error)
GetDefaultDeleteProtectedItemRequestsObjectPreparer prepares the GetDefaultDeleteProtectedItemRequestsObject request.
func (ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectResponder ¶
func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
GetDefaultDeleteProtectedItemRequestsObjectResponder handles the response to the GetDefaultDeleteProtectedItemRequestsObject request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectSender ¶
func (client ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObjectSender(req *http.Request) (*http.Response, error)
GetDefaultDeleteProtectedItemRequestsObjectSender sends the GetDefaultDeleteProtectedItemRequestsObject request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject ¶
func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (result DppBaseResource, err error)
GetDefaultDeleteResourceGuardProxyRequestsObject sends the get default delete resource guard proxy requests object request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectPreparer ¶
func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (*http.Request, error)
GetDefaultDeleteResourceGuardProxyRequestsObjectPreparer prepares the GetDefaultDeleteResourceGuardProxyRequestsObject request.
func (ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectResponder ¶
func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
GetDefaultDeleteResourceGuardProxyRequestsObjectResponder handles the response to the GetDefaultDeleteResourceGuardProxyRequestsObject request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectSender ¶
func (client ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObjectSender(req *http.Request) (*http.Response, error)
GetDefaultDeleteResourceGuardProxyRequestsObjectSender sends the GetDefaultDeleteResourceGuardProxyRequestsObject request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject ¶
func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (result DppBaseResource, err error)
GetDefaultDisableSoftDeleteRequestsObject sends the get default disable soft delete requests object request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectPreparer ¶
func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (*http.Request, error)
GetDefaultDisableSoftDeleteRequestsObjectPreparer prepares the GetDefaultDisableSoftDeleteRequestsObject request.
func (ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectResponder ¶
func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
GetDefaultDisableSoftDeleteRequestsObjectResponder handles the response to the GetDefaultDisableSoftDeleteRequestsObject request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectSender ¶
func (client ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObjectSender(req *http.Request) (*http.Response, error)
GetDefaultDisableSoftDeleteRequestsObjectSender sends the GetDefaultDisableSoftDeleteRequestsObject request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (result DppBaseResource, err error)
GetDefaultUpdateProtectedItemRequestsObject sends the get default update protected item requests object request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectPreparer ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (*http.Request, error)
GetDefaultUpdateProtectedItemRequestsObjectPreparer prepares the GetDefaultUpdateProtectedItemRequestsObject request.
func (ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectResponder ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
GetDefaultUpdateProtectedItemRequestsObjectResponder handles the response to the GetDefaultUpdateProtectedItemRequestsObject request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectSender ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObjectSender(req *http.Request) (*http.Response, error)
GetDefaultUpdateProtectedItemRequestsObjectSender sends the GetDefaultUpdateProtectedItemRequestsObject request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (result DppBaseResource, err error)
GetDefaultUpdateProtectionPolicyRequestsObject sends the get default update protection policy requests object request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectPreparer ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, requestName string) (*http.Request, error)
GetDefaultUpdateProtectionPolicyRequestsObjectPreparer prepares the GetDefaultUpdateProtectionPolicyRequestsObject request.
func (ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectResponder ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectResponder(resp *http.Response) (result DppBaseResource, err error)
GetDefaultUpdateProtectionPolicyRequestsObjectResponder handles the response to the GetDefaultUpdateProtectionPolicyRequestsObject request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectSender ¶
func (client ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObjectSender(req *http.Request) (*http.Response, error)
GetDefaultUpdateProtectionPolicyRequestsObjectSender sends the GetDefaultUpdateProtectionPolicyRequestsObject request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects ¶
func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
GetDeleteProtectedItemRequestsObjects sends the get delete protected item requests objects request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete ¶
func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
GetDeleteProtectedItemRequestsObjectsComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsPreparer ¶
func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetDeleteProtectedItemRequestsObjectsPreparer prepares the GetDeleteProtectedItemRequestsObjects request.
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsResponder ¶
func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
GetDeleteProtectedItemRequestsObjectsResponder handles the response to the GetDeleteProtectedItemRequestsObjects request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsSender ¶
func (client ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsSender(req *http.Request) (*http.Response, error)
GetDeleteProtectedItemRequestsObjectsSender sends the GetDeleteProtectedItemRequestsObjects request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects ¶
func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
GetDeleteResourceGuardProxyRequestsObjects sends the get delete resource guard proxy requests objects request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete ¶
func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
GetDeleteResourceGuardProxyRequestsObjectsComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsPreparer ¶
func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetDeleteResourceGuardProxyRequestsObjectsPreparer prepares the GetDeleteResourceGuardProxyRequestsObjects request.
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsResponder ¶
func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
GetDeleteResourceGuardProxyRequestsObjectsResponder handles the response to the GetDeleteResourceGuardProxyRequestsObjects request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsSender ¶
func (client ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsSender(req *http.Request) (*http.Response, error)
GetDeleteResourceGuardProxyRequestsObjectsSender sends the GetDeleteResourceGuardProxyRequestsObjects request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects ¶
func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
GetDisableSoftDeleteRequestsObjects sends the get disable soft delete requests objects request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete ¶
func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
GetDisableSoftDeleteRequestsObjectsComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsPreparer ¶
func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetDisableSoftDeleteRequestsObjectsPreparer prepares the GetDisableSoftDeleteRequestsObjects request.
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsResponder ¶
func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
GetDisableSoftDeleteRequestsObjectsResponder handles the response to the GetDisableSoftDeleteRequestsObjects request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsSender ¶
func (client ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsSender(req *http.Request) (*http.Response, error)
GetDisableSoftDeleteRequestsObjectsSender sends the GetDisableSoftDeleteRequestsObjects request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetPreparer ¶
func (client ResourceGuardsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ResourceGuardsClient) GetResourcesInResourceGroup ¶
func (client ResourceGuardsClient) GetResourcesInResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceGuardResourceListPage, err error)
GetResourcesInResourceGroup sends the get resources in resource group request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetResourcesInResourceGroupComplete ¶
func (client ResourceGuardsClient) GetResourcesInResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ResourceGuardResourceListIterator, err error)
GetResourcesInResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetResourcesInResourceGroupPreparer ¶
func (client ResourceGuardsClient) GetResourcesInResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
GetResourcesInResourceGroupPreparer prepares the GetResourcesInResourceGroup request.
func (ResourceGuardsClient) GetResourcesInResourceGroupResponder ¶
func (client ResourceGuardsClient) GetResourcesInResourceGroupResponder(resp *http.Response) (result ResourceGuardResourceList, err error)
GetResourcesInResourceGroupResponder handles the response to the GetResourcesInResourceGroup request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetResourcesInResourceGroupSender ¶
func (client ResourceGuardsClient) 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 (ResourceGuardsClient) GetResourcesInSubscription ¶
func (client ResourceGuardsClient) GetResourcesInSubscription(ctx context.Context) (result ResourceGuardResourceListPage, err error)
GetResourcesInSubscription sends the get resources in subscription request.
func (ResourceGuardsClient) GetResourcesInSubscriptionComplete ¶
func (client ResourceGuardsClient) GetResourcesInSubscriptionComplete(ctx context.Context) (result ResourceGuardResourceListIterator, err error)
GetResourcesInSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetResourcesInSubscriptionPreparer ¶
func (client ResourceGuardsClient) GetResourcesInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
GetResourcesInSubscriptionPreparer prepares the GetResourcesInSubscription request.
func (ResourceGuardsClient) GetResourcesInSubscriptionResponder ¶
func (client ResourceGuardsClient) GetResourcesInSubscriptionResponder(resp *http.Response) (result ResourceGuardResourceList, err error)
GetResourcesInSubscriptionResponder handles the response to the GetResourcesInSubscription request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetResourcesInSubscriptionSender ¶
func (client ResourceGuardsClient) 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 (ResourceGuardsClient) GetResponder ¶
func (client ResourceGuardsClient) GetResponder(resp *http.Response) (result ResourceGuardResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects ¶
func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
GetUpdateProtectedItemRequestsObjects sends the get update protected item requests objects request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete ¶
func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
GetUpdateProtectedItemRequestsObjectsComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsPreparer ¶
func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetUpdateProtectedItemRequestsObjectsPreparer prepares the GetUpdateProtectedItemRequestsObjects request.
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsResponder ¶
func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
GetUpdateProtectedItemRequestsObjectsResponder handles the response to the GetUpdateProtectedItemRequestsObjects request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsSender ¶
func (client ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsSender(req *http.Request) (*http.Response, error)
GetUpdateProtectedItemRequestsObjectsSender sends the GetUpdateProtectedItemRequestsObjects request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects ¶
func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListPage, err error)
GetUpdateProtectionPolicyRequestsObjects sends the get update protection policy requests objects request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present.
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete ¶
func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete(ctx context.Context, resourceGroupName string, resourceGuardsName string) (result DppBaseResourceListIterator, err error)
GetUpdateProtectionPolicyRequestsObjectsComplete enumerates all values, automatically crossing page boundaries as required.
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsPreparer ¶
func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string) (*http.Request, error)
GetUpdateProtectionPolicyRequestsObjectsPreparer prepares the GetUpdateProtectionPolicyRequestsObjects request.
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsResponder ¶
func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsResponder(resp *http.Response) (result DppBaseResourceList, err error)
GetUpdateProtectionPolicyRequestsObjectsResponder handles the response to the GetUpdateProtectionPolicyRequestsObjects request. The method always closes the http.Response Body.
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsSender ¶
func (client ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsSender(req *http.Request) (*http.Response, error)
GetUpdateProtectionPolicyRequestsObjectsSender sends the GetUpdateProtectionPolicyRequestsObjects request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) Patch ¶
func (client ResourceGuardsClient) Patch(ctx context.Context, resourceGroupName string, resourceGuardsName string, parameters PatchResourceRequestInput) (result ResourceGuardResource, err error)
Patch sends the patch request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. resourceGuardsName - the name of ResourceGuard parameters - request body for operation
func (ResourceGuardsClient) PatchPreparer ¶
func (client ResourceGuardsClient) PatchPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, parameters PatchResourceRequestInput) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (ResourceGuardsClient) PatchResponder ¶
func (client ResourceGuardsClient) PatchResponder(resp *http.Response) (result ResourceGuardResource, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (ResourceGuardsClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (ResourceGuardsClient) Put ¶
func (client ResourceGuardsClient) Put(ctx context.Context, resourceGroupName string, resourceGuardsName string, parameters ResourceGuardResource) (result ResourceGuardResource, err error)
Put sends the put request. Parameters: resourceGroupName - the name of the resource group where the backup vault is present. resourceGuardsName - the name of ResourceGuard parameters - request body for operation
func (ResourceGuardsClient) PutPreparer ¶
func (client ResourceGuardsClient) PutPreparer(ctx context.Context, resourceGroupName string, resourceGuardsName string, parameters ResourceGuardResource) (*http.Request, error)
PutPreparer prepares the Put request.
func (ResourceGuardsClient) PutResponder ¶
func (client ResourceGuardsClient) PutResponder(resp *http.Response) (result ResourceGuardResource, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type ResourceMoveDetails ¶
type ResourceMoveDetails struct { // OperationID - CorrelationId of latest ResourceMove operation attempted OperationID *string `json:"operationId,omitempty"` // StartTimeUtc - Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. StartTimeUtc *string `json:"startTimeUtc,omitempty"` // CompletionTimeUtc - Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. CompletionTimeUtc *string `json:"completionTimeUtc,omitempty"` // SourceResourcePath - ARM resource path of source resource SourceResourcePath *string `json:"sourceResourcePath,omitempty"` // TargetResourcePath - ARM resource path of target resource used in latest ResourceMove operation TargetResourcePath *string `json:"targetResourcePath,omitempty"` }
ResourceMoveDetails resourceMoveDetails will be returned in response to GetResource call from ARM
type ResourceMoveState ¶
type ResourceMoveState string
ResourceMoveState enumerates the values for resource move state.
const ( // ResourceMoveStateCommitFailed ... ResourceMoveStateCommitFailed ResourceMoveState = "CommitFailed" // ResourceMoveStateCommitTimedout ... ResourceMoveStateCommitTimedout ResourceMoveState = "CommitTimedout" // ResourceMoveStateCriticalFailure ... ResourceMoveStateCriticalFailure ResourceMoveState = "CriticalFailure" // ResourceMoveStateFailed ... ResourceMoveStateFailed ResourceMoveState = "Failed" // ResourceMoveStateInProgress ... ResourceMoveStateInProgress ResourceMoveState = "InProgress" // ResourceMoveStateMoveSucceeded ... ResourceMoveStateMoveSucceeded ResourceMoveState = "MoveSucceeded" // ResourceMoveStatePartialSuccess ... ResourceMoveStatePartialSuccess ResourceMoveState = "PartialSuccess" // ResourceMoveStatePrepareFailed ... ResourceMoveStatePrepareFailed ResourceMoveState = "PrepareFailed" // ResourceMoveStatePrepareTimedout ... ResourceMoveStatePrepareTimedout ResourceMoveState = "PrepareTimedout" // ResourceMoveStateUnknown ... ResourceMoveStateUnknown ResourceMoveState = "Unknown" )
func PossibleResourceMoveStateValues ¶
func PossibleResourceMoveStateValues() []ResourceMoveState
PossibleResourceMoveStateValues returns an array of possible values for the ResourceMoveState 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 RestorableTimeRangesClient ¶
type RestorableTimeRangesClient struct {
BaseClient
}
RestorableTimeRangesClient is the open API 2.0 Specs for Azure Data Protection service
func NewRestorableTimeRangesClient ¶
func NewRestorableTimeRangesClient(subscriptionID string) RestorableTimeRangesClient
NewRestorableTimeRangesClient creates an instance of the RestorableTimeRangesClient client.
func NewRestorableTimeRangesClientWithBaseURI ¶
func NewRestorableTimeRangesClientWithBaseURI(baseURI string, subscriptionID string) RestorableTimeRangesClient
NewRestorableTimeRangesClientWithBaseURI creates an instance of the RestorableTimeRangesClient 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 (RestorableTimeRangesClient) Find ¶
func (client RestorableTimeRangesClient) Find(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters AzureBackupFindRestorableTimeRangesRequest) (result AzureBackupFindRestorableTimeRangesResponseResource, err error)
Find sends the find request. 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 (RestorableTimeRangesClient) FindPreparer ¶
func (client RestorableTimeRangesClient) FindPreparer(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters AzureBackupFindRestorableTimeRangesRequest) (*http.Request, error)
FindPreparer prepares the Find request.
func (RestorableTimeRangesClient) FindResponder ¶
func (client RestorableTimeRangesClient) FindResponder(resp *http.Response) (result AzureBackupFindRestorableTimeRangesResponseResource, err error)
FindResponder handles the response to the Find request. The method always closes the http.Response Body.
func (RestorableTimeRangesClient) FindSender ¶
FindSender sends the Find request. The method will close the http.Response Body if it receives an error.
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: 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo' 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"` // DatasourceAuthCredentials - Credentials to use to authenticate with data source provider. DatasourceAuthCredentials BasicAuthCredentials `json:"datasourceAuthCredentials,omitempty"` // RecoveryOption - Recovery Option RecoveryOption *string `json:"recoveryOption,omitempty"` // RestoreLocation - Target Restore region RestoreLocation *string `json:"restoreLocation,omitempty"` // ObjectType - Possible values include: 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo' 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.
func (*RestoreTargetInfo) UnmarshalJSON ¶
func (rti *RestoreTargetInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestoreTargetInfo struct.
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: 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo', 'ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo' 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: 'ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria', 'ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria' 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: 'ObjectTypeBasicTriggerContextObjectTypeTriggerContext', 'ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext', 'ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext' 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 SecretStoreBasedAuthCredentials ¶
type SecretStoreBasedAuthCredentials struct { // SecretStoreResource - Secret store resource SecretStoreResource *SecretStoreResource `json:"secretStoreResource,omitempty"` // ObjectType - Possible values include: 'ObjectTypeAuthCredentials', 'ObjectTypeSecretStoreBasedAuthCredentials' ObjectType ObjectType `json:"objectType,omitempty"` }
SecretStoreBasedAuthCredentials secret store based authentication credentials.
func (SecretStoreBasedAuthCredentials) AsAuthCredentials ¶
func (ssbac SecretStoreBasedAuthCredentials) AsAuthCredentials() (*AuthCredentials, bool)
AsAuthCredentials is the BasicAuthCredentials implementation for SecretStoreBasedAuthCredentials.
func (SecretStoreBasedAuthCredentials) AsBasicAuthCredentials ¶
func (ssbac SecretStoreBasedAuthCredentials) AsBasicAuthCredentials() (BasicAuthCredentials, bool)
AsBasicAuthCredentials is the BasicAuthCredentials implementation for SecretStoreBasedAuthCredentials.
func (SecretStoreBasedAuthCredentials) AsSecretStoreBasedAuthCredentials ¶
func (ssbac SecretStoreBasedAuthCredentials) AsSecretStoreBasedAuthCredentials() (*SecretStoreBasedAuthCredentials, bool)
AsSecretStoreBasedAuthCredentials is the BasicAuthCredentials implementation for SecretStoreBasedAuthCredentials.
func (SecretStoreBasedAuthCredentials) MarshalJSON ¶
func (ssbac SecretStoreBasedAuthCredentials) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecretStoreBasedAuthCredentials.
type SecretStoreResource ¶
type SecretStoreResource struct { // URI - Uri to get to the resource URI *string `json:"uri,omitempty"` // SecretStoreType - Gets or sets the type of secret store. Possible values include: 'SecretStoreTypeInvalid', 'SecretStoreTypeAzureKeyVault' SecretStoreType SecretStoreType `json:"secretStoreType,omitempty"` }
SecretStoreResource class representing a secret store resource.
type SecretStoreType ¶
type SecretStoreType string
SecretStoreType enumerates the values for secret store type.
const ( // SecretStoreTypeAzureKeyVault ... SecretStoreTypeAzureKeyVault SecretStoreType = "AzureKeyVault" // SecretStoreTypeInvalid ... SecretStoreTypeInvalid SecretStoreType = "Invalid" )
func PossibleSecretStoreTypeValues ¶
func PossibleSecretStoreTypeValues() []SecretStoreType
PossibleSecretStoreTypeValues returns an array of possible values for the SecretStoreType const type.
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: 'StorageSettingTypesGeoRedundant', 'StorageSettingTypesLocallyRedundant' 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 ( // StorageSettingTypesGeoRedundant ... StorageSettingTypesGeoRedundant StorageSettingTypes = "GeoRedundant" // StorageSettingTypesLocallyRedundant ... StorageSettingTypesLocallyRedundant 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: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' 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: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' 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: 'ObjectTypeBasicTriggerContextObjectTypeTriggerContext', 'ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext', 'ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext' 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 ( // WeekNumberFirst ... WeekNumberFirst WeekNumber = "First" // WeekNumberFourth ... WeekNumberFourth WeekNumber = "Fourth" // WeekNumberLast ... WeekNumberLast WeekNumber = "Last" // WeekNumberSecond ... WeekNumberSecond WeekNumber = "Second" // WeekNumberThird ... WeekNumberThird WeekNumber = "Third" )
func PossibleWeekNumberValues ¶
func PossibleWeekNumberValues() []WeekNumber
PossibleWeekNumberValues returns an array of possible values for the WeekNumber const type.
Source Files ¶
- backupinstances.go
- backuppolicies.go
- backupvaultoperationresults.go
- backupvaults.go
- client.go
- dataprotection.go
- enums.go
- exportjobs.go
- exportjobsoperationresult.go
- jobs.go
- models.go
- operationresult.go
- operations.go
- operationstatus.go
- recoverypoints.go
- resourceguards.go
- restorabletimeranges.go
- version.go