toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': architecture,
    'autoCreated': autoCreated,
    'chainName': chainName,
    'creationSizeBytes': creationSizeBytes,
    'creationTimestamp': creationTimestamp,
    'description': description,
    'diskSizeGb': diskSizeGb,
    'downloadBytes': downloadBytes,
    'enableConfidentialCompute': enableConfidentialCompute,
    'guestFlush': guestFlush,
    'guestOsFeatures': pulumi.Input.encodeList<GuestOsFeatureResponse, Map<String, dynamic>>(guestOsFeatures, (value) => value.toMap()),
    'kind': kind,
    'labelFingerprint': labelFingerprint,
    'labels': labels,
    'licenseCodes': licenseCodes,
    'licenses': licenses,
    'locationHint': locationHint,
    'maxRetentionDays': maxRetentionDays,
    'name': name,
    'region': region,
    'satisfiesPzs': satisfiesPzs,
    'selfLink': selfLink,
    'selfLinkWithId': selfLinkWithId,
    'snapshotEncryptionKey': snapshotEncryptionKey.toMap(),
    'snapshotType': snapshotType,
    'sourceDisk': sourceDisk,
    'sourceDiskEncryptionKey': sourceDiskEncryptionKey.toMap(),
    'sourceDiskForRecoveryCheckpoint': sourceDiskForRecoveryCheckpoint,
    'sourceDiskId': sourceDiskId,
    'sourceInstantSnapshot': sourceInstantSnapshot,
    'sourceInstantSnapshotEncryptionKey': sourceInstantSnapshotEncryptionKey.toMap(),
    'sourceInstantSnapshotId': sourceInstantSnapshotId,
    'sourceSnapshotSchedulePolicy': sourceSnapshotSchedulePolicy,
    'sourceSnapshotSchedulePolicyId': sourceSnapshotSchedulePolicyId,
    'status': status,
    'storageBytes': storageBytes,
    'storageBytesStatus': storageBytesStatus,
    'storageLocations': storageLocations,
    'userLicenses': userLicenses,
  };
}