NetworkExtensions.CheckPrivateLinkServiceVisibilityAsync 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.
Checks whether the subscription is visible to private link service. <item> Mocking. To mock this method, please mock CheckPrivateLinkServiceVisibilityAsync(WaitUntil, AzureLocation, CheckPrivateLinkServiceVisibilityRequest, CancellationToken) instead. </item>
public static System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.PrivateLinkServiceVisibility>> CheckPrivateLinkServiceVisibilityAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.WaitUntil waitUntil, Azure.Core.AzureLocation location, Azure.ResourceManager.Network.Models.CheckPrivateLinkServiceVisibilityRequest content, System.Threading.CancellationToken cancellationToken = default);
static member CheckPrivateLinkServiceVisibilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * 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>>
<Extension()>
Public Function CheckPrivateLinkServiceVisibilityAsync (subscriptionResource As SubscriptionResource, waitUntil As WaitUntil, location As AzureLocation, content As CheckPrivateLinkServiceVisibilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of PrivateLinkServiceVisibility))
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- 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 name.
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource is null.