DevicesOperationsExtensions.CreateOrUpdateSecuritySettingsAsync(IDevicesOperations, String, String, AsymmetricEncryptedSecret, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task CreateOrUpdateSecuritySettingsAsync (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 CreateOrUpdateSecuritySettingsAsync : Microsoft.Azure.Management.EdgeGateway.IDevicesOperations * string * string * Microsoft.Azure.Management.EdgeGateway.Models.AsymmetricEncryptedSecret * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CreateOrUpdateSecuritySettingsAsync (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
System.String

The device name.

resourceGroupName
System.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
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to