DevicesOperationsExtensions.BeginCreateOrUpdateSecuritySettingsAsync Method

Definition

Updates the security settings on a data box edge/gateway device.

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

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name.

resourceGroupName
String

The resource group name.

deviceAdminPassword
AsymmetricEncryptedSecret

Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to