MigrationAssessmentProjectResource.GetMigrationAssessmentPrivateLinkResource 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 PrivateLinkResource
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/privateLinkResources/{privateLinkResourceName}
- Operation Id: PrivateLinkResourceOperations_Get
- Default Api Version: 2023-03-15
- Resource: MigrationAssessmentPrivateLinkResource
public virtual Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentPrivateLinkResource> GetMigrationAssessmentPrivateLinkResource(string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMigrationAssessmentPrivateLinkResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentPrivateLinkResource>
override this.GetMigrationAssessmentPrivateLinkResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Migration.Assessment.MigrationAssessmentPrivateLinkResource>
Public Overridable Function GetMigrationAssessmentPrivateLinkResource (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MigrationAssessmentPrivateLinkResource)
Parameters
- privateLinkResourceName
- String
Private link resource ARM name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
privateLinkResourceName
is null.
privateLinkResourceName
is an empty string, and was expected to be non-empty.