Partager via


SecurityCenterExtensions.GetAdaptiveNetworkHardeningAsync Méthode

Définition

Obtient une seule ressource de renforcement du réseau adaptatif

  • Chemin d’accès de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceName}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}
  • IdAdaptiveNetworkHardenings_Get d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>> GetAdaptiveNetworkHardeningAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceNamespace, string resourceType, string resourceName, string adaptiveNetworkHardeningResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAdaptiveNetworkHardeningAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningResource>>
<Extension()>
Public Function GetAdaptiveNetworkHardeningAsync (resourceGroupResource As ResourceGroupResource, resourceNamespace As String, resourceType As String, resourceName As String, adaptiveNetworkHardeningResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AdaptiveNetworkHardeningResource))

Paramètres

resourceGroupResource
ResourceGroupResource

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

resourceNamespace
String

Espace de noms de la ressource.

resourceType
String

Type de la ressource.

resourceName
String

Nom de la ressource.

adaptiveNetworkHardeningResourceName
String

Nom de la ressource de renforcement du réseau adaptatif.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

resourceNamespace, resourceTyperesourceName ou adaptiveNetworkHardeningResourceName est une chaîne vide, et était censé être non vide.

resourceNamespace, resourceType, resourceName ou adaptiveNetworkHardeningResourceName a la valeur Null.

S’applique à