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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET