Share via


CloudServicesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a cloud service. Please note some properties can be set only during cloud service creation.

public static Microsoft.Azure.Management.Compute.Models.CloudService CreateOrUpdate (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, Microsoft.Azure.Management.Compute.Models.CloudService parameters = default);
static member CreateOrUpdate : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * Microsoft.Azure.Management.Compute.Models.CloudService -> Microsoft.Azure.Management.Compute.Models.CloudService
<Extension()>
Public Function CreateOrUpdate (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, Optional parameters As CloudService = Nothing) As CloudService

Parameters

operations
ICloudServicesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group.

cloudServiceName
String

Name of the cloud service.

parameters
CloudService

The cloud service object.

Returns

Applies to