Partager via


NginxExtensions.GetNginxDeploymentAsync Méthode

Définition

Obtenir le déploiement Nginx

  • Chemin de requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • IdDeployments_Get d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Nginx.NginxDeploymentResource>> GetNginxDeploymentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetNginxDeploymentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Nginx.NginxDeploymentResource>>
<Extension()>
Public Function GetNginxDeploymentAsync (resourceGroupResource As ResourceGroupResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NginxDeploymentResource))

Paramètres

resourceGroupResource
ResourceGroupResource

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

deploymentName
String

Nom du déploiement Nginx ciblé.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

deploymentName est une chaîne vide et devait être non vide.

deploymentName a la valeur null.

S’applique à