toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'algorithm': ?algorithm,
'attestations': ?pulumi.Input.mapOptionalInputValue<List<CryptoKeyVersionAttestation>, List<Map<String, dynamic>>>(attestations, (value) => pulumi.Input.encodeList<CryptoKeyVersionAttestation, Map<String, dynamic>>(value, (value) => value.toMap())),
'cryptoKey': ?cryptoKey,
'deletionPolicy': ?deletionPolicy,
'externalProtectionLevelOptions': ?pulumi.Input.mapOptionalInputValue<CryptoKeyVersionExternalProtectionLevelOptions, Map<String, dynamic>>(externalProtectionLevelOptions, (value) => value.toMap()),
'generateTime': ?generateTime,
'name': ?name,
'protectionLevel': ?protectionLevel,
'state': ?state,
};
}