Udostępnij za pośrednictwem


IDefinitionOperations.CreateAsync Method

Definition

Creates a new definition for a specified profile. (see http://msdn.microsoft.com/en-us/library/hh758257.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateAsync (string profileName, Microsoft.WindowsAzure.Management.TrafficManager.Models.DefinitionCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.TrafficManager.Models.DefinitionCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CreateAsync (profileName As String, parameters As DefinitionCreateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

profileName
String

The name of the profile to create a new definition for.

parameters
DefinitionCreateParameters

Parameters supplied to the Create Definition operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to