共用方式為


DeviceSettingsOperationsExtensions.BeginCreateOrUpdateAlertSettingsAsync Method

Definition

Creates or updates the alert settings of the specified device.

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

Parameters

operations
IDeviceSettingsOperations

The operations group for this extension method.

deviceName
String

The device name

parameters
AlertSettings

The alert settings to be added or updated.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to