ReplicationEligibilityResultCollection Class

Definition

A class representing a collection of ReplicationEligibilityResultResource and their operations. Each ReplicationEligibilityResultResource in the collection will belong to the same instance of ResourceGroupResource. To get a ReplicationEligibilityResultCollection instance call the GetReplicationEligibilityResults method from an instance of ResourceGroupResource.

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

Constructors

ReplicationEligibilityResultCollection()

Initializes a new instance of the ReplicationEligibilityResultCollection 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(CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
ExistsAsync(CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
Get(CancellationToken)

Validates whether a given VM can be protected or not in which case returns list of errors.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
GetAll(CancellationToken)

Validates whether a given VM can be protected or not in which case returns list of errors.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults
  • Operation Id: ReplicationEligibilityResults_List
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
GetAllAsync(CancellationToken)

Validates whether a given VM can be protected or not in which case returns list of errors.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults
  • Operation Id: ReplicationEligibilityResults_List
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
GetAsync(CancellationToken)

Validates whether a given VM can be protected or not in which case returns list of errors.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
GetIfExists(CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
GetIfExistsAsync(CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
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<ReplicationEligibilityResultResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ReplicationEligibilityResultResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to