Share via


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