Share via


InstancesOperationsExtensions.CreateAsync Method

Definition

Creates or updates instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Instance> CreateAsync (this Microsoft.Azure.Management.DeviceUpdate.IInstancesOperations operations, string resourceGroupName, string accountName, string instanceName, Microsoft.Azure.Management.DeviceUpdate.Models.Instance instance, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DeviceUpdate.IInstancesOperations * string * string * string * Microsoft.Azure.Management.DeviceUpdate.Models.Instance * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceUpdate.Models.Instance>
<Extension()>
Public Function CreateAsync (operations As IInstancesOperations, resourceGroupName As String, accountName As String, instanceName As String, instance As Instance, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Instance)

Parameters

operations
IInstancesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

Account name.

instanceName
String

Instance name.

instance
Instance

Instance details.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to