DigitalTwinsOperationsExtensions.BeginUpdateAsync Method

Definition

Update metadata of DigitalTwinsInstance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription> BeginUpdateAsync (this Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsPatchDescription digitalTwinsPatchDescription, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations * string * string * Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsPatchDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription>
<Extension()>
Public Function BeginUpdateAsync (operations As IDigitalTwinsOperations, resourceGroupName As String, resourceName As String, digitalTwinsPatchDescription As DigitalTwinsPatchDescription, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DigitalTwinsDescription)

Parameters

operations
IDigitalTwinsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
System.String

The name of the DigitalTwinsInstance.

digitalTwinsPatchDescription
DigitalTwinsPatchDescription

The DigitalTwinsInstance and security metadata.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DigitalTwinsDescription>

Applies to