Share via


SapApplicationServerInstanceCollection.CreateOrUpdate Method

Definition

Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}
  • Operation Id: SAPApplicationServerInstances_Create
  • Default Api Version: 2023-04-01
  • Resource: SapApplicationServerInstanceResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapApplicationServerInstanceResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string applicationInstanceName, Azure.ResourceManager.Workloads.SapApplicationServerInstanceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Workloads.SapApplicationServerInstanceData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapApplicationServerInstanceResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Workloads.SapApplicationServerInstanceData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Workloads.SapApplicationServerInstanceResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, applicationInstanceName As String, data As SapApplicationServerInstanceData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SapApplicationServerInstanceResource)

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.

applicationInstanceName
String

The name of SAP Application Server instance resource.

data
SapApplicationServerInstanceData

The SAP Application Server Instance resource request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

applicationInstanceName is an empty string, and was expected to be non-empty.

applicationInstanceName or data is null.

Applies to