EdgeOrderAddressResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update the properties of an existing address.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/addresses/{addressName}.
- Operation Id. : AddressResources_Update.
- Default Api Version. : 2024-02-01.
- Resource. : EdgeOrderAddressResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeOrder.EdgeOrderAddressResource>> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderAddressPatch patch, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderAddressPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeOrder.EdgeOrderAddressResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderAddressPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeOrder.EdgeOrderAddressResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As EdgeOrderAddressPatch, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of EdgeOrderAddressResource))
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.
- patch
- EdgeOrderAddressPatch
Address update parameters from request body.
Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch is null.