IDefinitionOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET