Share via


HciClusterUpdateRunCollection.CreateOrUpdate Method

Definition

Put Update runs for a specified update

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}/updateRuns/{updateRunName}
  • Operation Id: UpdateRuns_Put
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateRunResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.HciClusterUpdateRunResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string updateRunName, Azure.ResourceManager.Hci.HciClusterUpdateRunData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Hci.HciClusterUpdateRunData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.HciClusterUpdateRunResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Hci.HciClusterUpdateRunData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Hci.HciClusterUpdateRunResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, updateRunName As String, data As HciClusterUpdateRunData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of HciClusterUpdateRunResource)

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.

updateRunName
String

The name of the Update Run.

data
HciClusterUpdateRunData

Properties of the updateRuns object.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

updateRunName or data is null.

Applies to