SapInstanceResource.Update(SapInstancePatch, CancellationToken) Method

Definition

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 Azure.Response<Azure.ResourceManager.MigrationDiscoverySap.SapInstanceResource> Update (Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstancePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstancePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MigrationDiscoverySap.SapInstanceResource>
override this.Update : Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstancePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MigrationDiscoverySap.SapInstanceResource>
Public Overridable Function Update (patch As SapInstancePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SapInstanceResource)

Parameters

patch
SapInstancePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to