共用方式為


HostedServiceOperationsExtensions.CreateAsync Method

Definition

The Create Hosted Service operation creates a new cloud service in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/gg441304.aspx for more information)

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)

Parameters

operations
IHostedServiceOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations.

parameters
HostedServiceCreateParameters

Required. Parameters supplied to the Create Hosted Service operation.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to