NetworkCloudL3NetworkResource.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.
Overloads
UpdateAsync(NetworkCloudL3NetworkPatch, CancellationToken) |
Update tags associated with the provided layer 3 (L3) network.
|
UpdateAsync(NetworkCloudL3NetworkPatch, String, String, CancellationToken) |
Update tags associated with the provided layer 3 (L3) network.
|
UpdateAsync(NetworkCloudL3NetworkPatch, CancellationToken)
Update tags associated with the provided layer 3 (L3) network.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l3Networks/{l3NetworkName}
- Operation Id: L3Networks_Update
- Resource: NetworkCloudL3NetworkResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>> UpdateAsync(Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch patch, System.Threading.CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>> UpdateAsync(Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>>
override this.UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>>
Public Overridable Function UpdateAsync (patch As NetworkCloudL3NetworkPatch, cancellationToken As CancellationToken) As Task(Of Response(Of NetworkCloudL3NetworkResource))
Public Overridable Function UpdateAsync (patch As NetworkCloudL3NetworkPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudL3NetworkResource))
Parameters
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.
Applies to
UpdateAsync(NetworkCloudL3NetworkPatch, String, String, CancellationToken)
Update tags associated with the provided layer 3 (L3) network.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/l3Networks/{l3NetworkName}
- Operation Id: L3Networks_Update
- Default Api Version: 2025-02-01
- Resource: NetworkCloudL3NetworkResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>> UpdateAsync(Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch patch, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>>
override this.UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudL3NetworkPatch * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudL3NetworkResource>>
Public Overridable Function UpdateAsync (patch As NetworkCloudL3NetworkPatch, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudL3NetworkResource))
Parameters
The request body.
- ifMatch
- String
The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- ifNoneMatch
- String
Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.