共用方式為


DataProtectionBackupJobCollection Class

Definition

A class representing a collection of DataProtectionBackupJobResource and their operations. Each DataProtectionBackupJobResource in the collection will belong to the same instance of DataProtectionBackupVaultResource. To get a DataProtectionBackupJobCollection instance call the GetDataProtectionBackupJobs method from an instance of DataProtectionBackupVaultResource.

public class DataProtectionBackupJobCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>
type DataProtectionBackupJobCollection = class
    inherit ArmCollection
    interface seq<DataProtectionBackupJobResource>
    interface IEnumerable
    interface IAsyncEnumerable<DataProtectionBackupJobResource>
Public Class DataProtectionBackupJobCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DataProtectionBackupJobResource), IEnumerable(Of DataProtectionBackupJobResource)
Inheritance
DataProtectionBackupJobCollection
Implements

Constructors

DataProtectionBackupJobCollection()

Initializes a new instance of the DataProtectionBackupJobCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
Get(String, CancellationToken)

Gets a job with id in a backup vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
GetAll(CancellationToken)

Returns list of jobs belonging to a backup vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs
  • Operation Id: Jobs_List
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
GetAllAsync(CancellationToken)

Returns list of jobs belonging to a backup vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs
  • Operation Id: Jobs_List
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
GetAsync(String, CancellationToken)

Gets a job with id in a backup vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}
  • Operation Id: Jobs_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupJobResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DataProtectionBackupJobResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataProtectionBackupJobResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to