Partager via


FlexibleServersExtensions.ExecuteCheckVirtualNetworkSubnetUsageAsync Méthode

Définition

Obtenir l’utilisation du sous-réseau de réseau virtuel pour un ID de ressource de réseau virtuel donné.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • IdCheckVirtualNetworkSubnetUsage_Execute d’opération
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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

locationName
AzureLocation

Nom de l’emplacement.

mySqlFlexibleServerVirtualNetworkSubnetUsageParameter
MySqlFlexibleServerVirtualNetworkSubnetUsageParameter

Paramètres requis pour la création ou la mise à jour d’un serveur.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

mySqlFlexibleServerVirtualNetworkSubnetUsageParameter a la valeur null.

S’applique à