---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}"
tags: ["NginxDeployments"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}`

Update the NGINX deployment

## Path parameters

- `deploymentName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Request body

- NginxDeploymentUpdateParameters — Nginx Deployment Update Parameters
  - `identity` IdentityProperties — Identity Properties
    - `principalId` string
    - `tenantId` string
    - `type` 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None' — Identity Type
    - `userAssignedIdentities` object — Dictionary of <UserIdentityProperties>
  - `tags` object — Dictionary of <string>
  - `sku` ResourceSku — Resource Sku
    - `name` string, required — Name of the SKU.
  - `location` string — The geo-location where the resource lives
  - `properties` NginxDeploymentUpdateProperties — Nginx Deployment Update Properties
    - `enableDiagnosticsSupport` boolean
    - `logging` NginxLogging — Nginx Logging
      - `storageAccount` NginxStorageAccount — Nginx Storage Account
        - `accountName` string
        - `containerName` string
    - `scalingProperties` NginxDeploymentScalingProperties — Information on how the deployment will be scaled.
      - `capacity` integer
      - `autoScaleSettings` NginxDeploymentScalingPropertiesAutoScaleSettings — The settings for enabling automatic scaling of the deployment. If this field is specified, 'scale.capacity' must be empty.
        - `profiles` ScaleProfile[], required
          - `name` string, required
          - `capacity` ScaleProfileCapacity, required — The capacity parameters of the profile.
            - `min` integer, required — The minimum number of NCUs the deployment can be autoscaled to.
            - `max` integer, required — The maximum number of NCUs the deployment can be autoscaled to.
    - `userProfile` NginxDeploymentUserProfile — Nginx Deployment User Profile
      - `preferredEmail` string — The preferred support contact email address of the user used for sending alerts and notification. Can be an empty string or a valid email address.
    - `networkProfile` NginxNetworkProfile — Nginx Network Profile
      - `frontEndIPConfiguration` NginxFrontendIPConfiguration — Nginx Frontend IP Configuration
        - `publicIPAddresses` NginxPublicIPAddress[]
          - `id` string
        - `privateIPAddresses` NginxPrivateIPAddress[]
          - `privateIPAddress` string
          - `privateIPAllocationMethod` 'Static' | 'Dynamic' — Nginx Private IP Allocation Method
          - `subnetId` string
      - `networkInterfaceConfiguration` NginxNetworkInterfaceConfiguration — Nginx Network Interface Configuration
        - `subnetId` string
    - `autoUpgradeProfile` AutoUpgradeProfile — Autoupgrade settings of a deployment.
      - `upgradeChannel` string, required — Channel used for autoupgrade.
    - `nginxAppProtect` NginxDeploymentUpdatePropertiesNginxAppProtect — Update settings for NGINX App Protect (NAP)
      - `webApplicationFirewallSettings` WebApplicationFirewallSettings — Settings for the NGINX App Protect Web Application Firewall (WAF)
        - `activationState` 'Enabled' | 'Disabled' — The activation state of the WAF. Use 'Enabled' to enable the WAF and 'Disabled' to disable it.

## Response `200`

Azure operation completed successfully.

- NginxDeployment — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2021-05-01-preview) `02a26308d6ea` — 1 breaking, 3 info
  - removed the success response with the status `201`
  - api tag `NginxDeployments` added
  - api tag `NginxDeployment` removed
  - added the success response with the status `202`

[Change history](https://skmtc.dev/azure/apis/nginx-nginx-nginxplus-nginxplus/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Nginx.NginxPlus/nginxDeployments/:deploymentName/patch.md)

---

[API](https://skmtc.dev/azure/apis/nginx-nginx-nginxplus-nginxplus.md) · [All operations](https://skmtc.dev/azure/apis/nginx-nginx-nginxplus-nginxplus/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/nginx-nginx-nginxplus-nginxplus/revisions/7002135373d7/schema)
