你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DedicatedHostGroupsOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新专用主机组。 有关专用主机和专用主机组的详细信息,请参阅 [专用主机文档] (https://go.microsoft.com/fwlink/?linkid=2082596)

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

参数

operations
IDedicatedHostGroupsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

hostGroupName
String

专用主机组的名称。

parameters
DedicatedHostGroup

提供给“创建专用主机组”的参数。

返回

适用于