Share via


ServiceUnitsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a service unit under the service in the service topology.

public static Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource CreateOrUpdate (this Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations operations, string resourceGroupName, string serviceTopologyName, string serviceName, string serviceUnitName, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource serviceUnitInfo);
static member CreateOrUpdate : Microsoft.Azure.Management.DeploymentManager.IServiceUnitsOperations * string * string * string * string * Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource -> Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource
<Extension()>
Public Function CreateOrUpdate (operations As IServiceUnitsOperations, resourceGroupName As String, serviceTopologyName As String, serviceName As String, serviceUnitName As String, serviceUnitInfo As ServiceUnitResource) As ServiceUnitResource

Parameters

operations
IServiceUnitsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serviceTopologyName
String

The name of the service topology .

serviceName
String

The name of the service resource.

serviceUnitName
String

The name of the service unit resource.

serviceUnitInfo
ServiceUnitResource

The service unit resource object.

Returns

Remarks

This is an asynchronous operation and can be polled to completion using the operation resource returned by this operation.

Applies to