共用方式為


ArmDeviceUpdateModelFactory.DeviceUpdateAccountLocationDetail Method

Definition

Initializes a new instance of 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

Parameters

name
String
role
Nullable<DeviceUpdateAccountLocationRole>

Whether the location is primary or failover.

Returns

A new DeviceUpdateAccountLocationDetail instance for mocking.

Applies to