HostedServiceOperationsExtensions.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.
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.