Поделиться через


NginxDeploymentWafPolicyCollection Class

Definition

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

public class NginxDeploymentWafPolicyCollection : Azure.ResourceManager.ArmCollection
type NginxDeploymentWafPolicyCollection = class
    inherit ArmCollection
Public Class NginxDeploymentWafPolicyCollection
Inherits ArmCollection
Inheritance
NginxDeploymentWafPolicyCollection

Constructors

Name Description
NginxDeploymentWafPolicyCollection()

Initializes a new instance of NginxDeploymentWafPolicyCollection for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, NginxDeploymentWafPolicyData, CancellationToken)

Create or update the Nginx Waf Policy for given Nginx deployment

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Create.
  • Default Api Version. : 2025-03-01-preview.
CreateOrUpdateAsync(WaitUntil, String, NginxDeploymentWafPolicyData, CancellationToken)

Create or update the Nginx Waf Policy for given Nginx deployment

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Create.
  • Default Api Version. : 2025-03-01-preview.
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Get.
  • Default Api Version. : 2025-03-01-preview.
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Get.
  • Default Api Version. : 2025-03-01-preview.
Get(String, CancellationToken)

Get the Nginx Waf Policy of given Nginx deployment

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Get.
  • Default Api Version. : 2025-03-01-preview.
GetAsync(String, CancellationToken)

Get the Nginx Waf Policy of given Nginx deployment

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Get.
  • Default Api Version. : 2025-03-01-preview.
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Get.
  • Default Api Version. : 2025-03-01-preview.
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}/wafPolicies/{wafPolicyName}.
  • Operation Id. : NginxDeploymentWafPolicies_Get.
  • Default Api Version. : 2025-03-01-preview.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to