DataProtectionClient class

Extends

Constructors

DataProtectionClient(TokenCredential, DataProtectionClientOptionalParams)
DataProtectionClient(TokenCredential, string, DataProtectionClientOptionalParams)

Initializes a new instance of the DataProtectionClient class.

Properties

$host
apiVersion
backupInstances
backupInstancesExtensionRouting
backupPolicies
backupVaultOperationResults
backupVaults
dataProtection
dataProtectionOperations
deletedBackupInstances
dppResourceGuardProxy
exportJobs
exportJobsOperationResult
fetchCrossRegionRestoreJob
fetchCrossRegionRestoreJobs
fetchSecondaryRecoveryPoints
jobs
operationResult
operationStatus
operationStatusBackupVaultContext
operationStatusResourceGroupContext
recoveryPoints
resourceGuards
restorableTimeRanges
subscriptionId

Inherited Properties

pipeline

The pipeline used by this client to make requests

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

DataProtectionClient(TokenCredential, DataProtectionClientOptionalParams)

new DataProtectionClient(credentials: TokenCredential, options?: DataProtectionClientOptionalParams)

Parameters

credentials
TokenCredential

DataProtectionClient(TokenCredential, string, DataProtectionClientOptionalParams)

Initializes a new instance of the DataProtectionClient class.

new DataProtectionClient(credentials: TokenCredential, subscriptionId: string, options?: DataProtectionClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

The ID of the target subscription. The value must be an UUID.

options
DataProtectionClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

apiVersion

apiVersion: string

Property Value

string

backupInstances

backupInstances: BackupInstances

Property Value

backupInstancesExtensionRouting

backupInstancesExtensionRouting: BackupInstancesExtensionRouting

Property Value

backupPolicies

backupPolicies: BackupPolicies

Property Value

backupVaultOperationResults

backupVaultOperationResults: BackupVaultOperationResults

Property Value

backupVaults

backupVaults: BackupVaults

Property Value

dataProtection

dataProtection: DataProtection

Property Value

dataProtectionOperations

dataProtectionOperations: DataProtectionOperations

Property Value

deletedBackupInstances

deletedBackupInstances: DeletedBackupInstances

Property Value

dppResourceGuardProxy

dppResourceGuardProxy: DppResourceGuardProxy

Property Value

exportJobs

exportJobs: ExportJobs

Property Value

exportJobsOperationResult

exportJobsOperationResult: ExportJobsOperationResult

Property Value

fetchCrossRegionRestoreJob

fetchCrossRegionRestoreJob: FetchCrossRegionRestoreJob

Property Value

fetchCrossRegionRestoreJobs

fetchCrossRegionRestoreJobs: FetchCrossRegionRestoreJobs

Property Value

fetchSecondaryRecoveryPoints

fetchSecondaryRecoveryPoints: FetchSecondaryRecoveryPoints

Property Value

jobs

jobs: Jobs

Property Value

operationResult

operationResult: OperationResult

Property Value

operationStatus

operationStatus: OperationStatus

Property Value

operationStatusBackupVaultContext

operationStatusBackupVaultContext: OperationStatusBackupVaultContext

Property Value

operationStatusResourceGroupContext

operationStatusResourceGroupContext: OperationStatusResourceGroupContext

Property Value

recoveryPoints

recoveryPoints: RecoveryPoints

Property Value

resourceGuards

resourceGuards: ResourceGuards

Property Value

restorableTimeRanges

restorableTimeRanges: RestorableTimeRanges

Property Value

subscriptionId

subscriptionId?: string

Property Value

string

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest