NetworkFunctionDefinitionVersionResource.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 function definition version state.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/networkFunctionDefinitionGroups/{networkFunctionDefinitionGroupName}/networkFunctionDefinitionVersions/{networkFunctionDefinitionVersionName}/updateState
- Operation Id: NetworkFunctionDefinitionVersions_updateState
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkFunctionDefinitionVersionUpdateState>> UpdateStateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridNetwork.Models.NetworkFunctionDefinitionVersionUpdateState networkFunctionDefinitionVersionUpdateState, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateStateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.NetworkFunctionDefinitionVersionUpdateState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkFunctionDefinitionVersionUpdateState>>
override this.UpdateStateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.NetworkFunctionDefinitionVersionUpdateState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.Models.NetworkFunctionDefinitionVersionUpdateState>>
Public Overridable Function UpdateStateAsync (waitUntil As WaitUntil, networkFunctionDefinitionVersionUpdateState As NetworkFunctionDefinitionVersionUpdateState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkFunctionDefinitionVersionUpdateState))
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.
- networkFunctionDefinitionVersionUpdateState
- NetworkFunctionDefinitionVersionUpdateState
Parameters supplied to update the state of network function definition version.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
networkFunctionDefinitionVersionUpdateState
is null.
Applies to
Azure SDK for .NET