ApiManagementServiceResource.GetNetworkStatusByLocationAsync 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.
Gets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/locations/{locationName}/networkstatus
- Operation Id: NetworkStatus_ListByLocation
- Default Api Version: 2021-08-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>> GetNetworkStatusByLocationAsync (Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkStatusByLocationAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>>
override this.GetNetworkStatusByLocationAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>>
Public Overridable Function GetNetworkStatusByLocationAsync (locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkStatusContract))
Parameters
- locationName
- AzureLocation
Location in which the API Management service is deployed. This is one of the Azure Regions like West US, East US, South Central US.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for