你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NginxDeploymentCollection Class

Definition

A class representing a collection of NginxDeploymentResource and their operations. Each NginxDeploymentResource in the collection will belong to the same instance of ResourceGroupResource. To get a NginxDeploymentCollection instance call the GetNginxDeployments method from an instance of ResourceGroupResource.

public class NginxDeploymentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Nginx.NginxDeploymentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Nginx.NginxDeploymentResource>
type NginxDeploymentCollection = class
    inherit ArmCollection
    interface seq<NginxDeploymentResource>
    interface IEnumerable
    interface IAsyncEnumerable<NginxDeploymentResource>
Public Class NginxDeploymentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of NginxDeploymentResource), IEnumerable(Of NginxDeploymentResource)
Inheritance
NginxDeploymentCollection
Implements

Constructors

NginxDeploymentCollection()

Initializes a new instance of the NginxDeploymentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, NginxDeploymentData, CancellationToken)

Create or update the NGINX deployment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
CreateOrUpdateAsync(WaitUntil, String, NginxDeploymentData, CancellationToken)

Create or update the NGINX deployment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
Get(String, CancellationToken)

Get the NGINX deployment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
GetAll(CancellationToken)

List all NGINX deployments under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments
  • Operation Id: Deployments_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
GetAllAsync(CancellationToken)

List all NGINX deployments under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments
  • Operation Id: Deployments_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
GetAsync(String, CancellationToken)

Get the NGINX deployment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<NginxDeploymentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NginxDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to