Share via


DevicesOperationsExtensions.CreateOrUpdateSecuritySettingsAsync Method

Definition

Updates the security settings on a Data Box Edge/Data Box Gateway device.

public static System.Threading.Tasks.Task CreateOrUpdateSecuritySettingsAsync (this Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations operations, string deviceName, Microsoft.Azure.Management.DataBoxEdge.Models.SecuritySettings securitySettings, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateSecuritySettingsAsync : Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations * string * Microsoft.Azure.Management.DataBoxEdge.Models.SecuritySettings * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CreateOrUpdateSecuritySettingsAsync (operations As IDevicesOperations, deviceName As String, securitySettings As SecuritySettings, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name.

securitySettings
SecuritySettings

The security settings.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to