Udostępnij za pośrednictwem


DefinitionOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateAsync (this Microsoft.WindowsAzure.Management.TrafficManager.IDefinitionOperations operations, string profileName, Microsoft.WindowsAzure.Management.TrafficManager.Models.DefinitionCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.TrafficManager.IDefinitionOperations * string * Microsoft.WindowsAzure.Management.TrafficManager.Models.DefinitionCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateAsync (operations As IDefinitionOperations, profileName As String, parameters As DefinitionCreateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IDefinitionOperations

Reference to the Microsoft.WindowsAzure.Management.TrafficManager.IDefinitionOperations.

profileName
String

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

parameters
DefinitionCreateParameters

Required. Parameters supplied to the Create Definition operation.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to