共用方式為


MockableNetworkResourceGroupResource.CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkServiceAsync Method

Definition

Checks whether the subscription is visible to private link service in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility
  • Operation Id: PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup
  • Default Api Version: 2024-03-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PrivateLinkServiceVisibility>> CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkServiceAsync (Azure.WaitUntil waitUntil, Azure.Core.AzureLocation location, Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest checkPrivateLinkServiceVisibilityRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkServiceAsync : Azure.WaitUntil * Azure.Core.AzureLocation * Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PrivateLinkServiceVisibility>>
override this.CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkServiceAsync : Azure.WaitUntil * Azure.Core.AzureLocation * Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PrivateLinkServiceVisibility>>
Public Overridable Function CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkServiceAsync (waitUntil As WaitUntil, location As AzureLocation, checkPrivateLinkServiceVisibilityRequest As CheckPrivateLinkServiceVisibilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of PrivateLinkServiceVisibility))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

location
AzureLocation

The location of the domain name.

checkPrivateLinkServiceVisibilityRequest
CheckPrivateLinkServiceVisibilityRequest

The request body of CheckPrivateLinkService API call.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

checkPrivateLinkServiceVisibilityRequest is null.

Applies to