Compartir a través de


FlexibleServersExtensions.ExecuteVirtualNetworkSubnetUsageAsync Método

Definición

Obtiene el uso de subred de red virtual para un identificador de recurso de red virtual determinado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • IdVirtualNetworkSubnetUsage_Execute de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVirtualNetworkSubnetUsageResult>> ExecuteVirtualNetworkSubnetUsageAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter postgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter, System.Threading.CancellationToken cancellationToken = default);
static member ExecuteVirtualNetworkSubnetUsageAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVirtualNetworkSubnetUsageResult>>
<Extension()>
Public Function ExecuteVirtualNetworkSubnetUsageAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, postgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter As PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlFlexibleServerVirtualNetworkSubnetUsageResult))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

locationName
AzureLocation

Nombre de la ubicación.

postgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter
PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter

Los parámetros necesarios para crear o actualizar un servidor.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

postgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter es null.

Se aplica a