Partilhar via


FlexibleServersExtensions.ExecuteVirtualNetworkSubnetUsageAsync Método

Definição

Obtenha o uso de sub-rede de rede virtual para uma determinada ID de recurso de vNet.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • Operação IdVirtualNetworkSubnetUsage_Execute
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

A SubscriptionResource instância em que o método será executado.

locationName
AzureLocation

O nome do local.

postgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter
PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter

Os parâmetros necessários para criar ou atualizar um servidor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

postgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter é nulo.

Aplica-se a