Dela via


NginxExtensions.GetNginxDeploymentsAsync Method

Definition

List the NGINX deployments resources

  • Request Path: /subscriptions/{subscriptionId}/providers/Nginx.NginxPlus/nginxDeployments
  • Operation Id: Deployments_List
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
public static Azure.AsyncPageable<Azure.ResourceManager.Nginx.NginxDeploymentResource> GetNginxDeploymentsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNginxDeploymentsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Nginx.NginxDeploymentResource>
<Extension()>
Public Function GetNginxDeploymentsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NginxDeploymentResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NginxDeploymentResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to