Package version:

Interface representing a ReplicationJobs.

interface ReplicationJobs {
    beginCancel(resourceGroupName: string, resourceName: string, jobName: string, options?: ReplicationJobsCancelOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>;
    beginCancelAndWait(resourceGroupName: string, resourceName: string, jobName: string, options?: ReplicationJobsCancelOptionalParams): Promise<Job>;
    beginExport(resourceGroupName: string, resourceName: string, jobQueryParameter: JobQueryParameter, options?: ReplicationJobsExportOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>;
    beginExportAndWait(resourceGroupName: string, resourceName: string, jobQueryParameter: JobQueryParameter, options?: ReplicationJobsExportOptionalParams): Promise<Job>;
    beginRestart(resourceGroupName: string, resourceName: string, jobName: string, options?: ReplicationJobsRestartOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>;
    beginRestartAndWait(resourceGroupName: string, resourceName: string, jobName: string, options?: ReplicationJobsRestartOptionalParams): Promise<Job>;
    beginResume(resourceGroupName: string, resourceName: string, jobName: string, resumeJobParams: ResumeJobParams, options?: ReplicationJobsResumeOptionalParams): Promise<SimplePollerLike<OperationState<Job>, Job>>;
    beginResumeAndWait(resourceGroupName: string, resourceName: string, jobName: string, resumeJobParams: ResumeJobParams, options?: ReplicationJobsResumeOptionalParams): Promise<Job>;
    get(resourceGroupName: string, resourceName: string, jobName: string, options?: ReplicationJobsGetOptionalParams): Promise<Job>;
    list(resourceGroupName: string, resourceName: string, options?: ReplicationJobsListOptionalParams): PagedAsyncIterableIterator<Job>;
}

Methods

  • The operation to cancel an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • Optionaloptions: ReplicationJobsCancelOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<Job>, Job>>

  • The operation to cancel an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • Optionaloptions: ReplicationJobsCancelOptionalParams

      The options parameters.

    Returns Promise<Job>

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

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobQueryParameter: JobQueryParameter

      job query filter.

    • Optionaloptions: ReplicationJobsExportOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<Job>, Job>>

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

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobQueryParameter: JobQueryParameter

      job query filter.

    • Optionaloptions: ReplicationJobsExportOptionalParams

      The options parameters.

    Returns Promise<Job>

  • The operation to restart an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • Optionaloptions: ReplicationJobsRestartOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<Job>, Job>>

  • The operation to restart an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • Optionaloptions: ReplicationJobsRestartOptionalParams

      The options parameters.

    Returns Promise<Job>

  • The operation to resume an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • resumeJobParams: ResumeJobParams

      Resume rob comments.

    • Optionaloptions: ReplicationJobsResumeOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<Job>, Job>>

  • The operation to resume an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • resumeJobParams: ResumeJobParams

      Resume rob comments.

    • Optionaloptions: ReplicationJobsResumeOptionalParams

      The options parameters.

    Returns Promise<Job>

  • Get the details of an Azure Site Recovery job.

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • jobName: string

      Job identifier.

    • Optionaloptions: ReplicationJobsGetOptionalParams

      The options parameters.

    Returns Promise<Job>

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

    Parameters

    • resourceGroupName: string

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

    • resourceName: string

      The name of the recovery services vault.

    • Optionaloptions: ReplicationJobsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Job>