RecoveryServicesClient class

Extends

Constructors

RecoveryServicesClient(TokenCredential, string, RecoveryServicesClientOptionalParams)

Initializes a new instance of the RecoveryServicesClient class.

Properties

$host
apiVersion
operations
privateLinkResourcesOperations
recoveryServices
registeredIdentities
replicationUsages
subscriptionId
usages
vaultCertificates
vaultExtendedInfo
vaults

Inherited Properties

pipeline

The pipeline used by this client to make requests

Methods

getOperationResult(string, string, string, GetOperationResultOptionalParams)

Gets the operation result for a resource.

getOperationStatus(string, string, string, GetOperationStatusOptionalParams)

Gets the operation status for a resource.

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

RecoveryServicesClient(TokenCredential, string, RecoveryServicesClientOptionalParams)

Initializes a new instance of the RecoveryServicesClient class.

new RecoveryServicesClient(credentials: TokenCredential, subscriptionId: string, options?: RecoveryServicesClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

The ID of the target subscription.

options
RecoveryServicesClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

apiVersion

apiVersion: string

Property Value

string

operations

operations: Operations

Property Value

privateLinkResourcesOperations

privateLinkResourcesOperations: PrivateLinkResourcesOperations

Property Value

recoveryServices

recoveryServices: RecoveryServices

Property Value

registeredIdentities

registeredIdentities: RegisteredIdentities

Property Value

replicationUsages

replicationUsages: ReplicationUsages

Property Value

subscriptionId

subscriptionId: string

Property Value

string

usages

usages: Usages

Property Value

vaultCertificates

vaultCertificates: VaultCertificates

Property Value

vaultExtendedInfo

vaultExtendedInfo: VaultExtendedInfo

Property Value

vaults

vaults: Vaults

Property Value

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Method Details

getOperationResult(string, string, string, GetOperationResultOptionalParams)

Gets the operation result for a resource.

function getOperationResult(resourceGroupName: string, vaultName: string, operationId: string, options?: GetOperationResultOptionalParams): Promise<Vault>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vaultName

string

The name of the recovery services vault.

operationId

string

options
GetOperationResultOptionalParams

The options parameters.

Returns

Promise<Vault>

getOperationStatus(string, string, string, GetOperationStatusOptionalParams)

Gets the operation status for a resource.

function getOperationStatus(resourceGroupName: string, vaultName: string, operationId: string, options?: GetOperationStatusOptionalParams): Promise<OperationResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

vaultName

string

The name of the recovery services vault.

operationId

string

options
GetOperationStatusOptionalParams

The options parameters.

Returns

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