SapInstanceResource.UpdateAsync(SapInstancePatch, 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 SAP Instance resource.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}/sapInstances/{sapInstanceName}
- Operation Id: SapInstances_Update
- Default Api Version: 2023-10-01-preview
- Resource: SapInstanceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MigrationDiscoverySap.SapInstanceResource>> UpdateAsync (Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstancePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstancePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MigrationDiscoverySap.SapInstanceResource>>
override this.UpdateAsync : Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstancePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MigrationDiscoverySap.SapInstanceResource>>
Public Overridable Function UpdateAsync (patch As SapInstancePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SapInstanceResource))
Parameters
- patch
- SapInstancePatch
The resource properties to be updated.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.