toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'accessMode': ?pulumi.Input.mapOptionalInputValue<DiskAccessMode, String>(accessMode, (value) => value.wireValue),
'architecture': ?pulumi.Input.mapOptionalInputValue<DiskArchitecture, String>(architecture, (value) => value.wireValue),
'asyncPrimaryDisk': ?pulumi.Input.mapOptionalInputValue<DiskAsyncReplication, Map<String, dynamic>>(asyncPrimaryDisk, (value) => value.toMap()),
'description': ?description,
'diskEncryptionKey': ?pulumi.Input.mapOptionalInputValue<CustomerEncryptionKey, Map<String, dynamic>>(diskEncryptionKey, (value) => value.toMap()),
'enableConfidentialCompute': ?enableConfidentialCompute,
'eraseWindowsVssSignature': ?eraseWindowsVssSignature,
'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<DiskInterface, String>(interface, (value) => value.wireValue),
'labels': ?labels,
'licenseCodes': ?licenseCodes,
'licenses': ?licenses,
'locationHint': ?locationHint,
'multiWriter': ?multiWriter,
'name': ?name,
'options': ?options,
'params': ?pulumi.Input.mapOptionalInputValue<DiskParams, Map<String, dynamic>>(params, (value) => value.toMap()),
'physicalBlockSizeBytes': ?physicalBlockSizeBytes,
'project': ?project,
'provisionedIops': ?provisionedIops,
'provisionedThroughput': ?provisionedThroughput,
'replicaZones': ?replicaZones,
'requestId': ?requestId,
'resourcePolicies': ?resourcePolicies,
'sizeGb': ?sizeGb,
'sourceDisk': ?sourceDisk,
'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()),
'sourceStorageObject': ?sourceStorageObject,
'storagePool': ?storagePool,
'storageType': ?pulumi.Input.mapOptionalInputValue<DiskStorageType, String>(storageType, (value) => value.wireValue),
'type': ?type,
'userLicenses': ?userLicenses,
'zone': ?zone,
};
}