ArmDataBoxEdgeModelFactory.DataBoxEdgeSecuritySettings Method

Definition

Initializes a new instance of DataBoxEdgeSecuritySettings.

public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSecuritySettings DataBoxEdgeSecuritySettings(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret deviceAdminPassword = default);
static member DataBoxEdgeSecuritySettings : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret -> Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeSecuritySettings
Public Shared Function DataBoxEdgeSecuritySettings (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional deviceAdminPassword As AsymmetricEncryptedSecret = Nothing) As DataBoxEdgeSecuritySettings

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

Returns

A new DataBoxEdgeSecuritySettings instance for mocking.

Exceptions

deviceAdminPassword is null.

Applies to