HostedServiceOperationsExtensions.CreateAsync Method (IHostedServiceOperations, HostedServiceCreateParameters)

 

Asynchronously creates a new cloud service in a subscription.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

<ExtensionAttribute>
Public Shared Function CreateAsync (
	operations As IHostedServiceOperations,
	parameters As HostedServiceCreateParameters
) As Task(Of AzureOperationResponse)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations

The IHostedServiceOperations object that specifies the cloud service operations.

parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCreateParameters

The HostedServiceCreateParameters object that contains the parameters that are used to create a cloud service.

Return Value

Type: System.Threading.Tasks.Task(Of AzureOperationResponse)

An OperationResponse object that includes an HTTP status code and request ID.

For more information about creating a cloud service, see the following resources:

Return to top
Show: