Partager via


FlexibleServersExtensions.ExecuteCheckVirtualNetworkSubnetUsage Méthode

Définition

Obtenez 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 Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageResult> ExecuteCheckVirtualNetworkSubnetUsage (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageParameter mySqlFlexibleServerVirtualNetworkSubnetUsageParameter, System.Threading.CancellationToken cancellationToken = default);
static member ExecuteCheckVirtualNetworkSubnetUsage : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageParameter * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerVirtualNetworkSubnetUsageResult>
<Extension()>
Public Function ExecuteCheckVirtualNetworkSubnetUsage (subscriptionResource As SubscriptionResource, locationName As AzureLocation, mySqlFlexibleServerVirtualNetworkSubnetUsageParameter As MySqlFlexibleServerVirtualNetworkSubnetUsageParameter, Optional cancellationToken As CancellationToken = Nothing) As 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 à