JitRequestResource.UpdateAsync(JitRequestPatch, CancellationToken) 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.
Updates the JIT request.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
- Operation Id: JitRequests_Update
- Default Api Version: 2019-07-01
- Resource: JitRequestResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.JitRequestResource>> UpdateAsync (Azure.ResourceManager.Resources.Models.JitRequestPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Resources.Models.JitRequestPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.JitRequestResource>>
override this.UpdateAsync : Azure.ResourceManager.Resources.Models.JitRequestPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.JitRequestResource>>
Public Overridable Function UpdateAsync (patch As JitRequestPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of JitRequestResource))
Parameters
- patch
- JitRequestPatch
Parameters supplied to the update JIT request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.