Bagikan melalui


SapVirtualInstanceCollection.CreateOrUpdate Method

Definition

Creates a Virtual Instance for SAP solutions (VIS) resource

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

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.

sapVirtualInstanceName
String

The name of the Virtual Instances for SAP solutions resource.

data
SapVirtualInstanceData

Virtual Instance for SAP solutions resource request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

sapVirtualInstanceName or data is null.

Applies to