HostedServiceOperationsExtensions.Create Method (IHostedServiceOperations, HostedServiceCreateParameters)
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 AzureOperationResponse Create(
this IHostedServiceOperations operations,
HostedServiceCreateParameters parameters
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Create(
IHostedServiceOperations^ operations,
HostedServiceCreateParameters^ parameters
)
static member Create :
operations:IHostedServiceOperations *
parameters:HostedServiceCreateParameters -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Create (
operations As IHostedServiceOperations,
parameters As HostedServiceCreateParameters
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperationsThe IHostedServiceOperations object that specifies the cloud service operations.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCreateParametersThe HostedServiceCreateParameters object that contains the parameters that are used to create a cloud service.
Return Value
Type: Microsoft.Azure.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