Partager via


NginxExtensions.GetNginxDeployments Method

Definition

Overloads

GetNginxDeployments(ResourceGroupResource)

Gets a collection of NginxDeploymentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNginxDeployments() instead.

GetNginxDeployments(SubscriptionResource, CancellationToken)

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

GetNginxDeployments(ResourceGroupResource)

Source:
NginxExtensions.cs
Source:
NginxExtensions.cs

Gets a collection of NginxDeploymentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNginxDeployments() instead.

public static Azure.ResourceManager.Nginx.NginxDeploymentCollection GetNginxDeployments (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNginxDeployments : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Nginx.NginxDeploymentCollection
<Extension()>
Public Function GetNginxDeployments (resourceGroupResource As ResourceGroupResource) As NginxDeploymentCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NginxDeploymentResources and their operations over a NginxDeploymentResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNginxDeployments(SubscriptionResource, CancellationToken)

Source:
NginxExtensions.cs
Source:
NginxExtensions.cs

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.Pageable<Azure.ResourceManager.Nginx.NginxDeploymentResource> GetNginxDeployments (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNginxDeployments : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Nginx.NginxDeploymentResource>
<Extension()>
Public Function GetNginxDeployments (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NginxDeploymentResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to