Compartilhar via


DeviceSettingsOperationsExtensions.CreateOrUpdateTimeSettingsAsync Método

Definição

Cria ou atualiza as configurações de tempo do dispositivo especificado.

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

Parâmetros

operations
IDeviceSettingsOperations

O grupo de operações para esse método de extensão.

deviceName
String

O nome do dispositivo

parameters
TimeSettings

As configurações de tempo a serem adicionadas ou atualizadas.

resourceGroupName
String

O nome do grupo de recursos

managerName
String

O nome do gerente

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a