toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': ?arn,
'cacheUsageLimits': ?pulumi.Input.mapOptionalInputValue<ServerlessCacheCacheUsageLimits, Map<String, dynamic>>(cacheUsageLimits, (value) => value.toMap()),
'createTime': ?createTime,
'dailySnapshotTime': ?dailySnapshotTime,
'description': ?description,
'endpoints': ?pulumi.Input.mapOptionalInputValue<List<ServerlessCacheEndpoint>, List<Map<String, dynamic>>>(endpoints, (value) => pulumi.Input.encodeList<ServerlessCacheEndpoint, Map<String, dynamic>>(value, (value) => value.toMap())),
'engine': ?engine,
'fullEngineVersion': ?fullEngineVersion,
'kmsKeyId': ?kmsKeyId,
'majorEngineVersion': ?majorEngineVersion,
'name': ?name,
'networkType': ?networkType,
'readerEndpoints': ?pulumi.Input.mapOptionalInputValue<List<ServerlessCacheReaderEndpoint>, List<Map<String, dynamic>>>(readerEndpoints, (value) => pulumi.Input.encodeList<ServerlessCacheReaderEndpoint, Map<String, dynamic>>(value, (value) => value.toMap())),
'region': ?region,
'securityGroupIds': ?securityGroupIds,
'snapshotArnsToRestores': ?snapshotArnsToRestores,
'snapshotRetentionLimit': ?snapshotRetentionLimit,
'status': ?status,
'subnetIds': ?subnetIds,
'tags': ?tags,
'tagsAll': ?tagsAll,
'timeouts': ?pulumi.Input.mapOptionalInputValue<ServerlessCacheTimeouts, Map<String, dynamic>>(timeouts, (value) => value.toMap()),
'userGroupId': ?userGroupId,
};
}