MockableHybridComputeSubscriptionResource.GetValidationDetailsPrivateLinkScopeAsync 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.
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
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>> GetValidationDetailsPrivateLinkScopeAsync (Azure.Core.AzureLocation location, string privateLinkScopeId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetValidationDetailsPrivateLinkScopeAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>>
override this.GetValidationDetailsPrivateLinkScopeAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.Models.PrivateLinkScopeValidationDetails>>
Public Overridable Function GetValidationDetailsPrivateLinkScopeAsync (location As AzureLocation, privateLinkScopeId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateLinkScopeValidationDetails))
Parameters
- 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.
privateLinkScopeId
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET