Sdílet prostřednictvím


DigitalTwinsOperationsExtensions.UpdateAsync Method

Definition

Update metadata of DigitalTwinsInstance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription> UpdateAsync (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 UpdateAsync : 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 UpdateAsync (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
String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
String

The name of the DigitalTwinsInstance.

digitalTwinsPatchDescription
DigitalTwinsPatchDescription

The DigitalTwinsInstance and security metadata.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to