Partager via


HostedServiceOperationsExtensions.CreateAsync Méthode

Définition

L’opération Créer un service hébergé crée un service cloud dans Azure. (voir http://msdn.microsoft.com/en-us/library/windowsazure/gg441304.aspx pour plus d’informations)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateAsync(this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateAsync (operations As IHostedServiceOperations, parameters As HostedServiceCreateParameters) As Task(Of AzureOperationResponse)

Paramètres

operations
IHostedServiceOperations

Référence à Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations.

parameters
HostedServiceCreateParameters

Obligatoire. Paramètres fournis à l’opération Créer un service hébergé.

Retours

Task<Microsoft.Azure.AzureOperationResponse>

Réponse de service standard comprenant un code de status HTTP et un ID de requête.

S’applique à