共用方式為


NginxDeploymentResource.Update Method

Definition

Update the NGINX deployment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{deploymentName}
  • Operation Id: Deployments_Update
  • Default Api Version: 2024-06-01-preview
  • Resource: NginxDeploymentResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Nginx.NginxDeploymentResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Nginx.Models.NginxDeploymentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Nginx.Models.NginxDeploymentPatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Nginx.NginxDeploymentResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Nginx.Models.NginxDeploymentPatch * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Nginx.NginxDeploymentResource>
Public Overridable Function Update (waitUntil As WaitUntil, patch As NginxDeploymentPatch, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NginxDeploymentResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to