共用方式為


DeviceSettingsOperationsExtensions.CreateOrUpdateAlertSettingsAsync Method

Definition

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

Parameters

deviceName
String
parameters
AlertSettingsInner
resourceGroupName
String
managerName
String
cancellationToken
CancellationToken

Returns

Applies to