Dela via


CloudEndpointsOperationsExtensions.CreateAsync Method

Definition

Create a new CloudEndpoint.

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

Parameters

operations
ICloudEndpointsOperations

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.

syncGroupName
String

Name of Sync Group resource.

cloudEndpointName
String

Name of Cloud Endpoint object.

parameters
CloudEndpointCreateParameters

Body of Cloud Endpoint resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to