toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsArchitecture, String>(architecture, (value) => value.wireValue),
    'description': ?description,
    'diskName': ?diskName,
    'diskSizeGb': ?diskSizeGb,
    'diskType': ?diskType,
    'enableConfidentialCompute': ?enableConfidentialCompute,
    'guestOsFeatures': ?pulumi.Input.mapOptionalInputValue<List<GuestOsFeature>, List<Map<String, dynamic>>>(guestOsFeatures, (value) => pulumi.Input.encodeList<GuestOsFeature, Map<String, dynamic>>(value, (value) => value.toMap())),
    'interface': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsInterface, String>(interface, (value) => value.wireValue),
    'labels': ?labels,
    'licenseCodes': ?licenseCodes,
    'licenses': ?licenses,
    'multiWriter': ?multiWriter,
    'onUpdateAction': ?pulumi.Input.mapOptionalInputValue<AttachedDiskInitializeParamsOnUpdateAction, String>(onUpdateAction, (value) => value.wireValue),
    'provisionedIops': ?provisionedIops,
    'provisionedThroughput': ?provisionedThroughput,
    'replicaZones': ?replicaZones,
    'resourceManagerTags': ?resourceManagerTags,
    'resourcePolicies': ?resourcePolicies,
    'sourceImage': ?sourceImage,
    'sourceImageEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKey, Map<String, dynamic>>(sourceImageEncryptionKey, (value) => value.toMap()),
    'sourceInstantSnapshot': ?sourceInstantSnapshot,
    'sourceSnapshot': ?sourceSnapshot,
    'sourceSnapshotEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKey, Map<String, dynamic>>(sourceSnapshotEncryptionKey, (value) => value.toMap()),
    'storagePool': ?storagePool,
  };
}