Delen via


DigitalTwinsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update the metadata of a DigitalTwinsInstance. The usual pattern to modify a property is to retrieve the DigitalTwinsInstance and security metadata, and then combine them with the modified values in a new body to update the DigitalTwinsInstance.

public static Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription CreateOrUpdate (this Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription digitalTwinsCreate);
static member CreateOrUpdate : Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations * string * string * Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription -> Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription
<Extension()>
Public Function CreateOrUpdate (operations As IDigitalTwinsOperations, resourceGroupName As String, resourceName As String, digitalTwinsCreate As DigitalTwinsDescription) As 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.

digitalTwinsCreate
DigitalTwinsDescription

The DigitalTwinsInstance and security metadata.

Returns

Applies to