RegistryManager.UpdateConfigurationAsync 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.
Overloads
UpdateConfigurationAsync(Configuration) |
Update the mutable fields of the Configuration registration |
UpdateConfigurationAsync(Configuration, Boolean) |
Update the mutable fields of the Configuration registration |
UpdateConfigurationAsync(Configuration, CancellationToken) |
Update the mutable fields of the Configuration registration |
UpdateConfigurationAsync(Configuration, Boolean, CancellationToken) |
Update the mutable fields of the Configuration registration |
UpdateConfigurationAsync(Configuration)
Update the mutable fields of the Configuration registration
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration> UpdateConfigurationAsync (Microsoft.Azure.Devices.Configuration configuration);
abstract member UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
override this.UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
Public Overridable Function UpdateConfigurationAsync (configuration As Configuration) As Task(Of Configuration)
Parameters
- configuration
- Configuration
The Configuration object with updated fields.
Returns
The Configuration object with updated ETag.
Applies to
UpdateConfigurationAsync(Configuration, Boolean)
Update the mutable fields of the Configuration registration
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration> UpdateConfigurationAsync (Microsoft.Azure.Devices.Configuration configuration, bool forceUpdate);
abstract member UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration * bool -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
override this.UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration * bool -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
Public Overridable Function UpdateConfigurationAsync (configuration As Configuration, forceUpdate As Boolean) As Task(Of Configuration)
Parameters
- configuration
- Configuration
The Configuration object with updated fields.
- forceUpdate
- Boolean
Forces the device object to be replaced without regard for an ETag match.
Returns
The Configuration object with updated ETags.
Applies to
UpdateConfigurationAsync(Configuration, CancellationToken)
Update the mutable fields of the Configuration registration
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration> UpdateConfigurationAsync (Microsoft.Azure.Devices.Configuration configuration, System.Threading.CancellationToken cancellationToken);
abstract member UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
override this.UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
Public Overridable Function UpdateConfigurationAsync (configuration As Configuration, cancellationToken As CancellationToken) As Task(Of Configuration)
Parameters
- configuration
- Configuration
The Configuration object with updated fields.
- cancellationToken
- CancellationToken
The token which allows the operation to be canceled.
Returns
The Configuration object with updated ETags.
Applies to
UpdateConfigurationAsync(Configuration, Boolean, CancellationToken)
Update the mutable fields of the Configuration registration
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration> UpdateConfigurationAsync (Microsoft.Azure.Devices.Configuration configuration, bool forceUpdate, System.Threading.CancellationToken cancellationToken);
abstract member UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
override this.UpdateConfigurationAsync : Microsoft.Azure.Devices.Configuration * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
Public Overridable Function UpdateConfigurationAsync (configuration As Configuration, forceUpdate As Boolean, cancellationToken As CancellationToken) As Task(Of Configuration)
Parameters
- configuration
- Configuration
The Configuration object with updated fields.
- forceUpdate
- Boolean
Forces the Configuration object to be replaced even if it was updated since it was retrieved last time.
- cancellationToken
- CancellationToken
The token which allows the operation to be canceled.
Returns
The Configuration object with updated ETags.
Applies to
Azure SDK for .NET