共用方式為


DedicatedHostsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a dedicated host .

public static Microsoft.Azure.Management.Compute.Models.DedicatedHost CreateOrUpdate (this Microsoft.Azure.Management.Compute.IDedicatedHostsOperations operations, string resourceGroupName, string hostGroupName, string hostName, Microsoft.Azure.Management.Compute.Models.DedicatedHost parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Compute.IDedicatedHostsOperations * string * string * string * Microsoft.Azure.Management.Compute.Models.DedicatedHost -> Microsoft.Azure.Management.Compute.Models.DedicatedHost
<Extension()>
Public Function CreateOrUpdate (operations As IDedicatedHostsOperations, resourceGroupName As String, hostGroupName As String, hostName As String, parameters As DedicatedHost) As DedicatedHost

Parameters

operations
IDedicatedHostsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

hostName
String

The name of the dedicated host .

parameters
DedicatedHost

Parameters supplied to the Create Dedicated Host.

Returns

Applies to