Condividi tramite


AnalysisServerCollection.CreateOrUpdate Method

Definition

Provisions the specified Analysis Services server based on the configuration specified in the request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}
  • Operation Id: Servers_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Analysis.AnalysisServerResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string serverName, Azure.ResourceManager.Analysis.AnalysisServerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Analysis.AnalysisServerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Analysis.AnalysisServerResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Analysis.AnalysisServerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Analysis.AnalysisServerResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, serverName As String, data As AnalysisServerData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AnalysisServerResource)

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.

serverName
String

The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.

data
AnalysisServerData

Contains the information used to provision the Analysis Services server.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

serverName or data is null.

Applies to