Partilhar via


FlexibleServersExtensions.ExecuteCheckVirtualNetworkSubnetUsageAsync 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.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • Operação IdCheckVirtualNetworkSubnetUsage_Execute
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageResult>> ExecuteCheckVirtualNetworkSubnetUsageAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageParameter mySqlFlexibleServerVirtualNetworkSubnetUsageParameter, System.Threading.CancellationToken cancellationToken = default);
static member ExecuteCheckVirtualNetworkSubnetUsageAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageResult>>
<Extension()>
Public Function ExecuteCheckVirtualNetworkSubnetUsageAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, mySqlFlexibleServerVirtualNetworkSubnetUsageParameter As MySqlFlexibleServerVirtualNetworkSubnetUsageParameter, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlFlexibleServerVirtualNetworkSubnetUsageResult))

Parâmetros

subscriptionResource
SubscriptionResource

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

locationName
AzureLocation

O nome do local.

mySqlFlexibleServerVirtualNetworkSubnetUsageParameter
MySqlFlexibleServerVirtualNetworkSubnetUsageParameter

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

mySqlFlexibleServerVirtualNetworkSubnetUsageParameter é nulo.

Aplica-se a