Share via


MigrationAssessmentHyperVCollectorCollection Class

Definition

A class representing a collection of MigrationAssessmentHyperVCollectorResource and their operations. Each MigrationAssessmentHyperVCollectorResource in the collection will belong to the same instance of MigrationAssessmentProjectResource. To get a MigrationAssessmentHyperVCollectorCollection instance call the GetMigrationAssessmentHyperVCollectors method from an instance of MigrationAssessmentProjectResource.

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

Constructors

MigrationAssessmentHyperVCollectorCollection()

Initializes a new instance of the MigrationAssessmentHyperVCollectorCollection 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

CreateOrUpdate(WaitUntil, String, MigrationAssessmentHyperVCollectorData, CancellationToken)

Create a HypervCollector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Create
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
CreateOrUpdateAsync(WaitUntil, String, MigrationAssessmentHyperVCollectorData, CancellationToken)

Create a HypervCollector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Create
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
Get(String, CancellationToken)

Get a HypervCollector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
GetAll(CancellationToken)

List HypervCollector resources by AssessmentProject

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors
  • Operation Id: HypervCollectorsOperations_ListByAssessmentProject
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
GetAllAsync(CancellationToken)

List HypervCollector resources by AssessmentProject

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors
  • Operation Id: HypervCollectorsOperations_ListByAssessmentProject
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
GetAsync(String, CancellationToken)

Get a HypervCollector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hypervCollectorName}
  • Operation Id: HypervCollectorsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentHyperVCollectorResource
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<MigrationAssessmentHyperVCollectorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MigrationAssessmentHyperVCollectorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to