Freigeben über


ReplicationJobs interface

Interface representing a ReplicationJobs.

Methods

beginCancel(string, string, string, ReplicationJobsCancelOptionalParams)

The operation to cancel an Azure Site Recovery job.

beginCancelAndWait(string, string, string, ReplicationJobsCancelOptionalParams)

The operation to cancel an Azure Site Recovery job.

beginExport(string, string, JobQueryParameter, ReplicationJobsExportOptionalParams)

The operation to export the details of the Azure Site Recovery jobs of the vault.

beginExportAndWait(string, string, JobQueryParameter, ReplicationJobsExportOptionalParams)

The operation to export the details of the Azure Site Recovery jobs of the vault.

beginRestart(string, string, string, ReplicationJobsRestartOptionalParams)

The operation to restart an Azure Site Recovery job.

beginRestartAndWait(string, string, string, ReplicationJobsRestartOptionalParams)

The operation to restart an Azure Site Recovery job.

beginResume(string, string, string, ResumeJobParams, ReplicationJobsResumeOptionalParams)

The operation to resume an Azure Site Recovery job.

beginResumeAndWait(string, string, string, ResumeJobParams, ReplicationJobsResumeOptionalParams)

The operation to resume an Azure Site Recovery job.

get(string, string, string, ReplicationJobsGetOptionalParams)

Get the details of an Azure Site Recovery job.

list(string, string, ReplicationJobsListOptionalParams)

Gets the list of Azure Site Recovery Jobs for the vault.

Method Details

beginCancel(string, string, string, ReplicationJobsCancelOptionalParams)

The operation to cancel an Azure Site Recovery job.

function beginCancel(resourceName: string, resourceGroupName: string, jobName: string, options?: ReplicationJobsCancelOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

options
ReplicationJobsCancelOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Job>, Job>>

beginCancelAndWait(string, string, string, ReplicationJobsCancelOptionalParams)

The operation to cancel an Azure Site Recovery job.

function beginCancelAndWait(resourceName: string, resourceGroupName: string, jobName: string, options?: ReplicationJobsCancelOptionalParams): Promise<Job>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

options
ReplicationJobsCancelOptionalParams

The options parameters.

Returns

Promise<Job>

beginExport(string, string, JobQueryParameter, ReplicationJobsExportOptionalParams)

The operation to export the details of the Azure Site Recovery jobs of the vault.

function beginExport(resourceName: string, resourceGroupName: string, jobQueryParameter: JobQueryParameter, options?: ReplicationJobsExportOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobQueryParameter
JobQueryParameter

job query filter.

options
ReplicationJobsExportOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Job>, Job>>

beginExportAndWait(string, string, JobQueryParameter, ReplicationJobsExportOptionalParams)

The operation to export the details of the Azure Site Recovery jobs of the vault.

function beginExportAndWait(resourceName: string, resourceGroupName: string, jobQueryParameter: JobQueryParameter, options?: ReplicationJobsExportOptionalParams): Promise<Job>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobQueryParameter
JobQueryParameter

job query filter.

options
ReplicationJobsExportOptionalParams

The options parameters.

Returns

Promise<Job>

beginRestart(string, string, string, ReplicationJobsRestartOptionalParams)

The operation to restart an Azure Site Recovery job.

function beginRestart(resourceName: string, resourceGroupName: string, jobName: string, options?: ReplicationJobsRestartOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

options
ReplicationJobsRestartOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Job>, Job>>

beginRestartAndWait(string, string, string, ReplicationJobsRestartOptionalParams)

The operation to restart an Azure Site Recovery job.

function beginRestartAndWait(resourceName: string, resourceGroupName: string, jobName: string, options?: ReplicationJobsRestartOptionalParams): Promise<Job>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

options
ReplicationJobsRestartOptionalParams

The options parameters.

Returns

Promise<Job>

beginResume(string, string, string, ResumeJobParams, ReplicationJobsResumeOptionalParams)

The operation to resume an Azure Site Recovery job.

function beginResume(resourceName: string, resourceGroupName: string, jobName: string, resumeJobParams: ResumeJobParams, options?: ReplicationJobsResumeOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

resumeJobParams
ResumeJobParams

Resume rob comments.

options
ReplicationJobsResumeOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Job>, Job>>

beginResumeAndWait(string, string, string, ResumeJobParams, ReplicationJobsResumeOptionalParams)

The operation to resume an Azure Site Recovery job.

function beginResumeAndWait(resourceName: string, resourceGroupName: string, jobName: string, resumeJobParams: ResumeJobParams, options?: ReplicationJobsResumeOptionalParams): Promise<Job>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

resumeJobParams
ResumeJobParams

Resume rob comments.

options
ReplicationJobsResumeOptionalParams

The options parameters.

Returns

Promise<Job>

get(string, string, string, ReplicationJobsGetOptionalParams)

Get the details of an Azure Site Recovery job.

function get(resourceName: string, resourceGroupName: string, jobName: string, options?: ReplicationJobsGetOptionalParams): Promise<Job>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

jobName

string

Job identifier.

options
ReplicationJobsGetOptionalParams

The options parameters.

Returns

Promise<Job>

list(string, string, ReplicationJobsListOptionalParams)

Gets the list of Azure Site Recovery Jobs for the vault.

function list(resourceName: string, resourceGroupName: string, options?: ReplicationJobsListOptionalParams): PagedAsyncIterableIterator<Job, Job[], PageSettings>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

options
ReplicationJobsListOptionalParams

The options parameters.

Returns