Sdílet prostřednictvím


ServerEndpointsOperationsExtensions.BeginCreateAsync Method

Definition

Create a new ServerEndpoint.

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

Parameters

operations
IServerEndpointsOperations

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.

serverEndpointName
String

Name of Server Endpoint object.

parameters
ServerEndpointCreateParameters

Body of Server Endpoint object.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to