Udostępnij za pośrednictwem


NetworkServiceDesignVersionResource.UpdateState Method

Definition

Update network service design version state.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/networkServiceDesignGroups/{networkServiceDesignGroupName}/networkServiceDesignVersions/{networkServiceDesignVersionName}/updateState
  • Operation Id: NetworkServiceDesignVersions_updateState
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState> UpdateState (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState networkServiceDesignVersionUpdateState, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateState : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState>
override this.UpdateState : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState>
Public Overridable Function UpdateState (waitUntil As WaitUntil, networkServiceDesignVersionUpdateState As NetworkServiceDesignVersionUpdateState, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkServiceDesignVersionUpdateState)

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.

networkServiceDesignVersionUpdateState
NetworkServiceDesignVersionUpdateState

Parameters supplied to update the state of network service design version.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

networkServiceDesignVersionUpdateState is null.

Applies to