SpringBootServerCollection.CreateOrUpdate Method

Definition

Create springbootservers resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzureSpringBoot/springbootsites/{siteName}/springbootservers/{springbootserversName}
  • Operation Id: springbootservers_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SpringAppDiscovery.SpringBootServerResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string springbootserversName, Azure.ResourceManager.SpringAppDiscovery.SpringBootServerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SpringAppDiscovery.SpringBootServerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SpringAppDiscovery.SpringBootServerResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SpringAppDiscovery.SpringBootServerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SpringAppDiscovery.SpringBootServerResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, springbootserversName As String, data As SpringBootServerData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SpringBootServerResource)

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.

springbootserversName
String

The springbootservers name.

data
SpringBootServerData

Create a springbootservers payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

springbootserversName or data is null.

Applies to