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

ArmDeviceUpdateModelFactory.DeviceUpdateAccountLocationDetail 方法

定义

初始化 DeviceUpdateAccountLocationDetail 的新实例。

public static Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateAccountLocationDetail DeviceUpdateAccountLocationDetail (string name = default, Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateAccountLocationRole? role = default);
static member DeviceUpdateAccountLocationDetail : string * Nullable<Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateAccountLocationRole> -> Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateAccountLocationDetail
Public Shared Function DeviceUpdateAccountLocationDetail (Optional name As String = Nothing, Optional role As Nullable(Of DeviceUpdateAccountLocationRole) = Nothing) As DeviceUpdateAccountLocationDetail

参数

name
String
role
Nullable<DeviceUpdateAccountLocationRole>

该位置是主位置还是故障转移位置。

返回

用于模拟的新 DeviceUpdateAccountLocationDetail 实例。

适用于