AzureSiteRecoveryManagementServiceAPI class

Extends

Constructors

AzureSiteRecoveryManagementServiceAPI(TokenCredential, string, AzureSiteRecoveryManagementServiceAPIOptionalParams)

Initializes a new instance of the AzureSiteRecoveryManagementServiceAPI class.

Properties

$host
apiVersion
dra
draOperationStatus
emailConfiguration
event
fabric
fabricOperationsStatus
operations
policy
policyOperationStatus
protectedItem
protectedItemOperationStatus
recoveryPoints
replicationExtension
replicationExtensionOperationStatus
subscriptionId
vault
vaultOperationStatus
workflow
workflowOperationStatus

Inherited Properties

pipeline

The pipeline used by this client to make requests

Methods

checkNameAvailability(string, CheckNameAvailabilityOptionalParams)

Checks the resource name availability.

deploymentPreflight(string, string, DeploymentPreflightOptionalParams)

Performs resource deployment validation.

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

AzureSiteRecoveryManagementServiceAPI(TokenCredential, string, AzureSiteRecoveryManagementServiceAPIOptionalParams)

Initializes a new instance of the AzureSiteRecoveryManagementServiceAPI class.

new AzureSiteRecoveryManagementServiceAPI(credentials: TokenCredential, subscriptionId: string, options?: AzureSiteRecoveryManagementServiceAPIOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

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

Property Details

$host

$host: string

Property Value

string

apiVersion

apiVersion: string

Property Value

string

dra

dra: Dra

Property Value

Dra

draOperationStatus

draOperationStatus: DraOperationStatus

Property Value

emailConfiguration

emailConfiguration: EmailConfiguration

Property Value

event

event: Event_2

Property Value

fabric

fabric: Fabric

Property Value

fabricOperationsStatus

fabricOperationsStatus: FabricOperationsStatus

Property Value

operations

operations: Operations

Property Value

policy

policy: Policy

Property Value

policyOperationStatus

policyOperationStatus: PolicyOperationStatus

Property Value

protectedItem

protectedItem: ProtectedItem

Property Value

protectedItemOperationStatus

protectedItemOperationStatus: ProtectedItemOperationStatus

Property Value

recoveryPoints

recoveryPoints: RecoveryPoints

Property Value

replicationExtension

replicationExtension: ReplicationExtension

Property Value

replicationExtensionOperationStatus

replicationExtensionOperationStatus: ReplicationExtensionOperationStatus

Property Value

subscriptionId

subscriptionId: string

Property Value

string

vault

vault: Vault

Property Value

vaultOperationStatus

vaultOperationStatus: VaultOperationStatus

Property Value

workflow

workflow: Workflow

Property Value

workflowOperationStatus

workflowOperationStatus: WorkflowOperationStatus

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

checkNameAvailability(string, CheckNameAvailabilityOptionalParams)

Checks the resource name availability.

function checkNameAvailability(location: string, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponseModel>

Parameters

location

string

The name of the Azure region.

options
CheckNameAvailabilityOptionalParams

The options parameters.

Returns

deploymentPreflight(string, string, DeploymentPreflightOptionalParams)

Performs resource deployment validation.

function deploymentPreflight(resourceGroupName: string, deploymentId: string, options?: DeploymentPreflightOptionalParams): Promise<DeploymentPreflightModel>

Parameters

resourceGroupName

string

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

deploymentId

string

Deployment Id.

options
DeploymentPreflightOptionalParams

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