Share via


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)

Syntax

public static Task<AzureOperationResponse> CreateAsync(
    this IHostedServiceOperations operations,
    HostedServiceCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ CreateAsync(
    IHostedServiceOperations^ operations,
    HostedServiceCreateParameters^ parameters
)
static member CreateAsync : 
        operations:IHostedServiceOperations *
        parameters:HostedServiceCreateParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As IHostedServiceOperations,
    parameters As HostedServiceCreateParameters
) As Task(Of AzureOperationResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

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

Remarks

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

See Also

HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top