Share via


HybridComputeExtensions.GetValidationDetailsPrivateLinkScope Method

Definition

Returns a Azure Arc PrivateLinkScope's validation details.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{___location}/privateLinkScopes/{privateLinkScopeId}
  • Operation Id: PrivateLinkScopes_GetValidationDetails
  • Default Api Version: 2024-07-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
<item>MockingTo mock this method, please mock GetValidationDetailsPrivateLinkScope(AzureLocation, String, CancellationToken) instead.</item>
public static Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails> GetValidationDetailsPrivateLinkScope(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation ___location, string privateLinkScopeId, System.Threading.CancellationToken cancellationToken = default);
static member GetValidationDetailsPrivateLinkScope : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>
<Extension()>
Public Function GetValidationDetailsPrivateLinkScope (subscriptionResource As SubscriptionResource, ___location As AzureLocation, privateLinkScopeId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PrivateLinkScopeValidationDetails)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

___location
AzureLocation

The ___location of the target resource.

privateLinkScopeId
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

subscriptionResource or privateLinkScopeId is null.

Applies to