MigrationAssessmentProjectResource.GetMigrationAssessmentHyperVCollector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public virtual Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentHyperVCollectorResource> GetMigrationAssessmentHyperVCollector(string hyperVCollectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMigrationAssessmentHyperVCollector : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentHyperVCollectorResource>
override this.GetMigrationAssessmentHyperVCollector : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentHyperVCollectorResource>
Public Overridable Function GetMigrationAssessmentHyperVCollector (hyperVCollectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MigrationAssessmentHyperVCollectorResource)
Parameters
- hyperVCollectorName
- String
Hyper-V collector ARM name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
hyperVCollectorName
is null.
hyperVCollectorName
is an empty string, and was expected to be non-empty.