InstancesOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET