Condividi tramite


StorageSyncServicesOperationsExtensions.CreateAsync Method

Definition

Create a new StorageSyncService.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.StorageSyncService> CreateAsync (this Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations operations, string resourceGroupName, string storageSyncServiceName, Microsoft.Azure.Management.StorageSync.Models.StorageSyncServiceCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations * string * string * Microsoft.Azure.Management.StorageSync.Models.StorageSyncServiceCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.StorageSyncService>
<Extension()>
Public Function CreateAsync (operations As IStorageSyncServicesOperations, resourceGroupName As String, storageSyncServiceName As String, parameters As StorageSyncServiceCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageSyncService)

Parameters

operations
IStorageSyncServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

storageSyncServiceName
String

Name of Storage Sync Service resource.

parameters
StorageSyncServiceCreateParameters

Storage Sync Service resource name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to