Condividi tramite


ArmIotFirmwareDefenseModelFactory.CryptoKeyResult Method

Definition

Initializes a new instance of CryptoKeyResult.

public static Azure.ResourceManager.IotFirmwareDefense.Models.CryptoKeyResult CryptoKeyResult(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string cryptoKeyId = default, Azure.ResourceManager.IotFirmwareDefense.Models.CryptoKeyType? cryptoKeyType = default, long? cryptoKeySize = default, string keyAlgorithm = default, System.Collections.Generic.IEnumerable<string> cryptoKeyUsage = default, System.Collections.Generic.IEnumerable<string> filePaths = default, Azure.ResourceManager.IotFirmwareDefense.Models.CryptoPairedKey pairedKey = default, bool? isShortKeySize = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState? provisioningState = default);
static member CryptoKeyResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.CryptoKeyType> * Nullable<int64> * string * seq<string> * seq<string> * Azure.ResourceManager.IotFirmwareDefense.Models.CryptoPairedKey * Nullable<bool> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareProvisioningState> -> Azure.ResourceManager.IotFirmwareDefense.Models.CryptoKeyResult
Public Shared Function CryptoKeyResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cryptoKeyId As String = Nothing, Optional cryptoKeyType As Nullable(Of CryptoKeyType) = Nothing, Optional cryptoKeySize As Nullable(Of Long) = Nothing, Optional keyAlgorithm As String = Nothing, Optional cryptoKeyUsage As IEnumerable(Of String) = Nothing, Optional filePaths As IEnumerable(Of String) = Nothing, Optional pairedKey As CryptoPairedKey = Nothing, Optional isShortKeySize As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of FirmwareProvisioningState) = Nothing) As CryptoKeyResult

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

cryptoKeyId
String

ID for the key result.

cryptoKeyType
Nullable<CryptoKeyType>

Type of the key (public or private).

cryptoKeySize
Nullable<Int64>

Size of the key in bits.

keyAlgorithm
String

Key algorithm name.

cryptoKeyUsage
IEnumerable<String>

Functions the key can fulfill.

filePaths
IEnumerable<String>

List of files where this key was found.

pairedKey
CryptoPairedKey

A matching paired key or certificate.

isShortKeySize
Nullable<Boolean>

Indicates the key size is considered too small to be secure for the algorithm according to NIST guidance.

provisioningState
Nullable<FirmwareProvisioningState>

The status of the last operation.

Returns

A new CryptoKeyResult instance for mocking.

Applies to