Language

MockableHybridComputeSubscriptionResource.GetValidationDetailsAsync Method

Definition

Returns a Azure Arc PrivateLinkScope's validation details.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}.
  • Operation Id. : PrivateLinkScopesOperationGroup_GetValidationDetails.
  • Default Api Version. : 2026-07-15.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>> GetValidationDetailsAsync(Azure.Core.AzureLocation location, string privateLinkScopeId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetValidationDetailsAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>>
override this.GetValidationDetailsAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>>
Public Overridable Function GetValidationDetailsAsync (location As AzureLocation, privateLinkScopeId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateLinkScopeValidationDetails))

Parameters

location
AzureLocation

The name of the Azure region.

privateLinkScopeId
String

The id (Guid) of the Azure Arc PrivateLinkScope resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

privateLinkScopeId is null.

privateLinkScopeId is an empty string, and was expected to be non-empty.

Applies to