NetworkServiceDesignVersionResource.UpdateStateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState>> UpdateStateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState networkServiceDesignVersionUpdateState, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateStateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState>>
override this.UpdateStateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkServiceDesignVersionUpdateState>>
Public Overridable Function UpdateStateAsync (waitUntil As WaitUntil, networkServiceDesignVersionUpdateState As NetworkServiceDesignVersionUpdateState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Azure SDK for .NET