Udostępnij za pośrednictwem


NetworkWatcherResource.GetAvailableProvidersAsync Method

Definition

NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList
  • Operation Id: NetworkWatchers_ListAvailableProviders
  • Default Api Version: 2024-03-01
  • Resource: NetworkWatcherResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.AvailableProvidersList>> GetAvailableProvidersAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.AvailableProvidersListContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableProvidersAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.AvailableProvidersListContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.AvailableProvidersList>>
override this.GetAvailableProvidersAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.AvailableProvidersListContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.AvailableProvidersList>>
Public Overridable Function GetAvailableProvidersAsync (waitUntil As WaitUntil, content As AvailableProvidersListContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AvailableProvidersList))

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.

content
AvailableProvidersListContent

Parameters that scope the list of available providers.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to