Share via


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

CloudServicesUpdateDomainOperationsExtensions.GetUpdateDomain 方法

定义

获取云服务的指定更新域。 在响应中使用 nextLink 属性获取更新域的下一页。 执行此操作,直到 nextLink 为 null 可提取所有更新域。

public static Microsoft.Azure.Management.Compute.Models.UpdateDomain GetUpdateDomain (this Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations operations, string resourceGroupName, string cloudServiceName, int updateDomain);
static member GetUpdateDomain : Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations * string * string * int -> Microsoft.Azure.Management.Compute.Models.UpdateDomain
<Extension()>
Public Function GetUpdateDomain (operations As ICloudServicesUpdateDomainOperations, resourceGroupName As String, cloudServiceName As String, updateDomain As Integer) As UpdateDomain

参数

operations
ICloudServicesUpdateDomainOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

cloudServiceName
String

云服务的名称。

updateDomain
Int32

指定标识更新域的整数值。 以从零开始的索引标识更新域:第一个更新域的 ID 为 0,第二个更新域的 ID 为 1,依此类推。

返回

适用于