toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'architecture': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsArchitectureComputeBeta, String>(architecture, (value) => value.wireValue),
'description': ?description,
'diskName': ?diskName,
'diskSizeGb': ?diskSizeGb,
'diskType': ?diskType,
'enableConfidentialCompute': ?enableConfidentialCompute,
'guestOsFeatures': ?pulumi.Input.mapOptionalInputValue<List<GuestOsFeatureComputeBeta>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<GuestOsFeatureComputeBeta, Map<String, dynamic>>(value, (value) => value.toMap())),
'labels': ?labels,
'licenses': ?licenses,
'multiWriter': ?multiWriter,
'onUpdateAction': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsOnUpdateActionComputeBeta, String>(onUpdateAction, (value) => value.wireValue),
'provisionedIops': ?provisionedIops,
'provisionedThroughput': ?provisionedThroughput,
'replicaZones': ?replicaZones,
'resourceManagerTags': ?resourceManagerTags,
'resourcePolicies': ?resourcePolicies,
'sourceImage': ?sourceImage,
'sourceImageEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeBeta, Map<String, dynamic>>(sourceImageEncryptionKey, (value) => value.toMap()),
'sourceInstantSnapshot': ?sourceInstantSnapshot,
'sourceSnapshot': ?sourceSnapshot,
'sourceSnapshotEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKeyComputeBeta, Map<String, dynamic>>(sourceSnapshotEncryptionKey, (value) => value.toMap()),
};
}