Sdílet prostřednictvím


DevicesOperationsExtensions.GetAsync Method

Definition

Returns the properties of the specified device.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.Device> GetAsync (this Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations operations, string deviceName, string resourceGroupName, string managerName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.Device>
<Extension()>
Public Function GetAsync (operations As IDevicesOperations, deviceName As String, resourceGroupName As String, managerName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Device)

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name

resourceGroupName
String

The resource group name

managerName
String

The manager name

expand
String

Specify $expand=details to populate additional fields related to the device or $expand=rolloverdetails to populate additional fields related to the service data encryption key rollover on device

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to